summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2004-05-05 07:44:43 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2004-05-05 07:44:43 +0000
commit38f095508b32aa26770759543dc229622d7eddb8 (patch)
treec3243735cf95ae824dde98a6922bf17c766e8586 /media-gfx/sane-frontends
parent 2 x HOMEPAGE - changed 1 to Description (diff)
downloadgentoo-2-38f095508b32aa26770759543dc229622d7eddb8.tar.gz
gentoo-2-38f095508b32aa26770759543dc229622d7eddb8.tar.bz2
gentoo-2-38f095508b32aa26770759543dc229622d7eddb8.zip
Version bump, "gimp" USE flag, re-wrote plugin directory detection
Diffstat (limited to 'media-gfx/sane-frontends')
-rw-r--r--media-gfx/sane-frontends/ChangeLog11
-rw-r--r--media-gfx/sane-frontends/Manifest8
-rw-r--r--media-gfx/sane-frontends/files/digest-sane-frontends-1.0.121
-rw-r--r--media-gfx/sane-frontends/sane-frontends-1.0.12.ebuild43
4 files changed, 58 insertions, 5 deletions
diff --git a/media-gfx/sane-frontends/ChangeLog b/media-gfx/sane-frontends/ChangeLog
index 516818ae43ef..3ed9dbfe9db0 100644
--- a/media-gfx/sane-frontends/ChangeLog
+++ b/media-gfx/sane-frontends/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-gfx/sane-frontends
-# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-frontends/ChangeLog,v 1.12 2003/12/30 02:47:34 weeve Exp $
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-frontends/ChangeLog,v 1.13 2004/05/05 07:44:43 phosphan Exp $
+
+*sane-frontends-1.0.12 (05 May 2004)
+
+ 05 May 2004; Patrick Kursawe <phosphan@gentoo.org>
+ sane-frontends-1.0.12.ebuild:
+ Version bump. Introduced local USE flag "gimp", re-wrote the part that sets
+ the link to xscanimage.
29 Dec 2003; Jason Wever <weeve@gentoo.org> sane-frontends-1.0.9.ebuild:
Here a ~sparc, there a ~sparc, everwhere a ~sparc ~sparc.
diff --git a/media-gfx/sane-frontends/Manifest b/media-gfx/sane-frontends/Manifest
index 857e79b0c417..e94a8c52a63f 100644
--- a/media-gfx/sane-frontends/Manifest
+++ b/media-gfx/sane-frontends/Manifest
@@ -1,9 +1,11 @@
-MD5 39662f64fe152a72a3fa1d71c07feef7 ChangeLog 2077
MD5 10e147204f47e9eb7eb9884b497b1389 sane-frontends-1.0.10.ebuild 820
-MD5 36ec75d391ae6424c9e07c1bc572f79a sane-frontends-1.0.11.ebuild 869
-MD5 016169fd1dacdbb452d49d35b3a47119 sane-frontends-1.0.8.ebuild 872
MD5 5a9529e05ad89b0cedd8e1606b36d278 sane-frontends-1.0.9.ebuild 833
+MD5 36ec75d391ae6424c9e07c1bc572f79a sane-frontends-1.0.12.ebuild 869
+MD5 016169fd1dacdbb452d49d35b3a47119 sane-frontends-1.0.8.ebuild 872
+MD5 36ec75d391ae6424c9e07c1bc572f79a sane-frontends-1.0.11.ebuild 869
+MD5 39662f64fe152a72a3fa1d71c07feef7 ChangeLog 2077
MD5 c2a091acb3718d20d61ef48703538552 files/digest-sane-frontends-1.0.10 73
MD5 b60b7d0bcbc4a5edb89a0107ab8b1531 files/digest-sane-frontends-1.0.11 73
+MD5 aed79797fee4d1b0f14e4cc70857aea7 files/digest-sane-frontends-1.0.12 73
MD5 3c5b2f3ff1e4cf3c6b5ce5a5c35595ea files/digest-sane-frontends-1.0.8 72
MD5 14c1134f629e6ddf41e7711c99a643c9 files/digest-sane-frontends-1.0.9 72
diff --git a/media-gfx/sane-frontends/files/digest-sane-frontends-1.0.12 b/media-gfx/sane-frontends/files/digest-sane-frontends-1.0.12
new file mode 100644
index 000000000000..7e0731e42d5f
--- /dev/null
+++ b/media-gfx/sane-frontends/files/digest-sane-frontends-1.0.12
@@ -0,0 +1 @@
+MD5 6a6166428491b268f5ebe03f16d1bc1f sane-frontends-1.0.12.tar.gz 202872
diff --git a/media-gfx/sane-frontends/sane-frontends-1.0.12.ebuild b/media-gfx/sane-frontends/sane-frontends-1.0.12.ebuild
new file mode 100644
index 000000000000..4977a6097933
--- /dev/null
+++ b/media-gfx/sane-frontends/sane-frontends-1.0.12.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-frontends/sane-frontends-1.0.12.ebuild,v 1.1 2004/05/05 07:44:43 phosphan Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Scanner Access Now Easy"
+HOMEPAGE="http://www.sane-project.org"
+SRC_URI="ftp://ftp.mostang.com/pub/sane/${P}/${P}.tar.gz
+ ftp://ftp.mostang.com/pub/sane/old-versions/${P}/${P}.tar.gz"
+
+DEPEND=">=media-gfx/sane-backends-${PV}
+ gimp? ( media-gfx/gimp )"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+IUSE="gimp"
+
+src_compile() {
+ local myconf=""
+ use gimp || myconf="--disable-gimp"
+ use gimp && if ! has_version ">=media-gfx/gimp-2"; then \
+ myconf="--enable-gimp12"; fi
+ econf \
+ --datadir=/usr/share/misc ${myconf} || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ einstall datadir=${D}/usr/share/misc || die
+ if use gimp; then
+ local gimpshortversion=$(best_version media-gfx/gimp \
+ | cut -f 1,2 -d "." | cut -f 3 -d "-")
+ einfo "Setting plugin link for GIMP version ${gimpshortversion}.x"
+
+ gimpplugindir=$(/usr/bin/gimptool-${gimpshortversion} \
+ --gimpplugindir)/plug-ins
+
+ dodir ${gimpplugindir}
+ dosym /usr/bin/xscanimage ${gimpplugindir}/xscanimage
+ fi
+ dodoc AUTHORS COPYING Changelog NEWS PROBLEMS README TODO
+}