summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-08-20 17:34:44 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-08-21 23:14:37 +0200
commit188b8f4cf4688ce384bd1ebce6000762934fa9b9 (patch)
tree6467e479927d2c9bca6d67e57b67bfa5cb09cefe /kde-apps/libksane
parentkde-apps/libkcddb: drop 24.05.2 (diff)
downloadgentoo-188b8f4cf4688ce384bd1ebce6000762934fa9b9.tar.gz
gentoo-188b8f4cf4688ce384bd1ebce6000762934fa9b9.tar.bz2
gentoo-188b8f4cf4688ce384bd1ebce6000762934fa9b9.zip
kde-apps/libksane: SLOT 5 shall RDEPEND on *-common too
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/libksane')
-rw-r--r--kde-apps/libksane/libksane-24.02.2-r2.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/kde-apps/libksane/libksane-24.02.2-r2.ebuild b/kde-apps/libksane/libksane-24.02.2-r2.ebuild
new file mode 100644
index 000000000000..7c527b593833
--- /dev/null
+++ b/kde-apps/libksane/libksane-24.02.2-r2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+KFMIN=5.115.0
+QTMIN=5.15.12
+inherit ecm gear.kde.org
+
+DESCRIPTION="SANE Library interface based on KDE Frameworks"
+
+LICENSE="|| ( LGPL-2.1 LGPL-3 )"
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="kwallet"
+
+DEPEND="
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/ktextwidgets-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=media-libs/ksanecore-23.08.5:5
+ kwallet? ( >=kde-frameworks/kwallet-${KFMIN}:5 )
+"
+RDEPEND="${DEPEND}
+ >=kde-apps/libksane-common-${PV}
+"
+
+# Shipped by kde-apps/libksane-common package for shared use w/ SLOT 5
+ECM_REMOVE_FROM_INSTALL=(
+ /usr/share/icons/hicolor/16x16/actions
+)
+
+PATCHES=( "${FILESDIR}/${PN}-24.02.0-ksanecore-23.08.patch" )
+
+src_prepare() {
+ ecm_src_prepare
+ ecm_punt_po_install
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package kwallet KF5Wallet)
+ )
+ ecm_src_configure
+}