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

GPE_TARBALL_SUFFIX="gz"
GPE_MIRROR="http://gpe.linuxtogo.org/download/source"
inherit eutils gpe flag-o-matic

DESCRIPTION="GPE audio Recorder"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~arm ~amd64 ~x86"
RDEPEND="${RDEPEND} gpe-base/libgpewidget"
DEPEND="gnome-base/libglade gpe-base/libgpewidget gpe-xsession/gpe-soundserver x11-libs/gtk+"



src_compile() {
	local dfile

	append-ldflags -Wl,--export-dynamic
	gpe_src_compile "$@"
	# miknix: This packages doesn't currrently support autotools
	for dfile in *.desktop.in; do
		sed -i -e 's/^_//' "$dfile" || die "desktop sed fail"
		mv -f "${dfile}" "$(echo $dfile | sed -e 's;.desktop.in;.desktop;')" \
			|| die "fail to mv $dfile"
	done
	# miknix: nls not supported on this pkg
	sed -i -e 's;include $(BUILD)/Makefile.translation;;' Makefile \
		|| die "Makefile sed fail"
}