diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /sci-geosciences/qlandkartegt/qlandkartegt-1.8.1.ebuild | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sci-geosciences/qlandkartegt/qlandkartegt-1.8.1.ebuild')
-rw-r--r-- | sci-geosciences/qlandkartegt/qlandkartegt-1.8.1.ebuild | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/sci-geosciences/qlandkartegt/qlandkartegt-1.8.1.ebuild b/sci-geosciences/qlandkartegt/qlandkartegt-1.8.1.ebuild new file mode 100644 index 000000000000..41fed6ca0a3b --- /dev/null +++ b/sci-geosciences/qlandkartegt/qlandkartegt-1.8.1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit cmake-utils + +DESCRIPTION="View and upload map files, track and waypoint data to your Garmin GPS device" +HOMEPAGE="http://www.qlandkarte.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="dbus dmtx exif gps +gpsbabel +gpx-extensions mikrokopter +rmap qt4 qt5" + +REQUIRED_USE="^^ ( qt4 qt5 )" + +RDEPEND=" + >=sci-libs/gdal-1.8 + >=sci-libs/proj-4.7 + sys-libs/zlib + qt4? ( + dev-qt/qtgui:4 + dev-qt/qtopengl:4 + dev-qt/qtscript:4 + dev-qt/qtsql:4[sqlite] + dev-qt/qtwebkit:4 + dbus? ( dev-qt/qtdbus:4 ) + ) + qt5? ( + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtopengl:5 + dev-qt/qtserialport:5 + dev-qt/qtscript:5 + dev-qt/qtsql:5[sqlite] + dev-qt/qtwebkit:5 + dbus? ( dev-qt/qtdbus:5 ) + ) + dmtx? ( media-libs/libdmtx ) + exif? ( media-libs/libexif ) + gps? ( >=sci-geosciences/gpsd-2.90 ) + gpsbabel? ( sci-geosciences/gpsbabel ) + virtual/glu +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-1.8.0-deprecated.patch + "${FILESDIR}"/${PN}-1.8.0-includes.patch +) + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use qt5 QK_QT5_PORT) + $(cmake-utils_use dbus DBUS) + $(cmake-utils_use dmtx WITH_DMTX) + $(cmake-utils_use exif WITH_EXIF) + $(cmake-utils_use gps WITH_GPSD) + $(cmake-utils_use gpx-extensions GPX_EXTENSIONS) + $(cmake-utils_use mikrokopter MIKROKOPTER) + $(cmake-utils_use rmap RMAP) + ) + cmake-utils_src_configure +} + +src_install() { + sed \ + -e 's:\(Geography;\):\1Education;:g' \ + -i ./qlandkartegt.desktop || die + cmake-utils_src_install +} + +pkg_postinst() { + elog "OSM and Opencyclemap internal definitions were dropped upstream" + elog "Add it through File -> Load Online Map" + elog "or add a tsm definition (http://wiki.openstreetmap.org/wiki/MapQuest#Tile_URLs)" +} |