Skip to content

Commit

Permalink
kde-plasma/plasma-workspace: Drop IUSE geolocation, update dependencies
Browse files Browse the repository at this point in the history
Upstream commits:
83e70f80f7d7c7820dce4f810c2e9f4057a675ea
33733d5edceb35a8b1b2626a3217bd14c141f199
947cb0bb0c6dc574f409d73a368475a54d73b4fd

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
  • Loading branch information
a17r committed Oct 12, 2024
1 parent fb4d3b7 commit f4881c9
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ DESCRIPTION="KDE Plasma workspace"
LICENSE="GPL-2" # TODO: CHECK
SLOT="6"
KEYWORDS=""
IUSE="appstream +calendar +fontconfig geolocation gps +policykit
screencast +semantic-desktop systemd telemetry +wallpaper-metadata"
IUSE="appstream +calendar +fontconfig gps +policykit screencast
+semantic-desktop systemd telemetry +wallpaper-metadata"

REQUIRED_USE="gps? ( geolocation )"
RESTRICT="test"

# kde-frameworks/kwindowsystem[X]: Uses KX11Extras
Expand Down Expand Up @@ -107,15 +106,13 @@ COMMON_DEPEND="
x11-libs/libXft
x11-libs/xcb-util-image
)
geolocation? ( >=kde-frameworks/networkmanager-qt-${KFMIN}:6 )
gps? ( sci-geosciences/gpsd )
policykit? (
>=sys-auth/polkit-qt-0.175[qt6(+)]
virtual/libcrypt:=
)
screencast? (
>=dev-qt/qtbase-${QTMIN}:6=[opengl]
>=kde-plasma/kpipewire-${PVCUT}:6
media-libs/libglvnd
>=media-video/pipewire-0.3:=
x11-libs/libdrm
Expand All @@ -127,7 +124,7 @@ COMMON_DEPEND="
"
DEPEND="${COMMON_DEPEND}
>=dev-libs/plasma-wayland-protocols-1.14.0
dev-libs/qcoro[dbus]
dev-libs/qcoro
>=dev-qt/qtbase-${QTMIN}:6[concurrent]
x11-base/xorg-proto
fontconfig? ( x11-libs/libXrender )
Expand Down Expand Up @@ -171,16 +168,9 @@ src_prepare() {

# TODO: try to get a build switch upstreamed
if ! use screencast; then
ecm_punt_bogus_dep KPipeWire
sed -e "s/^pkg_check_modules.*PipeWire/#&/" -i CMakeLists.txt || die
fi

# TODO: try to get a build switch upstreamed
if use geolocation; then
use gps || sed -e "s/^pkg_check_modules.*LIBGPS/#&/" \
-i dataengines/geolocation/CMakeLists.txt || die
fi

if ! use policykit; then
cmake_run_in kcms cmake_comment_add_subdirectory users
fi
Expand All @@ -204,7 +194,6 @@ src_configure() {
$(cmake_use_find_package appstream AppStreamQt)
$(cmake_use_find_package calendar KF6Holidays)
$(cmake_use_find_package fontconfig Fontconfig)
$(cmake_use_find_package geolocation KF6NetworkManagerQt)
$(cmake_use_find_package semantic-desktop KF6Baloo)
$(cmake_use_find_package telemetry KF6UserFeedback)
$(cmake_use_find_package wallpaper-metadata KExiv2Qt6)
Expand Down

0 comments on commit f4881c9

Please sign in to comment.