summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Kapusta <ayoy@gentoo.org>2009-09-30 16:39:13 +0000
committerDominik Kapusta <ayoy@gentoo.org>2009-09-30 16:39:13 +0000
commitdca821f98f769fc8afdecb57de7899c1f4958314 (patch)
tree3840e7e68be7f924af85f0244cf6757b7d0b95c4 /sci-geosciences
parentAdd ~alpha/~ia64/~sparc wrt #284166 (diff)
downloadgentoo-2-dca821f98f769fc8afdecb57de7899c1f4958314.tar.gz
gentoo-2-dca821f98f769fc8afdecb57de7899c1f4958314.tar.bz2
gentoo-2-dca821f98f769fc8afdecb57de7899c1f4958314.zip
Removed obsolete QT_BUILT_WITH_USE and the dependency on Qt metapackage, switched to EAPI=2 and fixed to make repoman happy
(Portage version: 2.2_rc42/cvs/Linux x86_64)
Diffstat (limited to 'sci-geosciences')
-rw-r--r--sci-geosciences/gebabbel/ChangeLog8
-rw-r--r--sci-geosciences/gebabbel/gebabbel-0.3.ebuild31
2 files changed, 22 insertions, 17 deletions
diff --git a/sci-geosciences/gebabbel/ChangeLog b/sci-geosciences/gebabbel/ChangeLog
index 962ed3b81738..46a0b3291adb 100644
--- a/sci-geosciences/gebabbel/ChangeLog
+++ b/sci-geosciences/gebabbel/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-geosciences/gebabbel
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gebabbel/ChangeLog,v 1.3 2008/07/27 01:18:49 carlo Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gebabbel/ChangeLog,v 1.4 2009/09/30 16:39:13 ayoy Exp $
+
+ 30 Sep 2009; Dominik Kapusta <ayoy@gentoo.org> gebabbel-0.3.ebuild:
+ Removed obsolete QT_BUILT_WITH_USE and the dependency on Qt metapackage,
+ switched to EAPI=2 and fixed to make repoman happy
27 Jul 2008; Carsten Lohrke <carlo@gentoo.org> gebabbel-0.3.ebuild:
Fix broken split Qt 4.4 dependencies, cf. bug 217161 comment 11.
diff --git a/sci-geosciences/gebabbel/gebabbel-0.3.ebuild b/sci-geosciences/gebabbel/gebabbel-0.3.ebuild
index d2d97b6c56be..43bca68f87d9 100644
--- a/sci-geosciences/gebabbel/gebabbel-0.3.ebuild
+++ b/sci-geosciences/gebabbel/gebabbel-0.3.ebuild
@@ -1,35 +1,36 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gebabbel/gebabbel-0.3.ebuild,v 1.3 2008/07/27 01:18:49 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gebabbel/gebabbel-0.3.ebuild,v 1.4 2009/09/30 16:39:13 ayoy Exp $
-EAPI="1"
+EAPI="2"
inherit eutils qt4
+MY_PN=${PN/g/G}
+MY_P=${MY_PN}-${PV}
+
DESCRIPTION="QT-Frontend to load and convert gps tracks with gpsbabel"
HOMEPAGE="http://gebabbel.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/Gebabbel-${PV}-Src.tar.gz"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}-Src.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND="|| ( ( x11-libs/qt-core:4 x11-libs/qt-gui:4 ) =x11-libs/qt-4.3*:4 )
+DEPEND="x11-libs/qt-core:4
+ x11-libs/qt-gui:4[accessibility]"
+RDEPEND="${DEPEND}
sci-geosciences/gpsbabel"
-S="${WORKDIR}/Gebabbel-${PV}"
+S="${WORKDIR}/${MY_P}"
-QT4_BUILT_WITH_USE_CHECK="guiaccessibility"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch "${FILESDIR}/${P}-fix.diff"
}
-src_compile() {
- qmake || die
- emake || die
+src_configure() {
+ eqmake4 ${MY_PN}.pro
}
src_install() {
- dobin bin/gebabbel || die
- dodoc CHANGELOG || die
+ dobin bin/${PN} || die "dobin failed"
+ dodoc CHANGELOG || die "dodoc failed"
}