diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-12-14 23:14:45 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-12-14 23:25:03 +0100 |
commit | 576fc933c81aa6e526d87290af95e8e898e70ecb (patch) | |
tree | 73f9a202bcb454043dbb6b731d9b56ed4c5f49eb /kde-apps/marble | |
parent | dev-haskell/stack-bin: bump up to 1.6.1 (diff) | |
download | gentoo-576fc933c81aa6e526d87290af95e8e898e70ecb.tar.gz gentoo-576fc933c81aa6e526d87290af95e8e898e70ecb.tar.bz2 gentoo-576fc933c81aa6e526d87290af95e8e898e70ecb.zip |
kde-apps: Add KDE Applications 17.12.0
Package-Manager: Portage-2.3.18, Repoman-2.3.6
Diffstat (limited to 'kde-apps/marble')
-rw-r--r-- | kde-apps/marble/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/marble/marble-17.12.0.ebuild | 86 |
2 files changed, 87 insertions, 0 deletions
diff --git a/kde-apps/marble/Manifest b/kde-apps/marble/Manifest index 596b7e7f3ca7..4e22e9dc6ed6 100644 --- a/kde-apps/marble/Manifest +++ b/kde-apps/marble/Manifest @@ -1 +1,2 @@ DIST marble-17.08.3.tar.xz 52280688 BLAKE2B 915e7358d1dcbe25cf480a6c4e602a4bbdb866cab1391469823c9e910ba8165ab408e0d159a804230ca55e7bc7e42caa890a8c01d0d2182a9dbd41b94d430ee3 SHA512 9991dc9137e63462ae7d6086063d07d6012a22c4dfa137209517010db1f71ea5c7a494600d251f63b73a54943fbcfa237f1fdc749442dadd399a5717162f5e1d +DIST marble-17.12.0.tar.xz 52352880 BLAKE2B b95bd0949cd5170f94ba3aae3adbf7b439e14b912de107a1f4ce8fb70dbcec7e4a472262aaa237f254b3edf86a18a2d02b0eebfac0528bc78d002cba03750d6f SHA512 f899387d5e5ab72e8b76970fca19e73cdb7101c756b03f7aa8253a270f130c38eac8b4e4d145869d16cf7fc25c954be0403b4f3df2751f1a73da1bd9d2de0473 diff --git a/kde-apps/marble/marble-17.12.0.ebuild b/kde-apps/marble/marble-17.12.0.ebuild new file mode 100644 index 000000000000..10601eab2609 --- /dev/null +++ b/kde-apps/marble/marble-17.12.0.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 ~x86" + +IUSE="aprs +dbus designer gps +kde nls phonon +geolocation 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) ) + geolocation? ( $(add_qt_dep qtpositioning) ) + 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(+)] ) + 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 geolocation 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 +} |