summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-02-02 10:29:15 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2023-02-02 11:59:25 +0100
commit7d4dcb7cf11e20ad8fdc505cb3a4df27028a6152 (patch)
tree832429b1df10c395ceae64c343aa23db89b379f9 /kde-apps/marble
parentkde-apps/libkeduvocdocument: 22.12.2 version bump (diff)
downloadgentoo-7d4dcb7cf11e20ad8fdc505cb3a4df27028a6152.tar.gz
gentoo-7d4dcb7cf11e20ad8fdc505cb3a4df27028a6152.tar.bz2
gentoo-7d4dcb7cf11e20ad8fdc505cb3a4df27028a6152.zip
kde-apps/marble: 22.12.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-22.12.2.ebuild98
2 files changed, 99 insertions, 0 deletions
diff --git a/kde-apps/marble/Manifest b/kde-apps/marble/Manifest
index 5875b00729ee..27fd352fb491 100644
--- a/kde-apps/marble/Manifest
+++ b/kde-apps/marble/Manifest
@@ -1,2 +1,3 @@
DIST marble-22.08.3.tar.xz 53675664 BLAKE2B a0678e41a752f08cbdda882b89eb55d1837fc3fe595bb014739304238aa1cff955fee8e20849d5e028a2d1e72fec780676433b05f6156399fe721ad033fc5590 SHA512 74ef0f7afb13bb4831335709d4ab9b64889a4b038d6a24e861538836ad27704261cdb3d78f2569345e2a5e2c4045550c8eac64f241d14f65631eddc419802edd
DIST marble-22.12.1.tar.xz 53748000 BLAKE2B b84d0dbb51003cbddc589893ef4aeaa822e394e8ca1bc1fe04bda4aa707106fca80faf464a7f73fac16a9fb9520c11fd5c53816e9e0ffa205b234d3afc88635e SHA512 102196d18f637ea4ff088a400e3e074ca2dbe4ebe40d611d72a159234830f601d42641db0124e787324ffd8f5ee1dabdf6a2eda6a76144e0556824cc2f7e6cf3
+DIST marble-22.12.2.tar.xz 53753552 BLAKE2B 27411f6f8a5b2ab20a840a62defe1bf2071a84259f9a2e1a1cfdfee9d54c62fb97b99b68125f6795bc5389f12f2d07c54b4c22d6df14ed408b64572e940a9e40 SHA512 699d0e5555f7f653f1601198da611d402e3b966c51db03f6423a96c2640c683705f5809800241798937ab879f5d94605a75b96d972941048e650fcc79d95896e
diff --git a/kde-apps/marble/marble-22.12.2.ebuild b/kde-apps/marble/marble-22.12.2.ebuild
new file mode 100644
index 000000000000..5f44c048bd24
--- /dev/null
+++ b/kde-apps/marble/marble-22.12.2.ebuild
@@ -0,0 +1,98 @@
+# 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.101.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
+}