summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-gfx/skanpage/Manifest1
-rw-r--r--media-gfx/skanpage/skanpage-22.12.2.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/media-gfx/skanpage/Manifest b/media-gfx/skanpage/Manifest
index 94c290b6ebf2..6dae1d0402f5 100644
--- a/media-gfx/skanpage/Manifest
+++ b/media-gfx/skanpage/Manifest
@@ -1,2 +1,3 @@
DIST skanpage-22.08.3.tar.xz 1291092 BLAKE2B ec189a0c723c35b235376e543fc97917e75b9dc3c734aa8036424ad79e4e69efb3d1ced6cb9a3bd4cfbfe54ed30083775aa02e4f4b1a6f423eb4cca3537e12e8 SHA512 25a3fb694ed7b982d2c742be57de111f01589e46ca5cdcf1502fc909718dddf9321d6d8a92ccede87811627c18f97ce694399a5955361d97cb891fc2a2fe93b4
DIST skanpage-22.12.1.tar.xz 1295032 BLAKE2B d552eb2008af049a46f8059170ad837f4093b3408bfe61349246285f997c9dae927166403fd32e658f3c15ad8bd086e9e506394a29ec42a35ee9eb5df5311174 SHA512 597b59c43b7b881257c4ad016e3ad60d926cd554a27a2005a3eaa23366bd624d26802b1413f71b4da482691b2a9e8a37edcfae38c0fbd0851191c18cbf14d494
+DIST skanpage-22.12.2.tar.xz 1295004 BLAKE2B db1759473a2fe2e67c96b022e3da4fb8d05bdb685905e7dd6630f6edb0cc6b82b6a2388254fe6cad9dc54ff605a65cef9d80a6dff2c2a885453c9ad8e32a455d SHA512 930adbd3bb703fdd2b1722309e3bee1355c39013dcd06c8a2e843ced4d9121bcd62bfacc05378b891e1d036afc45d5f0978a5983c33afed33fe23b460d43c4e1
diff --git a/media-gfx/skanpage/skanpage-22.12.2.ebuild b/media-gfx/skanpage/skanpage-22.12.2.ebuild
new file mode 100644
index 000000000000..5b515a656113
--- /dev/null
+++ b/media-gfx/skanpage/skanpage-22.12.2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2023 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.101.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
+}