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: Thu, 08 Jul 2021 11:48:05
Message-Id: 1625744670.cc52ea6ff378e470e84b5dd784f11ea50c275068.asturm@gentoo
1 commit: cc52ea6ff378e470e84b5dd784f11ea50c275068
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 8 11:31:22 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 8 11:44:30 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc52ea6f
7
8 app-cdr/dolphin-plugins-mountiso: 21.04.3 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.04.3.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 bc403191484..5a7e4e830fa 100644
18 --- a/app-cdr/dolphin-plugins-mountiso/Manifest
19 +++ b/app-cdr/dolphin-plugins-mountiso/Manifest
20 @@ -1,2 +1,3 @@
21 DIST dolphin-plugins-20.12.3.tar.xz 239340 BLAKE2B 141e5d2bb6190edaef98cec2a271e41b916966118300d69f4eb5e7da15e51730476f23a20312b76fca0fc1490501e83528b4f0cb62f9f6c64e4caf5ac5b2cd37 SHA512 1d5303e92d912bc80c5260263b081205d36372f1f15205ebd3e705697a114f8481edd1ad31004d7906c3088d43a74cb1e33dac6e1196c247e702a544d67db11b
22 DIST dolphin-plugins-21.04.2.tar.xz 253184 BLAKE2B 2ca0bdbdd1e658bd54a95790d722e23817aca2af1bff16b5056686e58b5ce60aeaecba05ec3a2faf69ccf4d1c4dd7ee91f59cec37da3693917ed9144c4e48ae2 SHA512 379e87f0ee28dd414c1ffe1f2e7775681cf639cda72a6357c357f2a7a30aefee77cfc8b52cb4030ff68555a38d0abf428ac155cbd2d3263ac55b4f41b9ae1fda
23 +DIST dolphin-plugins-21.04.3.tar.xz 253244 BLAKE2B c5c0e302dfc4eb82e2de1a635824bf8fd2c70bcac65c261253f0e52e7d9242fa339fe2dc619b927b0379477b2c80a22ec210080af8f2370e0a0182af3347df6a SHA512 e4beba0d596782951b149d42e930d76b12a36bea83f35eb0cff9e49b3e02d4b2aa55f4245d4b8708044a49770d477badc964752828eef4caeaefd4f16e5f9dad
24
25 diff --git a/app-cdr/dolphin-plugins-mountiso/dolphin-plugins-mountiso-21.04.3.ebuild b/app-cdr/dolphin-plugins-mountiso/dolphin-plugins-mountiso-21.04.3.ebuild
26 new file mode 100644
27 index 00000000000..d0900ab81df
28 --- /dev/null
29 +++ b/app-cdr/dolphin-plugins-mountiso/dolphin-plugins-mountiso-21.04.3.ebuild
30 @@ -0,0 +1,65 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +ECM_HANDBOOK="false"
37 +KDE_GEAR="true"
38 +KDE_ORG_CATEGORY="sdk"
39 +KDE_ORG_NAME="dolphin-plugins"
40 +MY_PLUGIN_NAME="mountiso"
41 +KFMIN=5.80.0
42 +PVCUT=$(ver_cut 1-3)
43 +QTMIN=5.15.2
44 +inherit ecm kde.org
45 +
46 +DESCRIPTION="Dolphin plugin for ISO loopback device mounting"
47 +HOMEPAGE="https://apps.kde.org/dolphin_plugins/"
48 +
49 +LICENSE="GPL-2" # TODO: CHECK
50 +SLOT="5"
51 +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
52 +IUSE=""
53 +
54 +DEPEND="
55 + >=dev-qt/qtdbus-${QTMIN}:5
56 + >=dev-qt/qtgui-${QTMIN}:5
57 + >=dev-qt/qtwidgets-${QTMIN}:5
58 + >=kde-apps/dolphin-${PVCUT}:5
59 + >=kde-frameworks/kcompletion-${KFMIN}:5
60 + >=kde-frameworks/kconfig-${KFMIN}:5
61 + >=kde-frameworks/kcoreaddons-${KFMIN}:5
62 + >=kde-frameworks/ki18n-${KFMIN}:5
63 + >=kde-frameworks/kio-${KFMIN}:5
64 + >=kde-frameworks/ktextwidgets-${KFMIN}:5
65 + >=kde-frameworks/solid-${KFMIN}:5
66 +"
67 +RDEPEND="${DEPEND}"
68 +
69 +src_prepare() {
70 + ecm_src_prepare
71 + # kxmlgui, qtnetwork only required by dropbox
72 + ecm_punt_bogus_dep Qt5 Network
73 + ecm_punt_bogus_dep KF5 XmlGui
74 + # delete non-${PN} translations
75 + if [[ ${KDE_BUILD_TYPE} = release ]]; then
76 + find po -type f -name "*po" -and -not -name "*${MY_PLUGIN_NAME}plugin" -delete || die
77 + fi
78 +}
79 +
80 +src_configure() {
81 + local mycmakeargs=(
82 + -DBUILD_${MY_PLUGIN_NAME}=ON
83 + -DBUILD_bazaar=OFF
84 + -DBUILD_dropbox=OFF
85 + -DBUILD_git=OFF
86 + -DBUILD_hg=OFF
87 + -DBUILD_svn=OFF
88 + )
89 + ecm_src_configure
90 +}
91 +
92 +src_install() {
93 + ecm_src_install
94 + rm "${D}"/usr/share/metainfo/org.kde.dolphin-plugins.metainfo.xml || die
95 +}