diff options
Diffstat (limited to 'kde-apps/marble')
-rw-r--r-- | kde-apps/marble/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/marble/marble-18.08.2.ebuild | 86 |
2 files changed, 87 insertions, 0 deletions
diff --git a/kde-apps/marble/Manifest b/kde-apps/marble/Manifest index c673840d1a0b..14eae100338a 100644 --- a/kde-apps/marble/Manifest +++ b/kde-apps/marble/Manifest @@ -1,2 +1,3 @@ DIST marble-18.04.3.tar.xz 52432816 BLAKE2B 103aadfd9e9e940b6c090f124f29464925c2e5f6adefbeac476ea5f8fc5c5eacf9af4171959f6a17d6d7fd5d287b2db8b246a08d0af045c5529f8eb92b566744 SHA512 26a29e6648516e99c6ae33a6253fa4922271a412eba14212af24cf33dcab8845533eb4c1a8fea11b61f20c0a5c34007ed9e0db8edb3590b01a01404ac4493704 DIST marble-18.08.1.tar.xz 52419928 BLAKE2B ebed92b4b3d49d78d002adbcd75488b6410bd5fc6c4676820515564fda7fb82f7f75db98f189706cb38a7b36a060e5ec35bff0db04349c56a79adb8bd2389436 SHA512 e6bf16f7b26f8f1ba88448378c1d97506140f87c0d75481f9cc2435f5f7e09a55ae510475397c6ccfecd4252a618287638cb350425895ad216c1d74115f81956 +DIST marble-18.08.2.tar.xz 52420668 BLAKE2B c7224360fc6c36a266cbc28846df2f4badf3275c9952eb1cf1325d277a479780912d6f0b8f78b4c382910d07e68c716d9b204f28ab4616812cc60353d3a46712 SHA512 d1a51b941cd5a9ee9b5500613f6436e2015f81d46df731848015244f11d7558c7a8401663dcebcf8cd9175233f7d4e1d70f8b3474df44f1f5bf5038fca820ef7 diff --git a/kde-apps/marble/marble-18.08.2.ebuild b/kde-apps/marble/marble-18.08.2.ebuild new file mode 100644 index 000000000000..de3a74c8f668 --- /dev/null +++ b/kde-apps/marble/marble-18.08.2.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2018 Gentoo Authors +# 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 +} |