/[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.1 - (hide annotations) (download)
Sun Nov 9 11:20:48 2014 UTC (5 years, 8 months ago) by hwoarang
Branch: MAIN
Version bump. Thanks to tokiclover <tokiclover@gmail.com>. Bug #522854

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

1 hwoarang 1.1 # Copyright 1999-2014 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: net-misc/dhcpcd-ui/dhcpcd-ui-0.7.3.ebuild,v 1.2 2014/11/08 18:29:24 -tclover 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     )
50     econf "${myeconfargs[@]}"
51     }
52    
53     src_install()
54     {
55     emake DESTDIR="${D}" INSTALL_ROOT="${D}" install
56    
57     systemd_dounit src/dhcpcd-online/dhcpcd-wait-online.service
58     }

  ViewVC Help
Powered by ViewVC 1.1.20