summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2008-01-19 20:51:20 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2008-01-19 20:51:20 +0000
commit63c4a248be395192b873cc24d7a5f327bce17471 (patch)
tree10482bc62aaf9c20a31537b06642635ad7954064 /media-gfx
parentsound herd will take this ebuild. (diff)
downloadhistorical-63c4a248be395192b873cc24d7a5f327bce17471.tar.gz
historical-63c4a248be395192b873cc24d7a5f327bce17471.tar.bz2
historical-63c4a248be395192b873cc24d7a5f327bce17471.zip
Version bump, bug #201432
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/xsane/ChangeLog9
-rw-r--r--media-gfx/xsane/Manifest16
-rw-r--r--media-gfx/xsane/files/digest-xsane-0.9953
-rw-r--r--media-gfx/xsane/xsane-0.995.ebuild80
4 files changed, 102 insertions, 6 deletions
diff --git a/media-gfx/xsane/ChangeLog b/media-gfx/xsane/ChangeLog
index b3b161f67572..7bb790fad454 100644
--- a/media-gfx/xsane/ChangeLog
+++ b/media-gfx/xsane/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/xsane
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/xsane/ChangeLog,v 1.63 2007/06/16 07:14:47 dertobi123 Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/xsane/ChangeLog,v 1.64 2008/01/19 20:51:20 phosphan Exp $
+
+*xsane-0.995 (19 Jan 2008)
+
+ 19 Jan 2008; Patrick Kursawe <phosphan@gentoo.org> +xsane-0.995.ebuild:
+ Version bump, bug #201432
16 Jun 2007; Tobias Scherbaum <dertobi123@gentoo.org> xsane-0.994.ebuild:
ppc stable, bug #178933
diff --git a/media-gfx/xsane/Manifest b/media-gfx/xsane/Manifest
index 087725dcac76..caba1bb4bea3 100644
--- a/media-gfx/xsane/Manifest
+++ b/media-gfx/xsane/Manifest
@@ -1,5 +1,6 @@
DIST xsane-0.991.tar.gz 2930784 RMD160 a1ef5315914e6525c0667bf253aff25d01ccb644 SHA1 22725e8a956955b75ac6791f69a3e9a4ae744ac7 SHA256 e239286b5a934267ad55c481b697013cec51b9428022454d424abd994341cbee
DIST xsane-0.994.tar.gz 3303013 RMD160 5ce83791e16a0c805b2850bb17092092264a3ce1 SHA1 64a936f0e95b5c5d296e34407d72813dd802b309 SHA256 67d72b8b76a44f106bf758db319c490d2c6c9edf9a269544e71e5c783a58ad0a
+DIST xsane-0.995.tar.gz 3307923 RMD160 889f4058ce65f007cf1482901d252748e3874de5 SHA1 9d4e8050f5b61034e20adbb5cf88b50e3e744050 SHA256 66a042253c35a54361a8c6c45c49b7b250bd45a024c449803673fc31e72a340b
EBUILD xsane-0.991.ebuild 1742 RMD160 e2da2fca9973cc8c1ca4c8efacdd09bb05d7f9ed SHA1 17f62e192741427aeb9e38fcc659249f92185f06 SHA256 8322e28eae803972feb7d4de28212fc881e09abfc06f317520867323101295c2
MD5 e9cb4779682ce64902570e0a4f2dcb42 xsane-0.991.ebuild 1742
RMD160 e2da2fca9973cc8c1ca4c8efacdd09bb05d7f9ed xsane-0.991.ebuild 1742
@@ -8,10 +9,14 @@ EBUILD xsane-0.994.ebuild 1922 RMD160 65f11aa701a8ebb538065910a36964a2c5e26ffa S
MD5 9c85d8ba2a0984561962bbe71a1a478b xsane-0.994.ebuild 1922
RMD160 65f11aa701a8ebb538065910a36964a2c5e26ffa xsane-0.994.ebuild 1922
SHA256 510365f9068d8a1acbb19f192e829f6b4fc44e7d662a922544be18f7d79b6e64 xsane-0.994.ebuild 1922
-MISC ChangeLog 7977 RMD160 4cf86bbc9316fa3c7b72cfd750c06cc8137d0a76 SHA1 e8fa2ed58bbc6df1de6bccf78672de4d8820acd4 SHA256 750beeee4745b590463a1192674cca8a3b09695728bb92876f1eb6a784f3d478
-MD5 899c6f8b9e5695a0ebb929c7ba8773b1 ChangeLog 7977
-RMD160 4cf86bbc9316fa3c7b72cfd750c06cc8137d0a76 ChangeLog 7977
-SHA256 750beeee4745b590463a1192674cca8a3b09695728bb92876f1eb6a784f3d478 ChangeLog 7977
+EBUILD xsane-0.995.ebuild 1926 RMD160 464e48be7da086abf427a82b21efc31a92125ebc SHA1 d7b9d6ec48f54cd7eec6f2b5e4190686b1e582f5 SHA256 d80fc3f9b7919d9418312fddc5df7ca8f9e9ca62d1057fb54df046146b0c45ea
+MD5 eec484acc60af78c655c8ab04f7ec8b0 xsane-0.995.ebuild 1926
+RMD160 464e48be7da086abf427a82b21efc31a92125ebc xsane-0.995.ebuild 1926
+SHA256 d80fc3f9b7919d9418312fddc5df7ca8f9e9ca62d1057fb54df046146b0c45ea xsane-0.995.ebuild 1926
+MISC ChangeLog 8106 RMD160 0e8fbdc403a930c0bdce1da9fee36cffd99f3ea9 SHA1 f35d6340a005ddefcac5f621e60b2e8f2b3d57ba SHA256 daa8f48ad92f370eb55c9b504ca000eee0d8dee22331d125cb5f192ceb14b058
+MD5 8e9950857e86a4628ec22307f00df613 ChangeLog 8106
+RMD160 0e8fbdc403a930c0bdce1da9fee36cffd99f3ea9 ChangeLog 8106
+SHA256 daa8f48ad92f370eb55c9b504ca000eee0d8dee22331d125cb5f192ceb14b058 ChangeLog 8106
MISC metadata.xml 347 RMD160 9c5418a1d8b854e2712e7e289975451d9c637879 SHA1 28c80bd21faa8459043efc31e8fe8a097c42fde8 SHA256 484450961ffb985cd8f2e3d470e1bc2a608cda571a6c571381b679f062c903f3
MD5 1f00d52c238ab654e46144b458cb8090 metadata.xml 347
RMD160 9c5418a1d8b854e2712e7e289975451d9c637879 metadata.xml 347
@@ -22,3 +27,6 @@ SHA256 d169bcf15de3d86e898f75f6fc8ee06b9097c8aa6f017da6df5ebd9bedc9be12 files/di
MD5 678b7b08b45e083d275697d93b7d2659 files/digest-xsane-0.994 238
RMD160 d5486ee28a4de073cec98e83615c83c7d7b53c61 files/digest-xsane-0.994 238
SHA256 97ea950839ef0f0674d87d51f6d1f48aadf13ddb82feeb95de7995c22cd551db files/digest-xsane-0.994 238
+MD5 34b3b5bd2945cb5456819418064c92c1 files/digest-xsane-0.995 238
+RMD160 aa0e1da6b21cb8f7b8b0f05d87e6b91712dbd2df files/digest-xsane-0.995 238
+SHA256 c2770dfd5a6b460633d67ee257280f3a121d90c3793358db0ba1f6020485399b files/digest-xsane-0.995 238
diff --git a/media-gfx/xsane/files/digest-xsane-0.995 b/media-gfx/xsane/files/digest-xsane-0.995
new file mode 100644
index 000000000000..85aae65c8bf3
--- /dev/null
+++ b/media-gfx/xsane/files/digest-xsane-0.995
@@ -0,0 +1,3 @@
+MD5 5aaedb75973c3b13b136edec714e3fe8 xsane-0.995.tar.gz 3307923
+RMD160 889f4058ce65f007cf1482901d252748e3874de5 xsane-0.995.tar.gz 3307923
+SHA256 66a042253c35a54361a8c6c45c49b7b250bd45a024c449803673fc31e72a340b xsane-0.995.tar.gz 3307923
diff --git a/media-gfx/xsane/xsane-0.995.ebuild b/media-gfx/xsane/xsane-0.995.ebuild
new file mode 100644
index 000000000000..e92c636faa25
--- /dev/null
+++ b/media-gfx/xsane/xsane-0.995.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/xsane/xsane-0.995.ebuild,v 1.1 2008/01/19 20:51:20 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 lcms"
+
+RDEPEND="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 )
+ lcms? ( media-libs/lcms )"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+pkg_setup() {
+ export OLDXSANE
+ if has_version '<=media-gfx/xsane-0.93'; then
+ OLDXSANE="yes"
+ else
+ OLDXSANE="no"
+ fi
+}
+
+src_compile() {
+ local extraCPPflags
+ if use lcms; then
+ extraCPPflags="-I /usr/include/lcms"
+ fi
+ CPPFLAGS="${CPPFLAGS} ${extraCPPflags}" econf --enable-gtk2 \
+ $(use_enable nls) \
+ $(use_enable jpeg) \
+ $(use_enable png) \
+ $(use_enable tiff) \
+ $(use_enable gimp) \
+ $(use_enable lcms) \
+ || 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
+ newicon src/xsane-48x48.png ${PN}.png
+ make_desktop_entry xsane "X-Sane" ${PN}
+}
+
+pkg_postinst() {
+ if [ x${OLDXSANE} = 'xyes' ]; then
+ 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."
+ fi
+}