diff multimedia/libbluray/libbluray.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/multimedia/libbluray/libbluray.sh	Mon Aug 26 20:45:00 2019 +0200
+++ b/multimedia/libbluray/libbluray.sh	Mon Aug 26 20:20:00 2019 +0200
@@ -21,7 +21,7 @@
 PKGLICENSE="LGPLv21+"
 PKGSUMMARY="bluray access library"
 PKGDOWNLOAD="https://download.videolan.org/pub/videolan/$PKGNAME/$PKGVERSION/$PKGNAME-$PKGVERSION.tar.bz2"
-PKGOPTIONS="FONTCONFIG FREETYPE XML"
+PKGOPTIONS="FONTCONFIG TTF XML"
 
 : ${CHOST:=$(uname -m)-linux-musl}
 : ${CBUILD:=$(uname -m)-linux-musl}
@@ -30,7 +30,7 @@
 : ${LDFLAGS:=}
 : ${LIBS:=}
 : ${FONTCONFIG:=yes}
-: ${FREETYPE:=yes}
+: ${TTF:=yes}
 : ${XML:=yes}
 
 if [ "$FONTCONFIG" = "yes" ]; then
@@ -40,11 +40,11 @@
 	with_fontconfig="--without-fontconfig"
 fi
 
-if [ "$FREETYPE" = "yes" ]; then
+if [ "$TTF" = "yes" ]; then
 	PKGDEPENDS="freetype $PKGDEPENDS"
-	with_freetype="--with-freetype"
+	with_ttf="--with-freetype"
 else
-	with_freetype="--without-freetype"
+	with_ttf="--without-freetype"
 fi
 
 if [ "$XML" = "yes" ]; then
@@ -72,7 +72,7 @@
 		--disable-bdjava-jar \
 		--enable-shared \
 		$with_fontconfig \
-		$with_freetype \
+		$with_ttf \
 		$with_xml
 	make
 	make install DESTDIR=$DESTDIR