mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
hyperrogue: use fontconfig
This commit is contained in:
parent
ecf4fb2c1f
commit
b3223f884a
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue