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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Fri Jul 31 14:34:24 2015 UTC (4 years, 6 months ago) by idella4
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -3 lines
remove unneeded edit of .desktop file of last commit

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)

1 idella4 1.1 # Copyright 1999-2015 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 idella4 1.2 # $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd-ui/dhcpcd-ui-0.7.5.ebuild,v 1.1 2015/07/31 02:51:37 idella4 Exp $
4 idella4 1.1
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    
18     REQUIRED_USE="
19     ?? ( gtk gtk3 qt4 )
20     gtk3? ( !gtk )
21     gtk? ( !gtk3 )"
22    
23     DEPEND="${DEPEND}
24     virtual/libintl
25     libnotify? (
26     gtk? ( x11-libs/libnotify )
27     gtk3? ( x11-libs/libnotify )
28     qt4? ( kde-base/kdelibs )
29     )
30     gtk? ( x11-libs/gtk+:2 )
31     gtk3? ( x11-libs/gtk+:3 )
32     qt4? ( dev-qt/qtgui:4 )"
33    
34     RDEPEND=">=net-misc/dhcpcd-6.4.4"
35    
36     src_prepare() {
37     epatch_user
38     }
39    
40     src_configure() {
41     local myeconfargs=(
42     $(use_enable debug)
43     $(usex gtk '--with-gtk=gtk+-2.0 --with-icons' '')
44     $(usex gtk3 '--with-gtk=gtk+-3.0 --with-icons' '')
45     $(usex qt4 '--with-qt --with-icons' '--without-qt')
46     $(use_enable libnotify notification)
47     $(use gtk || use gtk3 || echo '--without-gtk')
48     $(use gtk || use gtk3 || use qt4 || echo '--without-icons')
49     )
50     econf "${myeconfargs[@]}"
51     }
52    
53     src_install() {
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