mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
53 lines
2.3 KiB
Bash
53 lines
2.3 KiB
Bash
# $Id: PKGBUILD 49449 2009-08-08 08:52:49Z eric $
|
|
# Maintainer: Eric Belanger <eric@archlinux.org>
|
|
# Contributor: Woody Gilk <woody@archlinux.org>
|
|
|
|
pkgname=gimp-devel
|
|
pkgver=2.6.6
|
|
pkgrel=3
|
|
pkgdesc="GNU Image Manipulation Program (Development Version)"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.gimp.org/"
|
|
license=('GPL')
|
|
depends=('gtk2>=2.14.4' 'lcms>=1.17' 'libxpm>=3.5.7' 'libwmf>=0.2.8.4' \
|
|
'libxmu>=1.0.4' 'librsvg>=2.22.3' 'libmng>=1.0.10' 'dbus-glib>=0.76' \
|
|
'libexif>=0.6.16' 'pygtk>=2.13.0' 'desktop-file-utils' 'gegl>=0.0.18')
|
|
makedepends=('gutenprint>=5.0.2' 'intltool>=0.35.5' 'libwebkit' \
|
|
'gnome-python>=2.22.3' 'poppler-glib>=0.10.0' 'pkgconfig>=0.21' \
|
|
'alsa-lib>=1.0.16' 'libgnomeui>=2.24.0' 'gtk-doc')
|
|
optdepends=('gutenprint: for sophisticated printing only as gimp has built-in cups print support'
|
|
'libwebkit: for the help browser'
|
|
'poppler-glib: for pdf support'
|
|
'hal: for Linux input event controller module'
|
|
'alsa-lib: for MIDI event controller module')
|
|
options=('!libtool' '!makeflags')
|
|
conflicts=('gimp')
|
|
provides=("gimp=${pkgver}")
|
|
install=gimp-devel.install
|
|
source=(ftp://ftp.gimp.org/pub/gimp/v${pkgver%.*}/gimp-${pkgver}.tar.bz2 linux.gpl \
|
|
gimp-2.6.6-help-browser-webkit.patch)
|
|
md5sums=('23d880dd09cd62c936ed04666a53f8e4' 'bb27bc214261d36484093e857f015f38'\
|
|
'ba425a9108d8bf70b83da867a9d0c5d6')
|
|
sha1sums=('71aec5cd671a2431daa91dea91abb6d3822a896b' '110ce9798173b19a662d086ed7b882b4729f06cf'\
|
|
'399a581cbf700e1613e080d91b7b2cccfdfea9da')
|
|
|
|
build() {
|
|
cd ${srcdir}/gimp-${pkgver}
|
|
patch -p1 < ../gimp-2.6.6-help-browser-webkit.patch || return 1
|
|
./configure --prefix=/usr --sysconfdir=/etc \
|
|
--enable-mp --enable-gimp-console --enable-gimp-remote \
|
|
--enable-python --with-gif-compression=lzw \
|
|
--without-aa || return 1
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install-strip || return 1
|
|
|
|
install -D -m644 ${srcdir}/linux.gpl \
|
|
${pkgdir}/usr/share/gimp/2.0/palettes/Linux.gpl || return 1
|
|
|
|
cd ${pkgdir}/usr/share/man/man1
|
|
ln -sf gimp-console-2.6.1.gz gimp-console.1
|
|
|
|
# ln -s gimp-2.5 ${pkgdir}/usr/bin/gimp || return 1
|
|
# ln -s gimp-console-2.5 ${pkgdir}/usr/bin/gimp-console || return 1
|
|
# ln -s gimp-remote-2.5 ${pkgdir}/usr/bin/gimp-remote || return 1
|
|
}
|