diff options
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/xsane/ChangeLog | 8 | ||||
-rw-r--r-- | media-gfx/xsane/files/digest-xsane-0.90 | 1 | ||||
-rw-r--r-- | media-gfx/xsane/xsane-0.90.ebuild | 42 |
3 files changed, 50 insertions, 1 deletions
diff --git a/media-gfx/xsane/ChangeLog b/media-gfx/xsane/ChangeLog index 6dfd0cc266f8..1d7d3375a9f1 100644 --- a/media-gfx/xsane/ChangeLog +++ b/media-gfx/xsane/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-gfx/xsane # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/xsane/ChangeLog,v 1.7 2003/02/12 07:05:11 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/xsane/ChangeLog,v 1.8 2003/02/12 13:05:22 lu_zero Exp $ + +*xsane-0.89 (12 Feb 2003) + + 12 Feb 2002; Luca Barbato <lu_zero@gentoo.org> : Version bump. + Just needs gtk+, it can use both gtk+-1.2 or gtk+-2.x + gimp-1.3 support seems still missing. *xsane-0.89 (14 Dec 2002) diff --git a/media-gfx/xsane/files/digest-xsane-0.90 b/media-gfx/xsane/files/digest-xsane-0.90 new file mode 100644 index 000000000000..85615162c8fd --- /dev/null +++ b/media-gfx/xsane/files/digest-xsane-0.90 @@ -0,0 +1 @@ +MD5 ecf7073f673126cecbe999939638d0a2 xsane-0.90.tar.gz 2541153 diff --git a/media-gfx/xsane/xsane-0.90.ebuild b/media-gfx/xsane/xsane-0.90.ebuild new file mode 100644 index 000000000000..0fc4a8ad26a3 --- /dev/null +++ b/media-gfx/xsane/xsane-0.90.ebuild @@ -0,0 +1,42 @@ +# 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.90.ebuild,v 1.1 2003/02/12 13:05:22 lu_zero 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 + ( gtk2? >=x11-libs/gtk+-2.0 : + =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" + use gtk2 || myconf="${myconf} --disable-gtk2" + 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 +} |