summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2015-12-12 11:27:50 +0100
committerPacho Ramos <pacho@gentoo.org>2015-12-12 11:28:17 +0100
commitbcf4dfafacc4bf41d870da6584264d2b9366698c (patch)
tree79f71470025766aa7014994caf3afc4113e5bc3f /media-gfx
parentsys-auth/skey: Unpack patches in WORKDIR instead of S. (diff)
downloadgentoo-bcf4dfafacc4bf41d870da6584264d2b9366698c.tar.gz
gentoo-bcf4dfafacc4bf41d870da6584264d2b9366698c.tar.bz2
gentoo-bcf4dfafacc4bf41d870da6584264d2b9366698c.zip
media-gfx/simple-scan: Version bump
Package-Manager: portage-2.2.24
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/simple-scan/Manifest1
-rw-r--r--media-gfx/simple-scan/metadata.xml3
-rw-r--r--media-gfx/simple-scan/simple-scan-3.18.2.ebuild55
3 files changed, 59 insertions, 0 deletions
diff --git a/media-gfx/simple-scan/Manifest b/media-gfx/simple-scan/Manifest
index c53b787bc1c4..8a216762777b 100644
--- a/media-gfx/simple-scan/Manifest
+++ b/media-gfx/simple-scan/Manifest
@@ -1 +1,2 @@
DIST simple-scan-3.16.2.tar.xz 487808 SHA256 1c6727591813e7fd44da932adbae226001ce3a7b8f1a162c9b19d1dc630d7402 SHA512 5f665698f7c7bad57a41bfbb388c6861839cc56d6d25dbd74ea563d64fab63b6fd798f2b957b46ae69177b7e15963ef8f17d26f2a071bf89b6f1e2b6e7f1a835 WHIRLPOOL 098d8f3b16d3bac85e12d3034902df84fa1e3b76a346277114d3f19b5f8fd5a80b84fc1e88b595035cdfa483bdac952128ab20fd16f0f68040455f8afffa74db
+DIST simple-scan-3.18.2.tar.xz 510416 SHA256 061b58e5909362200e5cdffcdcc70d1afb8f8948efc1ec8ab592c7783c8939e9 SHA512 d2374bc8d7186647851729c3e3b879fa81fab7a38ba78ea9a4d9a72b7e8a63d6c58fc68602942d21eb350d1255d03bed731ca243ff69ffb88231a1c54f9df8c6 WHIRLPOOL 672a04293fa578fa0f9ce907aa177c3a42f0b52d01159087f856360c5d2bc08ac95b2c7f790c323e5c56d1b4d804ea24573a4b6930fe9116463521ca670254c0
diff --git a/media-gfx/simple-scan/metadata.xml b/media-gfx/simple-scan/metadata.xml
index bb5bf432149c..006e40b52365 100644
--- a/media-gfx/simple-scan/metadata.xml
+++ b/media-gfx/simple-scan/metadata.xml
@@ -8,6 +8,9 @@
You can print your scans, export them to pdf, or save them in a range
of image formats.
</longdescription>
+ <use>
+ <flag name="colord">Support color management using <pkg>x11-misc/colord</pkg></flag>
+ </use>
<upstream>
<remote-id type="launchpad">simple-scan</remote-id>
</upstream>
diff --git a/media-gfx/simple-scan/simple-scan-3.18.2.ebuild b/media-gfx/simple-scan/simple-scan-3.18.2.ebuild
new file mode 100644
index 000000000000..113fe00a9bcc
--- /dev/null
+++ b/media-gfx/simple-scan/simple-scan-3.18.2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+GCONF_DEBUG="no"
+VALA_MIN_API_VERSION="0.22"
+
+inherit gnome2 vala versionator
+
+DESCRIPTION="Simple document scanning utility"
+HOMEPAGE="https://launchpad.net/simple-scan"
+
+MY_PV=$(get_version_component_range 1-2)
+SRC_URI="https://launchpad.net/${PN}/${MY_PV}/${PV}/+download/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="colord"
+
+COMMON_DEPEND="
+ >=dev-libs/glib-2.32:2
+ dev-libs/libgusb
+ >=media-gfx/sane-backends-1.0.20:=
+ >=sys-libs/zlib-1.2.3.1:=
+ virtual/jpeg:0=
+ x11-libs/cairo:=
+ >=x11-libs/gtk+-3:3
+ colord? ( >=x11-misc/colord-0.1.24:=[udev] )
+"
+RDEPEND="${COMMON_DEPEND}
+ x11-misc/xdg-utils
+ x11-themes/adwaita-icon-theme
+"
+DEPEND="${COMMON_DEPEND}
+ $(vala_depend)
+ app-text/yelp-tools
+ >=dev-util/intltool-0.35.0
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ # https://bugs.launchpad.net/simple-scan/+bug/1462769
+ rm -f src/simple_scan_vala.stamp || die
+ vala_src_prepare
+ gnome2_src_prepare
+}
+
+src_configure() {
+ DOCS="NEWS README.md"
+ gnome2_src_configure \
+ --disable-packagekit \
+ $(use_enable colord)
+}