diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-08-16 20:14:46 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-08-16 20:14:46 +0000 |
commit | 4c8fd97894185ec47d01e82f26744c3962588ae0 (patch) | |
tree | c67a33d30dc470f019af67e87ee9c2ab30017d05 /media-gfx/gimp-print | |
parent | Version bump. (diff) | |
download | gentoo-2-4c8fd97894185ec47d01e82f26744c3962588ae0.tar.gz gentoo-2-4c8fd97894185ec47d01e82f26744c3962588ae0.tar.bz2 gentoo-2-4c8fd97894185ec47d01e82f26744c3962588ae0.zip |
version bump thanks to Francisco Lloret <fcolloret@terra.es> and Matej Laitl <strohel@gmail.com> in bug 143248
(Portage version: 2.1.1_pre5-r1)
Diffstat (limited to 'media-gfx/gimp-print')
-rw-r--r-- | media-gfx/gimp-print/ChangeLog | 9 | ||||
-rw-r--r-- | media-gfx/gimp-print/files/digest-gimp-print-5.0.0 | 3 | ||||
-rw-r--r-- | media-gfx/gimp-print/gimp-print-5.0.0.ebuild | 90 |
3 files changed, 101 insertions, 1 deletions
diff --git a/media-gfx/gimp-print/ChangeLog b/media-gfx/gimp-print/ChangeLog index 380ec18fbf2c..f21eb6319e40 100644 --- a/media-gfx/gimp-print/ChangeLog +++ b/media-gfx/gimp-print/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-gfx/gimp-print # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp-print/ChangeLog,v 1.74 2006/06/01 18:50:35 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp-print/ChangeLog,v 1.75 2006/08/16 20:14:46 genstef Exp $ + +*gimp-print-5.0.0 (16 Aug 2006) + + 16 Aug 2006; Stefan Schweizer <genstef@gentoo.org> + +gimp-print-5.0.0.ebuild: + version bump thanks to Francisco Lloret <fcolloret@terra.es> and Matej Laitl + <strohel@gmail.com> in bug 143248 01 Jun 2006; Stefan Schweizer <genstef@gentoo.org> gimp-print-5.0.0_rc3.ebuild: diff --git a/media-gfx/gimp-print/files/digest-gimp-print-5.0.0 b/media-gfx/gimp-print/files/digest-gimp-print-5.0.0 new file mode 100644 index 000000000000..1691bf804040 --- /dev/null +++ b/media-gfx/gimp-print/files/digest-gimp-print-5.0.0 @@ -0,0 +1,3 @@ +MD5 ede8acbd1e94c9d4fd366fb37e335bfb gutenprint-5.0.0.tar.bz2 4612717 +RMD160 e3f2975cf1a23827b49be5608433d427a94558fb gutenprint-5.0.0.tar.bz2 4612717 +SHA256 78a5326341f95a584e4d98b7dad7a56fb763211ecfc07f603af6336fa94d07a3 gutenprint-5.0.0.tar.bz2 4612717 diff --git a/media-gfx/gimp-print/gimp-print-5.0.0.ebuild b/media-gfx/gimp-print/gimp-print-5.0.0.ebuild new file mode 100644 index 000000000000..d8b04a21d0c5 --- /dev/null +++ b/media-gfx/gimp-print/gimp-print-5.0.0.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2006 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.0.0.ebuild,v 1.1 2006/08/16 20:14:46 genstef Exp $ + +inherit flag-o-matic eutils libtool + +IUSE="cups foomaticdb 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 ) + media-gfx/imagemagick + virtual/ghostscript + sys-libs/readline + gtk? ( x11-libs/gtk+ ) + 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 + +pkg_setup() { + if has_version media-gfx/gimp && built_with_use media-gfx/gimp gimpprint; then + ewarn "gimpprint is not yet available due to the API Change in version 5.0" + ewarn "Please remerge gimp with USE=-gimpprint to avoid collissions" + die "gimp with gimpprint USE-flag detected" + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + + elibtoolize +} + +src_compile() { + if use cups && use ppds; then + myconf="${myconf} --enable-cups-ppds --enable-cups-level3-ppds" + else + myconf="${myconf} --disable-cups-ppds" + fi + + use foomaticdb \ + && myconf="${myconf} --with-foomatic3" \ + || myconf="${myconf} --without-foomatic" + + econf \ + --enable-test \ + --with-ghostscript \ + --with-user-guide \ + --with-samples \ + --with-escputil \ + --disable-translated-cups-ppds \ + $(use_enable nls) \ + $(use_with readline) \ + $(use_enable gtk lexmarkutil) \ + $(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 () { + make 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 COPYING ChangeLog NEWS README \ + doc/users_guide/users-guide.ps doc/users_guide/users-guide.pdf \ + ${D}/usr/share/gutenprint/doc/gutenprint.pdf + dohtml doc/FAQ.html + dohtml -r doc/users_guide/html doc/developer/developer-html + rm -fR ${D}/usr/share/gutenprint/doc +} |