Skip to content

Commit

Permalink
Add pygame2 and its dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sparshg committed Jun 4, 2023
1 parent ee56993 commit f7c5d0d
Show file tree
Hide file tree
Showing 4 changed files with 111 additions and 0 deletions.
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",
"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",
"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",
"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 ."
],
"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": [
"../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"
]
}

0 comments on commit f7c5d0d

Please sign in to comment.