sci-geosciences/gebabbel: Bump to EAPI 6
authorAndreas Sturmlechner <asturm@gentoo.org>
Mon, 6 Mar 2017 23:07:08 +0000 (00:07 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Mon, 6 Mar 2017 23:54:09 +0000 (00:54 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

sci-geosciences/gebabbel/files/gebabbel-0.3-gcc45.patch
sci-geosciences/gebabbel/gebabbel-0.4.ebuild
sci-geosciences/gebabbel/metadata.xml

index e8064e366c9c5b9e74f53608d2f84816c8fc1917..f8e7b47f338dd8d82d737ee7ae9a52e999b4e587 100644 (file)
@@ -2,8 +2,8 @@ Fixing build with gcc 4.5
 
 http://bugs.gentoo.org/show_bug.cgi?id=318579
 
---- src/MyMainWindow.cpp
-+++ src/MyMainWindow.cpp
+--- a/src/MyMainWindow.cpp
++++ b/src/MyMainWindow.cpp
 @@ -219,7 +219,7 @@
  
                // Creating the toolbar
index 671a59af4e383cb8766cb1adb27330b9003d6036..38141acd13bae65e4cd80ea7aacfba942fa1140c 100644 (file)
@@ -1,13 +1,13 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=6
 
 MY_P=${P/g/G}
 
-inherit eutils qt4-r2
+inherit qmake-utils
 
-DESCRIPTION="QT-Frontend to load and convert gps tracks with gpsbabel"
+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"
 
@@ -24,21 +24,25 @@ RDEPEND="${DEPEND}
        sci-geosciences/gpsbabel
 "
 
-PATCHES=(
-       "${FILESDIR}"/${PN}-0.3-gcc45.patch
-)
+DOCS=( CHANGELOG CREDITS )
+
+PATCHES=( "${FILESDIR}"/${PN}-0.3-gcc45.patch )
 
 S=${WORKDIR}/${MY_P}
 
 src_prepare() {
-       qt4-r2_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}
-       dodoc CHANGELOG CREDITS
+       einstalldocs
 }
index 35ccac22a7a4ae1d8baca3a3cb1f77c0246c97ec..e9dd5e2e89a6f64504b72dea7649acd3a8d3a08d 100644 (file)
@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-  <maintainer type="project">
-    <email>sci-geosciences@gentoo.org</email>
-    <name>Gentoo Geosciences Project</name>
-  </maintainer>
-  <upstream>
-    <remote-id type="sourceforge">gebabbel</remote-id>
-  </upstream>
+       <maintainer type="project">
+               <email>sci-geosciences@gentoo.org</email>
+               <name>Gentoo Geosciences Project</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="sourceforge">gebabbel</remote-id>
+       </upstream>
 </pkgmetadata>