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, 29 Nov 2021 16:53:58
Message-Id: 1638204749.29234a20a4aa4320b6311605298126fe460d4e5b.asturm@gentoo
1 commit: 29234a20a4aa4320b6311605298126fe460d4e5b
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 29 16:03:15 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 29 16:52:29 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29234a20
7
8 app-cdr/dolphin-plugins-mountiso: 21.11.90 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-21.11.90.ebuild | 65 ++++++++++++++++++++++
14 2 files changed, 66 insertions(+)
15
16 diff --git a/app-cdr/dolphin-plugins-mountiso/Manifest b/app-cdr/dolphin-plugins-mountiso/Manifest
17 index 3c644ff083b6..96a9eab41e7d 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-21.08.3.tar.xz 254604 BLAKE2B 9a7a9c7a1cf82d458c1fd0bbce6b47c233b8a7a20bd1d1696bc75d6b04c8e4a9d6464025d8ad39b3bb96b8dd428fb880a5d318f7c0d13ef3bc8bf24a42c24169 SHA512 2fb7fbd6490d768f3eb7d756429d858337b8088a7c87836ed4a54fc3f863f50c4973bbe2ae149d53d2769d7ce3c31fbd737bc4afc74fd14260a158da83992076
22 +DIST dolphin-plugins-21.11.90.tar.xz 254640 BLAKE2B c6755fc407b523759c0ac6c362311ee12322efd47e7a5ea4765ee08bc948e532b8e476d35ad2a16390be5150e2f94a5ce6d8cb185718160856bedc081cb4abca SHA512 7e2877666b41cf69dca6c4544a6bf9b6f0d6a09fbcc26c44ca0a3a4521caeda257af41a112ae6e26feb02d1ef7f63f7cd0f417b5b0f04367a65c83391f29dd64
23
24 diff --git a/app-cdr/dolphin-plugins-mountiso/dolphin-plugins-mountiso-21.11.90.ebuild b/app-cdr/dolphin-plugins-mountiso/dolphin-plugins-mountiso-21.11.90.ebuild
25 new file mode 100644
26 index 000000000000..2883eaf8adf4
27 --- /dev/null
28 +++ b/app-cdr/dolphin-plugins-mountiso/dolphin-plugins-mountiso-21.11.90.ebuild
29 @@ -0,0 +1,65 @@
30 +# Copyright 1999-2021 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_GEAR="true"
37 +KDE_ORG_CATEGORY="sdk"
38 +KDE_ORG_NAME="dolphin-plugins"
39 +MY_PLUGIN_NAME="mountiso"
40 +KFMIN=5.88.0
41 +PVCUT=$(ver_cut 1-3)
42 +QTMIN=5.15.2
43 +inherit ecm kde.org
44 +
45 +DESCRIPTION="Dolphin plugin for ISO loopback device mounting"
46 +HOMEPAGE="https://apps.kde.org/dolphin_plugins/"
47 +
48 +LICENSE="GPL-2" # TODO: CHECK
49 +SLOT="5"
50 +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
51 +IUSE=""
52 +
53 +DEPEND="
54 + >=dev-qt/qtdbus-${QTMIN}:5
55 + >=dev-qt/qtgui-${QTMIN}:5
56 + >=dev-qt/qtwidgets-${QTMIN}:5
57 + >=kde-apps/dolphin-${PVCUT}:5
58 + >=kde-frameworks/kcompletion-${KFMIN}:5
59 + >=kde-frameworks/kconfig-${KFMIN}:5
60 + >=kde-frameworks/kcoreaddons-${KFMIN}:5
61 + >=kde-frameworks/ki18n-${KFMIN}:5
62 + >=kde-frameworks/kio-${KFMIN}:5
63 + >=kde-frameworks/ktextwidgets-${KFMIN}:5
64 + >=kde-frameworks/solid-${KFMIN}:5
65 +"
66 +RDEPEND="${DEPEND}"
67 +
68 +src_prepare() {
69 + ecm_src_prepare
70 + # kxmlgui, qtnetwork only required by dropbox
71 + ecm_punt_bogus_dep Qt5 Network
72 + ecm_punt_bogus_dep KF5 XmlGui
73 + # delete non-${PN} translations
74 + if [[ ${KDE_BUILD_TYPE} = release ]]; then
75 + find po -type f -name "*po" -and -not -name "*${MY_PLUGIN_NAME}plugin" -delete || die
76 + fi
77 +}
78 +
79 +src_configure() {
80 + local mycmakeargs=(
81 + -DBUILD_${MY_PLUGIN_NAME}=ON
82 + -DBUILD_bazaar=OFF
83 + -DBUILD_dropbox=OFF
84 + -DBUILD_git=OFF
85 + -DBUILD_hg=OFF
86 + -DBUILD_svn=OFF
87 + )
88 + ecm_src_configure
89 +}
90 +
91 +src_install() {
92 + ecm_src_install
93 + rm "${D}"/usr/share/metainfo/org.kde.dolphin-plugins.metainfo.xml || die
94 +}