summaryrefslogtreecommitdiffstats
path: root/abs/core/fontconfig/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-11-28 15:22:26 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-11-28 15:22:26 (GMT)
commit80310af76f86245fb7e5a60c4f709feea8f57602 (patch)
treedec0985b5c3b8ac5dcfbfdddd4cdfdb8edabbc96 /abs/core/fontconfig/PKGBUILD
parent043105105bda6652dc5b0deb903813f8f9a2375d (diff)
downloadlinhes_pkgbuild-80310af76f86245fb7e5a60c4f709feea8f57602.zip
linhes_pkgbuild-80310af76f86245fb7e5a60c4f709feea8f57602.tar.gz
linhes_pkgbuild-80310af76f86245fb7e5a60c4f709feea8f57602.tar.bz2
fontconfig: 2.10.1
Diffstat (limited to 'abs/core/fontconfig/PKGBUILD')
-rw-r--r--abs/core/fontconfig/PKGBUILD45
1 files changed, 31 insertions, 14 deletions
diff --git a/abs/core/fontconfig/PKGBUILD b/abs/core/fontconfig/PKGBUILD
index 7f6a2ca..f698618 100644
--- a/abs/core/fontconfig/PKGBUILD
+++ b/abs/core/fontconfig/PKGBUILD
@@ -1,7 +1,8 @@
-# $Id: PKGBUILD 150857 2012-02-23 13:01:06Z ibiru $
+# $Id: PKGBUILD 166327 2012-09-06 13:53:52Z andyrtr $
# Maintainer: Jan de Groot <jgc@archlinux.org>
+
pkgname=fontconfig
-pkgver=2.8.0
+pkgver=2.10.1
pkgrel=2
pkgdesc="A library for configuring and customizing font access"
arch=(i686 x86_64)
@@ -11,27 +12,43 @@ depends=('expat' 'freetype2')
options=('!libtool')
install=fontconfig.install
source=(http://www.fontconfig.org/release/$pkgname-$pkgver.tar.gz
- 29-replace-bitmap-fonts.conf
- 30-urw-aliases.patch)
-md5sums=('77e15a92006ddc2adbb06f840d591c0e'
- 'f6b67e8cc79197ed6abd4701911e83da'
- '51bc6cb633b50f3c28793361738aac5b')
+ 29-replace-bitmap-fonts.conf)
+md5sums=('c94e380eea42f2f23ca9537035ef1899'
+ 'f6b67e8cc79197ed6abd4701911e83da')
build() {
cd "$srcdir/$pkgname-$pkgver"
- patch -Np1 -i "$srcdir/30-urw-aliases.patch"
- # enable Position Independent Code for prelinking
- export CFLAGS="$CFLAGS -fPIC"
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+
+ # make sure there's no rpath trouble and sane .so versioning - FC and Gentoo do this as well
+ libtoolize -f
+ autoreconf -f
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --with-templatedir=/etc/fonts/conf.avail \
+ --with-xmldir=/etc/fonts \
+ --localstatedir=/var \
+ --disable-static \
+ --with-default-fonts=/usr/share/fonts \
+ --with-add-fonts=/usr/share/fonts
make
}
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make -k check
+}
+
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
- install -m644 "$srcdir/29-replace-bitmap-fonts.conf" \
- "$pkgdir/etc/fonts/conf.avail"
- rm -f "$pkgdir"/etc/fonts/conf.d/*.conf
+
+ # not upstream, not in FC and not in Gentoo, this should probably go upstream
+ # meanwhile to satisfy pages like http://zipcon.net/~swhite/docs/computers/browsers/fonttest.html we bring it back
+ install -m644 "$srcdir/29-replace-bitmap-fonts.conf" "$pkgdir/etc/fonts/conf.avail"
+ pushd $pkgdir/etc/fonts/conf.d
+ ln -s /etc/fonts/conf.avail/29-replace-bitmap-fonts.conf .
+ popd
#Install license
install -m755 -d "$pkgdir/usr/share/licenses/$pkgname"