diff options
author | Thomas Raschbacher <lordvan@gentoo.org> | 2002-12-27 17:08:46 +0000 |
---|---|---|
committer | Thomas Raschbacher <lordvan@gentoo.org> | 2002-12-27 17:08:46 +0000 |
commit | 552bd14a8f43260c6de70456e447d61f449cafb6 (patch) | |
tree | 07519d25216cf791a51ed922c538548f41945317 /media-gfx/gimp-print | |
parent | new version fixes bug #12106 (diff) | |
download | gentoo-2-552bd14a8f43260c6de70456e447d61f449cafb6.tar.gz gentoo-2-552bd14a8f43260c6de70456e447d61f449cafb6.tar.bz2 gentoo-2-552bd14a8f43260c6de70456e447d61f449cafb6.zip |
new version
Diffstat (limited to 'media-gfx/gimp-print')
-rw-r--r-- | media-gfx/gimp-print/files/digest-gimp-print-4.2.4 | 1 | ||||
-rw-r--r-- | media-gfx/gimp-print/gimp-print-4.2.4.ebuild | 83 |
2 files changed, 84 insertions, 0 deletions
diff --git a/media-gfx/gimp-print/files/digest-gimp-print-4.2.4 b/media-gfx/gimp-print/files/digest-gimp-print-4.2.4 new file mode 100644 index 000000000000..04737a7d14ea --- /dev/null +++ b/media-gfx/gimp-print/files/digest-gimp-print-4.2.4 @@ -0,0 +1 @@ +MD5 3831ee2d325a3ba5400216a74d8b48f8 gimp-print-4.2.4.tar.gz 4938844 diff --git a/media-gfx/gimp-print/gimp-print-4.2.4.ebuild b/media-gfx/gimp-print/gimp-print-4.2.4.ebuild new file mode 100644 index 000000000000..49588edc026b --- /dev/null +++ b/media-gfx/gimp-print/gimp-print-4.2.4.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp-print/gimp-print-4.2.4.ebuild,v 1.1 2002/12/27 17:08:46 lordvan Exp $ + +IUSE="cups doc nls" + +inherit libtool + +MY_P=${P} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="Gimp Plugin and Ghostscript driver for Gimp" +SRC_URI="mirror://sourceforge/gimp-print/${MY_P}.tar.gz" +HOMEPAGE="http://gimp-print.sourceforge.net/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~alpha" + +DEPEND="=x11-libs/gtk+-1.2* + =media-gfx/gimp-1.2* + app-text/ghostscript + net-print/foomatic + doc? ( app-text/texi2html ) + cups? ( >=net-print/cups-1.1.16 )" +RDEPEND="virtual/glibc" + +src_compile() { + + elibtoolize + aclocal + + local myconf + + use cups && myconf="${myconf} --with-cups" \ + || myconf="${myconf} --without-cups" + + use nls && myconf="${myconf} --enable-nls" \ + || myconf="${myconf} --disable-nls" + + if [ -n "$DEBUG" ]; then + myconf="${myconf} --enable-debug" + else + myconf="${myconf} --disable-debug" + fi + + econf \ + --with-ghost \ + --sysconfdir=/etc/gimp/1.2/ \ + --with-gimp-exec-prefix=/usr \ + --with-testpattern \ + ${myconf} || die + + cp src/gimp/Makefile src/gimp/Makefile.orig + sed -e 's:--install-admin-bin:--install-bin:g' \ + src/gimp/Makefile.orig >src/gimp/Makefile + + emake || die + +} + +src_install() { + + dodir /usr/lib/gimp/1.2/.gimp-1.2/plug-ins/print + + make \ + DESTDIR=${D} \ + HOME=/usr/lib/gimp/1.2 \ + install || die "make install failed" + + # NOTE: this build uses gimptool to install the plugin, so + # if we dont do it this way, it will install to / no + # matter what. + # + # NOTE to whoever commented this: Please DO NOT! + mv ${D}/usr/lib/gimp/1.2/.gimp-1.2/plug-ins/ \ + ${D}/usr/lib/gimp/1.2/ + rm -rf ${D}/usr/lib/gimp/1.2/.gimp-1.2/ + + dodoc AUTHORS ChangeLog COPYING NEWS README* + dohtml -r doc + +} |