wok-next annotate fontconfig/receipt @ rev 19647
Forgotten changes: libdrm-*, dbus, fontconfig, harfbuzz, libdrm, pixman, xorg-glproto.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Feb 23 00:58:26 2017 +0200 (2017-02-23) |
parents | 0e02d06530b3 |
children | 27e7c76d2c94 |
rev | line source |
---|---|
pankso@21 | 1 # SliTaz package receipt. |
pankso@21 | 2 |
pankso@21 | 3 PACKAGE="fontconfig" |
al@19647 | 4 VERSION="2.12.1" |
pankso@21 | 5 CATEGORY="x-window" |
al@14225 | 6 SHORT_DESC="Font configuration utilities and library" |
pankso@21 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15593 | 8 LICENSE="MIT" |
al@14225 | 9 WEB_SITE="http://www.fontconfig.org/wiki/" |
al@19647 | 10 HOST_ARCH="i486 arm" |
al@19647 | 11 |
al@14225 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@14225 | 13 WGET_URL="http://www.freedesktop.org/software/fontconfig/release/$TARBALL" |
al@14225 | 14 |
al@14225 | 15 DEPENDS="bzlib expat freetype libxml2" |
pankso@1812 | 16 BUILD_DEPENDS="libxml2-dev freetype-dev" |
pankso@21 | 17 |
pankso@21 | 18 # Rules to configure and make the package. |
pankso@21 | 19 compile_rules() |
pankso@21 | 20 { |
pankso@3852 | 21 ./configure \ |
pankso@3852 | 22 --sysconfdir=/etc \ |
pankso@3852 | 23 --localstatedir=/var \ |
pankso@10293 | 24 --with-arch=$ARCH \ |
al@14225 | 25 --disable-static \ |
al@14225 | 26 --enable-iconv \ |
al@14225 | 27 --enable-libxml2 \ |
al@14225 | 28 --disable-docs \ |
pankso@3852 | 29 $CONFIGURE_ARGS && |
al@14225 | 30 make && |
al@14225 | 31 make DESTDIR=$install install |
pankso@21 | 32 } |
pankso@21 | 33 |
pankso@21 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@21 | 35 genpkg_rules() |
pankso@21 | 36 { |
al@19647 | 37 cook_copy_folders etc bin share var |
al@19647 | 38 cook_copy_files *.so* |
psychomaniak@18575 | 39 |
al@19647 | 40 # Which the app uses the next? |
al@19647 | 41 # There are 10-hinting-{full,medium,none,slight}.conf already exists... |
psychomaniak@18575 | 42 cd $fs/usr/share/fontconfig/conf.avail |
psychomaniak@18575 | 43 for h in hintslight hintmedium hintfull; do |
psychomaniak@18576 | 44 cat > 10-hintstyle-$h.conf <<EOT |
psychomaniak@18575 | 45 <match target="font"> |
psychomaniak@18575 | 46 <edit mode="append" name="hintstyle"> |
psychomaniak@18575 | 47 <const>${h}</const> |
psychomaniak@18575 | 48 </edit> |
psychomaniak@18575 | 49 </match> |
psychomaniak@18575 | 50 EOT |
psychomaniak@18576 | 51 done |
psychomaniak@18575 | 52 |
psychomaniak@18575 | 53 ln -s /usr/share/fontconfig/conf.avail/11-lcdfilter-default.conf \ |
psychomaniak@18575 | 54 $fs/etc/fonts/conf.d |
al@18582 | 55 |
al@18582 | 56 # Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading |
al@18582 | 57 # configurations from ~/.fonts.conf is deprecated. |
al@19647 | 58 sed -i '/~\/\.fonts\.conf</d' $fs/usr/share/fontconfig/conf.avail/50-user.conf |
al@18582 | 59 |
al@19647 | 60 # chown -R root.root $fs |
pankso@21 | 61 } |