summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-09-10 23:52:16 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-09-11 00:01:54 +0200
commit43f5c510450633d249f596fcc4f74255df76bb73 (patch)
treefc367f9a6775791a16490a092c793a9c05ae1b64 /net-misc/dhcpcd-ui
parentsys-apps/firejail: Restrict test (diff)
downloadgentoo-43f5c510450633d249f596fcc4f74255df76bb73.tar.gz
gentoo-43f5c510450633d249f596fcc4f74255df76bb73.tar.bz2
gentoo-43f5c510450633d249f596fcc4f74255df76bb73.zip
net-misc/dhcpcd-ui: Drop USE=qt4, fix DEPENDs, switch to https
Simplify and clarify REQUIRED_USE. Remove the last remaining reverse dependency of knotify:4 and also get rid of deprecated kdelibs4 dep. Gentoo-bug: 629018 Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'net-misc/dhcpcd-ui')
-rw-r--r--net-misc/dhcpcd-ui/dhcpcd-ui-0.7.5-r1.ebuild49
1 files changed, 21 insertions, 28 deletions
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
index 82d678f8c02d..a89c1a8d7012 100644
--- a/net-misc/dhcpcd-ui/dhcpcd-ui-0.7.5-r1.ebuild
+++ b/net-misc/dhcpcd-ui/dhcpcd-ui-0.7.5-r1.ebuild
@@ -3,53 +3,46 @@
EAPI=6
-inherit qmake-utils systemd
+inherit systemd
DESCRIPTION="Desktop notification and configuration for dhcpcd"
-HOMEPAGE="http://roy.marples.name/projects/dhcpcd-ui/"
-SRC_URI="http://roy.marples.name/downloads/${PN%-ui}/${P}.tar.bz2"
+HOMEPAGE="https://roy.marples.name/projects/dhcpcd-ui/"
+SRC_URI="https://roy.marples.name/downloads/${PN%-ui}/${P}.tar.bz2"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64 x86"
-IUSE="debug gtk gtk3 qt4 libnotify"
+IUSE="debug gtk gtk3 libnotify"
REQUIRED_USE="
- ?? ( gtk gtk3 qt4 )
- gtk3? ( !gtk )
- gtk? ( !gtk3 )"
+ ?? ( gtk gtk3 )
+ libnotify? ( || ( gtk gtk3 ) )"
DEPEND="
virtual/libintl
- libnotify? (
- gtk? ( x11-libs/libnotify )
- gtk3? ( x11-libs/libnotify )
- qt4? ( kde-frameworks/kdelibs:4 kde-apps/knotify:4 )
+ gtk? (
+ dev-libs/glib:2
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:2
)
- gtk? ( x11-libs/gtk+:2 )
- gtk3? ( x11-libs/gtk+:3 )
- qt4? ( dev-qt/qtgui:4 )"
-
-RDEPEND="
- >=net-misc/dhcpcd-6.4.4
- qt4? ( dev-qt/qtsvg:4 )"
-
-pkg_setup() {
- if use qt4 ; then
- # This is required in case a user still has qt3 installed
- export QTDIR="$(qt4_get_bindir)"
- fi
-}
+ gtk3? (
+ dev-libs/glib:2
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:3
+ )
+ libnotify? ( x11-libs/libnotify )"
+
+RDEPEND="${DEPEND}
+ >=net-misc/dhcpcd-6.4.4"
src_configure() {
local myeconfargs=(
+ --without-qt
$(use_enable debug)
$(usex gtk '--with-gtk=gtk+-2.0 --with-icons' '')
$(usex gtk3 '--with-gtk=gtk+-3.0 --with-icons' '')
- $(usex qt4 '--with-qt --with-icons' '--without-qt')
$(use_enable libnotify notification)
- $(use gtk || use gtk3 || echo '--without-gtk')
- $(use gtk || use gtk3 || use qt4 || echo '--without-icons')
+ $(use gtk || use gtk3 || echo '--without-icons --without-gtk')
)
econf "${myeconfargs[@]}"
}