summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-06-17 20:29:16 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-06-17 20:29:58 +0200
commit3f5b0aa5b8e7ab9c4a4ffb5fdb043547d8b74d22 (patch)
tree22813e749f77a016b28a540648579956b6a8e83c
parentdev-libs/kirigami: 2.2.0 version bump (diff)
downloadgentoo-3f5b0aa5b8e7ab9c4a4ffb5fdb043547d8b74d22.tar.gz
gentoo-3f5b0aa5b8e7ab9c4a4ffb5fdb043547d8b74d22.tar.bz2
gentoo-3f5b0aa5b8e7ab9c4a4ffb5fdb043547d8b74d22.zip
sci-geosciences/gpsbabel: Drop old
Package-Manager: Portage-2.3.5, Repoman-2.3.1
-rw-r--r--sci-geosciences/gpsbabel/gpsbabel-1.5.4.ebuild114
1 files changed, 0 insertions, 114 deletions
diff --git a/sci-geosciences/gpsbabel/gpsbabel-1.5.4.ebuild b/sci-geosciences/gpsbabel/gpsbabel-1.5.4.ebuild
deleted file mode 100644
index daa0f9210f3e..000000000000
--- a/sci-geosciences/gpsbabel/gpsbabel-1.5.4.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools qmake-utils
-
-DESCRIPTION="GPS waypoints, tracks and routes converter"
-HOMEPAGE="http://www.gpsbabel.org/ https://github.com/gpsbabel/gpsbabel"
-SRC_URI="
- https://dev.gentoo.org/~asturm/${P}.tar.gz
- doc? ( http://www.gpsbabel.org/style3.css -> gpsbabel.org-style3.css )"
-LICENSE="GPL-2"
-
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86 ~x86-fbsd"
-IUSE="doc +gui"
-
-RDEPEND="
- dev-libs/expat
- dev-qt/qtcore:5
- sci-libs/shapelib:=
- sys-libs/zlib[minizip]
- virtual/libusb:0
- gui? (
- dev-qt/qtgui:5
- dev-qt/qtnetwork:5
- dev-qt/qtwebchannel:5
- dev-qt/qtwebengine:5[widgets]
- dev-qt/qtwidgets:5
- 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:5 )
-"
-
-DOCS=( AUTHORS README.{contrib,igc,mapconverter,md,xmapwpt} )
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.4.3-fix_binary_name.patch"
- "${FILESDIR}/${P}-disable_statistic_uploading.patch"
- "${FILESDIR}/${P}-disable_update_check.patch"
- "${FILESDIR}/${P}-disable_version_check.patch"
- "${FILESDIR}/${P}-use_system_shapelib.patch"
- "${FILESDIR}/${P}-use_system_zlib.patch"
- "${FILESDIR}/${P}-xmldoc.patch"
-)
-
-RESTRICT="test" # bug 421699
-
-src_prepare() {
- default
-
- # remove bundled libs and cleanup
- rm -r shapelib zlib || die
- sed -i -e "s: zlib\/[a-z]*\.h::g" Makefile.in || die
-
- mv configure.in configure.ac || die
- sed -i -e "/^configure:/s/configure.in/configure.ac/" Makefile.in || die
-
- use doc && cp "${DISTDIR}/gpsbabel.org-style3.css" "${S}"
-
- 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 \
- --with-zlib=system
-
- if use gui; then
- pushd "${S}/gui" > /dev/null || die
- lrelease *.ts || die
- eqmake5
- popd > /dev/null
- fi
-}
-
-src_compile() {
- default
- if use gui; then
- pushd "${S}/gui" > /dev/null || die
- emake
- popd > /dev/null
- fi
-
- if use doc; then
- perl xmldoc/makedoc || die
- emake gpsbabel.html
- fi
-}
-
-src_install() {
- use doc && HTML_DOCS=( "${S}"/${PN}.html "${S}"/${PN}.org-style3.css )
-
- default
-
- if use gui; then
- dobin gui/objects/gpsbabelfe
- insinto /usr/share/${PN}/translations/
- doins gui/gpsbabel*_*.qm
- newicon gui/images/appicon.png ${PN}.png
- make_desktop_entry gpsbabelfe ${PN} ${PN} "Science;Geoscience"
- fi
-}