summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-05-21 22:33:22 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-05-23 17:58:14 +0200
commit42b0c201a994ef7589c6e165776d00f6a1a698f8 (patch)
treed41faef4ca181b436f73f4da75938853afb6d265 /kde-apps/marble
parentkde-apps/libkeduvocdocument: 24.05.0 version bump (diff)
downloadgentoo-42b0c201a994ef7589c6e165776d00f6a1a698f8.tar.gz
gentoo-42b0c201a994ef7589c6e165776d00f6a1a698f8.tar.bz2
gentoo-42b0c201a994ef7589c6e165776d00f6a1a698f8.zip
kde-apps/marble: 24.05.0 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-24.05.0.ebuild97
2 files changed, 98 insertions, 0 deletions
diff --git a/kde-apps/marble/Manifest b/kde-apps/marble/Manifest
index 899795187397..a45569be1ba6 100644
--- a/kde-apps/marble/Manifest
+++ b/kde-apps/marble/Manifest
@@ -1,2 +1,3 @@
DIST marble-24.02.2.tar.xz 53830364 BLAKE2B fea466ca56003560b0e24be0cd16245d61be0e18461552122255e786e086f891e5636e6ef0dd0cd3d0c225c483f7ee33a5d614f94c2dacb41d7271d51e7db028 SHA512 3efee57d8270e4643e38c10565a73a32840d2284b9e773d115dcb826f7c95d62884a251b5eaaf5abbe5a494668d6cdde2c8bdafedce0e666035dfbe46399d5b0
DIST marble-24.04.90.tar.xz 52447196 BLAKE2B 570df9364ecdc4b2d155d6d1376f31824c4f507fae9c9f6b77752d0ce7f0416804e8c4a79d6134c322b6ebeaeaafe37c14a9be80e19954fb31d09bb9c85dc0a1 SHA512 391909368d3f93e0197caaef94a771e773d809f71bbee6af5c347e8dbe51351a9eab3a40aa59450405b1a6ad8bbaf1beea6adfe36b2c0d78a800e9a2342a1d35
+DIST marble-24.05.0.tar.xz 52449612 BLAKE2B 9a8168c1fd8cc5952386272936e5370f522dcaac9185fc135bc6428b83a0148403ec3cdf30957ab643ca98dc733c932f7d2106a5f27e2a31baf54af87640f633 SHA512 023d65a0bcdedf9ea77b7b7d78e8eee7e3702f37a0647c4b11a9cd29f92f4f48805735288f97e34b4846f680541ab54ac0f9a097f15559ecf9594400ea1c33a0
diff --git a/kde-apps/marble/marble-24.05.0.ebuild b/kde-apps/marble/marble-24.05.0.ebuild
new file mode 100644
index 000000000000..95c45cf5d931
--- /dev/null
+++ b/kde-apps/marble/marble-24.05.0.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2024 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.115.0
+QTMIN=5.15.12
+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[qt5(+)] )
+ 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
+}