diff options
author | Johannes Huber <johu@gentoo.org> | 2017-04-20 18:15:02 +0200 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2017-04-20 18:22:40 +0200 |
commit | 8f00b2bf566d896205f52099530159c97b977f68 (patch) | |
tree | 6dfeae9f7a9dc7b276cb384a7f4ad8d589de52d1 /kde-apps/marble | |
parent | kde5*eclass: KDE Applications 17.04.0 improvements (diff) | |
download | gentoo-8f00b2bf566d896205f52099530159c97b977f68.tar.gz gentoo-8f00b2bf566d896205f52099530159c97b977f68.tar.bz2 gentoo-8f00b2bf566d896205f52099530159c97b977f68.zip |
kde-apps: Version bump KDE Applications 17.04.0
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'kde-apps/marble')
-rw-r--r-- | kde-apps/marble/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/marble/marble-17.04.0.ebuild | 85 |
2 files changed, 86 insertions, 0 deletions
diff --git a/kde-apps/marble/Manifest b/kde-apps/marble/Manifest index 3563a4ed5f4d..7be1fc1d1ef7 100644 --- a/kde-apps/marble/Manifest +++ b/kde-apps/marble/Manifest @@ -1 +1,2 @@ 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 diff --git a/kde-apps/marble/marble-17.04.0.ebuild b/kde-apps/marble/marble-17.04.0.ebuild new file mode 100644 index 000000000000..a4c24ad25c65 --- /dev/null +++ b/kde-apps/marble/marble-17.04.0.ebuild @@ -0,0 +1,85 @@ +# 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 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 ) +" + +# 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 +} |