diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-05-11 23:13:25 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-05-11 23:46:08 +0200 |
commit | 2de492f66f593f97c84056a21259aaa5653681dd (patch) | |
tree | fe20d10d8a88b87b3b6ef55c8ac06f5b3621c0f0 /kde-apps/marble | |
parent | kde5.eclass: Disable kdoctools_install(po) if KDE_HANDBOOK=forceoptional (diff) | |
download | gentoo-2de492f66f593f97c84056a21259aaa5653681dd.tar.gz gentoo-2de492f66f593f97c84056a21259aaa5653681dd.tar.bz2 gentoo-2de492f66f593f97c84056a21259aaa5653681dd.zip |
kde-apps: Add KDE Applications 17.04.1
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'kde-apps/marble')
-rw-r--r-- | kde-apps/marble/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/marble/marble-17.04.1.ebuild | 86 |
2 files changed, 87 insertions, 0 deletions
diff --git a/kde-apps/marble/Manifest b/kde-apps/marble/Manifest index 7be1fc1d1ef7..b9c0d6192292 100644 --- a/kde-apps/marble/Manifest +++ b/kde-apps/marble/Manifest @@ -1,2 +1,3 @@ DIST marble-16.12.3.tar.xz 24403808 SHA256 522006e0042fb4bf405a7bc90e015fa6e8fb863652ea81b64f53061c6b9ebe21 SHA512 58329b78f84640920bcaccede596728030027b26093dd979c347f440cd2908902c989bba09eced8811bc2f13febb8e41154570986aa323cfdbf73035654ce5f4 WHIRLPOOL 3b01e745cb66e6baf288355231ecc7376f6f3e0b75252090045817f53931e5a68c70d63230c41bafa955042890475bf8167db0bc7f66840d4b90992025eda9d2 DIST marble-17.04.0.tar.xz 52287344 SHA256 6a8ab776e239fa67f23b7aed1db02b1a9a8fb3abb8ab61b47828c8bc0ada8770 SHA512 9309c669e4e51a24c202ed2f5cd0ff71ed48950f5f1f10b90a2f4ccf0450a7ed08375bc83ae6f57100adfdf69bf537466f090595d66eaf422ab779a31c586306 WHIRLPOOL 8cd7413a8ccbd65a261b58a6d323d7651439436e5c07d8c3faec8d7873361b76a15b7464486410c202b3fbfe4a4b03b8c660e17ce902ec8e5d7c2cf0ffe91363 +DIST marble-17.04.1.tar.xz 52299556 SHA256 a5ee0005a9aa416f5545077a241fe138864d7495085a91a25af4d421d8a328c3 SHA512 89e92fb34ea1f3ce047435a2acb08c0bfc313b6014406683297b8fc4cbdf6cd2d44a2de9b1ce655db20c2b6779c40f41db69e750f013b5a511dbbda59e9eebef WHIRLPOOL 9f1ac1761998220d3de4ff07300d6d2846338d03b8b5f54913d5b2348e741ef718d9807d60764ae5f73352a2502420ed5c077af6c975bb2adaf850c35a4eb819 diff --git a/kde-apps/marble/marble-17.04.1.ebuild b/kde-apps/marble/marble-17.04.1.ebuild new file mode 100644 index 000000000000..edf87fd27450 --- /dev/null +++ b/kde-apps/marble/marble-17.04.1.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KDE_HANDBOOK="forceoptional" +KDE_SUBSLOT="true" +KDE_TEST="forceoptional" +VIRTUALX_REQUIRED="test" +inherit kde5 + +DESCRIPTION="Virtual Globe and World Atlas to learn more about Earth" +HOMEPAGE="https://marble.kde.org/" +KEYWORDS="~amd64 ~arm ~x86" + +IUSE="aprs +dbus designer gps +kde nls phonon +positioning shapefile +webkit" + +# FIXME (new package): libwlocate, WLAN-based geolocation +RDEPEND=" + $(add_qt_dep qtconcurrent) + $(add_qt_dep qtdeclarative) + $(add_qt_dep qtgui) + $(add_qt_dep qtnetwork) + $(add_qt_dep qtprintsupport) + $(add_qt_dep qtsql) + $(add_qt_dep qtsvg) + $(add_qt_dep qtwidgets) + $(add_qt_dep qtxml) + aprs? ( $(add_qt_dep qtserialport) ) + dbus? ( $(add_qt_dep qtdbus) ) + designer? ( $(add_qt_dep designer) ) + gps? ( sci-geosciences/gpsd ) + kde? ( + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kcrash) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kio) + $(add_frameworks_dep knewstuff) + $(add_frameworks_dep kparts) + $(add_frameworks_dep krunner) + $(add_frameworks_dep kservice) + $(add_frameworks_dep kwallet) + ) + phonon? ( media-libs/phonon[qt5] ) + positioning? ( $(add_qt_dep qtpositioning) ) + shapefile? ( sci-libs/shapelib:= ) + webkit? ( $(add_qt_dep qtwebkit) ) +" +DEPEND="${RDEPEND} + aprs? ( dev-lang/perl ) + nls? ( $(add_qt_dep linguist-tools) ) +" + +# bug 588320 +RESTRICT+=" test" + +src_prepare() { + if use kde; then + sed -e "/add_subdirectory(marble-qt)/ s/^/#DONT/" \ + -i src/apps/CMakeLists.txt \ + || die "Failed to disable marble-qt" + fi + + kde5_src_prepare +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package aprs Perl) + $(cmake-utils_use_find_package positioning Qt5Positioning) + -DBUILD_MARBLE_TESTS=$(usex test) + -DWITH_DESIGNER_PLUGIN=$(usex designer) + -DWITH_libgps=$(usex gps) + -DWITH_KF5=$(usex kde) + -DWITH_Phonon4Qt5=$(usex phonon) + -DWITH_libshp=$(usex shapefile) + $(cmake-utils_use_find_package webkit Qt5WebKit) + $(cmake-utils_use_find_package webkit Qt5WebKitWidgets) + -DWITH_libwlocate=OFF + # bug 608890 + -DKDE_INSTALL_CONFDIR="/etc/xdg" + ) + kde5_src_configure +} |