Merge pull request #409 from plexinc/fix-fontconfig-for-alternate-distributions

Enable custom fonts to be installed in place of liberation fonts
This commit is contained in:
Lukas Rusak 2016-07-07 11:07:15 -07:00 committed by GitHub
commit 4cb4fca337
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"