mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
plasma-workspace: fix dependency on xorg-server-xwayland
that subpackage is only built on some archs, see xorg-server/template.
This commit is contained in:
parent
e1a2d69d51
commit
8a7672bfea
1 changed files with 8 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'plasma-workspace'
|
# Template file for 'plasma-workspace'
|
||||||
pkgname=plasma-workspace
|
pkgname=plasma-workspace
|
||||||
version=5.18.3
|
version=5.18.3
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DBUILD_TESTING=OFF"
|
configure_args="-DBUILD_TESTING=OFF"
|
||||||
hostmakedepends="extra-cmake-modules iso-codes pkg-config kdoctools kcoreaddons
|
hostmakedepends="extra-cmake-modules iso-codes pkg-config kdoctools kcoreaddons
|
||||||
|
@ -13,7 +13,7 @@ makedepends="qt5-devel qt5-declarative-devel qt5-script-devel plasma-framework-d
|
||||||
libqalculate-devel prison-devel kholidays-devel ksolid-devel kpeople-devel
|
libqalculate-devel prison-devel kholidays-devel ksolid-devel kpeople-devel
|
||||||
libkscreen-devel kactivities5-stats-devel"
|
libkscreen-devel kactivities5-stats-devel"
|
||||||
depends="kactivitymanagerd kwin iso-codes milou plasma-integration
|
depends="kactivitymanagerd kwin iso-codes milou plasma-integration
|
||||||
kquickcharts xorg-server-xwayland qt5-wayland"
|
kquickcharts qt5-wayland"
|
||||||
short_desc="KDE Window manager"
|
short_desc="KDE Window manager"
|
||||||
maintainer="John <johnz@posteo.net>"
|
maintainer="John <johnz@posteo.net>"
|
||||||
license="GPL-2.0-or-later, GFDL-1.2-or-later, LGPL-2.1-or-later"
|
license="GPL-2.0-or-later, GFDL-1.2-or-later, LGPL-2.1-or-later"
|
||||||
|
@ -21,6 +21,12 @@ homepage="https://projects.kde.org/projects/plasma/plasma-workspace"
|
||||||
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
|
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=ba3784de8aabe863bfdaabe69cd04f2b333a5572760b21d49d107c71362e639b
|
checksum=ba3784de8aabe863bfdaabe69cd04f2b333a5572760b21d49d107c71362e639b
|
||||||
|
|
||||||
|
# xorg-server-xwayland only exists for a few archs, see xorg-server/template
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
i686*|x86_64*|aarch64*|ppc*|armv7l*)
|
||||||
|
depends+=" xorg-server-xwayland" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends+=" kpackage-devel kconfig-devel kcoreaddons-devel plasma-framework"
|
hostmakedepends+=" kpackage-devel kconfig-devel kcoreaddons-devel plasma-framework"
|
||||||
configure_args+=" -DKF5_HOST_TOOLING=/usr/lib/cmake"
|
configure_args+=" -DKF5_HOST_TOOLING=/usr/lib/cmake"
|
||||||
|
|
Loading…
Add table
Reference in a new issue