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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sat Aug 25 00:03:51 2012 UTC (8 months, 3 weeks ago) by hwoarang
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Remove old LXDE packages

(Portage version: 2.1.11.11/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/lxde-base/lxpanel/lxpanel-0.5.9.ebuild,v 1.4 2012/06/11 18:40:13 hwoarang Exp $
4
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 KEYWORDS="~alpha ~amd64 ~arm ~ppc ~x86 ~x86-interix ~amd64-linux ~x86-linux"
15 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.8-dynamic-width.patch
32 epatch "${FILESDIR}"/${P}-sandbox.patch
33 #bug #415595
34 epatch "${FILESDIR}"/${P}-libwnck-check.patch
35 #bug #420583
36 sed -i "s:-Werror::" configure.ac || die
37 eautoreconf
38 }
39
40 src_configure() {
41 local plugins="netstatus,volume,cpu deskno,batt, \
42 kbled,xkb,thermal,cpufreq,monitors"
43 # wnckpager disabled per bug #415519
44 use wifi && plugins+=",netstat"
45 use alsa && plugins+=",volumealsa"
46 [[ ${CHOST} == *-interix* ]] && plugins=deskno,kbled,xkb
47
48 econf $(use_enable alsa) --with-x --with-plugins="${plugins}"
49 # the gtk+ dep already pulls in libX11, so we might as well hardcode with-x
50 }
51
52 src_install () {
53 emake DESTDIR="${D}" install
54 dodoc AUTHORS ChangeLog README
55
56 # Get rid of the .la files.
57 find "${D}" -name '*.la' -delete
58 }
59
60 pkg_postinst() {
61 elog "If you have problems with broken icons shown in the main panel,"
62 elog "you will have to configure panel settings via its menu."
63 elog "This will not be an issue with first time installations."
64 }

  ViewVC Help
Powered by ViewVC 1.1.13