summaryrefslogtreecommitdiff
blob: 29c669cd87423dbb08060bf7757799b0a4e48966 (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
34
35
36
37
# 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 eutils

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"

GPECONF=""
src_unpack() {
	gpe_src_unpack

	epatch "${FILESDIR}"/svn-shutdown.patch

	# this sed is fixed in svn.
	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
}