diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2007-06-04 11:14:52 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2007-06-04 11:14:52 +0000 |
commit | cf89e060e452f219247c4dd4930521980e6a27f2 (patch) | |
tree | 2511edd882d01244ec04b4b3f9405774e72516af /media-gfx/gimp-print | |
parent | Added check for the opengl use flag on emul-linux-x86-xlibs (diff) | |
download | gentoo-2-cf89e060e452f219247c4dd4930521980e6a27f2.tar.gz gentoo-2-cf89e060e452f219247c4dd4930521980e6a27f2.tar.bz2 gentoo-2-cf89e060e452f219247c4dd4930521980e6a27f2.zip |
version bump
(Portage version: 2.1.2.7)
Diffstat (limited to 'media-gfx/gimp-print')
-rw-r--r-- | media-gfx/gimp-print/ChangeLog | 8 | ||||
-rw-r--r-- | media-gfx/gimp-print/files/digest-gimp-print-5.1.2 | 3 | ||||
-rw-r--r-- | media-gfx/gimp-print/gimp-print-5.1.2.ebuild | 86 |
3 files changed, 96 insertions, 1 deletions
diff --git a/media-gfx/gimp-print/ChangeLog b/media-gfx/gimp-print/ChangeLog index 465a08754123..4aff17cdaeb1 100644 --- a/media-gfx/gimp-print/ChangeLog +++ b/media-gfx/gimp-print/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-gfx/gimp-print # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp-print/ChangeLog,v 1.85 2007/05/23 08:10:50 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp-print/ChangeLog,v 1.86 2007/06/04 11:14:52 genstef Exp $ + +*gimp-print-5.1.2 (04 Jun 2007) + + 04 Jun 2007; Stefan Schweizer <genstef@gentoo.org> + +gimp-print-5.1.2.ebuild: + version bump 23 May 2007; Stefan Schweizer <genstef@gentoo.org> gimp-print-5.1.1.ebuild: diff --git a/media-gfx/gimp-print/files/digest-gimp-print-5.1.2 b/media-gfx/gimp-print/files/digest-gimp-print-5.1.2 new file mode 100644 index 000000000000..32a01f68bf1f --- /dev/null +++ b/media-gfx/gimp-print/files/digest-gimp-print-5.1.2 @@ -0,0 +1,3 @@ +MD5 5c7cf1f082d9baa290307d36e1703568 gutenprint-5.1.2.tar.bz2 4739305 +RMD160 6b6a6c1d7c2b16d085c7aa8daa1f688c40b5e4e7 gutenprint-5.1.2.tar.bz2 4739305 +SHA256 71fc0a921bdc6c7495fe2d2381193483330086be982f7b68b68e87fb43bd97f2 gutenprint-5.1.2.tar.bz2 4739305 diff --git a/media-gfx/gimp-print/gimp-print-5.1.2.ebuild b/media-gfx/gimp-print/gimp-print-5.1.2.ebuild new file mode 100644 index 000000000000..5997d9ed8ef6 --- /dev/null +++ b/media-gfx/gimp-print/gimp-print-5.1.2.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp-print/gimp-print-5.1.2.ebuild,v 1.1 2007/06/04 11:14:52 genstef Exp $ + +inherit flag-o-matic eutils multilib + +IUSE="cups foomaticdb gimp gtk readline ppds" + +MY_P=gutenprint-${PV/_/-} + +DESCRIPTION="Gimp Print Drivers" +HOMEPAGE="http://gimp-print.sourceforge.net" +KEYWORDS="~x86 ~ppc ~alpha ~sparc ~hppa ~amd64 ~ppc64" +SRC_URI="mirror://sourceforge/gimp-print/${MY_P}.tar.bz2" +RESTRICT="test" + +RDEPEND="cups? ( >=net-print/cups-1.1.14 ) + virtual/ghostscript + sys-libs/readline + gtk? ( >=x11-libs/gtk+-2.0 ) + gimp? ( >=media-gfx/gimp-2.2 >=x11-libs/gtk+-2.0 ) + dev-lang/perl + foomaticdb? ( net-print/foomatic-db-engine )" +DEPEND="${RDEPEND} + gtk? ( dev-util/pkgconfig )" + +LICENSE="GPL-2" +SLOT="0" + +S=${WORKDIR}/${MY_P} + +append-flags -fno-inline-functions + +src_compile() { + if use cups && use ppds; then + myconf="${myconf} --enable-cups-ppds --enable-cups-level3-ppds" + else + myconf="${myconf} --disable-cups-ppds" + fi + + if use gtk || use gimp; then + myconf="${myconf} --enable-libgutenprintui2" + else + myconf="${myconf} --disable-libgutenprintui2" + fi + + use foomaticdb \ + && myconf="${myconf} --with-foomatic3" \ + || myconf="${myconf} --without-foomatic" + + econf \ + --enable-test \ + --enable-epson \ + --with-ghostscript \ + --with-user-guide \ + --with-samples \ + --with-escputil \ + --disable-translated-cups-ppds \ + --enable-nls \ + $(use_with readline) \ + $(use_with gimp gimp2) \ + $(use_with gimp gimp2-as-gutenprint) \ + $(use_with cups) \ + $myconf || die "econf failed" + + # IJS Patch + sed -i -e "s:<ijs\([^/]\):<ijs/ijs\1:g" src/ghost/ijsgutenprint.c || die "sed failed" + + emake || die "emake failed" +} + +src_install () { + emake install DESTDIR="${D}" || die "make install failed" + + exeinto /usr/share/gutenprint + doexe test/{unprint,pcl-unprint,bjc-unprint,parse-escp2,escp2-weavetest,run-testdither,run-weavetest,testdither} + + dodoc AUTHORS ChangeLog NEWS README doc/gutenprint-users-manual.{pdf,odt} + dohtml doc/FAQ.html + dohtml -r doc/users_guide/html doc/developer/developer-html + rm -fR "${D}"/usr/share/gutenprint/doc + if ! use gtk && ! use gimp; then + rm -f "${D}"/usr/$(get_libdir)/pkgconfig/gutenprintui2.pc + rm -rf "${D}"/usr/include/gutenprintui2 + fi +} |