wok-next diff fontconfig/receipt @ rev 20861

gnutls: up (3.5.18); add libpsl and publicsuffix-list; sed: up (4.5); tar: up (1.30); tcpdump: up (4.9.2); wget: up (1.19.5); xz: up (5.2.4)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 28 00:30:02 2018 +0300 (2018-06-28)
parents 835b3b8ce6ac
children 68405ac5fe8a
line diff
     1.1 --- a/fontconfig/receipt	Fri Apr 13 07:14:16 2018 +0300
     1.2 +++ b/fontconfig/receipt	Thu Jun 28 00:30:02 2018 +0300
     1.3 @@ -1,15 +1,16 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="fontconfig"
     1.7 -VERSION="2.12.4"
     1.8 +VERSION="2.12.6"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="Font configuration utilities and library"
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="MIT"
    1.13  WEB_SITE="https://www.freedesktop.org/wiki/Software/fontconfig/"
    1.14 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/fontconfig.html"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WGET_URL="http://www.freedesktop.org/software/fontconfig/release/$TARBALL"
    1.18 +WGET_URL="https://www.freedesktop.org/software/fontconfig/release/$TARBALL"
    1.19  
    1.20  BUILD_DEPENDS="libxml2-dev freetype-dev gperf"
    1.21  SPLIT="fontconfig-dev"
    1.22 @@ -17,6 +18,7 @@
    1.23  compile_rules() {
    1.24  	rm -f src/fcobjshash.h
    1.25  
    1.26 +#	aclocal
    1.27  	./configure \
    1.28  		--with-arch=$ARCH \
    1.29  		--disable-static \
    1.30 @@ -26,42 +28,18 @@
    1.31  		$CONFIGURE_ARGS &&
    1.32  	fix libtool &&
    1.33  	make &&
    1.34 -	make DESTDIR=$install install || return 1
    1.35 -
    1.36 -
    1.37 -	# FIXME: Which the app uses the next?
    1.38 -	# FIXME: There are 10-hinting-{full,medium,none,slight}.conf already exists...
    1.39 -	cd $install/usr/share/fontconfig/conf.avail
    1.40 -	for h in hintslight hintmedium hintfull; do
    1.41 -		cat > 10-hintstyle-$h.conf <<EOT
    1.42 -<match target="font">
    1.43 -	<edit mode="append" name="hintstyle">
    1.44 -		<const>${h}</const>
    1.45 -	</edit>
    1.46 -</match>
    1.47 -EOT
    1.48 -	done
    1.49 -
    1.50 -	ln -s /usr/share/fontconfig/conf.avail/11-lcdfilter-default.conf \
    1.51 -		$install/etc/fonts/conf.d
    1.52 -
    1.53 -	# Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading
    1.54 -	# configurations from ~/.fonts.conf is deprecated.
    1.55 -	sed -i '/~\/\.fonts\.conf</d' \
    1.56 -		$install/usr/share/fontconfig/conf.avail/50-user.conf
    1.57 -
    1.58 -	# chown -R root.root $fs
    1.59 +	make install
    1.60  }
    1.61  
    1.62  genpkg_rules() {
    1.63  	case $PACKAGE in
    1.64  		fontconfig)
    1.65  			copy @std
    1.66 -			DEPENDS="bzlib freetype liblzma liblzma libpng16 libxml2 zlib"
    1.67 +			DEPENDS="freetype libxml2"
    1.68  			;;
    1.69  		*-dev)
    1.70  			copy @dev
    1.71 -			DEPENDS="fontconfig freetype-dev libpng16-dev libxml2-dev"
    1.72 +			DEPENDS="fontconfig freetype-dev libxml2-dev"
    1.73  			;;
    1.74  	esac
    1.75  }