Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: app-cdr/dolphin-plugins-mountiso/
Date: Tue, 31 Jan 2023 14:14:19
Message-Id: 1675174330.cff193acd6ab4f4a2355c69878528c36a24babe1.asturm@gentoo
1 commit: cff193acd6ab4f4a2355c69878528c36a24babe1
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 31 10:15:56 2023 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 31 14:12:10 2023 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=cff193ac
7
8 app-cdr/dolphin-plugins-mountiso: 22.12.2 version bump
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 .../dolphin-plugins-mountiso-22.12.2.ebuild | 62 ++++++++++++++++++++++
13 1 file changed, 62 insertions(+)
14
15 diff --git a/app-cdr/dolphin-plugins-mountiso/dolphin-plugins-mountiso-22.12.2.ebuild b/app-cdr/dolphin-plugins-mountiso/dolphin-plugins-mountiso-22.12.2.ebuild
16 new file mode 100644
17 index 0000000000..c8fe96859f
18 --- /dev/null
19 +++ b/app-cdr/dolphin-plugins-mountiso/dolphin-plugins-mountiso-22.12.2.ebuild
20 @@ -0,0 +1,62 @@
21 +# Copyright 1999-2023 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +ECM_HANDBOOK="false"
27 +KDE_ORG_CATEGORY="sdk"
28 +KDE_ORG_NAME="dolphin-plugins"
29 +MY_PLUGIN_NAME="mountiso"
30 +KFMIN=5.101.0
31 +PVCUT=$(ver_cut 1-3)
32 +QTMIN=5.15.5
33 +inherit ecm gear.kde.org
34 +
35 +DESCRIPTION="Dolphin plugin for ISO loopback device mounting"
36 +HOMEPAGE="https://apps.kde.org/dolphin_plugins/"
37 +
38 +LICENSE="GPL-2+"
39 +SLOT="5"
40 +KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~x86"
41 +IUSE=""
42 +
43 +DEPEND="
44 + >=dev-qt/qtdbus-${QTMIN}:5
45 + >=dev-qt/qtgui-${QTMIN}:5
46 + >=dev-qt/qtwidgets-${QTMIN}:5
47 + >=kde-apps/dolphin-${PVCUT}:5
48 + >=kde-frameworks/kcompletion-${KFMIN}:5
49 + >=kde-frameworks/kconfig-${KFMIN}:5
50 + >=kde-frameworks/kcoreaddons-${KFMIN}:5
51 + >=kde-frameworks/ki18n-${KFMIN}:5
52 + >=kde-frameworks/kio-${KFMIN}:5
53 + >=kde-frameworks/ktextwidgets-${KFMIN}:5
54 + >=kde-frameworks/solid-${KFMIN}:5
55 +"
56 +RDEPEND="${DEPEND}"
57 +
58 +src_prepare() {
59 + ecm_src_prepare
60 + # kxmlgui, qtnetwork only required by dropbox
61 + ecm_punt_qt_module Network
62 + ecm_punt_kf_module XmlGui
63 + # delete non-${PN} translations
64 + find po -type f -name "*po" -and -not -name "*${MY_PLUGIN_NAME}plugin" -delete || die
65 +}
66 +
67 +src_configure() {
68 + local mycmakeargs=(
69 + -DBUILD_${MY_PLUGIN_NAME}=ON
70 + -DBUILD_bazaar=OFF
71 + -DBUILD_dropbox=OFF
72 + -DBUILD_git=OFF
73 + -DBUILD_hg=OFF
74 + -DBUILD_svn=OFF
75 + )
76 + ecm_src_configure
77 +}
78 +
79 +src_install() {
80 + ecm_src_install
81 + rm "${D}"/usr/share/metainfo/org.kde.dolphin-plugins.metainfo.xml || die
82 +}