summaryrefslogtreecommitdiff
path: root/kde-apps/marble
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-10 03:19:26 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-10 03:19:26 +0000
commitcaf79cb4f7c4d5f7cce488d8f50dfb98ddbd09ab (patch)
tree4fb39a9252efabe8f160ef46b7b3be2f52af25aa /kde-apps/marble
parent3606ceecb950b302a6ba2a9882aeeff2a851e5dc (diff)
gentoo auto-resync : 10:12:2022 - 03:19:26
Diffstat (limited to 'kde-apps/marble')
-rw-r--r--kde-apps/marble/Manifest2
-rw-r--r--kde-apps/marble/marble-22.12.0.ebuild98
2 files changed, 100 insertions, 0 deletions
diff --git a/kde-apps/marble/Manifest b/kde-apps/marble/Manifest
index d8167a4a8e29..5c4c0b2003b8 100644
--- a/kde-apps/marble/Manifest
+++ b/kde-apps/marble/Manifest
@@ -1,3 +1,5 @@
DIST marble-22.08.3.tar.xz 53675664 BLAKE2B a0678e41a752f08cbdda882b89eb55d1837fc3fe595bb014739304238aa1cff955fee8e20849d5e028a2d1e72fec780676433b05f6156399fe721ad033fc5590 SHA512 74ef0f7afb13bb4831335709d4ab9b64889a4b038d6a24e861538836ad27704261cdb3d78f2569345e2a5e2c4045550c8eac64f241d14f65631eddc419802edd
+DIST marble-22.12.0.tar.xz 53747624 BLAKE2B b5466352a7862017cfe5ee4804614ebbf980e4673b5a5c809238e8c18945d6edc995da28db3c673c297c11943a994f50382eba1c5e8d8ad6937dc63903bfd886 SHA512 99c4a7ef0528f285f29a563454326f84e19161cdfbc2f580adcbc76f7d6065761ccabe4cec21b99cf5fcf0cc23343405e2aa4051de5e9f84f678efa2999c17a3
EBUILD marble-22.08.3.ebuild 2707 BLAKE2B 570e1b3873b8e620b81364f8074acba0a8855fc3e0c4076ccdc7f2e94965d800d411331f08e0dc2b449fd6b93cf3f6277326a0f8e2e876775d49520d9d12d2c7 SHA512 48a1410aa8bcc591e451223514f7e53bb77816fa7303428a15e5280ded0da64086d9ad0e518ef92ee39fdf2dae2ce607ac7b2653577a4d9d8c98642e73b5f896
+EBUILD marble-22.12.0.ebuild 2710 BLAKE2B 515cb5400c4f16dc36432616ef705e772214f7c49847b7c9eb2c73b88e4687471f27861bc7ce88ebd758190016805857ddc035d7c093e02bee3c8868df263b8d SHA512 2a6d425dc0a8fed6e0b4a940ae041b7ca908b2e472531f6f582cbd56cbd2244d3a3cae4507dc73417c89ef2a0b1e68ad946961e9a25a8d10a53b34dae76e2fa4
MISC metadata.xml 910 BLAKE2B a37a5cc007ea6af8f319dcc827d85bea57ed7cfd6daae76ef19b1f35f89a86df08ecd767f86655c769f86350310c2972be8841e8a594916e33baa8069f462bc6 SHA512 47bc8f365cddd40247b4c4ecdd7932bcd7a833d1c0ff46fe4d9c6722ee063d11bbede81623e8b9a572691330b868c2cdebdd8f1785c95418af6b64c73af0396f
diff --git a/kde-apps/marble/marble-22.12.0.ebuild b/kde-apps/marble/marble-22.12.0.ebuild
new file mode 100644
index 000000000000..0a7a4eb15c77
--- /dev/null
+++ b/kde-apps/marble/marble-22.12.0.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2022 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.99.0
+QTMIN=5.15.5
+VIRTUALX_REQUIRED="test"
+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 nls +pbf phonon 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
+ )
+ 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}"
+
+# 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)
+ $(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
+}