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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.4 Revision 1.5
1# Copyright 1999-2014 Gentoo Foundation 1# Copyright 1999-2014 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 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.4 2014/11/12 19:28:24 hwoarang Exp $ 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 4
5EAPI=5 5EAPI=5
6 6
7inherit eutils systemd 7inherit eutils systemd
8 8
11SRC_URI="http://roy.marples.name/downloads/${PN%-ui}/${P}.tar.bz2" 11SRC_URI="http://roy.marples.name/downloads/${PN%-ui}/${P}.tar.bz2"
12 12
13LICENSE="BSD-2" 13LICENSE="BSD-2"
14SLOT="0" 14SLOT="0"
15KEYWORDS="~amd64 ~x86" 15KEYWORDS="~amd64 ~x86"
16IUSE="debug gtk gtk3 +icons qt4 libnotify" 16IUSE="debug gtk gtk3 qt4 libnotify"
17REQUIRED_USE="?? ( gtk gtk3 qt4 ) 17REQUIRED_USE="?? ( gtk gtk3 qt4 )
18 gtk3? ( !gtk ) gtk? ( !gtk3 ) 18 gtk3? ( !gtk ) gtk? ( !gtk3 )"
19 icons? ( || ( gtk gtk3 qt4 ) )"
20 19
21DEPEND="${DEPEND} 20DEPEND="${DEPEND}
22 virtual/libintl 21 virtual/libintl
23 libnotify? ( 22 libnotify? (
24 gtk? ( x11-libs/libnotify ) 23 gtk? ( x11-libs/libnotify )
27 ) 26 )
28 gtk? ( x11-libs/gtk+:2 ) 27 gtk? ( x11-libs/gtk+:2 )
29 gtk3? ( x11-libs/gtk+:3 ) 28 gtk3? ( x11-libs/gtk+:3 )
30 qt4? ( dev-qt/qtgui:4 )" 29 qt4? ( dev-qt/qtgui:4 )"
31 30
32RDEPEND=">=net-misc/dhcpcd-6.4.4 31RDEPEND=">=net-misc/dhcpcd-6.4.4"
33 !icons? ( x11-themes/hicolor-icon-theme )"
34 32
35src_prepare() 33src_prepare()
36{ 34{
37 epatch_user 35 epatch_user
38} 36}
39 37
40src_configure() 38src_configure()
41{ 39{
42 local myeconfargs=( 40 local myeconfargs=(
43 $(use_enable debug) 41 $(use_enable debug)
44 $(use_with icons)
45 $(usex gtk '--with-gtk=gtk+-2.0' '') 42 $(usex gtk '--with-gtk=gtk+-2.0 --with-icons' '')
46 $(usex gtk3 '--with-gtk=gtk+-3.0' '') 43 $(usex gtk3 '--with-gtk=gtk+-3.0 --with-icons' '')
47 $(use_with qt4 qt) 44 $(usex qt4 '--with-qt --with-icons' '')
48 $(use_enable libnotify notification) 45 $(use_enable libnotify notification)
49 $(use gtk || use gtk3 || echo '--without-gtk') 46 $(use gtk || use gtk3 || echo '--without-gtk')
47 $(use gtk || use gtk3 || use qt4 || echo '--without-icons')
50 ) 48 )
51 econf "${myeconfargs[@]}" 49 econf "${myeconfargs[@]}"
52} 50}
53 51
54src_install() 52src_install()

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.20