8000 mark-devkit: Bump kde-apps/marble-23.08.2 by geaaru · Pull Request #85 · macaroni-os/kde-kit · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

mark-devkit: Bump kde-apps/marble-23.08.2 #85

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions kde-apps/marble/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST marble-23.08.2.tar.xz 53785712 BLAKE2B b81ffc8b097efe0c2466c334bf6e6819b5cf36a5c8c2d6185822c21a0c0621e1ddee1b289767a77f6cc1f0b643b566ffd1859fb73ac62526e1367d52fb40c260 SHA512 32da78b54d2a1603d3ca01a2fdc952b3d6654a8f68d1dc055baf3c58e17d0a677365a66ca989fb24cfdf92fe1309bad61eb407314f7e401540f505e5041e5db4
96 changes: 96 additions & 0 deletions kde-apps/marble/marble-23.08.2.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
# Distributed under the terms of the GNU General Public License v2

EAPI=7

KDE_HANDBOOK="optional" # see src/apps/marble-kde/CMakeLists.txt
KDE_TEST="forceoptional"
FRAMEWORKS_MINIMAL=5.98.0
QT_MINIMAL=5.15.1
VIRTUALX_REQUIRED="test"
inherit kde5

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="*"
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? ( $(add_qt_dep linguist-tools) )
"
DEPEND="
$(add_qt_dep qtconcurrent)
$(add_qt_dep qtdeclarative)
$(add_qt_dep qtgui)
$(add_qt_dep qtnetwork)
$(add_qt_dep qtprintsupport)
$(add_qt_dep qtsql)
$(add_qt_dep qtsvg)
$(add_qt_dep qtwidgets)
$(add_qt_dep qtxml)
sys-libs/zlib
aprs? ( $(add_qt_dep qtserialport) )
dbus? ( $(add_qt_dep qtdbus) )
designer? ( $(add_qt_dep designer) )
geolocation? ( $(add_qt_dep qtpositioning) )
gps? ( sci-geosciences/gpsd )
kde? (
$(add_frameworks_dep kconfig)
$(add_frameworks_dep kconfigwidgets)
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep kcrash)
$(add_frameworks_dep ki18n)
$(add_frameworks_dep kio)
$(add_frameworks_dep knewstuff)
$(add_frameworks_dep kparts)
$(add_frameworks_dep krunner)
$(add_frameworks_dep kservice)
$(add_frameworks_dep kwallet)
)
pbf? ( dev-libs/protobuf:= )
phonon? ( >=media-libs/phonon-4.11.0 )
shapefile? ( sci-libs/shapelib:= )
webengine? (
$(add_qt_dep qtwebchannel)
$(add_qt_dep qtwebengine)
)
"
RDEPEND="${DEPEND}"

# bug 588320
RESTRICT+=" test"

src_prepare() {
kde5_src_prepare

rm -rf src/3rdparty/zlib || die "Failed to remove bundled libs"

use kde && cd src/apps && cmake_comment_add_subdirectory marble-qt
}

src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package aprs Perl)
$(cmake-utils_use_find_package geolocation Qt5Positioning)
-DBUILD_MARBLE_TESTS=$(usex test)
-DWITH_DESIGNER_PLUGIN=$(usex designer)
-DWITH_libgps=$(usex gps)
-DWITH_KF5=$(usex kde)
$(cmake-utils_use_find_package pbf Protobuf)
-DWITH_Phonon4Qt5=$(usex phonon)
-DWITH_libshp=$(usex shapefile)
$(cmake-utils_use_find_package webengine Qt5WebEngine)
$(cmake-utils_use_find_package webengine Qt5WebEngineWidgets)
-DWITH_libwlocate=OFF
# bug 608890
-DKDE_INSTALL_CONFDIR="/etc/xdg"
)
if use kde; then
kde5_src_configure
else
cmake-utils_src_configure
fi
}
0