diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-06-08 20:57:45 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-06-09 12:56:21 +0200 |
commit | 1a0f5f8647f44bb78f3ac1ce001695c674f51db0 (patch) | |
tree | 6cb90d3974a55f63da573ec2044d167538eb34ff /kde-apps/marble | |
parent | kde-apps/libkeduvocdocument: 22.04.2 version bump (diff) | |
download | gentoo-1a0f5f8647f44bb78f3ac1ce001695c674f51db0.tar.gz gentoo-1a0f5f8647f44bb78f3ac1ce001695c674f51db0.tar.bz2 gentoo-1a0f5f8647f44bb78f3ac1ce001695c674f51db0.zip |
kde-apps/marble: 22.04.2 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/marble')
-rw-r--r-- | kde-apps/marble/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/marble/marble-22.04.2.ebuild | 98 |
2 files changed, 99 insertions, 0 deletions
diff --git a/kde-apps/marble/Manifest b/kde-apps/marble/Manifest index 0213edd58257..f0a24dc6ff8d 100644 --- a/kde-apps/marble/Manifest +++ b/kde-apps/marble/Manifest @@ -1,2 +1,3 @@ DIST marble-21.12.3.tar.xz 53653508 BLAKE2B b7b8b61d9aaad81ee7c7981ae83acdbc6834a18dd1adc6e871724ecdcb5f1b49e8b1d66cb73487aaaa85846f1ca0a20f261c682d7fd02b937af57d41eb1ae378 SHA512 35e6ba79e8b324717e2b929743a7df1b43f0a9f32c704f8fd6ed834327e3b9b4281531ea9c7d8ff315544222b775e67fedb63d4bcd2cd81fa4ec4c8531016cde DIST marble-22.04.1.tar.xz 53674572 BLAKE2B f35f71893d6423ea6d700ec28ccac3c6a077666e875db8a4a0a1030b46e37d6cc830043f69df752806daa17fb19c76fcb86b3c8595d9dc45c9dcccc684a599e1 SHA512 7a0fd0992ce1cf8bcfe71f95e6e374d441ba600c93057a9f344a021687c912f076e5d020de4489c5cbffce7e990c4473d25c0d223ca5646d9a083a3cb62f6586 +DIST marble-22.04.2.tar.xz 53677556 BLAKE2B e93cfa08bf41d7375a488be2ce1edc0374100dc3d4377fb555f787230ad8c2621db41a9bb7cbe557371476fde2529d042c57588da42188c550c1d73b5ecd2f7b SHA512 8f6eb78bbb9cfa032ac9673f1b760734e5e7aae37a5309f7b267a2983c50c96d3f24ec9943441ac8bf1c0107bad21cffe627cf1f240cab199c7d4fefd3521932 diff --git a/kde-apps/marble/marble-22.04.2.ebuild b/kde-apps/marble/marble-22.04.2.ebuild new file mode 100644 index 000000000000..de99365a1845 --- /dev/null +++ b/kde-apps/marble/marble-22.04.2.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.92.0 +QTMIN=5.15.3 +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 ~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 +} |