summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-10-09 10:09:04 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-10-09 20:58:05 +0200
commitadd8b1d1c78e912a47b16890e24ce779afadc8ef (patch)
treef3d25c09126f9d14ee2786f25f7b04a8d396feb8 /kde-apps/marble
parentkde-apps/libkeduvocdocument: 20.08.2 version bump (diff)
downloadgentoo-add8b1d1c78e912a47b16890e24ce779afadc8ef.tar.gz
gentoo-add8b1d1c78e912a47b16890e24ce779afadc8ef.tar.bz2
gentoo-add8b1d1c78e912a47b16890e24ce779afadc8ef.zip
kde-apps/marble: 20.08.2 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/marble')
-rw-r--r--kde-apps/marble/Manifest1
-rw-r--r--kde-apps/marble/marble-20.08.2.ebuild96
2 files changed, 97 insertions, 0 deletions
diff --git a/kde-apps/marble/Manifest b/kde-apps/marble/Manifest
index 0e8c491d03d5..ad0ae71dae74 100644
--- a/kde-apps/marble/Manifest
+++ b/kde-apps/marble/Manifest
@@ -1,2 +1,3 @@
DIST marble-20.04.3.tar.xz 52200548 BLAKE2B 83388e292487dbbe10bde4f4d67337b8d8606df26fda3621640cf49a1a930b6cdb9357a96568fc33597f0ee2627a22a2f2920a7dad45bab1502e5a8869934de1 SHA512 5c29b0a25164b50f197c826258d8de8b4e1a386d91fa7a6f67eb3da64197b2cefef31b0759c3bd19e9a5b0f0c639adc779d71a7ef1d7b51fca4e58cc3c8530cd
DIST marble-20.08.1.tar.xz 52194612 BLAKE2B 69d58959c632e289b70bebabd55b7f9e66d202676a36597527d945b055620dd0b373cde6211d2c9bbef2b56c952f326fd8bbbcf4946b7fbcdcd17f47ece2ea6b SHA512 4306ba2ca620d7081b289b309abca9d741ee3376583ee662b34d09a1b03b42e00f034c34be371fed03a1196df5dd21fecf7e6c981053acfc9511a2bd85417485
+DIST marble-20.08.2.tar.xz 52200032 BLAKE2B ce7e9ffbe52a25e21217170a28b61b03cfbd22bd4a83c10b9532f9406dde4c747e94b0144ef747f22831a8b9cf92ed5a82aa1c132a43e5faf0996f5435136bb9 SHA512 8464c1c9aeb001eacc1af1c93bac62f2c3172dc1113f798047b80baa7a53abfd83c45b1affd998b05a7a63fa8f067b1aae20ff3f53276ec6314493e118b1176f
diff --git a/kde-apps/marble/marble-20.08.2.ebuild b/kde-apps/marble/marble-20.08.2.ebuild
new file mode 100644
index 000000000000..49121f7a989f
--- /dev/null
+++ b/kde-apps/marble/marble-20.08.2.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_HANDBOOK="optional" # see src/apps/marble-kde/CMakeLists.txt
+ECM_TEST="forceoptional"
+KFMIN=5.72.0
+QTMIN=5.14.2
+VIRTUALX_REQUIRED="test"
+inherit ecm kde.org
+
+DESCRIPTION="Virtual Globe and World Atlas to learn more about Earth"
+HOMEPAGE="https://marble.kde.org/"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="5/$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="aprs +dbus designer gps +kde nls phonon +geolocation shapefile +webengine"
+
+# FIXME (new package): libwlocate, WLAN-based geolocation
+BDEPEND="
+ aprs? ( dev-lang/perl )
+ nls? ( >=dev-qt/linguist-tools-${QTMIN}:5 )
+"
+DEPEND="
+ >=dev-qt/qtconcurrent-${QTMIN}:5
+ >=dev-qt/qtdeclarative-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ >=dev-qt/qtprintsupport-${QTMIN}:5
+ >=dev-qt/qtsql-${QTMIN}:5
+ >=dev-qt/qtsvg-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=dev-qt/qtxml-${QTMIN}:5
+ sys-libs/zlib
+ aprs? ( >=dev-qt/qtserialport-${QTMIN}:5 )
+ dbus? ( >=dev-qt/qtdbus-${QTMIN}:5 )
+ designer? ( >=dev-qt/designer-${QTMIN}:5 )
+ geolocation? ( >=dev-qt/qtpositioning-${QTMIN}:5 )
+ gps? ( sci-geosciences/gpsd )
+ kde? (
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kcrash-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/knewstuff-${KFMIN}:5
+ >=kde-frameworks/kparts-${KFMIN}:5
+ >=kde-frameworks/krunner-${KFMIN}:5
+ >=kde-frameworks/kservice-${KFMIN}:5
+ >=kde-frameworks/kwallet-${KFMIN}:5
+ )
+ phonon? ( >=media-libs/phonon-4.11.0 )
+ shapefile? ( sci-libs/shapelib:= )
+ webengine? (
+ >=dev-qt/qtwebchannel-${QTMIN}:5
+ >=dev-qt/qtwebengine-${QTMIN}:5[widgets]
+ )
+"
+RDEPEND="${DEPEND}"
+
+# bug 588320
+RESTRICT+=" test"
+
+src_prepare() {
+ ecm_src_prepare
+
+ rm -rf src/3rdparty/zlib || die "Failed to remove bundled libs"
+
+ use kde && cmake_run_in src/apps cmake_comment_add_subdirectory marble-qt
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package aprs Perl)
+ $(cmake_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_use_find_package webengine Qt5WebEngine)
+ $(cmake_use_find_package webengine Qt5WebEngineWidgets)
+ -DWITH_libwlocate=OFF
+ # bug 608890
+ -DKDE_INSTALL_CONFDIR="/etc/xdg"
+ )
+ if use kde; then
+ ecm_src_configure
+ else
+ cmake_src_configure
+ fi
+}