Skip to content

Commit

Permalink
Merge pull request #15 from notimaginative/big_lib_update
Browse files Browse the repository at this point in the history
update lib setup for all platforms...
  • Loading branch information
Goober5000 authored Jul 9, 2024
2 parents f81df85 + 8b0c300 commit 8603996
Show file tree
Hide file tree
Showing 967 changed files with 422,018 additions and 3,337 deletions.
8 changes: 5 additions & 3 deletions README.md
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.**
62 changes: 62 additions & 0 deletions linux/freetype/include/freetype/config/ftconfig.h
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 */
Loading

0 comments on commit 8603996

Please sign in to comment.