void-packages/srcpkgs/gimp/template

60 lines
1.9 KiB
Plaintext
Raw Normal View History

# Template build file for 'gimp'.
pkgname=gimp
2013-12-03 09:44:08 +01:00
version=2.8.10
2013-06-24 16:23:24 +02:00
revision=1
build_style=gnu-configure
2013-03-08 20:44:56 +01:00
configure_args="--without-aa --without-gvfs --enable-gimp-console
--enable-python --with-gif-compression=lzw --with-libcurl --enable-mp"
2013-06-24 16:23:24 +02:00
hostmakedepends="pkg-config intltool"
makedepends="libpng-devel>=1.6 gtk+-devel lcms-devel
2013-03-08 20:44:56 +01:00
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"
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"
maintainer="Juan RP <xtraeme@gmail.com>"
2012-06-06 18:10:46 +02:00
homepage="http://www.gimp.org"
2012-08-29 09:02:25 +02:00
license="GPL-3"
2012-06-06 18:10:46 +02:00
distfiles="ftp://ftp.gimp.org/pub/gimp/v${version%.*}/gimp-$version.tar.bz2"
2013-12-03 09:44:08 +01:00
checksum=e7fd8b19f989138d826003c75f56bd5b6f136eef597e86e3978ede0bba470ae6
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."
pre_configure() {
# Fix freetype>=2.5.1 build.
sed -e 's,freetype/tttables.h,freetype2/tttables.h,' -i app/text/gimpfont.c
}
gimp-devel_package() {
2013-06-24 16:23:24 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
vmove usr/share/aclocal
2013-06-24 16:23:24 +02:00
vmove "usr/lib/*.so"
}
}
gimp-python_package() {
depends="pygtk"
pycompile_dirs="usr/lib/gimp/2.0/python"
2013-06-24 16:23:24 +02:00
short_desc+=" - python bindings"
pkg_install() {
vmove usr/lib/gimp/2.0/python
vmove "usr/lib/gimp/2.0/plug-ins/*.py"
}
}