diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2007-05-21 18:16:40 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2007-05-21 18:16:40 +0000 |
commit | 89ea8cbe261b08b0003198d1cca677d5b2aec6a9 (patch) | |
tree | 2af539401ef33213eef9443b9cc17f6bb96c98c1 /media-gfx/gimp-print | |
parent | Stable for HPPA (bug #178510). (diff) | |
download | gentoo-2-89ea8cbe261b08b0003198d1cca677d5b2aec6a9.tar.gz gentoo-2-89ea8cbe261b08b0003198d1cca677d5b2aec6a9.tar.bz2 gentoo-2-89ea8cbe261b08b0003198d1cca677d5b2aec6a9.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.1 | 3 | ||||
-rw-r--r-- | media-gfx/gimp-print/gimp-print-5.1.1.ebuild | 85 |
3 files changed, 95 insertions, 1 deletions
diff --git a/media-gfx/gimp-print/ChangeLog b/media-gfx/gimp-print/ChangeLog index fc8a139c155d..f0dae83eb2af 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.82 2007/04/25 20:05:53 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp-print/ChangeLog,v 1.83 2007/05/21 18:16:40 genstef Exp $ + +*gimp-print-5.1.1 (21 May 2007) + + 21 May 2007; Stefan Schweizer <genstef@gentoo.org> + +gimp-print-5.1.1.ebuild: + version bump 25 Apr 2007; Stefan Schweizer <genstef@gentoo.org> gimp-print-5.1.0.ebuild: diff --git a/media-gfx/gimp-print/files/digest-gimp-print-5.1.1 b/media-gfx/gimp-print/files/digest-gimp-print-5.1.1 new file mode 100644 index 000000000000..97b9f31fd541 --- /dev/null +++ b/media-gfx/gimp-print/files/digest-gimp-print-5.1.1 @@ -0,0 +1,3 @@ +MD5 55bdd7b3672ce4e1704593cbb569be54 gutenprint-5.1.1.tar.bz2 4739718 +RMD160 25e78a83c06a071f7479770ded661ce2705087f3 gutenprint-5.1.1.tar.bz2 4739718 +SHA256 ab44fb7807d3746563eff600e3e328791705a7891ae8b72a506089c93039ab25 gutenprint-5.1.1.tar.bz2 4739718 diff --git a/media-gfx/gimp-print/gimp-print-5.1.1.ebuild b/media-gfx/gimp-print/gimp-print-5.1.1.ebuild new file mode 100644 index 000000000000..cd468113986b --- /dev/null +++ b/media-gfx/gimp-print/gimp-print-5.1.1.ebuild @@ -0,0 +1,85 @@ +# 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.1.ebuild,v 1.1 2007/05/21 18:16:40 genstef Exp $ + +inherit flag-o-matic eutils multilib + +IUSE="cups foomaticdb gimp gtk nls 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" + +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 \ + $(use_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 +} |