blob: 47a8987c3c5ed0f01327f28c6bd3c42ddf97ea39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# $Id: PKGBUILD 63120 2012-01-30 18:57:23Z ibiru $
# Maintainer: 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=9
pkgdesc="Image loading and manipulation library"
arch=('i686' 'x86_64')
url="http://www.gtk.org/"
license=('GPL' 'LGPL')
depends=('gtk' 'libtiff' 'libpng')
makedepends=('libxt')
options=('!libtool')
source=(ftp://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.24/${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
libtoolize --force --copy --automake
autoreconf --force --install
./configure --prefix=/usr --disable-gtk-doc
make
make DESTDIR=${pkgdir} install
rm -rf ${pkgdir}/usr/share/gnome
}
|