mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
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:
commit
4cb4fca337
@ -23,7 +23,7 @@ PKG_ARCH="any"
|
|||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="http://www.openelec.tv"
|
PKG_SITE="http://www.openelec.tv"
|
||||||
PKG_URL=""
|
PKG_URL=""
|
||||||
PKG_DEPENDS_TARGET="toolchain liberation-fonts-ttf"
|
PKG_DEPENDS_TARGET="toolchain"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="virtual"
|
PKG_SECTION="virtual"
|
||||||
PKG_SHORTDESC="corefonts: Metapackage for installing fonts"
|
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_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="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
|
||||||
|
@ -34,7 +34,7 @@ PKG_AUTORECONF="yes"
|
|||||||
|
|
||||||
PKG_CONFIGURE_OPTS_TARGET="--with-arch=$TARGET_ARCH \
|
PKG_CONFIGURE_OPTS_TARGET="--with-arch=$TARGET_ARCH \
|
||||||
--with-cache-dir=/storage/.cache/fontconfig \
|
--with-cache-dir=/storage/.cache/fontconfig \
|
||||||
--with-default-fonts=/usr/share/fonts/liberation \
|
--with-default-fonts=/usr/share/fonts \
|
||||||
--without-add-fonts \
|
--without-add-fonts \
|
||||||
--disable-dependency-tracking \
|
--disable-dependency-tracking \
|
||||||
--disable-docs"
|
--disable-docs"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user