diff options
author | Patrick Kursawe <phosphan@gentoo.org> | 2006-01-19 07:31:39 +0000 |
---|---|---|
committer | Patrick Kursawe <phosphan@gentoo.org> | 2006-01-19 07:31:39 +0000 |
commit | c91427aaf7956c11a0e83095e1ee48a232b37bb0 (patch) | |
tree | b3d2e5004a6a5b847054b24a617a31ae841bb265 /media-gfx/xsane | |
parent | Fixing Makefiles wrt to bug #119339 (diff) | |
download | gentoo-2-c91427aaf7956c11a0e83095e1ee48a232b37bb0.tar.gz gentoo-2-c91427aaf7956c11a0e83095e1ee48a232b37bb0.tar.bz2 gentoo-2-c91427aaf7956c11a0e83095e1ee48a232b37bb0.zip |
Version bump.
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'media-gfx/xsane')
-rw-r--r-- | media-gfx/xsane/ChangeLog | 9 | ||||
-rw-r--r-- | media-gfx/xsane/Manifest | 4 | ||||
-rw-r--r-- | media-gfx/xsane/files/digest-xsane-0.99 | 1 | ||||
-rw-r--r-- | media-gfx/xsane/xsane-0.99.ebuild | 71 |
4 files changed, 82 insertions, 3 deletions
diff --git a/media-gfx/xsane/ChangeLog b/media-gfx/xsane/ChangeLog index 449e694dcf6d..8500366ef650 100644 --- a/media-gfx/xsane/ChangeLog +++ b/media-gfx/xsane/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-gfx/xsane -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/xsane/ChangeLog,v 1.43 2005/12/05 08:39:50 phosphan Exp $ +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/xsane/ChangeLog,v 1.44 2006/01/19 07:31:39 phosphan Exp $ + +*xsane-0.99 (19 Jan 2006) + + 19 Jan 2006; Patrick Kursawe <phosphan@gentoo.org> +xsane-0.99.ebuild: + Version bump. *xsane-0.98a-r1 (05 Dec 2005) diff --git a/media-gfx/xsane/Manifest b/media-gfx/xsane/Manifest index 85b0f58d8cf5..f13a1874e446 100644 --- a/media-gfx/xsane/Manifest +++ b/media-gfx/xsane/Manifest @@ -2,10 +2,12 @@ MD5 c94cbffc8b0d7b48130e1e67d29fe8a6 xsane-0.98a-r1.ebuild 1723 MD5 a4416ea123de82828b0caf78bdc0fb6d xsane-0.97-r1.ebuild 1634 MD5 56c10f08c157591519451f7a2a271c6d xsane-0.98a.ebuild 1632 MD5 0d9837fd281c0a06adf23414c6dc2e47 xsane-0.97.ebuild 1681 -MD5 972c32e29840b6a19d28a30eb3e5c7f0 ChangeLog 5539 +MD5 153c8253939a0fc49f62b03c223c8fe0 ChangeLog 5656 MD5 1f00d52c238ab654e46144b458cb8090 metadata.xml 347 +MD5 0739090a23973cdf46af2c03395a175f xsane-0.99.ebuild 1651 MD5 5922362071da7ad02ab5957b25c40a73 files/0.98b.patch 707 MD5 918ef3f00d812af7c8417080ff4b8f75 files/digest-xsane-0.97 63 +MD5 671d2eaec5bf81783f70fe0ba7b1cdb3 files/digest-xsane-0.99 63 MD5 918ef3f00d812af7c8417080ff4b8f75 files/digest-xsane-0.97-r1 63 MD5 6994739c50e135088e6a65d231c67230 files/digest-xsane-0.98a-r1 64 MD5 6994739c50e135088e6a65d231c67230 files/digest-xsane-0.98a 64 diff --git a/media-gfx/xsane/files/digest-xsane-0.99 b/media-gfx/xsane/files/digest-xsane-0.99 new file mode 100644 index 000000000000..86e6f3121c59 --- /dev/null +++ b/media-gfx/xsane/files/digest-xsane-0.99 @@ -0,0 +1 @@ +MD5 c850be334dcd36d426d5d85c7334275a xsane-0.99.tar.gz 2937568 diff --git a/media-gfx/xsane/xsane-0.99.ebuild b/media-gfx/xsane/xsane-0.99.ebuild new file mode 100644 index 000000000000..8685d3728408 --- /dev/null +++ b/media-gfx/xsane/xsane-0.99.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/xsane/xsane-0.99.ebuild,v 1.1 2006/01/19 07:31:39 phosphan Exp $ + +inherit eutils + +DESCRIPTION="graphical scanning frontend" +HOMEPAGE="http://www.xsane.org/" +SRC_URI="http://www.xsane.org/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="nls jpeg png tiff gimp" + +DEPEND="media-gfx/sane-backends + >=x11-libs/gtk+-2.0 + jpeg? ( media-libs/jpeg ) + png? ( media-libs/libpng ) + tiff? ( media-libs/tiff ) + gimp? ( media-gfx/gimp )" + +pkg_setup() { + export OLDXSANE + if has_version '<=media-gfx/xsane-0.93'; then + OLDXSANE="yes" + else + OLDXSANE="no" + fi +} + +src_compile() { + econf --enable-gtk2 \ + $(use_enable nls) \ + $(use_enable jpeg) \ + $(use_enable png) \ + $(use_enable tiff) \ + $(use_enable gimp) \ + || 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 use gimp; then + local plugindir + if [ -x /usr/bin/gimptool ]; then + plugindir="$(gimptool --gimpplugindir)/plug-ins" + elif [ -x /usr/bin/gimptool-2.0 ]; then + plugindir="$(gimptool-2.0 --gimpplugindir)/plug-ins" + else + die "Can't find GIMP plugin directory." + fi + dodir "${plugindir}" + dosym /usr/bin/xsane "${plugindir}" + fi +} + +pkg_postinst() { + if [ x${OLDXSANE} = 'xyes' ]; then + einfo "" + ewarn "If you are upgrading from <=xsane-0.93, please make sure to" + ewarn "remove ~/.sane/xsane/xsane.rc _before_ you start xsane for" + ewarn "the first time." + einfo "" + fi +} |