1 |
commit: d29f10cd4a08c84ec7ddb1b41aaa75841110b392 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 25 16:13:21 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 25 16:13:21 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d29f10cd |
7 |
|
8 |
net-nntp/kwooty: Port to ecm.eclass and kde.org.eclass |
9 |
|
10 |
Package-Manager: Portage-2.3.83, Repoman-2.3.20 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
net-nntp/kwooty/kwooty-1.1.0_p20150623.ebuild | 49 ++++++++++++++------------- |
14 |
1 file changed, 26 insertions(+), 23 deletions(-) |
15 |
|
16 |
diff --git a/net-nntp/kwooty/kwooty-1.1.0_p20150623.ebuild b/net-nntp/kwooty/kwooty-1.1.0_p20150623.ebuild |
17 |
index 84d6fd0af91..4a823553b9a 100644 |
18 |
--- a/net-nntp/kwooty/kwooty-1.1.0_p20150623.ebuild |
19 |
+++ b/net-nntp/kwooty/kwooty-1.1.0_p20150623.ebuild |
20 |
@@ -3,36 +3,39 @@ |
21 |
|
22 |
EAPI=7 |
23 |
|
24 |
-inherit kde5 |
25 |
+KFMIN=5.60.0 |
26 |
+QTMIN=5.12.3 |
27 |
+inherit ecm kde.org |
28 |
|
29 |
DESCRIPTION="Friendly nzb linux usenet binary client" |
30 |
HOMEPAGE="https://www.linux-apps.com/content/show.php/Kwooty?content=114385" |
31 |
SRC_URI="https://dev.gentoo.org/~kensington/distfiles/${P}.tar.xz" |
32 |
|
33 |
LICENSE="GPL-2+" |
34 |
+SLOT="5" |
35 |
KEYWORDS="~amd64 ~x86" |
36 |
IUSE="" |
37 |
|
38 |
DEPEND=" |
39 |
- $(add_frameworks_dep kcmutils) |
40 |
- $(add_frameworks_dep kconfig) |
41 |
- $(add_frameworks_dep kconfigwidgets) |
42 |
- $(add_frameworks_dep kcoreaddons) |
43 |
- $(add_frameworks_dep kdelibs4support) |
44 |
- $(add_frameworks_dep kguiaddons) |
45 |
- $(add_frameworks_dep ki18n) |
46 |
- $(add_frameworks_dep kiconthemes) |
47 |
- $(add_frameworks_dep kio) |
48 |
- $(add_frameworks_dep knotifications) |
49 |
- $(add_frameworks_dep kservice) |
50 |
- $(add_frameworks_dep kwallet) |
51 |
- $(add_frameworks_dep kwidgetsaddons) |
52 |
- $(add_frameworks_dep kwindowsystem) |
53 |
- $(add_frameworks_dep kxmlgui) |
54 |
- $(add_qt_dep qtdbus) |
55 |
- $(add_qt_dep qtgui) |
56 |
- $(add_qt_dep qtnetwork) |
57 |
- $(add_qt_dep qtwidgets) |
58 |
+ >=dev-qt/qtdbus-${QTMIN}:5 |
59 |
+ >=dev-qt/qtgui-${QTMIN}:5 |
60 |
+ >=dev-qt/qtnetwork-${QTMIN}:5 |
61 |
+ >=dev-qt/qtwidgets-${QTMIN}:5 |
62 |
+ >=kde-frameworks/kcmutils-${KFMIN}:5 |
63 |
+ >=kde-frameworks/kconfig-${KFMIN}:5 |
64 |
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5 |
65 |
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5 |
66 |
+ >=kde-frameworks/kdelibs4support-${KFMIN}:5 |
67 |
+ >=kde-frameworks/kguiaddons-${KFMIN}:5 |
68 |
+ >=kde-frameworks/ki18n-${KFMIN}:5 |
69 |
+ >=kde-frameworks/kiconthemes-${KFMIN}:5 |
70 |
+ >=kde-frameworks/kio-${KFMIN}:5 |
71 |
+ >=kde-frameworks/knotifications-${KFMIN}:5 |
72 |
+ >=kde-frameworks/kservice-${KFMIN}:5 |
73 |
+ >=kde-frameworks/kwallet-${KFMIN}:5 |
74 |
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 |
75 |
+ >=kde-frameworks/kwindowsystem-${KFMIN}:5 |
76 |
+ >=kde-frameworks/kxmlgui-${KFMIN}:5 |
77 |
" |
78 |
RDEPEND="${DEPEND} |
79 |
!net-nntp/kwooty:4 |
80 |
@@ -41,12 +44,12 @@ RDEPEND="${DEPEND} |
81 |
PATCHES=( "${FILESDIR}/${P}-dep.patch" ) |
82 |
|
83 |
src_prepare() { |
84 |
- kde5_src_prepare |
85 |
- punt_bogus_dep KF5 DocTools |
86 |
+ ecm_src_prepare |
87 |
+ ecm_punt_bogus_dep KF5 DocTools |
88 |
} |
89 |
|
90 |
pkg_postinst() { |
91 |
- kde5_pkg_postinst |
92 |
+ ecm_pkg_postinst |
93 |
|
94 |
if ! has_version "app-arch/par2cmdline" ; then |
95 |
elog "For automatic file repairing please install app-arch/par2cmdline." |