public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/gpsbabel/
Date: Thu, 21 May 2020 10:57:05 +0000 (UTC)	[thread overview]
Message-ID: <1590058616.2046cfd03c5a47686348f6c389bb445b6c286b15.asturm@gentoo> (raw)

commit:     2046cfd03c5a47686348f6c389bb445b6c286b15
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu May 21 10:53:51 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu May 21 10:56:56 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2046cfd0

sci-geosciences/gpsbabel: Sync 9999 with 1.5.4-r1 changes

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-geosciences/gpsbabel/gpsbabel-9999.ebuild | 44 +++++++++++++++------------
 1 file changed, 24 insertions(+), 20 deletions(-)

diff --git a/sci-geosciences/gpsbabel/gpsbabel-9999.ebuild b/sci-geosciences/gpsbabel/gpsbabel-9999.ebuild
index e7b3f8abc91..5a4fa28eacd 100644
--- a/sci-geosciences/gpsbabel/gpsbabel-9999.ebuild
+++ b/sci-geosciences/gpsbabel/gpsbabel-9999.ebuild
@@ -1,11 +1,10 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-
-inherit autotools eutils qmake-utils
+EAPI=7
 
 MY_PV=${PV//./_}
+inherit autotools desktop qmake-utils
 
 DESCRIPTION="GPS waypoints, tracks and routes converter"
 HOMEPAGE="https://www.gpsbabel.org/ https://github.com/gpsbabel/gpsbabel"
@@ -27,6 +26,14 @@ fi
 SLOT="0"
 IUSE="doc +gui"
 
+BDEPEND="
+	doc? (
+		app-text/docbook-xml-dtd:4.1.2
+		dev-lang/perl
+		dev-libs/libxslt
+	)
+	gui? ( dev-qt/linguist-tools:5 )
+"
 RDEPEND="
 	dev-libs/expat
 	dev-qt/qtcore:5
@@ -42,14 +49,7 @@ RDEPEND="
 		dev-qt/qtxml:5
 	)
 "
-DEPEND="${RDEPEND}
-	doc? (
-		app-text/docbook-xml-dtd:4.1.2
-		dev-lang/perl
-		dev-libs/libxslt
-	)
-	gui? ( dev-qt/linguist-tools:5 )
-"
+DEPEND="${RDEPEND}"
 
 DOCS=( AUTHORS README.{contrib,igc,mapconverter,md,xmapwpt} )
 
@@ -69,21 +69,25 @@ src_prepare() {
 	# remove bundled libs and cleanup
 	rm -r shapelib || die
 
-	use doc && cp "${DISTDIR}/gpsbabel.org-style3.css" "${S}"
+	if use doc; then
+		cp "${DISTDIR}/gpsbabel.org-style3.css" . || die
+	fi
 
 	eautoreconf
 }
 
 src_configure() {
-	econf \
-		$(use_with doc doc "${S}"/doc/manual) \
-		LRELEASE=$(qt5_get_bindir)/lrelease \
-		LUPDATE=$(qt5_get_bindir)/lupdate \
-		QMAKE=$(qt5_get_bindir)/qmake \
+	local myeconfargs=(
+		$(use_with doc doc doc/manual)
+		LRELEASE=$(qt5_get_bindir)/lrelease
+		LUPDATE=$(qt5_get_bindir)/lupdate
+		QMAKE=$(qt5_get_bindir)/qmake
 		--with-zlib=system
+	)
+	econf "${myeconfargs[@]}"
 
 	if use gui; then
-		pushd "${S}/gui" > /dev/null || die
+		pushd gui > /dev/null || die
 		$(qt5_get_bindir)/lrelease *.ts || die
 		eqmake5
 		popd > /dev/null
@@ -93,7 +97,7 @@ src_configure() {
 src_compile() {
 	default
 	if use gui; then
-		pushd "${S}/gui" > /dev/null || die
+		pushd gui > /dev/null || die
 		emake
 		popd > /dev/null
 	fi
@@ -105,7 +109,7 @@ src_compile() {
 }
 
 src_install() {
-	use doc && HTML_DOCS=( "${S}"/${PN}.html "${S}"/${PN}.org-style3.css )
+	use doc && local HTML_DOCS=( ${PN}.html ${PN}.org-style3.css )
 
 	default
 


             reply	other threads:[~2020-05-21 10:57 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-21 10:57 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-02  9:10 [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/gpsbabel/ Andreas Sturmlechner
2024-08-31 21:55 Sam James
2024-03-14  2:25 Sam James
2024-03-14  2:25 Sam James
2024-03-14  2:25 Sam James
2024-03-14  2:25 Sam James
2023-01-29 15:43 Andrew Ammerlaan
2022-02-14 10:35 Jakov Smolić
2021-10-27 22:33 Sam James
2021-10-24 23:34 Sam James
2021-05-28  1:14 Sam James
2020-05-20 23:25 Andreas Sturmlechner
2020-01-12 11:14 David Seifert
2019-10-11 15:37 Michał Górny
2017-08-26 19:19 Andreas Sturmlechner
2017-07-09 19:12 Andreas Sturmlechner
2017-06-17 18:30 Andreas Sturmlechner
2017-06-15  7:49 Andreas Sturmlechner
2017-03-10  0:12 Michael Weber
2017-03-02 19:39 Andreas Sturmlechner
2017-02-26 22:58 Andreas Sturmlechner
2017-01-23 22:22 Andreas Sturmlechner
2017-01-21 16:14 Andreas Sturmlechner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1590058616.2046cfd03c5a47686348f6c389bb445b6c286b15.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox