158 lines
4.8 KiB
JSON
158 lines
4.8 KiB
JSON
{
|
|
"name": "pygame",
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://files.pythonhosted.org/packages/0f/9c/78626be04e193c0624842090fe5555b3805c050dfaa81c8094d6441db2be/pygame-1.9.6.tar.gz",
|
|
"sha256": "301c6428c0880ecd4a9e3951b80e539c33863b6ff356a443db1758de4f297957"
|
|
},
|
|
{
|
|
"type": "patch",
|
|
"path": "cython-fixes.patch"
|
|
}
|
|
],
|
|
"buildsystem": "simple",
|
|
"build-commands": [
|
|
"python setup.py cython install --prefix=/app --root=/"
|
|
],
|
|
"cleanup": [
|
|
"/include",
|
|
"/lib/pkgconfig",
|
|
"/share/man",
|
|
"*.la",
|
|
"*.a"
|
|
],
|
|
"build-options": {
|
|
"env": {
|
|
"PORTMIDI_INC_PORTTIME": "1",
|
|
"PYGAME_EXTRA_BASE": "/app"
|
|
},
|
|
"arch": {
|
|
"aarch64": {
|
|
"env": {
|
|
"ORIGLIBDIRS": "/lib:/lib64:/lib/aarch64-linux-gnu"
|
|
}
|
|
},
|
|
"arm": {
|
|
"env": {
|
|
"ORIGLIBDIRS": "/lib:/lib/arm-linux-gnueabihf"
|
|
}
|
|
},
|
|
"i386": {
|
|
"env": {
|
|
"ORIGLIBDIRS": "/lib:/lib/i386-linux-gnu"
|
|
}
|
|
},
|
|
"x86_64": {
|
|
"env": {
|
|
"ORIGLIBDIRS": "/lib:/lib64:/lib/x86_64-linux-gnu"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"modules": [
|
|
"../SDL/SDL-1.2.15.json",
|
|
"../SDL/SDL_image-1.2.12.json",
|
|
"../SDL/SDL_ttf-2.0.11.json",
|
|
"../smpeg/smpeg-0.4.5.json",
|
|
"../SDL/SDL_mixer-1.2.12.json",
|
|
{
|
|
"name": "audiofile",
|
|
"cleanup": [
|
|
"/include",
|
|
"/lib/pkgconfig",
|
|
"/share/man",
|
|
"*.la",
|
|
"*.a"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "http://audiofile.68k.org/audiofile-0.3.6.tar.gz",
|
|
"sha256": "cdc60df19ab08bfe55344395739bb08f50fc15c92da3962fac334d3bff116965"
|
|
},
|
|
{
|
|
"type": "patch",
|
|
"path": "audiofile-gcc6.patch"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "libmikmod",
|
|
"cleanup": [
|
|
"/include",
|
|
"/lib/pkgconfig",
|
|
"/share/aclocal",
|
|
"/share/info",
|
|
"/share/man",
|
|
"*.la",
|
|
"*.a"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://sourceforge.net/projects/mikmod/files/libmikmod/3.3.11.1/libmikmod-3.3.11.1.tar.gz",
|
|
"sha256": "ad9d64dfc8f83684876419ea7cd4ff4a41d8bcd8c23ef37ecb3a200a16b46d19"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "fluidsynth",
|
|
"buildsystem": "cmake-ninja",
|
|
"config-opts": [
|
|
"-DCMAKE_BUILD_TYPE=Release"
|
|
],
|
|
"cleanup": [
|
|
"/include",
|
|
"/lib/pkgconfig",
|
|
"/lib64/pkgconfig",
|
|
"/share/man",
|
|
"*.la",
|
|
"*.a"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/FluidSynth/fluidsynth/archive/refs/tags/v1.1.11.tar.gz",
|
|
"sha256": "da8878ff374d12392eecf87e96bad8711b8e76a154c25a571dd8614d1af80de8"
|
|
},
|
|
{
|
|
"type": "patch",
|
|
"path": "fluidsynth-no-rawmidi.patch"
|
|
},
|
|
{
|
|
"type": "patch",
|
|
"path": "glib.patch"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "portmidi",
|
|
"buildsystem": "cmake-ninja",
|
|
"config-opts": [
|
|
"-DCMAKE_BUILD_TYPE=Release",
|
|
"-DCMAKE_LIBRARY_OUTPUT_DIRECTORY:STRING=/app/lib",
|
|
"-DCMAKE_ARCHIVE_OUTPUT_DIRECTORY:STRING=/app/lib",
|
|
"-DCMAKE_RUNTIME_OUTPUT_DIRECTORY:STRING=/app/bin"
|
|
],
|
|
"cleanup": [
|
|
"/include",
|
|
"/lib/pkgconfig",
|
|
"/share/man",
|
|
"*.la",
|
|
"*.a"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "http://downloads.sourceforge.net/project/portmedia/portmidi/217/portmidi-src-217.zip",
|
|
"sha256": "08e9a892bd80bdb1115213fb72dc29a7bf2ff108b378180586aa65f3cfd42e0f"
|
|
},
|
|
{
|
|
"type": "patch",
|
|
"path": "portmidi-no-java.patch"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|