hyperrogue: use fontconfig
This commit is contained in:
@@ -1,10 +1,11 @@
|
|||||||
# Template file for 'hyperrogue'
|
# Template file for 'hyperrogue'
|
||||||
pkgname=hyperrogue
|
pkgname=hyperrogue
|
||||||
version=13.0w
|
version=13.0w
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
|
hostmakedepends="pkg-config"
|
||||||
makedepends="glew-devel libpng-devel SDL-devel SDL_gfx-devel SDL_mixer-devel
|
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"
|
depends="dejavu-fonts-ttf"
|
||||||
short_desc="SDL rogue-like in a non-euclidean world"
|
short_desc="SDL rogue-like in a non-euclidean world"
|
||||||
maintainer="tranzystorekk <tranzystorek.io@protonmail.com>"
|
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,
|
# SDL_gfx-devel headers require that SDL.h be under the header search paths,
|
||||||
# which are not set correctly by upstream.
|
# 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
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
ppc64*) ;;
|
ppc64*) ;;
|
||||||
@@ -26,6 +27,7 @@ esac
|
|||||||
|
|
||||||
export HYPERROGUE_USE_GLEW=1
|
export HYPERROGUE_USE_GLEW=1
|
||||||
export HYPERROGUE_USE_PNG=1
|
export HYPERROGUE_USE_PNG=1
|
||||||
|
export FONTCONFIG=1
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin hyperrogue
|
vbin hyperrogue
|
||||||
|
|||||||
Reference in New Issue
Block a user