void-packages/srcpkgs/gimp/template
2013-04-30 11:53:03 +02:00

58 lines
1.8 KiB
Text

# Template build file for 'gimp'.
pkgname=gimp
version=2.8.4
revision=3
build_style=gnu-configure
configure_args="--without-aa --without-gvfs --enable-gimp-console
--enable-python --with-gif-compression=lzw --with-libcurl --enable-mp"
makedepends="pkg-config intltool libpng-devel>=1.6 gtk+-devel lcms-devel
alsa-lib-devel dbus-glib-devel libXmu-devel libXcursor-devel
libexif-devel libsoup-devel webkit-gtk-devel libwmf-devel librsvg-devel
libmng-devel libXpm-devel libcurl-devel babl-devel gegl-devel pygtk-devel
libgudev-devel jasper-devel poppler-glib-devel ghostscript-devel iso-codes"
short_desc="The GNU image manipulation program"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gimp.org"
license="GPL-3"
distfiles="ftp://ftp.gimp.org/pub/gimp/v${version%.*}/gimp-$version.tar.bz2"
checksum=e24a9f826e7c30edb83d96f4cf4787cf1a0ed98f28ea947d19736b4f49787ab5
long_desc="
Powerful image manipulation program similar to Adobe Photoshop[tm].
It supports layers, arbitrary image sizes and working on several images
at the same time. It comes with a lot of useful plug-ins. Missing is CMYK
support and more than 8 bits per channel."
gimp-devel_package() {
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
vmove usr/share/aclocal
}
}
gimp-python_package() {
depends="pygtk"
pycompile_dirs="usr/lib/gimp/2.0/python"
short_desc+=" -- python bindings"
pkg_install() {
vmove usr/lib/gimp/2.0/python
vmove "usr/lib/gimp/2.0/plug-ins/*.py"
}
}
gimp_package() {
conf_files="
/etc/gimp/2.0/gimprc
/etc/gimp/2.0/gtkrc
/etc/gimp/2.0/templaterc
/etc/gimp/2.0/unitrc
/etc/gimp/2.0/sessionrc
/etc/gimp/2.0/controllerrc
/etc/gimp/2.0/menurc"
depends="desktop-file-utils hicolor-icon-theme iso-codes"
pkg_install() {
vmove all
}
}