2008-10-11 07:17:47 +00:00
|
|
|
# Template build file for 'gimp'.
|
|
|
|
pkgname=gimp
|
2014-08-30 07:48:36 +00:00
|
|
|
version=2.8.14
|
2014-08-30 08:41:38 +00:00
|
|
|
revision=2
|
2014-04-03 08:33:43 +00:00
|
|
|
lib32disabled=yes
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-03-08 19:44:56 +00:00
|
|
|
configure_args="--without-aa --without-gvfs --enable-gimp-console
|
|
|
|
--enable-python --with-gif-compression=lzw --with-libcurl --enable-mp"
|
2013-06-24 14:23:24 +00:00
|
|
|
hostmakedepends="pkg-config intltool"
|
2014-08-30 08:41:38 +00:00
|
|
|
makedepends="libpng-devel>=1.6 gtk+-devel lcms2-devel
|
2013-03-08 19:44:56 +00: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
|
2013-04-12 11:13:49 +00:00
|
|
|
libgudev-devel jasper-devel poppler-glib-devel ghostscript-devel iso-codes"
|
2008-10-11 07:17:47 +00:00
|
|
|
short_desc="The GNU image manipulation program"
|
2014-01-01 15:10:11 +00:00
|
|
|
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"
|
2008-10-11 07:17:47 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-06-06 16:10:46 +00:00
|
|
|
homepage="http://www.gimp.org"
|
2012-08-29 07:02:25 +00:00
|
|
|
license="GPL-3"
|
2014-08-30 07:48:36 +00:00
|
|
|
distfiles="http://download.gimp.org/pub/gimp/v${version%.*}/gimp-${version}.tar.bz2"
|
|
|
|
checksum=d82a958641c9c752d68e35f65840925c08e314cea90222ad845892a40e05b22d
|
2013-12-03 08:49:40 +00:00
|
|
|
|
2014-04-03 08:33:43 +00:00
|
|
|
libgimp_package() {
|
|
|
|
replaces="gimp<2.8.10_3"
|
|
|
|
short_desc+=" - runtime libraries"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/*.so.*
|
|
|
|
}
|
|
|
|
}
|
2013-04-12 11:13:49 +00:00
|
|
|
gimp-devel_package() {
|
2014-04-03 08:33:43 +00:00
|
|
|
depends="libgimp>=${version}_${revision}"
|
2013-06-24 14:23:24 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 11:13:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
vmove usr/share/aclocal
|
2013-06-24 14:23:24 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 11:13:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
gimp-python_package() {
|
2014-04-03 08:33:43 +00:00
|
|
|
lib32disabled=yes
|
2013-04-12 11:13:49 +00:00
|
|
|
depends="pygtk"
|
|
|
|
pycompile_dirs="usr/lib/gimp/2.0/python"
|
2013-06-24 14:23:24 +00:00
|
|
|
short_desc+=" - python bindings"
|
2013-04-12 11:13:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/gimp/2.0/python
|
|
|
|
vmove "usr/lib/gimp/2.0/plug-ins/*.py"
|
|
|
|
}
|
|
|
|
}
|