Skip to content

Commit eae17a0

Browse files
committed
Add pygame2 its dependencies
1 parent ee56993 commit eae17a0

File tree

4 files changed

+111
-0
lines changed

4 files changed

+111
-0
lines changed

SDL2/SDL2_image-2.6.3.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"name": "SDL2_image",
3+
"config-opts": ["--disable-static"],
4+
"rm-configure": true,
5+
"sources": [
6+
{
7+
"type": "archive",
8+
"url": "https://github.com/libsdl-org/SDL_image/releases/download/release-2.6.3/SDL2_image-2.6.3.tar.gz",
9+
"sha256": "931c9be5bf1d7c8fae9b7dc157828b7eee874e23c7f24b44ba7eff6b4836312c"
10+
},
11+
{
12+
"type": "script",
13+
"dest-filename": "autogen.sh",
14+
"commands": [
15+
"AUTOMAKE=\"automake --foreign\" autoreconf -vfi"
16+
]
17+
}
18+
]
19+
}

SDL2/SDL2_mixer-2.6.3.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"name": "SDL2_mixer",
3+
"config-opts": ["--disable-static"],
4+
"rm-configure": true,
5+
"sources": [
6+
{
7+
"type": "archive",
8+
"url": "https://github.com/libsdl-org/SDL_mixer/releases/download/release-2.6.3/SDL2_mixer-2.6.3.tar.gz",
9+
"sha256": "7a6ba86a478648ce617e3a5e9277181bc67f7ce9876605eea6affd4a0d6eea8f"
10+
},
11+
{
12+
"type": "script",
13+
"dest-filename": "autogen.sh",
14+
"commands": [
15+
"rm acinclude/libtool.m4",
16+
"rm acinclude/lt*",
17+
"AUTOMAKE=\"automake --foreign\" autoreconf -vfi -I acinclude",
18+
"cp -p /usr/share/automake-*/config.{sub,guess} build-scripts"
19+
]
20+
}
21+
]
22+
}

SDL2/SDL2_ttf-2.20.2.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"name": "SDL2_ttf",
3+
"config-opts": ["--disable-static"],
4+
"rm-configure": true,
5+
"config-opts": [
6+
"ac_cv_path_FREETYPE_CONFIG=pkg-config freetype2"
7+
],
8+
"sources": [
9+
{
10+
"type": "archive",
11+
"url": "https://github.com/libsdl-org/SDL_ttf/releases/download/release-2.20.2/SDL2_ttf-2.20.2.tar.gz",
12+
"sha256": "9dc71ed93487521b107a2c4a9ca6bf43fb62f6bddd5c26b055e6b91418a22053"
13+
},
14+
{
15+
"type": "script",
16+
"dest-filename": "autogen.sh",
17+
"commands": [
18+
"AUTOMAKE=\"automake --foreign\" autoreconf -vfi"
19+
]
20+
}
21+
]
22+
}

pygame2/pygame-2.4.0.json

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"name": "pygame2",
3+
"sources": [
4+
{
5+
"type": "archive",
6+
"url": "https://files.pythonhosted.org/packages/b9/42/154038c4988d750ded799dc5d6ca4e631db93888e3d76084625b0588dfd2/pygame-2.4.0.tar.gz",
7+
"sha256": "e3603e70e96ee30af1954ce57d4922a059402f368013e7138e90f1c03d185267"
8+
}
9+
],
10+
"buildsystem": "simple",
11+
"build-commands": [
12+
"pip3 install --ignore-installed --no-deps --prefix=/app ."
13+
],
14+
"build-options": {
15+
"env": {
16+
"PORTMIDI_INC_PORTTIME": "1",
17+
"PYGAME_EXTRA_BASE": "/app"
18+
},
19+
"arch": {
20+
"aarch64": {
21+
"env": {
22+
"ORIGLIBDIRS": "/lib:/lib64:/lib/aarch64-linux-gnu"
23+
}
24+
},
25+
"arm": {
26+
"env": {
27+
"ORIGLIBDIRS": "/lib:/lib/arm-linux-gnueabihf"
28+
}
29+
},
30+
"i386": {
31+
"env": {
32+
"ORIGLIBDIRS": "/lib:/lib/i386-linux-gnu"
33+
}
34+
},
35+
"x86_64": {
36+
"env": {
37+
"ORIGLIBDIRS": "/lib:/lib64:/lib/x86_64-linux-gnu"
38+
}
39+
}
40+
}
41+
},
42+
"modules": [
43+
"../SDL2/SDL2-with-libdecor.json",
44+
"../SDL2/SDL2_image-2.6.3.json",
45+
"../SDL2/SDL2_ttf-2.20.2.json",
46+
"../SDL2/SDL2_mixer-2.6.3.json"
47+
]
48+
}

0 commit comments

Comments
 (0)