summaryrefslogtreecommitdiff
path: root/media-gfx/simple-scan
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/simple-scan')
-rw-r--r--media-gfx/simple-scan/Manifest7
-rw-r--r--media-gfx/simple-scan/metadata.xml20
-rw-r--r--media-gfx/simple-scan/simple-scan-3.22.0.1.ebuild55
-rw-r--r--media-gfx/simple-scan/simple-scan-3.24.1.ebuild55
4 files changed, 137 insertions, 0 deletions
diff --git a/media-gfx/simple-scan/Manifest b/media-gfx/simple-scan/Manifest
new file mode 100644
index 000000000000..de0155e185ab
--- /dev/null
+++ b/media-gfx/simple-scan/Manifest
@@ -0,0 +1,7 @@
+DIST simple-scan-3.22.0.1.tar.xz 659564 SHA256 c505b6e63379c9256fbeaa4def3e595fd063d46a8a852ed90218d336291d2b50 SHA512 2513887546c1e6764cffeac26638646b03eaf2f2e5d8013d9c29dfd4fbe200b347f7ee8a94e402497d1e8bdc3ba55d2fb2a740eecc8663c692f75fda2b1607c0 WHIRLPOOL 9fe1bbc2774ace85869fb12084e304e26dff2612bdcd7335de3ad12f803ff9d3ed7fb2b2b64273584782b5ba15ace1acf3cea2f52a2900b5d66b0b67f58cfec8
+DIST simple-scan-3.24.1.tar.xz 669452 SHA256 5eae832b14664183d55aa599801cf32f19ff2174dfba4e3d7e4eb4d55810efb3 SHA512 9f0ced644b13dcaad4f1e23a6520b1cbe3c36d995fca4791383f959986cd396f123638a23dbd02a9511ef7e1c9c915b3a025e9b7e4de4542a4c180c4fe29e2b9 WHIRLPOOL c382f3b6836f8a26b760bf026e2aa76771be74f142e3778be70cd72755188cb45d3453ce95066fa5c0253de9069abd34d39b556ade69355a732f42d0f8573a9c
+EBUILD simple-scan-3.22.0.1.ebuild 1303 SHA256 081ceb8ae5a9878a330a6430d033907d3ab0ce1bed4bbb40f7e05a89b5000bd9 SHA512 07e3f1c580eeb17e11fa287b95a729f25819bdaaa6d85b9f1c7fb814ac2c1324c5a0b567b111e0713cc259c83611b9b6a9d8de48d593105157616ee3f3c83355 WHIRLPOOL dfb1f414c9907b49f5a40796edc253260f02c2244cebb25a71022376b227ce52d5ac60e25651e4e0d897c33e4af9f6f39ad26e852db57d63d4472c5e0d0432dc
+EBUILD simple-scan-3.24.1.ebuild 1305 SHA256 c221f1fa89293982f91bf87f38d4889728dd4418c4ffffdb5655104578b3143b SHA512 4157b2b705e1cee2e1d106cb5b0eba8d79270b32b1da41c0fac5d3b1fff96911799730aedc09caf42970509118bc436cfd496161d2bf57498fc7a9d869ac6c85 WHIRLPOOL 1ae580e26764cffa9e8b92e6866fcc682afd5f39f8173d2458c3daa4f720a449a94e25da620fe240ab9858184fffead43f084a2143b958c68264d79fa1fc8a1c
+MISC ChangeLog 5809 SHA256 798cbf9cd368ccca0a429fd2f0a5ec811361b5aaf5fec09b86a4ca26aa08a681 SHA512 cd18776de3070261f951a935bd10f7aa3c11741252e0fd246dd8d5c92f4d176eaae6f4d5a1fc49f1e67482274ca3521bc61f98b758cd82d0c51bdaa61e541a30 WHIRLPOOL abcf49de2ecb5f4e786b5b224bee507d6c09834034f9b83c78d81b37e6da8566bc1a1915f73ab1dcaf5cb05cc8fc3a49929c42a5d829763239c586f8098be891
+MISC ChangeLog-2015 8641 SHA256 7f460f25a1036aab0bbdbde7e0122ac5449038c2143bb8de0f484e25093a878e SHA512 f2d68abc0d488dcb6e3170bc55274497325a22b4ee35bbde44bd83ed2d288fea81a0c796b03030873f6e361901638304ecd849317b6861faca4e0bf7aab8a93d WHIRLPOOL ef28ae6c6bccd208571b681099d972d866ee6b11e387bc65b9b2a9094a640417247a290e8f06bd1003a8669031a7ebcc499a91396d85929f3b452eb8609f5cfa
+MISC metadata.xml 718 SHA256 7d681fa9fe88a2fe970eee9fc46d244918f09c24baea1ebb000564f2df60c36e SHA512 82244c0dc32c4ded72048a387cee5f350a66148ecaa12a941e4a86d9d9079f1769f1f240ee564c7f991f9d53c050e9fd3e9113024fc8831a6766ec3d88b665ca WHIRLPOOL 253690b85d5887822c4d0d36b0fa979e149eca2e21899f7ad921eccaf5b9cb6d4ca3130df1310b1d37994a87ff60651d80dbaaed9b55f81c9c891a6e163ec576
diff --git a/media-gfx/simple-scan/metadata.xml b/media-gfx/simple-scan/metadata.xml
new file mode 100644
index 000000000000..a84032e4aaae
--- /dev/null
+++ b/media-gfx/simple-scan/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <longdescription lang="en">
+ A really easy way to scan both documents and photos. You can crop out
+ the bad parts of a photo and rotate it if it is the wrong way round.
+ 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>
+</pkgmetadata>
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..a51727d20142
--- /dev/null
+++ b/media-gfx/simple-scan/simple-scan-3.22.0.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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)
+}
diff --git a/media-gfx/simple-scan/simple-scan-3.24.1.ebuild b/media-gfx/simple-scan/simple-scan-3.24.1.ebuild
new file mode 100644
index 000000000000..ccf4fc1917fc
--- /dev/null
+++ b/media-gfx/simple-scan/simple-scan-3.24.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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)
+}