void-packages/srcpkgs/gimp/template
Juan RP c077559a89 Improve build templates by not having to set ${triggers} in some cases.
There's no need to update triggers in the following cases:
 * Packages installing stuff into /usr/share/applications.
 * Packages setting $gtk_iconcache_dirs.
 * Packages setting $font_dirs.
 * Packages setting ${sgml,xml}_entries.

--HG--
extra : convert_revision : 11c74b41f8cf474e9bf4dbb961b1aa9c6f6540bf
2009-12-02 01:55:51 +01:00

61 lines
1.8 KiB
Plaintext

# Template build file for 'gimp'.
pkgname=gimp
version=2.6.7
revision=1
distfiles="http://sunsite.rediris.es/mirror/gimp/v2.6/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--without-aa --without-webkit --without-gvfs
--without-gnomevfs --without-alsa --disable-python --disable-alsatest
--enable-gimp-remote"
short_desc="The GNU image manipulation program"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=a401c5fbe59e812413cb4d0b37607680089bf254056d8b5853aa79e03a6fe115
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."
gtk_iconcache_dirs="/usr/share/icons/hicolor"
triggers="mimedb"
conf_files="/etc/gimp/2.0/unitrc
/etc/gimp/2.0/gtkrc
/etc/gimp/2.0/menurc
/etc/gimp/2.0/ps-menurc
/etc/gimp/2.0/sessionrc
/etc/gimp/2.0/templaterc
/etc/gimp/2.0/gimprc
/etc/gimp/2.0/controllerrc"
subpackages="$pkgname-devel"
Add_dependency build intltool
Add_dependency build pkg-config
Add_dependency build curl
Add_dependency full glibc
Add_dependency full gtk+
Add_dependency full poppler
Add_dependency full hicolor-icon-theme
Add_dependency full babl
Add_dependency full gegl
Add_dependency full jpeg
Add_dependency full lcms
Add_dependency full libmng
Add_dependency full libart
Add_dependency full libexif
Add_dependency full libpng
Add_dependency full tiff
Add_dependency full librsvg
Add_dependency full libwmf
Add_dependency full libICE
Add_dependency full libSM
Add_dependency full libXpm
Add_dependency full libXmu
Add_dependency full libXfixes
Add_dependency full hal
Add_dependency run curl-libs
pre_configure()
{
cd / && ${XBPS_TRIGGERSDIR}/gtk-pixbuf-loaders run post-install
}