summaryrefslogtreecommitdiff
path: root/Ports/angband/package.sh
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2021-10-17 15:44:23 +0200
committerAndreas Kling <kling@serenityos.org>2021-11-01 11:34:25 +0100
commit02446a5431fb4943b14296dc751a446310bb72d6 (patch)
tree81c2fbebccc0307f08bad1a56e1edf3921ce2a35 /Ports/angband/package.sh
parent4e1318fb0e0c0af448296d9cd4fcacdd824cfb60 (diff)
downloadserenity-02446a5431fb4943b14296dc751a446310bb72d6.zip
Ports: Enable SDL support in Angband
Diffstat (limited to 'Ports/angband/package.sh')
-rwxr-xr-xPorts/angband/package.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/Ports/angband/package.sh b/Ports/angband/package.sh
index 699a721c4e..b8f4f73f15 100755
--- a/Ports/angband/package.sh
+++ b/Ports/angband/package.sh
@@ -5,13 +5,16 @@ workdir="Angband-${version}"
useconfigure=true
files="https://github.com/angband/angband/releases/download/${version}/Angband-${version}.tar.gz Angband-${version}.tar.gz 833c4f8cff2aee61ad015f9346fceaa4a8c739fe2dbe5bd1acd580c91818e6bb"
auth_type=sha256
-depends=("ncurses")
+depends=("ncurses" "SDL2" "SDL2_image" "SDL2_ttf" "SDL2_mixer")
configopts=(
"--prefix=/usr/local"
"--bindir=/usr/local/bin"
"--disable-x11"
"--enable-curses"
+ "--enable-sdl2"
+ "--enable-sdl2-mixer"
"--with-ncurses-prefix=${SERENITY_INSTALL_ROOT}/usr/local"
+ "--with-sdl2-prefix=${SERENITY_INSTALL_ROOT}/usr/local"
"CFLAGS=--sysroot=${SERENITY_INSTALL_ROOT} -I${SERENITY_INSTALL_ROOT}/usr/local/include/ncursesw"
"LIBS=-lncursesw"
)