Enable custom fonts to be installed in place of liberation fonts

This commit is contained in:
Mark Walker 2016-06-03 11:48:36 +02:00
parent 42be1ecd27
commit 504f12b54b
2 changed files with 8 additions and 2 deletions

View File

@ -23,7 +23,7 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.openelec.tv"
PKG_URL=""
PKG_DEPENDS_TARGET="toolchain liberation-fonts-ttf"
PKG_DEPENDS_TARGET="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="virtual"
PKG_SHORTDESC="corefonts: Metapackage for installing fonts"
@ -31,3 +31,9 @@ PKG_LONGDESC="corefonts is a Metapackage for installing fonts"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
if [ -n "$CUSTOM_FONTS" ]; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET $CUSTOM_FONTS"
else
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET liberation-fonts-ttf"
fi

View File

@ -34,7 +34,7 @@ PKG_AUTORECONF="yes"
PKG_CONFIGURE_OPTS_TARGET="--with-arch=$TARGET_ARCH \
--with-cache-dir=/storage/.cache/fontconfig \
--with-default-fonts=/usr/share/fonts/liberation \
--with-default-fonts=/usr/share/fonts \
--without-add-fonts \
--disable-dependency-tracking \
--disable-docs"