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: Wed, 02 Nov 2022 08:46:02
Message-Id: 1667378461.41a5eecf750642c6ad48244d9d6306049147fa24.asturm@gentoo
1 commit: 41a5eecf750642c6ad48244d9d6306049147fa24
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 2 08:41:01 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 2 08:41:01 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=41a5eecf
7
8 app-cdr/dolphin-plugins-mountiso: 22.08.3 version bump
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 .../dolphin-plugins-mountiso-22.08.3.ebuild | 64 ++++++++++++++++++++++
13 1 file changed, 64 insertions(+)
14
15 diff --git a/app-cdr/dolphin-plugins-mountiso/dolphin-plugins-mountiso-22.08.3.ebuild b/app-cdr/dolphin-plugins-mountiso/dolphin-plugins-mountiso-22.08.3.ebuild
16 new file mode 100644
17 index 0000000000..74ecc2e681
18 --- /dev/null
19 +++ b/app-cdr/dolphin-plugins-mountiso/dolphin-plugins-mountiso-22.08.3.ebuild
20 @@ -0,0 +1,64 @@
21 +# Copyright 1999-2022 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.96.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 + if [[ ${KDE_BUILD_TYPE} = release ]]; then
65 + find po -type f -name "*po" -and -not -name "*${MY_PLUGIN_NAME}plugin" -delete || die
66 + fi
67 +}
68 +
69 +src_configure() {
70 + local mycmakeargs=(
71 + -DBUILD_${MY_PLUGIN_NAME}=ON
72 + -DBUILD_bazaar=OFF
73 + -DBUILD_dropbox=OFF
74 + -DBUILD_git=OFF
75 + -DBUILD_hg=OFF
76 + -DBUILD_svn=OFF
77 + )
78 + ecm_src_configure
79 +}
80 +
81 +src_install() {
82 + ecm_src_install
83 + rm "${D}"/usr/share/metainfo/org.kde.dolphin-plugins.metainfo.xml || die
84 +}