Skip to content

Commit 8a36e4a

Browse files
committed
Add SDL_gfx module
This requires special care and feeding to build on aarch64, which I borrowed from org.manaplus.ManaPlus when org.tuxpaint.Tuxpaint gained a dependency on this library. I suspect (without proof) that this library is one of the reasons that the other existing user of SDL_gfx on Flathub, com.roguetemple.HyperRogue, is not built for aarch64.
1 parent 068f80b commit 8a36e4a

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

SDL/SDL_gfx-2.0.25.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"name": "SDL_gfx",
3+
"config-opts": [
4+
"--disable-static"
5+
],
6+
"build-options": {
7+
"arch": {
8+
"aarch64": {
9+
"//": "Code assumes that if __GNUC__ is defined and MMX is enabled, then x86-specific mmintrin.h is available",
10+
"config-opts": [
11+
"--disable-mmx"
12+
]
13+
}
14+
}
15+
},
16+
"sources": [
17+
{
18+
"type": "archive",
19+
"url": "https://downloads.sourceforge.net/project/sdlgfx/SDL_gfx-2.0.25.tar.gz",
20+
"sha256": "556eedc06b6cf29eb495b6d27f2dcc51bf909ad82389ba2fa7bdc4dec89059c0"
21+
}
22+
]
23+
}

0 commit comments

Comments
 (0)