From 27f6d4cd2e95d93f227cf24423b357224480b10f Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Sat, 22 May 2010 13:55:45 +0000 Subject: main/gimp: moved from testing --- main/gimp/APKBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 main/gimp/APKBUILD (limited to 'main/gimp/APKBUILD') 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 +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" -- cgit v1.2.3