diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-05-13 13:37:07 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-05-13 14:20:36 +0200 |
commit | 45f36f66c5b5a713bf9ce07a3ef7cdb9bdd98146 (patch) | |
tree | 9575441262c3e304a475d3df441da06f06e8d833 /kde-apps/marble | |
parent | kde-apps/libkeduvocdocument: 21.04.1 version bump (diff) | |
download | gentoo-45f36f66c5b5a713bf9ce07a3ef7cdb9bdd98146.tar.gz gentoo-45f36f66c5b5a713bf9ce07a3ef7cdb9bdd98146.tar.bz2 gentoo-45f36f66c5b5a713bf9ce07a3ef7cdb9bdd98146.zip |
kde-apps/marble: 21.04.1 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-21.04.1.ebuild | 98 |
2 files changed, 99 insertions, 0 deletions
diff --git a/kde-apps/marble/Manifest b/kde-apps/marble/Manifest index 3878ff3a3b5d..8d62c2810def 100644 --- a/kde-apps/marble/Manifest +++ b/kde-apps/marble/Manifest @@ -1,2 +1,3 @@ DIST marble-20.12.3.tar.xz 52242116 BLAKE2B 70d16d5d9e2e51fbdc8c9331e55ac1efa85fbb11e79443f8a977ccb804184afbed8ddcb7e7358ee41f61201036bcb9553f1f578be51401e118d928ec5bdf9263 SHA512 0dc69ce2dafac196d3b494bd29a268f879e8bd14ae916454682289822024d58e077e4972588cc6d51284459f2fc9aceacd4e1e8a8302f987556e20a7acaf172a DIST marble-21.04.0.tar.xz 52373900 BLAKE2B 813e7a3677c7d721b5ed6e037a0245237969aec77d0292bef8dfae5fa04b7aedc35a2a0f69a06a02a7e252efc4ca9e7f5a0b27ac69a7b99b31be696126a7d2a4 SHA512 ef012f9f831bfe7da73d10a33bdaf9a6bf07e6d7b10ff25ead944cadbc1535be558f945fa065f1f4d8d5210c19fb4d4cb5b5be9e95f493c5992709fbc6e81f69 +DIST marble-21.04.1.tar.xz 52378408 BLAKE2B 89764e7f3408d6f88295498b84d59e4be8b6acef3608789bf9959feda2d47a813a91904a17d101894d43a7b15f87479fa7780da9f58c27c8c60c6c73b37fe4c9 SHA512 5611867a93b7fdce0bc5745572f74deb49177d3bce8dac771ade1c137cdcad3703c5535069b2cc479a9a3aa81b31dde2eb115dfd540d6dda287726613d22ea12 diff --git a/kde-apps/marble/marble-21.04.1.ebuild b/kde-apps/marble/marble-21.04.1.ebuild new file mode 100644 index 000000000000..898a19e57325 --- /dev/null +++ b/kde-apps/marble/marble-21.04.1.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_HANDBOOK="optional" # see src/apps/marble-kde/CMakeLists.txt +ECM_TEST="forceoptional" +KFMIN=5.80.0 +QTMIN=5.15.2 +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 ~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 +} |