diff options
author | Esteban Carnevale <alfplayer@mailoo.org> | 2015-05-17 20:18:56 -0300 |
---|---|---|
committer | Esteban Carnevale <alfplayer@mailoo.org> | 2015-05-17 20:18:56 -0300 |
commit | 0413d03e39e08104849fe5bb43f3d3ba89fe3750 (patch) | |
tree | 5978546e073212342e0ead0730503458c980fa25 /pcr/gdk-pixbuf/PKGBUILD | |
parent | 921b323f4ae7a436559f363e7642374408708c8e (diff) | |
download | abslibre-0413d03e39e08104849fe5bb43f3d3ba89fe3750.tar.gz abslibre-0413d03e39e08104849fe5bb43f3d3ba89fe3750.tar.bz2 abslibre-0413d03e39e08104849fe5bb43f3d3ba89fe3750.zip |
gdk-pixbuf: add new package
Diffstat (limited to 'pcr/gdk-pixbuf/PKGBUILD')
-rw-r--r-- | pcr/gdk-pixbuf/PKGBUILD | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/pcr/gdk-pixbuf/PKGBUILD b/pcr/gdk-pixbuf/PKGBUILD new file mode 100644 index 000000000..e569b2902 --- /dev/null +++ b/pcr/gdk-pixbuf/PKGBUILD @@ -0,0 +1,51 @@ +# $Id: PKGBUILD 99752 2013-10-30 23:29:49Z allan $ +# Maintainer: Brian Bidulock <bidulock@openss7.org> +# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: dorphell <dorphell@archlinux.org> +# Contributor: Judd Vinet <jvinet@zeroflux.org> + +pkgname=gdk-pixbuf +pkgver=0.22.0 +pkgrel=12 +pkgdesc="Image loading and manipulation library" +arch=('i686' 'x86_64') +url="http://www.gtk.org/" +license=('GPL' 'LGPL') +depends=('gtk' 'libtiff' 'libpng') +makedepends=('libxt') +source=(ftp://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.22/${pkgname}-${pkgver}.tar.bz2 + gdk-pixbuf-0.22.0-bmp_reject_corrupt.patch + gdk-pixbuf-0.22.0-bmp_secure.patch + gdk-pixbuf-0.22.0-loaders.patch + gdk-pixbuf-0.22.0.patch + libpng15.patch) +md5sums=('05fcb68ceaa338614ab650c775efc2f2' + 'd1fb93f1ae994875158a7e0c108c36f8' + '5f59d5772b1482d885a180dbc581cf84' + '3cf31ae0509747f72ac27a9fd96109c2' + 'e0f5f301ce958b7cea0be631ed7b8e56' + '16db4dc83d507ebcf15d1beb753a77bc') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + export SED=/bin/sed + patch -Np1 -i ${srcdir}/gdk-pixbuf-0.22.0-bmp_reject_corrupt.patch + patch -Np0 -i ${srcdir}/gdk-pixbuf-0.22.0-bmp_secure.patch + patch -Np1 -i ${srcdir}/gdk-pixbuf-0.22.0-loaders.patch + patch -Np0 -i ${srcdir}/gdk-pixbuf-0.22.0.patch + patch -Np1 -i ${srcdir}/libpng15.patch + sed -i \ + -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADER|' \ + -e 's|AM_PROG_CC_STDC|AC_PROG_CC|' \ + configure.in + libtoolize --force --copy --automake + autoreconf --force --install + ./configure --prefix=/usr --disable-gtk-doc + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install + rm -rf ${pkgdir}/usr/share/gnome +} |