Skip to content

Commit

Permalink
Add SDL_gfx module
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
wjt committed Nov 27, 2021
1 parent 068f80b commit 8a36e4a
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions SDL/SDL_gfx-2.0.25.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "SDL_gfx",
"config-opts": [
"--disable-static"
],
"build-options": {
"arch": {
"aarch64": {
"//": "Code assumes that if __GNUC__ is defined and MMX is enabled, then x86-specific mmintrin.h is available",
"config-opts": [
"--disable-mmx"
]
}
}
},
"sources": [
{
"type": "archive",
"url": "https://downloads.sourceforge.net/project/sdlgfx/SDL_gfx-2.0.25.tar.gz",
"sha256": "556eedc06b6cf29eb495b6d27f2dcc51bf909ad82389ba2fa7bdc4dec89059c0"
}
]
}

0 comments on commit 8a36e4a

Please sign in to comment.