You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-geosciences/gebabbel/gebabbel-0.4.ebuild

46 lines
768 B

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
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
}