summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-12-12 20:31:38 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2023-12-12 20:58:10 +0100
commit8d66c96fc5ae091c7c73513db6e1441e4c51edfd (patch)
treeca33e9a0d84fc6e60ed7a526850324a61dfc3ec1
parent5b0953a41122f569da6ee25ab0425cb41315cf24 (diff)
downloadkde-8d66c96fc5ae091c7c73513db6e1441e4c51edfd.tar.gz
kde-8d66c96fc5ae091c7c73513db6e1441e4c51edfd.tar.bz2
kde-8d66c96fc5ae091c7c73513db6e1441e4c51edfd.zip
kde-plasma/plasma-desktop: Update dependencies, add IUSE sdl
Upstream commits: 22eb308143c68983b3a7ae5c50b7b7a59cc11abd 190b4ffac48760ef7f7ae0d4987311ac40698043 3dad75da719337b15dd764f4ab9a644dd78e7039 4b2eaf2efab780fa7f1a5008f9682954495f7290 6af8034ced469b0a9f2c22db5b8a5eec296c5992 7fe5642bc3dda5d04e299c2f929c54642964bd22 8a4788e9daa4841c1457153be1a2d0712bdf575a Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--kde-plasma/plasma-desktop/metadata.xml1
-rw-r--r--kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild19
2 files changed, 15 insertions, 5 deletions
diff --git a/kde-plasma/plasma-desktop/metadata.xml b/kde-plasma/plasma-desktop/metadata.xml
index 868d26b79a5..0d0782816b0 100644
--- a/kde-plasma/plasma-desktop/metadata.xml
+++ b/kde-plasma/plasma-desktop/metadata.xml
@@ -13,5 +13,6 @@
<flag name="kaccounts">Build the OpenDesktop integration plugin</flag>
<flag name="scim">Enable applets that use <pkg>app-i18n/scim</pkg></flag>
<flag name="screencast">Enable screencast portal thumbnails using <pkg>kde-plasma/kpipewire</pkg></flag>
+ <flag name="sdl">Enable gamepad support using <pkg>media-libs/libsdl2</pkg></flag>
</use>
</pkgmetadata>
diff --git a/kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild b/kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild
index 799b639a2cb..938a970cd81 100644
--- a/kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild
+++ b/kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild
@@ -15,11 +15,14 @@ DESCRIPTION="KDE Plasma desktop"
LICENSE="GPL-2" # TODO: CHECK
SLOT="6"
KEYWORDS=""
-IUSE="ibus scim screencast +semantic-desktop" # +kaccounts
+IUSE="ibus scim screencast sdl +semantic-desktop" # +kaccounts
+
+RESTRICT="test" # missing selenium-webdriver-at-spi
# kde-frameworks/kwindowsystem[X]: Uses KX11Extras
COMMON_DEPEND="
dev-libs/wayland
+ >=dev-qt/qt5compat-${QTMIN}:6[qml]
>=dev-qt/qtbase-${QTMIN}:6[concurrent,dbus,gui,network,sql,widgets,xml]
>=dev-qt/qtdeclarative-${QTMIN}:6
>=dev-qt/qtsvg-${QTMIN}:6
@@ -36,7 +39,6 @@ COMMON_DEPEND="
>=kde-frameworks/kcoreaddons-${KFMIN}:6
>=kde-frameworks/kcrash-${KFMIN}:6
>=kde-frameworks/kdbusaddons-${KFMIN}:6
- >=kde-frameworks/kdeclarative-${KFMIN}:6
>=kde-frameworks/kded-${KFMIN}:6
>=kde-frameworks/kglobalaccel-${KFMIN}:6
>=kde-frameworks/kguiaddons-${KFMIN}:6
@@ -53,6 +55,7 @@ COMMON_DEPEND="
>=kde-frameworks/kparts-${KFMIN}:6
>=kde-frameworks/krunner-${KFMIN}:6
>=kde-frameworks/kservice-${KFMIN}:6
+ >=kde-frameworks/ksvg-${KFMIN}:6
>=kde-frameworks/kwidgetsaddons-${KFMIN}:6
>=kde-frameworks/kwindowsystem-${KFMIN}:6[X]
>=kde-frameworks/kxmlgui-${KFMIN}:6
@@ -64,6 +67,7 @@ COMMON_DEPEND="
>=kde-plasma/plasma-activities-${PVCUT}:6
>=kde-plasma/plasma-activities-stats-${PVCUT}:6
>=kde-plasma/plasma-workspace-${PVCUT}:6[screencast?]
+ >=kde-plasma/plasma5support-${PVCUT}:6
media-libs/libcanberra
x11-libs/libX11
x11-libs/libXcursor
@@ -75,10 +79,10 @@ COMMON_DEPEND="
ibus? (
app-i18n/ibus
dev-libs/glib:2
- x11-libs/libxcb
x11-libs/xcb-util-keysyms
)
scim? ( app-i18n/scim )
+ sdl? ( media-libs/libsdl2[joystick] )
semantic-desktop? ( >=kde-frameworks/baloo-${KFMIN}:6 )
"
# kaccounts? (
@@ -89,10 +93,14 @@ DEPEND="${COMMON_DEPEND}
>=dev-libs/wayland-protocols-1.25
dev-libs/boost
x11-base/xorg-proto
+ test? (
+ >=kde-frameworks/qqc2-desktop-style-${KFMIN}:6
+ >=kde-plasma/kactivitymanagerd-${PVCUT}:6
+ )
"
RDEPEND="${COMMON_DEPEND}
!<kde-plasma/kdeplasma-addons-5.25.50
- >=dev-qt/qt5compat-${QTMIN}:6[qml]
+ dev-libs/kirigami-addons:6
>=dev-qt/qtwayland-${QTMIN}:6
>=kde-frameworks/kirigami-${KFMIN}:6
>=kde-frameworks/qqc2-desktop-style-${KFMIN}:6
@@ -131,6 +139,7 @@ src_configure() {
$(cmake_use_find_package ibus GLIB2)
# $(cmake_use_find_package kaccounts AccountsQt6)
# $(cmake_use_find_package kaccounts KAccounts)
+ $(cmake_use_find_package sdl SDL2)
$(cmake_use_find_package semantic-desktop KF6Baloo)
)
@@ -151,7 +160,7 @@ src_test() {
pkg_postinst() {
if [[ -z "${REPLACING_VERSIONS}" ]]; then
- optfeature "screen reader support" app-accessibility/orca
+ optfeature "screen reader support" "app-accessibility/orca"
fi
ecm_pkg_postinst
}