summaryrefslogtreecommitdiff
path: root/extra/imlib
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-08-03 23:14:34 +0000
committerroot <root@rshg054.dnsready.net>2011-08-03 23:14:34 +0000
commit8c2359e2541f9d1b11443b49d8ea502b3ffea39c (patch)
tree035176ef2ab4dbaabda40150109c203887d83ed7 /extra/imlib
parent991d38faccf4e1fb27f31f236ad58ee840103734 (diff)
Wed Aug 3 23:14:34 UTC 2011
Diffstat (limited to 'extra/imlib')
-rw-r--r--extra/imlib/PKGBUILD25
1 files changed, 15 insertions, 10 deletions
diff --git a/extra/imlib/PKGBUILD b/extra/imlib/PKGBUILD
index ccd17deb5..dd64f75a4 100644
--- a/extra/imlib/PKGBUILD
+++ b/extra/imlib/PKGBUILD
@@ -1,15 +1,15 @@
-# $Id: PKGBUILD 64376 2010-01-20 03:40:51Z eric $
+# $Id: PKGBUILD 134264 2011-08-02 18:15:21Z jgc $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Judd Vinet <jvinet@zeroflux.org>
pkgname=imlib
pkgver=1.9.15
-pkgrel=9
+pkgrel=10
pkgdesc="General image handling library for X11 and Gtk"
arch=('i686' 'x86_64')
url="http://freshmeat.net/projects/imlib/"
license=('GPL')
-depends=('gtk' 'giflib' 'libpng>=1.4.0' 'libtiff>=3.9.2-2' 'libjpeg>=8' 'libsm')
+depends=('gtk' 'giflib' 'libpng>=1.4.0' 'libtiff>=3.9.2-2' 'libjpeg>=8')
makedepends=('libxt')
options=('!libtool')
source=(http://ftp.gnome.org/pub/GNOME/sources/imlib/1.9/${pkgname}-${pkgver}.tar.bz2
@@ -23,11 +23,16 @@ sha1sums=('c9a732a354fbb3c7e1a426e5d19fc92d73f8f720' 'fe2fd9ce4d7bc62271e724153d
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i "${srcdir}/debian-bug448360.patch" || return 1
- patch -Np1 -i "${srcdir}/CAN-2004-1026.patch" || return 1
- patch -Np0 -i "${srcdir}/aclocal-fixes.patch" || return 1
- patch -Np1 -i "${srcdir}/libpng14.patch" || return 1
- ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --enable-shm || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
+ patch -Np1 -i "${srcdir}/debian-bug448360.patch"
+ patch -Np1 -i "${srcdir}/CAN-2004-1026.patch"
+ patch -Np0 -i "${srcdir}/aclocal-fixes.patch"
+ patch -Np1 -i "${srcdir}/libpng14.patch"
+ sed '/AC_PATH_XTRA/d' -i configure.in
+ libtoolize --force
+ cp /usr/bin/libtool .
+ autoreconf --force --install
+ ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --enable-shm --disable-static
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+ make DESTDIR="${pkgdir}" install
}