Skip to content

Commit e1ca238

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 e1ca238

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

SDL/SDL_gfx-2.0.25.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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-static",
12+
"--disable-mmx"
13+
]
14+
}
15+
}
16+
},
17+
"sources": [
18+
{
19+
"type": "archive",
20+
"url": "https://downloads.sourceforge.net/project/sdlgfx/SDL_gfx-2.0.25.tar.gz",
21+
"sha256": "556eedc06b6cf29eb495b6d27f2dcc51bf909ad82389ba2fa7bdc4dec89059c0"
22+
}
23+
]
24+
}

0 commit comments

Comments
 (0)