summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2016-10-23 23:44:31 +0200
committerGilles Dartiguelongue <eva@gentoo.org>2016-10-24 01:00:06 +0200
commitb79e0a19fb0574a0b26e0f1d61d51c7d62f6b405 (patch)
treeba8575b6452cb1f89851556eb4b04c76ba233b96 /media-gfx
parentmedia-gfx/gnome-screenshot: cleanup old revision (diff)
downloadgentoo-b79e0a19fb0574a0b26e0f1d61d51c7d62f6b405.tar.gz
gentoo-b79e0a19fb0574a0b26e0f1d61d51c7d62f6b405.tar.bz2
gentoo-b79e0a19fb0574a0b26e0f1d61d51c7d62f6b405.zip
media-gfx/simple-scan: version bump 3.20.0 → 3.22.0.1
Package-Manager: portage-2.3.1
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/simple-scan/Manifest1
-rw-r--r--media-gfx/simple-scan/simple-scan-3.22.0.1.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/media-gfx/simple-scan/Manifest b/media-gfx/simple-scan/Manifest
index 9f68abca1705..37072fb15fda 100644
--- a/media-gfx/simple-scan/Manifest
+++ b/media-gfx/simple-scan/Manifest
@@ -1,2 +1,3 @@
DIST simple-scan-3.18.2.tar.xz 510416 SHA256 061b58e5909362200e5cdffcdcc70d1afb8f8948efc1ec8ab592c7783c8939e9 SHA512 d2374bc8d7186647851729c3e3b879fa81fab7a38ba78ea9a4d9a72b7e8a63d6c58fc68602942d21eb350d1255d03bed731ca243ff69ffb88231a1c54f9df8c6 WHIRLPOOL 672a04293fa578fa0f9ce907aa177c3a42f0b52d01159087f856360c5d2bc08ac95b2c7f790c323e5c56d1b4d804ea24573a4b6930fe9116463521ca670254c0
DIST simple-scan-3.20.0.tar.xz 550444 SHA256 8df5a5a5b06220e98770f11c53db8fc5d0d8d675d1c395f2bcd19fc8656eb62c SHA512 2b06d3d98ad740a864fbe2278d509e958f5b3c8eaf8eb27cc15b4b033986ca7e7c7db301e60a2a0a204b16cb9a27e9d50fefcf956f15685bd79d27375bfd308b WHIRLPOOL 17007ec48097471cf3ea44359b3803249b6fbe692f883998b3d5cfca976580a1a10560f05ff2ae3460fa251d7f9df42ddc117d905317d5f4ac608398b2fb20ed
+DIST simple-scan-3.22.0.1.tar.xz 659564 SHA256 c505b6e63379c9256fbeaa4def3e595fd063d46a8a852ed90218d336291d2b50 SHA512 2513887546c1e6764cffeac26638646b03eaf2f2e5d8013d9c29dfd4fbe200b347f7ee8a94e402497d1e8bdc3ba55d2fb2a740eecc8663c692f75fda2b1607c0 WHIRLPOOL 9fe1bbc2774ace85869fb12084e304e26dff2612bdcd7335de3ad12f803ff9d3ed7fb2b2b64273584782b5ba15ace1acf3cea2f52a2900b5d66b0b67f58cfec8
diff --git a/media-gfx/simple-scan/simple-scan-3.22.0.1.ebuild b/media-gfx/simple-scan/simple-scan-3.22.0.1.ebuild
new file mode 100644
index 000000000000..17261a2a5c8f
--- /dev/null
+++ b/media-gfx/simple-scan/simple-scan-3.22.0.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+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" # packagekit
+
+COMMON_DEPEND="
+ >=dev-libs/glib-2.32:2
+ dev-libs/libgusb[vala]
+ >=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] )
+"
+# packagekit? ( app-admin/packagekit-base )
+RDEPEND="${COMMON_DEPEND}
+ x11-misc/xdg-utils
+ x11-themes/adwaita-icon-theme
+"
+DEPEND="${COMMON_DEPEND}
+ $(vala_depend)
+ app-text/yelp-tools
+ dev-libs/appstream-glib
+ >=sys-devel/gettext-0.19.7
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ # Force build from vala sources due to mismatch between generated
+ # C files and configure switches
+ # https://bugs.launchpad.net/simple-scan/+bug/1462769
+ rm -f src/simple_scan_vala.stamp || die
+ vala_src_prepare
+ gnome2_src_prepare
+}
+
+src_configure() {
+ gnome2_src_configure \
+ --disable-packagekit \
+ $(use_enable colord)
+ # $(use_enable packagekit)
+}