summaryrefslogtreecommitdiff
blob: e8e7c1151577b7957635aa5af8a58037dac3791e (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-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils gpe

DESCRIPTION="A Go Board for the GPE Palmtop Environment"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~arm ~amd64 ~x86"

#DOCS="NEWS"

RDEPEND="${RDEPEND}
	>=gpe-base/libgpewidget-0.102
	gpe-base/libgpelaunch"

DEPEND="${DEPEND}
	${RDEPEND}"

src_unpack() {
	gpe_src_unpack "$@"
	for x in $(find "${S}" -name '*.c') ; do
		sed -i -e s@'#include <gpe/render.h>'@@ ${x}
	done
	# this patch is in upstream svn.
	epatch "${FILESDIR}"/cairo-fixes.patch

	# FIXME better.
	# miknix: nls not supported on this pkg
	sed -i -e 's;include $(BUILD)/Makefile.translation;;' Makefile
}