aboutsummaryrefslogtreecommitdiffstats
path: root/main/gimp/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-05-22 13:55:45 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-05-22 13:55:45 +0000
commit27f6d4cd2e95d93f227cf24423b357224480b10f (patch)
tree9a0725437fd560fa1cb3de4c4631bc2b9162a5d8 /main/gimp/APKBUILD
parentca650ad135f79741f6db6c4ef7503a1b3d52bd7a (diff)
downloadaports-27f6d4cd2e95d93f227cf24423b357224480b10f.tar.bz2
aports-27f6d4cd2e95d93f227cf24423b357224480b10f.tar.xz
main/gimp: moved from testing
Diffstat (limited to 'main/gimp/APKBUILD')
-rw-r--r--main/gimp/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/main/gimp/APKBUILD b/main/gimp/APKBUILD
new file mode 100644
index 0000000000..171766f5a5
--- /dev/null
+++ b/main/gimp/APKBUILD
@@ -0,0 +1,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"