/[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.3 - (show annotations) (download)
Tue Nov 11 17:51:31 2014 UTC (5 years, 8 months ago) by hwoarang
Branch: MAIN
Changes since 1.2: +2 -2 lines
Set the icons useflag enabled by default

(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.2 2014/11/10 20:09:55 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 +icons qt4 libnotify"
17 REQUIRED_USE="|| ( gtk gtk3 qt4 )
18 gtk3? ( !gtk ) gtk? ( !gtk3 )
19 qt4? ( icons )"
20
21 DEPEND="${DEPEND}
22 virtual/libintl
23 libnotify? (
24 gtk? ( x11-libs/libnotify )
25 gtk3? ( x11-libs/libnotify )
26 qt4? ( kde-base/kdelibs )
27 )
28 gtk? ( x11-libs/gtk+:2 )
29 gtk3? ( x11-libs/gtk+:3 )
30 qt4? ( dev-qt/qtgui:4 )"
31
32 RDEPEND=">=net-misc/dhcpcd-6.4.4
33 !icons? ( x11-themes/hicolor-icon-theme )"
34
35 src_prepare()
36 {
37 epatch_user
38 }
39
40 src_configure()
41 {
42 local myeconfargs=(
43 $(use_enable debug)
44 $(use_with icons)
45 $(usex gtk '--with-gtk=gtk+-2.0' '')
46 $(usex gtk3 '--with-gtk=gtk+-3.0' '')
47 $(use_with qt4 qt)
48 $(use_enable libnotify notification)
49 $(use gtk || use gtk3 || echo '--without-gtk')
50 )
51 econf "${myeconfargs[@]}"
52 }
53
54 src_install()
55 {
56 emake DESTDIR="${D}" INSTALL_ROOT="${D}" install
57
58 systemd_dounit src/dhcpcd-online/dhcpcd-wait-online.service
59 }

  ViewVC Help
Powered by ViewVC 1.1.20