Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions SDL2/SDL2_image-2.6.3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "SDL2_image",
Comment thread
sparshg marked this conversation as resolved.
Outdated
"config-opts": ["--disable-static"],
"rm-configure": true,
"sources": [
{
"type": "archive",
"url": "https://github.com/libsdl-org/SDL_image/releases/download/release-2.6.3/SDL2_image-2.6.3.tar.gz",
"sha256": "931c9be5bf1d7c8fae9b7dc157828b7eee874e23c7f24b44ba7eff6b4836312c"
},
{
"type": "script",
"dest-filename": "autogen.sh",
"commands": [
"AUTOMAKE=\"automake --foreign\" autoreconf -vfi"
]
}
]
}
22 changes: 22 additions & 0 deletions SDL2/SDL2_mixer-2.6.3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "SDL2_mixer",
Comment thread
sparshg marked this conversation as resolved.
Outdated
"config-opts": ["--disable-static"],
"rm-configure": true,
"sources": [
{
"type": "archive",
"url": "https://github.com/libsdl-org/SDL_mixer/releases/download/release-2.6.3/SDL2_mixer-2.6.3.tar.gz",
"sha256": "7a6ba86a478648ce617e3a5e9277181bc67f7ce9876605eea6affd4a0d6eea8f"
},
{
"type": "script",
"dest-filename": "autogen.sh",
"commands": [
"rm acinclude/libtool.m4",
"rm acinclude/lt*",
"AUTOMAKE=\"automake --foreign\" autoreconf -vfi -I acinclude",
"cp -p /usr/share/automake-*/config.{sub,guess} build-scripts"
]
}
]
}
22 changes: 22 additions & 0 deletions SDL2/SDL2_ttf-2.20.2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "SDL2_ttf",
Comment thread
sparshg marked this conversation as resolved.
Outdated
"config-opts": ["--disable-static"],
"rm-configure": true,
"config-opts": [
"ac_cv_path_FREETYPE_CONFIG=pkg-config freetype2"
],
"sources": [
{
"type": "archive",
"url": "https://github.com/libsdl-org/SDL_ttf/releases/download/release-2.20.2/SDL2_ttf-2.20.2.tar.gz",
"sha256": "9dc71ed93487521b107a2c4a9ca6bf43fb62f6bddd5c26b055e6b91418a22053"
},
{
"type": "script",
"dest-filename": "autogen.sh",
"commands": [
"AUTOMAKE=\"automake --foreign\" autoreconf -vfi"
]
}
]
}
48 changes: 48 additions & 0 deletions pygame2/pygame-2.4.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"name": "pygame2",
"sources": [
{
"type": "archive",
"url": "https://files.pythonhosted.org/packages/b9/42/154038c4988d750ded799dc5d6ca4e631db93888e3d76084625b0588dfd2/pygame-2.4.0.tar.gz",
"sha256": "e3603e70e96ee30af1954ce57d4922a059402f368013e7138e90f1c03d185267"
}
],
"buildsystem": "simple",
"build-commands": [
"pip3 install --ignore-installed --no-deps --prefix=/app ."

@bbhtt bbhtt Sep 10, 2023

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should run setup.py cython, to recythonise the sources before installing. Upstream c sources might not match with the python C api available in the runtime or app. The c api time to time introduces changes leading to build failures like #201 and the python version is a moving target as it is in shared-modules and will get included in manifests that have different python versions.

https://www.pygame.org/wiki/GettingStarted#Compilation

Some of the .c files are generated by Cython from .pyx files. Running "setup.py cython" will update them.

],
"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"
}
},
Comment thread
sparshg marked this conversation as resolved.
Outdated
"x86_64": {
"env": {
"ORIGLIBDIRS": "/lib:/lib64:/lib/x86_64-linux-gnu"
}
}
}
},
"modules": [
"../SDL2/SDL2-with-libdecor.json",
"../SDL2/SDL2_image-2.6.3.json",
"../SDL2/SDL2_ttf-2.20.2.json",
"../SDL2/SDL2_mixer-2.6.3.json"
]
}