fontconfig: update to 2.13.0.
Closes: #12976 [via git-merge-pr] Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
5f1222337d
commit
bd5303c2b1
2 changed files with 17 additions and 6 deletions
1
srcpkgs/fontconfig-doc
Symbolic link
1
srcpkgs/fontconfig-doc
Symbolic link
|
@ -0,0 +1 @@
|
|||
fontconfig
|
|
@ -1,23 +1,24 @@
|
|||
# Template build file for 'fontconfig'.
|
||||
pkgname=fontconfig
|
||||
version=2.12.6
|
||||
version=2.13.0
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static --enable-docs --with-cache-dir=/var/cache/$pkgname"
|
||||
hostmakedepends="pkg-config gperf"
|
||||
makedepends="expat-devel zlib-devel freetype-devel"
|
||||
hostmakedepends="gperf pkg-config"
|
||||
makedepends="expat-devel freetype-devel libuuid-devel"
|
||||
conf_files="/etc/fonts/fonts.conf"
|
||||
short_desc="Library for configuring and customizing font access"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
homepage="http://www.fontconfig.org"
|
||||
license="MIT"
|
||||
distfiles="${FREEDESKTOP_SITE}/${pkgname}/release/$pkgname-$version.tar.bz2"
|
||||
checksum=cf0c30807d08f6a28ab46c61b8dbd55c97d2f292cf88f3a07d3384687f31f017
|
||||
checksum=91dde8492155b7f34bb95079e79be92f1df353fcc682c19be90762fd3e12eeb9
|
||||
|
||||
pre_build() {
|
||||
# trick to regenerate hash functions :-)
|
||||
rm -f src/fcobjshash.h
|
||||
}
|
||||
|
||||
post_install() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
sed -i 's,\(Cflags: -I${includedir}\).*,\1,g' ${DESTDIR}/usr/lib/pkgconfig/fontconfig.pc
|
||||
|
@ -26,13 +27,22 @@ post_install() {
|
|||
}
|
||||
|
||||
fontconfig-devel_package() {
|
||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
depends="fontconfig-${version}_${revision} expat-devel freetype-devel
|
||||
libuuid-devel"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove usr/lib/*.so
|
||||
vmove usr/share/man/man3
|
||||
vmove "usr/lib/*.so"
|
||||
vmove usr/share/gettext
|
||||
}
|
||||
}
|
||||
|
||||
fontconfig-doc_package() {
|
||||
short_desc+=" - documentation"
|
||||
noarch=yes
|
||||
pkg_install() {
|
||||
vmove usr/share/doc
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue