summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-10-12 12:57:18 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-10-12 15:19:14 +0200
commita8533a840dcfe973392193aed6cc40b561d862d9 (patch)
treeec3bc3bda76b1089e00696ea7928c671001a5b38 /kde-apps/marble
parentkde-apps/libkeduvocdocument: 23.08.2 version bump (diff)
downloadgentoo-a8533a840dcfe973392193aed6cc40b561d862d9.tar.gz
gentoo-a8533a840dcfe973392193aed6cc40b561d862d9.tar.bz2
gentoo-a8533a840dcfe973392193aed6cc40b561d862d9.zip
kde-apps/marble: 23.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-23.08.2.ebuild97
2 files changed, 98 insertions, 0 deletions
diff --git a/kde-apps/marble/Manifest b/kde-apps/marble/Manifest
index d16ac268372b..fb6905f0e4ef 100644
--- a/kde-apps/marble/Manifest
+++ b/kde-apps/marble/Manifest
@@ -1,2 +1,3 @@
DIST marble-23.04.3.tar.xz 53762636 BLAKE2B 2ed2061e91efc01ea627377783ed674ff938d5925dccf14d08ba49519460a8dd456654975e144d213274313015c8239fa9af6b99309626704ad4ae7ebf53fa9b SHA512 e92b4e42c78a4b9c7cdcce04d077fcdf1aaf54ce235ceb6fb4b74ddcc348b03f53f96d0666ebf681602cd95abed18697dda55f63b63f9f9cafe4568da625a06b
DIST marble-23.08.1.tar.xz 53784940 BLAKE2B 13550c0b3e9d5a9438fb524b0b70d6c0b7ec0654d6f5a9015096e2d372fce737258a760e7c01a8bc3d6670496e9e15f8cc3dee5ac8f7ebd3ee3b1eea35696d58 SHA512 4ac1894117f8f3b2e7c143e7941255cde3d5898c8d8df9e9116bdff14b742657ae98c5a92a7f38d2ab275e69daa2b69b5097b40f25124b62b338d990c72baeb8
+DIST marble-23.08.2.tar.xz 53785712 BLAKE2B b81ffc8b097efe0c2466c334bf6e6819b5cf36a5c8c2d6185822c21a0c0621e1ddee1b289767a77f6cc1f0b643b566ffd1859fb73ac62526e1367d52fb40c260 SHA512 32da78b54d2a1603d3ca01a2fdc952b3d6654a8f68d1dc055baf3c58e17d0a677365a66ca989fb24cfdf92fe1309bad61eb407314f7e401540f505e5041e5db4
diff --git a/kde-apps/marble/marble-23.08.2.ebuild b/kde-apps/marble/marble-23.08.2.ebuild
new file mode 100644
index 000000000000..404fa371bde1
--- /dev/null
+++ b/kde-apps/marble/marble-23.08.2.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="optional" # see src/apps/marble-kde/CMakeLists.txt
+ECM_TEST="forceoptional"
+KFMIN=5.106.0
+QTMIN=5.15.9
+inherit ecm gear.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 ~riscv ~x86"
+IUSE="aprs +dbus designer +geolocation gps +kde +pbf phonon shapefile +webengine"
+
+# bug 588320
+RESTRICT="test"
+
+# FIXME (new package): libwlocate, WLAN-based geolocation
+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
+ )
+ pbf? ( dev-libs/protobuf:= )
+ 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}"
+BDEPEND="
+ >=dev-qt/linguist-tools-${QTMIN}:5
+ aprs? ( dev-lang/perl )
+"
+
+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)
+ $(cmake_use_find_package pbf Protobuf)
+ -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
+}