/[gentoo-x86]/lxde-base/lxpanel/lxpanel-0.5.10.ebuild
Gentoo

Contents of /lxde-base/lxpanel/lxpanel-0.5.10.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Thu Aug 9 13:27:27 2012 UTC (3 years ago) by blueness
Branch: MAIN
Changes since 1.1: +2 -2 lines
Stable ppc, bug #430494

(Portage version: 2.1.10.65/cvs/Linux x86_64)

1 hwoarang 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 blueness 1.2 # $Header: /var/cvsroot/gentoo-x86/lxde-base/lxpanel/lxpanel-0.5.10.ebuild,v 1.1 2012/06/20 20:56:05 hwoarang Exp $
4 hwoarang 1.1
5     EAPI="4"
6    
7     inherit autotools eutils
8    
9     DESCRIPTION="Lightweight X11 desktop panel for LXDE"
10     HOMEPAGE="http://lxde.org/"
11     SRC_URI="mirror://sourceforge/lxde/LXPanel%20%28desktop%20panel%29/LXPanel%20${PV}/${P}.tar.gz"
12    
13     LICENSE="GPL-2"
14 blueness 1.2 KEYWORDS="~alpha ~amd64 ~arm ppc ~x86 ~x86-interix ~amd64-linux ~x86-linux"
15 hwoarang 1.1 SLOT="0"
16     IUSE="+alsa wifi"
17     RESTRICT="test" # bug 249598
18    
19     RDEPEND="x11-libs/gtk+:2
20     x11-libs/libXmu
21     x11-libs/libXpm
22     lxde-base/lxmenu-data
23     lxde-base/menu-cache
24     alsa? ( media-libs/alsa-lib )
25     wifi? ( net-wireless/wireless-tools )"
26     DEPEND="${RDEPEND}
27     virtual/pkgconfig
28     sys-devel/gettext"
29    
30     src_prepare() {
31     epatch "${FILESDIR}"/${PN}-0.5.9-sandbox.patch
32     #bug #415595
33     epatch "${FILESDIR}"/${PN}-0.5.9-libwnck-check.patch
34     #bug #420583
35     sed -i "s:-Werror::" configure.ac || die
36     eautoreconf
37     }
38    
39     src_configure() {
40     local plugins="netstatus,volume,cpu deskno,batt, \
41     kbled,xkb,thermal,cpufreq,monitors"
42     # wnckpager disabled per bug #415519
43     use wifi && plugins+=",netstat"
44     use alsa && plugins+=",volumealsa"
45     [[ ${CHOST} == *-interix* ]] && plugins=deskno,kbled,xkb
46    
47     econf $(use_enable alsa) --with-x --with-plugins="${plugins}"
48     # the gtk+ dep already pulls in libX11, so we might as well hardcode with-x
49     }
50    
51     src_install () {
52     emake DESTDIR="${D}" install
53     dodoc AUTHORS ChangeLog README
54    
55     # Get rid of the .la files.
56     find "${D}" -name '*.la' -delete
57     }
58    
59     pkg_postinst() {
60     elog "If you have problems with broken icons shown in the main panel,"
61     elog "you will have to configure panel settings via its menu."
62     elog "This will not be an issue with first time installations."
63     }

  ViewVC Help
Powered by ViewVC 1.1.20