1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 04:27:45 +00:00

Ports: Add SDL2_gfx

This commit is contained in:
Linus Groh 2021-04-04 19:28:41 +02:00 committed by Andreas Kling
parent 1b2123af80
commit 0490540e21
3 changed files with 20 additions and 0 deletions

8
Ports/SDL2_gfx/package.sh Executable file
View file

@ -0,0 +1,8 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=SDL2_gfx
version=1.0.4
files="https://downloads.sourceforge.net/project/sdl2gfx/SDL2_gfx-${version}.tar.gz SDL2_gfx-${version}.tar.gz"
depends="SDL2"
useconfigure=true
configopts="--with-sdl-prefix=${SERENITY_BUILD_DIR}/Root/usr"

View file

@ -0,0 +1,11 @@
--- SDL2_gfx-1.0.4/config.sub 2021-04-04 18:40:50.418255684 +0200
+++ SDL2_gfx-1.0.4/config.sub 2021-04-04 18:42:32.801888295 +0200
@@ -1355,7 +1355,7 @@
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
- | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -serenity*)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx*)