diff options
author | Peter Volkov <pva@gentoo.org> | 2007-01-27 08:41:31 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2007-01-27 08:41:31 +0000 |
commit | 6312bcd298a44d351c6d0f230dbfba494f384403 (patch) | |
tree | 60a812b2c3b2a83d967d77e2cd6e56181866644e /app-doc/gimp-help/gimp-help-0.11-r2.ebuild | |
parent | Security fixes: CVE-2005-4352 (bug #158792), CVE-2006-4572 (bug #154327), CV... (diff) | |
download | historical-6312bcd298a44d351c6d0f230dbfba494f384403.tar.gz historical-6312bcd298a44d351c6d0f230dbfba494f384403.tar.bz2 historical-6312bcd298a44d351c6d0f230dbfba494f384403.zip |
Fixed issues on Mac OS. Always install en (fallback) images.
Package-Manager: portage-2.1.1-r2
Diffstat (limited to 'app-doc/gimp-help/gimp-help-0.11-r2.ebuild')
-rw-r--r-- | app-doc/gimp-help/gimp-help-0.11-r2.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/app-doc/gimp-help/gimp-help-0.11-r2.ebuild b/app-doc/gimp-help/gimp-help-0.11-r2.ebuild new file mode 100644 index 000000000000..0ba92aee3389 --- /dev/null +++ b/app-doc/gimp-help/gimp-help-0.11-r2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-doc/gimp-help/gimp-help-0.11-r2.ebuild,v 1.1 2007/01/27 08:41:31 pva Exp $ + +inherit autotools + +MY_P=${P/gimp-help/gimp-help-2} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="GNU Image Manipulation Program help files" +HOMEPAGE="http://docs.gimp.org/" +SRC_URI="mirror://gimp/help/${MY_P}.tar.gz" + +LICENSE="FDL-1.2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" + +IUSE="webinstall linguas_cs linguas_de linguas_en linguas_es linguas_fr linguas_hr linguas_it linguas_ko linguas_nl linguas_no linguas_ru linguas_sv linguas_zh_CN" +DEPEND="=app-text/docbook-xml-dtd-4.3* + dev-libs/libxml2 + dev-libs/libxslt + webinstall? ( media-gfx/imagemagick )" +RDEPEND="!<media-gfx/gimp-2.2.12" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/gimp-help-2.0.11-image-honour-ALL_LINGUAS.patch + eautomake +} + +src_compile() { + local ALL_LINGUAS="" + + use linguas_cs && ALL_LINGUAS="${ALL_LINGUAS} cs" + use linguas_de && ALL_LINGUAS="${ALL_LINGUAS} de" + use linguas_en && ALL_LINGUAS="${ALL_LINGUAS} en" + use linguas_es && ALL_LINGUAS="${ALL_LINGUAS} es" + use linguas_fr && ALL_LINGUAS="${ALL_LINGUAS} fr" + use linguas_hr && ALL_LINGUAS="${ALL_LINGUAS} hr" + use linguas_it && ALL_LINGUAS="${ALL_LINGUAS} it" + use linguas_ko && ALL_LINGUAS="${ALL_LINGUAS} ko" + use linguas_nl && ALL_LINGUAS="${ALL_LINGUAS} nl" + use linguas_no && ALL_LINGUAS="${ALL_LINGUAS} no" + use linguas_ru && ALL_LINGUAS="${ALL_LINGUAS} ru" + use linguas_sv && ALL_LINGUAS="${ALL_LINGUAS} sv" + use linguas_zh_CN && ALL_LINGUAS="${ALL_LINGUAS} zh_CN" + + ALL_LINGUAS=${ALL_LINGUAS} \ + econf \ + --without-gimp \ + $(use_enable webinstall convert) \ + || die "econf failed" + + # not parallel make safe (#137192) + emake -j1 || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + + dodoc AUTHORS ChangeLog HACKING NEWS README TERMINOLOGY TODO +} |