summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-08-23 23:26:04 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-08-23 23:36:49 +0200
commit51cc3c6e1ec5a26b4b29225b5bf258b46c37f893 (patch)
tree024c9eeb7c7c79fba74c2fe228847cfc48c0e98b /sci-geosciences
parentnet-misc/netfleet: Import 0.2.1-r2 from before last-rites (diff)
downloadkde-sunset-51cc3c6e1ec5a26b4b29225b5bf258b46c37f893.tar.gz
kde-sunset-51cc3c6e1ec5a26b4b29225b5bf258b46c37f893.tar.bz2
kde-sunset-51cc3c6e1ec5a26b4b29225b5bf258b46c37f893.zip
sci-geosciences/gebabbel: Import 0.4 from before last-rites
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sci-geosciences')
-rw-r--r--sci-geosciences/gebabbel/Manifest1
-rw-r--r--sci-geosciences/gebabbel/files/gebabbel-0.3-gcc45.patch15
-rw-r--r--sci-geosciences/gebabbel/gebabbel-0.4.ebuild48
-rw-r--r--sci-geosciences/gebabbel/metadata.xml8
4 files changed, 72 insertions, 0 deletions
diff --git a/sci-geosciences/gebabbel/Manifest b/sci-geosciences/gebabbel/Manifest
new file mode 100644
index 00000000..482dcbb2
--- /dev/null
+++ b/sci-geosciences/gebabbel/Manifest
@@ -0,0 +1 @@
+DIST Gebabbel-0.4-Src.tar.gz 9698769 BLAKE2B 36f3f2585c1ecff8bd7a32f3aa44a9f691a724baa5e09510eaa7fd488ebeb0513d8b48006491023a216105c7b60c8d6f5d09f620d8ae412e0e93a1da0ca948d7 SHA512 96750cf1d3e627b8071d1693c7b31a2fb056f533c6e9de09e4de3550d7a923388c6b8f9634695d19708fd509ec9da537a0b1d477554d7249204754b55dd684f2
diff --git a/sci-geosciences/gebabbel/files/gebabbel-0.3-gcc45.patch b/sci-geosciences/gebabbel/files/gebabbel-0.3-gcc45.patch
new file mode 100644
index 00000000..f8e7b47f
--- /dev/null
+++ b/sci-geosciences/gebabbel/files/gebabbel-0.3-gcc45.patch
@@ -0,0 +1,15 @@
+Fixing build with gcc 4.5
+
+http://bugs.gentoo.org/show_bug.cgi?id=318579
+
+--- a/src/MyMainWindow.cpp
++++ b/src/MyMainWindow.cpp
+@@ -219,7 +219,7 @@
+
+ // Creating the toolbar
+ MainToolBar = addToolBar( tr( "Main Toolbar" ) );
+- MainToolBar->setIconSize( QSize::QSize( 16, 16 ) );
++ MainToolBar->setIconSize( QSize( 16, 16 ) );
+ MainToolBar->setAllowedAreas( Qt::TopToolBarArea );
+ MainToolBar->setMovable( false );
+
diff --git a/sci-geosciences/gebabbel/gebabbel-0.4.ebuild b/sci-geosciences/gebabbel/gebabbel-0.4.ebuild
new file mode 100644
index 00000000..f3a8d006
--- /dev/null
+++ b/sci-geosciences/gebabbel/gebabbel-0.4.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_P=${P/g/G}
+
+inherit qmake-utils
+
+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
+"
+
+DOCS=( CHANGELOG CREDITS )
+
+PATCHES=( "${FILESDIR}"/${PN}-0.3-gcc45.patch )
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ default
+ # do not mess with cflags
+ sed \
+ -e "/QMAKE_CXXFLAGS/s:=.*$:= ${CXXFLAGS}:g" \
+ -i *.pro || die
+}
+
+src_configure() {
+ eqmake4 Gebabbel.pro
+}
+
+src_install() {
+ dobin bin/${PN}
+ einstalldocs
+}
diff --git a/sci-geosciences/gebabbel/metadata.xml b/sci-geosciences/gebabbel/metadata.xml
new file mode 100644
index 00000000..71ab2eb4
--- /dev/null
+++ b/sci-geosciences/gebabbel/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="sourceforge">gebabbel</remote-id>
+ </upstream>
+</pkgmetadata>