blob: 171766f5a59343266941b910b1d740d659882f72 (
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
44
45
46
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gimp
pkgver=2.6.8
pkgrel=0
pkgdesc="GNU Image Manipulation Program"
url="http://www.gimp.org/"
license="GPL"
makedepends="gtk+-dev libxpm-dev libxmu-dev librsvg-dev dbus-glib-dev
libexif-dev desktop-file-utils intltool gegl-dev tiff-dev
jpeg-dev libpng-dev curl-dev"
install=
subpackages="$pkgname-dev $pkgname-doc"
source="ftp://ftp.$pkgname.org/pub/$pkgname/v2.6/$pkgname-$pkgver.tar.bz2
libpng-1.4.patch
gtk-2.19-statusbar.patch"
prepare() {
cd "$srcdir"/$pkgname-$pkgver
patch -Np1 -i "../libpng-1.4.patch" || return 1
patch -Np1 -i "$srcdir"/gtk-2.19-statusbar.patch || return 1
}
build() {
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr \
--sysconfdir=/etc \
--enable-mp \
--enable-gimp-console \
--enable-gimp-remote \
--disable-devel-docs \
--disable-python \
--without-gvfs \
--without-gnomevfs \
--with-gif-compression=lzw \
--without-aa || return 1
make || return 1
}
package() {
cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install || return 1
ln -s gimptool-2.0 "$pkgdir/usr/bin/gimptool" || return 1
}
md5sums="a4d9462c9420954824a80c9b1963f9d9 gimp-2.6.8.tar.bz2
211eccab51593526e852816e647f7da4 libpng-1.4.patch
8be7d21231e3032e4723cf86588375c0 gtk-2.19-statusbar.patch"
|