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