summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonny Davies <woodchip@gentoo.org>2002-12-14 06:43:47 +0000
committerDonny Davies <woodchip@gentoo.org>2002-12-14 06:43:47 +0000
commit89135b8eedfe093592cfd5deb7e43129d91eabdb (patch)
treedaa3cb80c1b297cef6e3f946a0f29e469a6a45ad /media-gfx/xsane
parentsync up (diff)
downloadgentoo-2-89135b8eedfe093592cfd5deb7e43129d91eabdb.tar.gz
gentoo-2-89135b8eedfe093592cfd5deb7e43129d91eabdb.tar.bz2
gentoo-2-89135b8eedfe093592cfd5deb7e43129d91eabdb.zip
#11434
Diffstat (limited to 'media-gfx/xsane')
-rw-r--r--media-gfx/xsane/ChangeLog15
-rw-r--r--media-gfx/xsane/files/digest-xsane-0.891
-rw-r--r--media-gfx/xsane/xsane-0.89.ebuild39
3 files changed, 45 insertions, 10 deletions
diff --git a/media-gfx/xsane/ChangeLog b/media-gfx/xsane/ChangeLog
index 05280b59eec6..5abee640032d 100644
--- a/media-gfx/xsane/ChangeLog
+++ b/media-gfx/xsane/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-gfx/xsane
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/xsane/ChangeLog,v 1.5 2002/09/14 03:12:44 woodchip Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/xsane/ChangeLog,v 1.6 2002/12/14 06:43:47 woodchip Exp $
+
+*xsane-0.89 (14 Dec 2002)
+
+ 14 Dec 2002; Donny Davies <woodchip@gentoo.org> : Version bump.
*xsane-0.86-r1 (16 Jul 2002)
@@ -19,12 +23,3 @@
11 June 2002; Ryan Phillips <rphillips@gentoo.org> xsane-0.86.ebuild :
Thanks to Bret the ebuild will install the plugin link into the correct
location. Updated Revision.
-
-*xsane-0.77-r1 (1 Feb 2002)
-
- 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
- Added initial ChangeLog which should be updated whenever the package is
- updated in any way. This changelog is targetted to users. This means that the
- comments should well explained and written in clean English. The details about
- writing correct changelogs are explained in the skel.ChangeLog file which you
- can find in the root directory of the portage repository.
diff --git a/media-gfx/xsane/files/digest-xsane-0.89 b/media-gfx/xsane/files/digest-xsane-0.89
new file mode 100644
index 000000000000..194708c8666f
--- /dev/null
+++ b/media-gfx/xsane/files/digest-xsane-0.89
@@ -0,0 +1 @@
+MD5 b8cee4abda9b0fc8e2d533b11f37fac4 xsane-0.89.tar.gz 2360833
diff --git a/media-gfx/xsane/xsane-0.89.ebuild b/media-gfx/xsane/xsane-0.89.ebuild
new file mode 100644
index 000000000000..35258b3f7d1e
--- /dev/null
+++ b/media-gfx/xsane/xsane-0.89.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/xsane/xsane-0.89.ebuild,v 1.1 2002/12/14 06:43:47 woodchip Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="XSane is a graphical scanning frontend"
+SRC_URI="http://www.xsane.org/download/${P}.tar.gz"
+HOMEPAGE="http://www.xsane.org"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc"
+
+DEPEND="media-gfx/sane-backends =x11-libs/gtk+-1.2*"
+
+src_compile() {
+ local myconf
+ use nls || myconf="${myconf} --disable-nls"
+ use jpeg || myconf="${myconf} --disable-jpeg"
+ use png || myconf="${myconf} --disable-png"
+ use tiff || myconf="${myconf} --disable-tiff"
+ econf ${myconf} || die
+ emake || die
+}
+
+src_install () {
+ einstall || die
+ dodoc xsane.[A-Z]*
+ dohtml -r doc
+ # link xsane so it is seen as a plugin in gimp
+ if [ -d /usr/lib/gimp/1.2 ]; then
+ dodir /usr/lib/gimp/1.2/plug-ins
+ dosym /usr/bin/xsane /usr/lib/gimp/1.2/plug-ins
+ fi
+ if [ -d /usr/lib/gimp/1.3 ]; then
+ dodir /usr/lib/gimp/1.3/plug-ins
+ dosym /usr/bin/xsane /usr/lib/gimp/1.3/plug-ins
+ fi
+}