blob: 4c4ddf886dfe371f8840997958d9f3a42cfc7ee0 (
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
38
39
40
41
42
43
44
45
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gebabbel/gebabbel-0.4.ebuild,v 1.4 2014/01/06 15:34:02 jlec Exp $
EAPI=4
MY_P=${P/g/G}
inherit eutils qt4-r2
DESCRIPTION="QT-Frontend to load and convert gps tracks with gpsbabel"
HOMEPAGE="http://gebabbel.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}-Src.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="
dev-qt/qtcore:4
dev-qt/qtgui:4[accessibility]
"
RDEPEND="${DEPEND}
sci-geosciences/gpsbabel
"
PATCHES=(
"${FILESDIR}"/${PN}-0.3-gcc45.patch
)
S=${WORKDIR}/${MY_P}
src_prepare() {
qt4-r2_src_prepare
# do not mess with cflags
sed \
-e "/QMAKE_CXXFLAGS/s:=.*$:= ${CXXFLAGS}:g" \
-i *.pro || die
}
src_install() {
dobin bin/${PN}
dodoc CHANGELOG CREDITS
}
|