Added GIMP 2.6.1 template and other related stuff required.

Another helper was made to be able to build GIMP, which will use the
external gettext-tools package when a template needs it.

--HG--
extra : convert_revision : 80ebdea771b9dec28a1741b5fcae6bd17b50b143
This commit is contained in:
Juan RP 2008-10-11 09:17:47 +02:00
parent 1ff8e9e747
commit 8a0d474c67
3 changed files with 38 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,14 @@
#
# This helper overrides some GNU autoconf variables to be able to
# use the external GNU gettext tools provided by a package.
#
local GMSGFMT_CMD="$PKGFS_MASTERDIR/bin/msgfmt"
local MSGFMT_CMD="$PKGFS_MASTERDIR/bin/msgfmt"
local MSGMERGE_CMD="$PKGFS_MASTERDIR/bin/msgmerge"
local XGETTEXT_CMD="$PKGFS_MASTERDIR/bin/xgettext"
configure_env="ac_cv_path_GMSGFMT=$GMSGFMT_CMD $configure_env"
configure_env="ac_cv_path_MSGFMT=$MSGFMT_CMD $configure_env"
configure_env="ac_cv_path_MSGMERGE=$MSGMERGE_CMD $configure_env"
configure_env="ac_cv_path_XGETTEXT=$XGETTEXT_CMD $configure_env"

24
templates/gimp.tmpl Executable file
View File

@ -0,0 +1,24 @@
# Template build file for 'gimp'.
pkgname=gimp
version=2.6.1
extract_sufx=".tar.bz2"
url=http://sunsite.rediris.es/mirror/gimp/v2.6
build_style=gnu_configure
configure_args="--disable-python"
make_cmd="$PKGFS_MASTERDIR/bin/gmake"
pkgconfig_override="gimp.pc gimpthumb-2.0.pc gimpui-2.0.pc"
short_desc="The GNU image manipulation program"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=4cf18ae63a813ccf35a0b33ede3b24a304b47b03
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."
# This needs GNU gettext >= 0.16.
run_stuff_before="configure"
run_stuff_before_configure_file="$PKGFS_TMPLHELPDIR/external-gettext.sh"
# Update shared-mime-info database.
postinstall_helpers="update-mimedb.sh"