/[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.8 - (show annotations) (download)
Sat May 11 18:52:30 2013 UTC (14 months, 1 week ago) by hwoarang
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
remove old

(Portage version: 2.2.0_alpha169/cvs/Linux x86_64, signed Manifest commit with key B4AFF2C2)

1 # Copyright 1999-2013 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.10.ebuild,v 1.7 2013/03/07 21:16:18 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 x11-libs/cairo
23 x11-libs/gdk-pixbuf
24 x11-libs/libX11
25 lxde-base/lxmenu-data
26 lxde-base/menu-cache
27 alsa? ( media-libs/alsa-lib )
28 wifi? ( net-wireless/wireless-tools )"
29 DEPEND="${RDEPEND}
30 virtual/pkgconfig
31 sys-devel/gettext"
32
33 src_prepare() {
34 epatch "${FILESDIR}"/${PN}-0.5.9-sandbox.patch
35 #bug #415595
36 epatch "${FILESDIR}"/${PN}-0.5.9-libwnck-check.patch
37 #bug #420583
38 sed -i "s:-Werror::" configure.ac || die
39 #bug #367659
40 epatch "${FILESDIR}"/${PN}-0.5.10-libgmodule-underlinking.patch
41 eautoreconf
42 }
43
44 src_configure() {
45 local plugins="netstatus,volume,cpu deskno,batt, \
46 kbled,xkb,thermal,cpufreq,monitors"
47 # wnckpager disabled per bug #415519
48 use wifi && plugins+=",netstat"
49 use alsa && plugins+=",volumealsa"
50 [[ ${CHOST} == *-interix* ]] && plugins=deskno,kbled,xkb
51
52 econf $(use_enable alsa) --with-x --with-plugins="${plugins}"
53 # the gtk+ dep already pulls in libX11, so we might as well hardcode with-x
54 }
55
56 src_install () {
57 emake DESTDIR="${D}" install
58 dodoc AUTHORS ChangeLog README
59
60 # Get rid of the .la files.
61 find "${D}" -name '*.la' -delete
62 }
63
64 pkg_postinst() {
65 elog "If you have problems with broken icons shown in the main panel,"
66 elog "you will have to configure panel settings via its menu."
67 elog "This will not be an issue with first time installations."
68 }

  ViewVC Help
Powered by ViewVC 1.1.20