mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
encodings: enable gzip compression, using 'fontrootdir=/usr/share/fonts', rework of build and install scripts
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
6c217678f6
commit
4d1623495f
@ -28,7 +28,8 @@ cd $PKG_BUILD
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--disable-gzip-small-encodings \
|
||||
--disable-gzip-large-encodings \
|
||||
--with-encodingsdir=$XORG_PATH_ENCODINGS
|
||||
$MAKE
|
||||
--enable-gzip-small-encodings \
|
||||
--enable-gzip-large-encodings \
|
||||
--with-fontrootdir=/usr/share/fonts
|
||||
|
||||
make
|
||||
|
@ -22,8 +22,12 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
mkdir -p $INSTALL/$XORG_PATH_ENCODINGS
|
||||
cp $PKG_BUILD/*.enc $INSTALL/$XORG_PATH_ENCODINGS
|
||||
FONTDIR="$INSTALL/usr/share/fonts"
|
||||
|
||||
mkdir -p $INSTALL/$XORG_PATH_ENCODINGS/large
|
||||
cp $PKG_BUILD/large/*.enc $INSTALL/$XORG_PATH_ENCODINGS/large
|
||||
mkdir -p $FONTDIR/encodings
|
||||
cp $PKG_BUILD/*.enc.gz $FONTDIR/encodings
|
||||
cp $PKG_BUILD/encodings.dir $FONTDIR/encodings
|
||||
|
||||
mkdir -p $FONTDIR/encodings/large
|
||||
cp $PKG_BUILD/large/*.enc.gz $FONTDIR/encodings/large
|
||||
cp $PKG_BUILD/large/encodings.dir $FONTDIR/encodings/large
|
||||
|
@ -26,7 +26,7 @@ PKG_LICENSE="OSS"
|
||||
PKG_SITE="http://www.X.org"
|
||||
PKG_URL="http://xorg.freedesktop.org/archive/individual/font/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS=""
|
||||
PKG_BUILD_DEPENDS="toolchain util-macros"
|
||||
PKG_BUILD_DEPENDS="toolchain util-macros font-util-host"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="x11/font"
|
||||
PKG_SHORTDESC="encodings: X font encodings"
|
||||
|
Loading…
x
Reference in New Issue
Block a user