gimp: update to 2.6.6, new deps style, subpkgs.

--HG--
extra : convert_revision : 7a27f59c85b6be2f012b9f888c4b6c85638b1179
This commit is contained in:
Juan RP 2009-05-13 17:38:44 +02:00
parent eff16681ff
commit c62f78982f
4 changed files with 71 additions and 11 deletions

1
templates/gimp-devel Symbolic link
View file

@ -0,0 +1 @@
gimp

2
templates/gimp/depends Normal file
View file

@ -0,0 +1,2 @@
abi_depends=2.6.6
api_depends=${abi_depends}

View file

@ -0,0 +1,20 @@
# Template file for 'gimp-devel'.
#
short_desc="${sourcepkg} development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run gimp
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mkdir -p ${DESTDIR}/usr/share
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/gtk-doc ${DESTDIR}/usr/share
mv ${SRCPKGDESTDIR}/usr/share/aclocal ${DESTDIR}/usr/share
}

View file

@ -1,23 +1,60 @@
# Template build file for 'gimp'. # Template build file for 'gimp'.
pkgname=gimp pkgname=gimp
version=2.6.1 sourcepkg=$pkgname
distfiles=" version=2.6.6
http://sunsite.rediris.es/mirror/gimp/v2.6/$pkgname-$version.tar.bz2" distfiles="http://sunsite.rediris.es/mirror/gimp/v2.6/$pkgname-$version.tar.bz2"
build_style=gnu_configure build_style=gnu_configure
configure_args="--disable-python" configure_args="--without-aa --without-webkit --without-gvfs
make_cmd="$XBPS_MASTERDIR/bin/gmake" --without-gnomevfs --without-alsa --disable-python --disable-alsatest
pkgconfig_override="gimp.pc gimpthumb-2.0.pc gimpui-2.0.pc" --enable-gimp-remote"
short_desc="The GNU image manipulation program" short_desc="The GNU image manipulation program"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
checksum=4cf18ae63a813ccf35a0b33ede3b24a304b47b03 checksum=53c261fa5045f4ca4b5e887a1eb394d28ebb08d108f065ef55bde33c892f0751
long_desc=" long_desc="
Powerful image manipulation program similar to \"Adobe Photoshop\"[tm]. Powerful image manipulation program similar to \"Adobe Photoshop\"[tm].
It supports layers, arbitrary image sizes and working on several images 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 at the same time. It comes with a lot of useful plug-ins. Missing is CMYK
support and more than 8 bits per channel." support and more than 8 bits per channel."
# This needs GNU gettext >= 0.16. gtk_iconcache_dirs="/usr/share/icons/hicolor"
pre_configure_cmd=". $XBPS_TMPLHELPDIR/external-gettext.sh" triggers="gtk-icon-cache update-desktopdb 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"
# Update shared-mime-info database. subpackages="devel"
postinstall_helpers="update-mimedb.sh" 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
}