Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable custom fonts to be installed in place of liberation fonts #409

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 7 additions & 1 deletion packages/virtual/corefonts/package.mk
Expand Up @@ -23,11 +23,17 @@ 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"
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
2 changes: 1 addition & 1 deletion packages/x11/other/fontconfig/package.mk
Expand Up @@ -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"
Expand Down