diff emulation/retroarch/retroarch.sh @ 904:25a95c53d800

vanilla: rename FREETYPE to TTF, closes #2202
author David Demelier <markand@malikania.fr>
date Mon, 26 Aug 2019 20:20:00 +0200
parents a133976e0783
children ddab65a5b3f5
line wrap: on
line diff
--- a/emulation/retroarch/retroarch.sh	Mon Aug 26 20:45:00 2019 +0200
+++ b/emulation/retroarch/retroarch.sh	Mon Aug 26 20:20:00 2019 +0200
@@ -27,7 +27,6 @@
             DBUS
             FFMPEG
             FLAC
-            FREETYPE
             JACK
             KMS
             OPENAL
@@ -35,6 +34,7 @@
             PULSEAUDIO
             QT
             SDL2
+            TTF
             UDEV
             USB
             WAYLAND
@@ -54,7 +54,6 @@
 : ${DBUS:=no}
 : ${FFMPEG:=yes}
 : ${FLAC:=yes}
-: ${FREETYPE:=yes}
 : ${JACK:=yes}
 : ${KMS:=yes}
 : ${OPENAL:=yes}
@@ -62,6 +61,7 @@
 : ${PULSEAUDIO:=yes}
 : ${QT:=yes}
 : ${SDL2:=yes}
+: ${TTF:=yes}
 : ${UDEV:=yes}
 : ${USB:=yes}
 : ${WAYLAND:=yes}
@@ -96,13 +96,6 @@
 	with_flac="--disable-flac"
 fi
 
-if [ "$FREETYPE" = "yes" ]; then
-	PKGDEPENDS="freetype $PKGDEPENDS"
-	with_freetype="--enable-freetype"
-else
-	with_freetype="--disable-freetype"
-fi
-
 if [ "$JACK" = "yes" ]; then
 	PKGDEPENDS="audio/jack $PKGDEPENDS"
 	with_jack="--enable-jack"
@@ -155,6 +148,13 @@
 	with_sdl2="--disable-sdl2"
 fi
 
+if [ "$TTF" = "yes" ]; then
+	PKGDEPENDS="freetype $PKGDEPENDS"
+	with_ttf="--enable-freetype"
+else
+	with_ttf="--disable-freetype"
+fi
+
 if [ "$UDEV" = "yes" ]; then
 	PKGDEPENDS="eudev $PKGDEPENDS"
 	with_udev="--enable-udev"
@@ -227,7 +227,6 @@
 		$with_alsa \
 		$with_dbus \
 		$with_ffmpeg \
-		$with_freetype \
 		$with_jack \
 		$with_kms \
 		$with_openal \
@@ -235,6 +234,7 @@
 		$with_pulseaudio \
 		$with_qt \
 		$with_sdl2 \
+		$with_ttf \
 		$with_udev \
 		$with_usb \
 		$with_wayland \