1 |
commit: 0939970046ae25e079f7b6eef39bdd1d3328387b |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 26 16:24:25 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 26 16:30:48 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=09399700 |
7 |
|
8 |
app-cdr/dolphin-plugins-mountiso: New package |
9 |
|
10 |
Upstream commits: |
11 |
f7f2f62606f8cfa87ec23d5924b70d4b419234e1 |
12 |
f6f1a4808a8ff8e19b3f434479c473f4f9b48d07 |
13 |
|
14 |
Package-Manager: Portage-2.3.100, Repoman-2.3.22 |
15 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
16 |
|
17 |
.../dolphin-plugins-mountiso-9999.ebuild | 65 ++++++++++++++++++++++ |
18 |
app-cdr/dolphin-plugins-mountiso/metadata.xml | 8 +++ |
19 |
2 files changed, 73 insertions(+) |
20 |
|
21 |
diff --git a/app-cdr/dolphin-plugins-mountiso/dolphin-plugins-mountiso-9999.ebuild b/app-cdr/dolphin-plugins-mountiso/dolphin-plugins-mountiso-9999.ebuild |
22 |
new file mode 100644 |
23 |
index 0000000000..7327c4ffb6 |
24 |
--- /dev/null |
25 |
+++ b/app-cdr/dolphin-plugins-mountiso/dolphin-plugins-mountiso-9999.ebuild |
26 |
@@ -0,0 +1,65 @@ |
27 |
+# Copyright 1999-2020 Gentoo Authors |
28 |
+# Distributed under the terms of the GNU General Public License v2 |
29 |
+ |
30 |
+EAPI=7 |
31 |
+ |
32 |
+ECM_HANDBOOK="false" |
33 |
+KDE_RELEASE_SERVICE="true" |
34 |
+KDE_ORG_CATEGORY="sdk" |
35 |
+KDE_ORG_NAME="dolphin-plugins" |
36 |
+MY_PLUGIN_NAME="mountiso" |
37 |
+PVCUT=20.04.1 # TODO: back to $(ver_cut 1-3) after first release |
38 |
+KFMIN=5.70.0 |
39 |
+QTMIN=5.14.1 |
40 |
+inherit ecm kde.org |
41 |
+ |
42 |
+DESCRIPTION="Dolphin plugin for ISO loopback device mounting" |
43 |
+HOMEPAGE="https://kde.org/applications/system/org.kde.dolphin_plugins" |
44 |
+ |
45 |
+LICENSE="GPL-2" # TODO: CHECK |
46 |
+SLOT="5" |
47 |
+KEYWORDS="" |
48 |
+IUSE="" |
49 |
+ |
50 |
+DEPEND=" |
51 |
+ >=dev-qt/qtdbus-${QTMIN}:5 |
52 |
+ >=dev-qt/qtgui-${QTMIN}:5 |
53 |
+ >=dev-qt/qtwidgets-${QTMIN}:5 |
54 |
+ >=kde-apps/dolphin-${PVCUT}:5 |
55 |
+ >=kde-frameworks/kcompletion-${KFMIN}:5 |
56 |
+ >=kde-frameworks/kconfig-${KFMIN}:5 |
57 |
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5 |
58 |
+ >=kde-frameworks/ki18n-${KFMIN}:5 |
59 |
+ >=kde-frameworks/kio-${KFMIN}:5 |
60 |
+ >=kde-frameworks/ktextwidgets-${KFMIN}:5 |
61 |
+ >=kde-frameworks/solid-${KFMIN}:5 |
62 |
+" |
63 |
+RDEPEND="${DEPEND}" |
64 |
+ |
65 |
+src_prepare() { |
66 |
+ ecm_src_prepare |
67 |
+ # kxmlgui, qtnetwork only required by dropbox |
68 |
+ ecm_punt_bogus_dep Qt5 Network |
69 |
+ ecm_punt_bogus_dep KF5 XmlGui |
70 |
+ # delete non-${PN} translations |
71 |
+ if [[ ${KDE_BUILD_TYPE} = release ]]; then |
72 |
+ find po -type f -name "*po" -and -not -name "*${MY_PLUGIN_NAME}plugin" -delete || die |
73 |
+ fi |
74 |
+} |
75 |
+ |
76 |
+src_configure() { |
77 |
+ local mycmakeargs=( |
78 |
+ -DBUILD_${MY_PLUGIN_NAME}=ON |
79 |
+ -DBUILD_bazaar=OFF |
80 |
+ -DBUILD_dropbox=OFF |
81 |
+ -DBUILD_git=OFF |
82 |
+ -DBUILD_hg=OFF |
83 |
+ -DBUILD_svn=OFF |
84 |
+ ) |
85 |
+ ecm_src_configure |
86 |
+} |
87 |
+ |
88 |
+src_install() { |
89 |
+ ecm_src_install |
90 |
+ rm "${D}"/usr/share/metainfo/org.kde.dolphin-plugins.metainfo.xml || die |
91 |
+} |
92 |
|
93 |
diff --git a/app-cdr/dolphin-plugins-mountiso/metadata.xml b/app-cdr/dolphin-plugins-mountiso/metadata.xml |
94 |
new file mode 100644 |
95 |
index 0000000000..2fdbf33d96 |
96 |
--- /dev/null |
97 |
+++ b/app-cdr/dolphin-plugins-mountiso/metadata.xml |
98 |
@@ -0,0 +1,8 @@ |
99 |
+<?xml version="1.0" encoding="UTF-8"?> |
100 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
101 |
+<pkgmetadata> |
102 |
+ <maintainer type="project"> |
103 |
+ <email>kde@g.o</email> |
104 |
+ <name>Gentoo KDE Project</name> |
105 |
+ </maintainer> |
106 |
+</pkgmetadata> |