-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from notimaginative/big_lib_update
update lib setup for all platforms...
- Loading branch information
Showing
967 changed files
with
422,018 additions
and
3,337 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
# Prebuilt libraries for the FSO SCP | ||
This repository contains the prebuilt libraries required for the FreeSpace Open Source Code Project. Currently these libraries are included here: | ||
* [FFmpeg](http://ffmpeg.org/) | ||
* [FreeType](https://www.freetype.org/) (Win32/64 and Mac) | ||
* [FreeType](https://www.freetype.org/) | ||
* [OpenAL](https://openal-soft.org/) | ||
* [SDL](https://libsdl.org/) | ||
|
||
The libraries are compiled for the three major platforms we support (Linux, Mac OSX and Windows 32- and 64-bit). To make adding or updating libraries easier this repository automatically builds the packages and uploads them to [Github Releases](https://github.com/scp-fs2open/scp-prebuilt/releases). This happens when a new push is detected on the master branch and affects the libs themselves (and not the CI scripts). Alternatively a build may be triggered manually from the Actions tab using the `Build Release Package` workflow. | ||
The libraries are compiled for the three major platforms we support: Linux (x64, arm64), macOS (x64, arm64), and Windows (x32, x64, arm64). To make adding or updating libraries easier this repository automatically builds the packages and uploads them to [Github Releases](https://github.com/scp-fs2open/scp-prebuilt/releases). This happens when a new push is detected on the master branch and affects the libs themselves (and not the CI scripts). Alternatively a build may be triggered manually from the Actions tab using the `Build Release Package` workflow. | ||
|
||
## Using the packages | ||
The packages are automatically downloaded by CMake when an outdated library version is detected. The packages created by the Github Action CI scripts in this repository are named after the Git commit of this repository from which the package is created. | ||
|
||
## Guidelines for contributing | ||
If you want to update or add a library you need to update them in a fork and submit a pull request to this repository. Once the changes have been merged you can update the version in the CMake setup (in lib/prebuilt.cmake). The updated libraries will be automatically downloaded by everone who has an outdated version. | ||
If you want to update or add a library you need to update them in a fork and submit a pull request to this repository. Once the changes have been merged you can update the version in the CMake setup (in lib/prebuilt.cmake). The updated libraries will be automatically downloaded by everyone who has an outdated version. | ||
|
||
**Even if you have push access to this repository every change must go through a pull request to make sure it is reviewed.** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
/**************************************************************************** | ||
* | ||
* ftconfig.h.in | ||
* | ||
* UNIX-specific configuration file (specification only). | ||
* | ||
* Copyright (C) 1996-2020 by | ||
* David Turner, Robert Wilhelm, and Werner Lemberg. | ||
* | ||
* This file is part of the FreeType project, and may only be used, | ||
* modified, and distributed under the terms of the FreeType project | ||
* license, LICENSE.TXT. By continuing to use, modify, or distribute | ||
* this file you indicate that you have read the license and | ||
* understand and accept it fully. | ||
* | ||
*/ | ||
|
||
|
||
/************************************************************************** | ||
* | ||
* This header file contains a number of macro definitions that are used by | ||
* the rest of the engine. Most of the macros here are automatically | ||
* determined at compile time, and you should not need to change it to port | ||
* FreeType, except to compile the library with a non-ANSI compiler. | ||
* | ||
* Note however that if some specific modifications are needed, we advise | ||
* you to place a modified copy in your build directory. | ||
* | ||
* The build directory is usually `builds/<system>`, and contains | ||
* system-specific files that are always included first when building the | ||
* library. | ||
* | ||
*/ | ||
|
||
#ifndef FTCONFIG_H_ | ||
#define FTCONFIG_H_ | ||
|
||
#include <ft2build.h> | ||
#include FT_CONFIG_OPTIONS_H | ||
#include FT_CONFIG_STANDARD_LIBRARY_H | ||
|
||
#define HAVE_UNISTD_H 1 | ||
#define HAVE_FCNTL_H 1 | ||
|
||
#undef FT_USE_AUTOCONF_SIZEOF_TYPES | ||
#ifdef FT_USE_AUTOCONF_SIZEOF_TYPES | ||
|
||
#undef SIZEOF_INT | ||
#undef SIZEOF_LONG | ||
#define FT_SIZEOF_INT SIZEOF_INT | ||
#define FT_SIZEOF_LONG SIZEOF_LONG | ||
|
||
#endif /* FT_USE_AUTOCONF_SIZEOF_TYPES */ | ||
|
||
#include <freetype/config/integer-types.h> | ||
#include <freetype/config/public-macros.h> | ||
#include <freetype/config/mac-support.h> | ||
|
||
#endif /* FTCONFIG_H_ */ | ||
|
||
|
||
/* END */ |
Oops, something went wrong.