hyperrogue: use fontconfig

This commit is contained in:
tranzystorekk 2024-12-30 20:35:51 +01:00
parent ecf4fb2c1f
commit b3223f884a

View file

@ -1,10 +1,11 @@
# Template file for 'hyperrogue'
pkgname=hyperrogue
version=13.0w
revision=1
revision=2
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="glew-devel libpng-devel SDL-devel SDL_gfx-devel SDL_mixer-devel
SDL_ttf-devel zlib-devel"
SDL_ttf-devel zlib-devel fontconfig-devel"
depends="dejavu-fonts-ttf"
short_desc="SDL rogue-like in a non-euclidean world"
maintainer="tranzystorekk <tranzystorek.io@protonmail.com>"
@ -17,7 +18,7 @@ nocross="Generates code from build output that must run on host"
# SDL_gfx-devel headers require that SDL.h be under the header search paths,
# which are not set correctly by upstream.
CXXFLAGS+=" -I/usr/include/SDL -DHYPERPATH='\"/usr/share/hyperrogue/\"' -DHYPERFONTPATH='\"/usr/share/fonts/TTF/\"'"
CXXFLAGS+=" -I/usr/include/SDL -DHYPERPATH='\"/usr/share/hyperrogue/\"'"
case "$XBPS_TARGET_MACHINE" in
ppc64*) ;;
@ -26,6 +27,7 @@ esac
export HYPERROGUE_USE_GLEW=1
export HYPERROGUE_USE_PNG=1
export FONTCONFIG=1
do_install() {
vbin hyperrogue