summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/skanpage')
-rw-r--r--media-gfx/skanpage/Manifest1
-rw-r--r--media-gfx/skanpage/skanpage-22.08.3.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/media-gfx/skanpage/Manifest b/media-gfx/skanpage/Manifest
index faa36f9df5b0..399169320df8 100644
--- a/media-gfx/skanpage/Manifest
+++ b/media-gfx/skanpage/Manifest
@@ -1,2 +1,3 @@
DIST skanpage-22.04.3.tar.xz 389576 BLAKE2B b837fd82eb80367c39b0b9aff73a7bd2c3eeb9de03cdafa87639d358312c599236b78059e2c5f6b5fa339a12718d92650d65d44e219028c6d55c0f22089276d2 SHA512 62c13ae57e543ccb0f3998ebece91b9d07d57a843cfd7a477277fc5066dd460e0c55f7256fae3bf5bdc318557bac4351539d0d94d4438c431dd46d0f82219cee
DIST skanpage-22.08.2.tar.xz 1290464 BLAKE2B cbb5e22a1aaf6a8344b24045253755c10c32764c263bfd1b16ef1e3f1d717834cbb38dd10934ef58a4771f6ee0c1ab426d058a1b2a9f4074cadb4a95d1cc7761 SHA512 834bc4e36cf90279c74b0ac7d272d152833f8d30e414cbf7ea18b146b4d2ac30b69925445776ab660aaae7c0e975f642539f582dd0e0e492ffe626631800427d
+DIST skanpage-22.08.3.tar.xz 1291092 BLAKE2B ec189a0c723c35b235376e543fc97917e75b9dc3c734aa8036424ad79e4e69efb3d1ced6cb9a3bd4cfbfe54ed30083775aa02e4f4b1a6f423eb4cca3537e12e8 SHA512 25a3fb694ed7b982d2c742be57de111f01589e46ca5cdcf1502fc909718dddf9321d6d8a92ccede87811627c18f97ce694399a5955361d97cb891fc2a2fe93b4
diff --git a/media-gfx/skanpage/skanpage-22.08.3.ebuild b/media-gfx/skanpage/skanpage-22.08.3.ebuild
new file mode 100644
index 000000000000..6922109744d6
--- /dev/null
+++ b/media-gfx/skanpage/skanpage-22.08.3.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
+}