1 |
commit: 43f5c510450633d249f596fcc4f74255df76bb73 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 10 21:52:16 2017 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 10 22:01:54 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43f5c510 |
7 |
|
8 |
net-misc/dhcpcd-ui: Drop USE=qt4, fix DEPENDs, switch to https |
9 |
|
10 |
Simplify and clarify REQUIRED_USE. |
11 |
|
12 |
Remove the last remaining reverse dependency of knotify:4 and also |
13 |
get rid of deprecated kdelibs4 dep. |
14 |
|
15 |
Gentoo-bug: 629018 |
16 |
Package-Manager: Portage-2.3.8, Repoman-2.3.3 |
17 |
|
18 |
net-misc/dhcpcd-ui/dhcpcd-ui-0.7.5-r1.ebuild | 49 ++++++++++++---------------- |
19 |
1 file changed, 21 insertions(+), 28 deletions(-) |
20 |
|
21 |
diff --git a/net-misc/dhcpcd-ui/dhcpcd-ui-0.7.5-r1.ebuild b/net-misc/dhcpcd-ui/dhcpcd-ui-0.7.5-r1.ebuild |
22 |
index 82d678f8c02..a89c1a8d701 100644 |
23 |
--- a/net-misc/dhcpcd-ui/dhcpcd-ui-0.7.5-r1.ebuild |
24 |
+++ b/net-misc/dhcpcd-ui/dhcpcd-ui-0.7.5-r1.ebuild |
25 |
@@ -3,53 +3,46 @@ |
26 |
|
27 |
EAPI=6 |
28 |
|
29 |
-inherit qmake-utils systemd |
30 |
+inherit systemd |
31 |
|
32 |
DESCRIPTION="Desktop notification and configuration for dhcpcd" |
33 |
-HOMEPAGE="http://roy.marples.name/projects/dhcpcd-ui/" |
34 |
-SRC_URI="http://roy.marples.name/downloads/${PN%-ui}/${P}.tar.bz2" |
35 |
+HOMEPAGE="https://roy.marples.name/projects/dhcpcd-ui/" |
36 |
+SRC_URI="https://roy.marples.name/downloads/${PN%-ui}/${P}.tar.bz2" |
37 |
|
38 |
LICENSE="BSD-2" |
39 |
SLOT="0" |
40 |
KEYWORDS="amd64 x86" |
41 |
-IUSE="debug gtk gtk3 qt4 libnotify" |
42 |
+IUSE="debug gtk gtk3 libnotify" |
43 |
|
44 |
REQUIRED_USE=" |
45 |
- ?? ( gtk gtk3 qt4 ) |
46 |
- gtk3? ( !gtk ) |
47 |
- gtk? ( !gtk3 )" |
48 |
+ ?? ( gtk gtk3 ) |
49 |
+ libnotify? ( || ( gtk gtk3 ) )" |
50 |
|
51 |
DEPEND=" |
52 |
virtual/libintl |
53 |
- libnotify? ( |
54 |
- gtk? ( x11-libs/libnotify ) |
55 |
- gtk3? ( x11-libs/libnotify ) |
56 |
- qt4? ( kde-frameworks/kdelibs:4 kde-apps/knotify:4 ) |
57 |
+ gtk? ( |
58 |
+ dev-libs/glib:2 |
59 |
+ x11-libs/gdk-pixbuf:2 |
60 |
+ x11-libs/gtk+:2 |
61 |
) |
62 |
- gtk? ( x11-libs/gtk+:2 ) |
63 |
- gtk3? ( x11-libs/gtk+:3 ) |
64 |
- qt4? ( dev-qt/qtgui:4 )" |
65 |
- |
66 |
-RDEPEND=" |
67 |
- >=net-misc/dhcpcd-6.4.4 |
68 |
- qt4? ( dev-qt/qtsvg:4 )" |
69 |
- |
70 |
-pkg_setup() { |
71 |
- if use qt4 ; then |
72 |
- # This is required in case a user still has qt3 installed |
73 |
- export QTDIR="$(qt4_get_bindir)" |
74 |
- fi |
75 |
-} |
76 |
+ gtk3? ( |
77 |
+ dev-libs/glib:2 |
78 |
+ x11-libs/gdk-pixbuf:2 |
79 |
+ x11-libs/gtk+:3 |
80 |
+ ) |
81 |
+ libnotify? ( x11-libs/libnotify )" |
82 |
+ |
83 |
+RDEPEND="${DEPEND} |
84 |
+ >=net-misc/dhcpcd-6.4.4" |
85 |
|
86 |
src_configure() { |
87 |
local myeconfargs=( |
88 |
+ --without-qt |
89 |
$(use_enable debug) |
90 |
$(usex gtk '--with-gtk=gtk+-2.0 --with-icons' '') |
91 |
$(usex gtk3 '--with-gtk=gtk+-3.0 --with-icons' '') |
92 |
- $(usex qt4 '--with-qt --with-icons' '--without-qt') |
93 |
$(use_enable libnotify notification) |
94 |
- $(use gtk || use gtk3 || echo '--without-gtk') |
95 |
- $(use gtk || use gtk3 || use qt4 || echo '--without-icons') |
96 |
+ $(use gtk || use gtk3 || echo '--without-icons --without-gtk') |
97 |
) |
98 |
econf "${myeconfargs[@]}" |
99 |
} |