summaryrefslogtreecommitdiff
blob: 8ed32a924780d211114da386486cd898feb325ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

GPE_TARBALL_SUFFIX="bz2"
inherit gpe autotools flag-o-matic

DESCRIPTION="${PN} for the GPE Palmtop Environment"
IUSE="${IUSE}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~arm ~amd64 ~x86"
RDEPEND="${RDEPEND}
	media-sound/esound
	media-libs/audiofile
	x11-libs/libXrandr
	gpe-xsession/xst
	gpe-base/libgpewidget"

src_unpack() {
	gpe_src_unpack

	sed -i -e s/libxsettings-client// configure.ac || die "no cookie for you"

	# Configure doesnt substitute this one
	sed -i -e 's;@INTLTOOL_ICONV@;/usr/bin/iconv;' intltool-merge.in \
		|| die "sed failed on iconv"

	sed -i -e 's;-lcrypt;-lcrypt -lXsettings-client;' Makefile.am \
		|| die "sed file on Makefile.in"
	eautoconf
}