Gentoo Archives: gentoo-commits

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