summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-08-22 20:26:19 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-08-22 22:10:48 +0200
commit670701569544de37688dc705274d28c51fec5057 (patch)
tree278e05b58cfccd8cda985f160e4ff2182b555cf1 /media-gfx
parentkde-misc/skanlite: 22.08.0 version bump (diff)
downloadgentoo-670701569544de37688dc705274d28c51fec5057.tar.gz
gentoo-670701569544de37688dc705274d28c51fec5057.tar.bz2
gentoo-670701569544de37688dc705274d28c51fec5057.zip
media-gfx/skanpage: 22.08.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/skanpage/Manifest1
-rw-r--r--media-gfx/skanpage/metadata.xml3
-rw-r--r--media-gfx/skanpage/skanpage-22.08.0.ebuild53
3 files changed, 57 insertions, 0 deletions
diff --git a/media-gfx/skanpage/Manifest b/media-gfx/skanpage/Manifest
index a5162abc70cd..b53b5a6f27e2 100644
--- a/media-gfx/skanpage/Manifest
+++ b/media-gfx/skanpage/Manifest
@@ -1 +1,2 @@
DIST skanpage-22.04.3.tar.xz 389576 BLAKE2B b837fd82eb80367c39b0b9aff73a7bd2c3eeb9de03cdafa87639d358312c599236b78059e2c5f6b5fa339a12718d92650d65d44e219028c6d55c0f22089276d2 SHA512 62c13ae57e543ccb0f3998ebece91b9d07d57a843cfd7a477277fc5066dd460e0c55f7256fae3bf5bdc318557bac4351539d0d94d4438c431dd46d0f82219cee
+DIST skanpage-22.08.0.tar.xz 1290464 BLAKE2B 05861caf307bad89b1823ebb75c9ffe8fa92e7fee9638f84c3282e06f9a70a7c036a83ed417754a79f597233e1275548d1432606494353e48a3f1621647a98f9 SHA512 3654e1841907e71e2fa1326b4f48011a367e0d5ea671fe99f6c301c7d4c61081493296c4a2df9d5c5c12f29eab2afd478b0f7081541a30ad715d90b5d9aceda5
diff --git a/media-gfx/skanpage/metadata.xml b/media-gfx/skanpage/metadata.xml
index 8641e5bdd399..cfe54267ac2c 100644
--- a/media-gfx/skanpage/metadata.xml
+++ b/media-gfx/skanpage/metadata.xml
@@ -5,4 +5,7 @@
<email>kde@gentoo.org</email>
<name>Gentoo KDE Project</name>
</maintainer>
+ <use>
+ <flag name="ocr">Enable support for Optical Character Recognition via <pkg>app-text/tesseract</pkg></flag>
+ </use>
</pkgmetadata>
diff --git a/media-gfx/skanpage/skanpage-22.08.0.ebuild b/media-gfx/skanpage/skanpage-22.08.0.ebuild
new file mode 100644
index 000000000000..6922109744d6
--- /dev/null
+++ b/media-gfx/skanpage/skanpage-22.08.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+KDE_ORG_CATEGORY="utilities"
+PVCUT=$(ver_cut 1-3)
+KFMIN=5.96.0
+QTMIN=5.15.5
+inherit ecm gear.kde.org
+
+DESCRIPTION="Multi-page scanning application supporting image and pdf files"
+HOMEPAGE="https://apps.kde.org/skanpage/"
+
+LICENSE="|| ( GPL-2 GPL-3 ) CC0-1.0"
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="ocr"
+
+DEPEND="
+ >=dev-qt/qtconcurrent-${QTMIN}:5
+ >=dev-qt/qtdeclarative-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ >=dev-qt/qtprintsupport-${QTMIN}:5
+ >=dev-qt/qtquickcontrols2-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=kde-apps/libksane-${PVCUT}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kcrash-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/kirigami-${KFMIN}:5
+ >=kde-frameworks/kjobwidgets-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+ >=kde-frameworks/purpose-${KFMIN}:5
+ >=media-libs/ksanecore-${PVCUT}:5
+ ocr? (
+ app-text/tesseract:=
+ media-libs/leptonica:=
+ )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package ocr Tesseract)
+ $(cmake_use_find_package ocr Leptonica)
+ )
+ ecm_src_configure
+}