/[gentoo-x86]/net-misc/dhcpcd-ui/dhcpcd-ui-0.7.4.ebuild
Gentoo

Contents of /net-misc/dhcpcd-ui/dhcpcd-ui-0.7.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Thu Nov 13 17:11:35 2014 UTC (5 years, 7 months ago) by hwoarang
Branch: MAIN
Changes since 1.5: +2 -2 lines
Really disable Qt4 UI for IUSE=-qt4

(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 09BF4F54C2BA7F3C!)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd-ui/dhcpcd-ui-0.7.4.ebuild,v 1.5 2014/11/13 17:07:38 hwoarang Exp $
4
5 EAPI=5
6
7 inherit eutils systemd
8
9 DESCRIPTION="Desktop notification and configuration for dhcpcd"
10 HOMEPAGE="http://roy.marples.name/projects/dhcpcd-ui/"
11 SRC_URI="http://roy.marples.name/downloads/${PN%-ui}/${P}.tar.bz2"
12
13 LICENSE="BSD-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="debug gtk gtk3 qt4 libnotify"
17 REQUIRED_USE="?? ( gtk gtk3 qt4 )
18 gtk3? ( !gtk ) gtk? ( !gtk3 )"
19
20 DEPEND="${DEPEND}
21 virtual/libintl
22 libnotify? (
23 gtk? ( x11-libs/libnotify )
24 gtk3? ( x11-libs/libnotify )
25 qt4? ( kde-base/kdelibs )
26 )
27 gtk? ( x11-libs/gtk+:2 )
28 gtk3? ( x11-libs/gtk+:3 )
29 qt4? ( dev-qt/qtgui:4 )"
30
31 RDEPEND=">=net-misc/dhcpcd-6.4.4"
32
33 src_prepare()
34 {
35 epatch_user
36 }
37
38 src_configure()
39 {
40 local myeconfargs=(
41 $(use_enable debug)
42 $(usex gtk '--with-gtk=gtk+-2.0 --with-icons' '')
43 $(usex gtk3 '--with-gtk=gtk+-3.0 --with-icons' '')
44 $(usex qt4 '--with-qt --with-icons' '--without-qt')
45 $(use_enable libnotify notification)
46 $(use gtk || use gtk3 || echo '--without-gtk')
47 $(use gtk || use gtk3 || use qt4 || echo '--without-icons')
48 )
49 econf "${myeconfargs[@]}"
50 }
51
52 src_install()
53 {
54 emake DESTDIR="${D}" INSTALL_ROOT="${D}" install
55
56 systemd_dounit src/dhcpcd-online/dhcpcd-wait-online.service
57 }

  ViewVC Help
Powered by ViewVC 1.1.20