| 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/lxlauncher/lxlauncher-0.2.1-r1.ebuild,v 1.2 2011/06/01 10:24:21 klausman Exp $ |
| 4 |
|
| 5 |
EAPI="1" |
| 6 |
|
| 7 |
inherit autotools eutils |
| 8 |
|
| 9 |
DESCRIPTION="An open source clone of the Asus launcher for EeePC" |
| 10 |
HOMEPAGE="http://lxde.sf.net/" |
| 11 |
SRC_URI="mirror://sourceforge/lxde/${P}.tar.gz" |
| 12 |
|
| 13 |
LICENSE="GPL-2" |
| 14 |
SLOT="0" |
| 15 |
KEYWORDS="~alpha ~amd64 ~ppc ~x86 ~x86-interix ~amd64-linux ~x86-linux" |
| 16 |
IUSE="" |
| 17 |
|
| 18 |
RDEPEND="dev-libs/glib:2 |
| 19 |
x11-libs/gtk+:2 |
| 20 |
gnome-base/gnome-menus |
| 21 |
x11-libs/startup-notification" |
| 22 |
DEPEND="${RDEPEND} |
| 23 |
virtual/pkgconfig |
| 24 |
dev-util/intltool |
| 25 |
sys-devel/gettext |
| 26 |
lxde-base/menu-cache |
| 27 |
!lxde-base/lxlauncher-gmenu" |
| 28 |
|
| 29 |
src_unpack() { |
| 30 |
unpack ${A} |
| 31 |
cd "${S}" |
| 32 |
|
| 33 |
epatch "${FILESDIR}"/${P}-intltool.patch |
| 34 |
epatch "${FILESDIR}"/${P}-fix-segfault.patch |
| 35 |
|
| 36 |
# Rerun autotools |
| 37 |
einfo "Regenerating autotools files..." |
| 38 |
eautoreconf |
| 39 |
} |
| 40 |
|
| 41 |
src_install() { |
| 42 |
emake DESTDIR="${D}" install || die "emake install failed" |
| 43 |
dodoc AUTHORS ChangeLog README |
| 44 |
} |