1 |
commit: c2b436389502dd2ebdf01aa55de6ae8423e6e516 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 13 01:49:54 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 12 10:22:51 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2b43638 |
7 |
|
8 |
net-misc/smb4k: Port to ecm.eclass and kde.org.eclass |
9 |
|
10 |
Package-Manager: Portage-2.3.79, Repoman-2.3.18 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
net-misc/smb4k/smb4k-3.0.2.ebuild | 64 +++++++++++++++++++++------------------ |
14 |
1 file changed, 34 insertions(+), 30 deletions(-) |
15 |
|
16 |
diff --git a/net-misc/smb4k/smb4k-3.0.2.ebuild b/net-misc/smb4k/smb4k-3.0.2.ebuild |
17 |
index 3d15898cf82..e0e0813da5a 100644 |
18 |
--- a/net-misc/smb4k/smb4k-3.0.2.ebuild |
19 |
+++ b/net-misc/smb4k/smb4k-3.0.2.ebuild |
20 |
@@ -3,11 +3,14 @@ |
21 |
|
22 |
EAPI=7 |
23 |
|
24 |
-KDE_HANDBOOK="forceoptional" |
25 |
-inherit kde5 |
26 |
+ECM_HANDBOOK="forceoptional" |
27 |
+KFMIN=5.60.0 |
28 |
+QTMIN=5.12.3 |
29 |
+inherit ecm kde.org |
30 |
|
31 |
DESCRIPTION="Advanced network neighborhood browser" |
32 |
-HOMEPAGE="https://sourceforge.net/p/smb4k/home/Home/" |
33 |
+HOMEPAGE="https://kde.org/applications/utilities/org.kde.smb4k |
34 |
+https://sourceforge.net/p/smb4k/home/Home/" |
35 |
|
36 |
if [[ ${KDE_BUILD_TYPE} = release ]]; then |
37 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz" |
38 |
@@ -15,38 +18,39 @@ if [[ ${KDE_BUILD_TYPE} = release ]]; then |
39 |
fi |
40 |
|
41 |
LICENSE="GPL-2" |
42 |
+SLOT="5" |
43 |
IUSE="plasma" |
44 |
|
45 |
DEPEND=" |
46 |
- $(add_frameworks_dep kauth) |
47 |
- $(add_frameworks_dep kcompletion) |
48 |
- $(add_frameworks_dep kconfig) |
49 |
- $(add_frameworks_dep kconfigwidgets) |
50 |
- $(add_frameworks_dep kcoreaddons) |
51 |
- $(add_frameworks_dep kcrash) |
52 |
- $(add_frameworks_dep kdbusaddons) |
53 |
- $(add_frameworks_dep ki18n) |
54 |
- $(add_frameworks_dep kiconthemes) |
55 |
- $(add_frameworks_dep kio) |
56 |
- $(add_frameworks_dep kjobwidgets) |
57 |
- $(add_frameworks_dep knotifications) |
58 |
- $(add_frameworks_dep kwallet) |
59 |
- $(add_frameworks_dep kwidgetsaddons) |
60 |
- $(add_frameworks_dep kwindowsystem) |
61 |
- $(add_frameworks_dep kxmlgui) |
62 |
- $(add_frameworks_dep solid) |
63 |
- $(add_qt_dep qtdeclarative) |
64 |
- $(add_qt_dep qtgui) |
65 |
- $(add_qt_dep qtnetwork) |
66 |
- $(add_qt_dep qtprintsupport) |
67 |
- $(add_qt_dep qttest) |
68 |
- $(add_qt_dep qtwidgets) |
69 |
+ >=dev-qt/qtdeclarative-${QTMIN}:5 |
70 |
+ >=dev-qt/qtgui-${QTMIN}:5 |
71 |
+ >=dev-qt/qtnetwork-${QTMIN}:5 |
72 |
+ >=dev-qt/qtprintsupport-${QTMIN}:5 |
73 |
+ >=dev-qt/qttest-${QTMIN}:5 |
74 |
+ >=dev-qt/qtwidgets-${QTMIN}:5 |
75 |
+ >=kde-frameworks/kauth-${KFMIN}:5 |
76 |
+ >=kde-frameworks/kcompletion-${KFMIN}:5 |
77 |
+ >=kde-frameworks/kconfig-${KFMIN}:5 |
78 |
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5 |
79 |
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5 |
80 |
+ >=kde-frameworks/kcrash-${KFMIN}:5 |
81 |
+ >=kde-frameworks/kdbusaddons-${KFMIN}:5 |
82 |
+ >=kde-frameworks/ki18n-${KFMIN}:5 |
83 |
+ >=kde-frameworks/kiconthemes-${KFMIN}:5 |
84 |
+ >=kde-frameworks/kio-${KFMIN}:5 |
85 |
+ >=kde-frameworks/kjobwidgets-${KFMIN}:5 |
86 |
+ >=kde-frameworks/knotifications-${KFMIN}:5 |
87 |
+ >=kde-frameworks/kwallet-${KFMIN}:5 |
88 |
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 |
89 |
+ >=kde-frameworks/kwindowsystem-${KFMIN}:5 |
90 |
+ >=kde-frameworks/kxmlgui-${KFMIN}:5 |
91 |
+ >=kde-frameworks/solid-${KFMIN}:5 |
92 |
net-fs/samba[cups] |
93 |
" |
94 |
RDEPEND="${DEPEND} |
95 |
plasma? ( |
96 |
- $(add_frameworks_dep plasma) |
97 |
- $(add_qt_dep qtquickcontrols2) |
98 |
+ >=dev-qt/qtquickcontrols2-${QTMIN}:5 |
99 |
+ >=kde-frameworks/plasma-${KFMIN}:5 |
100 |
) |
101 |
" |
102 |
|
103 |
@@ -54,11 +58,11 @@ src_configure(){ |
104 |
local mycmakeargs=( |
105 |
-DINSTALL_PLASMOID=$(usex plasma) |
106 |
) |
107 |
- kde5_src_configure |
108 |
+ ecm_src_configure |
109 |
} |
110 |
|
111 |
pkg_postinst() { |
112 |
- kde5_pkg_postinst |
113 |
+ ecm_pkg_postinst |
114 |
elog "Users of Samba 4.7 and above please note that for the time being," |
115 |
elog "the following setting has to be added to or changed in the [global]" |
116 |
elog "section of the smb.conf file:" |