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, 01 Mar 2022 10:11:50
Message-Id: 1646125400.d3737bf78e1c42995b3936cbf4e05f930f45330a.asturm@gentoo
1 commit: d3737bf78e1c42995b3936cbf4e05f930f45330a
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 1 09:03:20 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 1 09:03:20 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=d3737bf7
7
8 app-cdr/dolphin-plugins-mountiso: 21.12.3 version bump
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 .../dolphin-plugins-mountiso-21.12.3.ebuild | 65 ++++++++++++++++++++++
13 1 file changed, 65 insertions(+)
14
15 diff --git a/app-cdr/dolphin-plugins-mountiso/dolphin-plugins-mountiso-21.12.3.ebuild b/app-cdr/dolphin-plugins-mountiso/dolphin-plugins-mountiso-21.12.3.ebuild
16 new file mode 100644
17 index 0000000000..79a49e47e5
18 --- /dev/null
19 +++ b/app-cdr/dolphin-plugins-mountiso/dolphin-plugins-mountiso-21.12.3.ebuild
20 @@ -0,0 +1,65 @@
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_GEAR="true"
28 +KDE_ORG_CATEGORY="sdk"
29 +KDE_ORG_NAME="dolphin-plugins"
30 +MY_PLUGIN_NAME="mountiso"
31 +KFMIN=5.88.0
32 +PVCUT=$(ver_cut 1-3)
33 +QTMIN=5.15.2
34 +inherit ecm kde.org
35 +
36 +DESCRIPTION="Dolphin plugin for ISO loopback device mounting"
37 +HOMEPAGE="https://apps.kde.org/dolphin_plugins/"
38 +
39 +LICENSE="GPL-2" # TODO: CHECK
40 +SLOT="5"
41 +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
42 +IUSE=""
43 +
44 +DEPEND="
45 + >=dev-qt/qtdbus-${QTMIN}:5
46 + >=dev-qt/qtgui-${QTMIN}:5
47 + >=dev-qt/qtwidgets-${QTMIN}:5
48 + >=kde-apps/dolphin-${PVCUT}:5
49 + >=kde-frameworks/kcompletion-${KFMIN}:5
50 + >=kde-frameworks/kconfig-${KFMIN}:5
51 + >=kde-frameworks/kcoreaddons-${KFMIN}:5
52 + >=kde-frameworks/ki18n-${KFMIN}:5
53 + >=kde-frameworks/kio-${KFMIN}:5
54 + >=kde-frameworks/ktextwidgets-${KFMIN}:5
55 + >=kde-frameworks/solid-${KFMIN}:5
56 +"
57 +RDEPEND="${DEPEND}"
58 +
59 +src_prepare() {
60 + ecm_src_prepare
61 + # kxmlgui, qtnetwork only required by dropbox
62 + ecm_punt_qt_module Network
63 + ecm_punt_kf_module XmlGui
64 + # delete non-${PN} translations
65 + if [[ ${KDE_BUILD_TYPE} = release ]]; then
66 + find po -type f -name "*po" -and -not -name "*${MY_PLUGIN_NAME}plugin" -delete || die
67 + fi
68 +}
69 +
70 +src_configure() {
71 + local mycmakeargs=(
72 + -DBUILD_${MY_PLUGIN_NAME}=ON
73 + -DBUILD_bazaar=OFF
74 + -DBUILD_dropbox=OFF
75 + -DBUILD_git=OFF
76 + -DBUILD_hg=OFF
77 + -DBUILD_svn=OFF
78 + )
79 + ecm_src_configure
80 +}
81 +
82 +src_install() {
83 + ecm_src_install
84 + rm "${D}"/usr/share/metainfo/org.kde.dolphin-plugins.metainfo.xml || die
85 +}