mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-15 03:23:50 +02:00
parent
edb2aad207
commit
1de9f36e8f
2 changed files with 18 additions and 4 deletions
11
srcpkgs/kwin/patches/cross.patch
Normal file
11
srcpkgs/kwin/patches/cross.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- a/src/effects/CMakeLists.txt 2022-02-07 13:48:20.000000000 +0100
|
||||||
|
+++ - 2022-02-10 15:23:10.228131146 +0100
|
||||||
|
@@ -8,7 +8,7 @@
|
||||||
|
kcoreaddons_add_plugin(${name} INSTALL_NAMESPACE "kwin/effects/configs" SOURCES ${ARGV})
|
||||||
|
endfunction()
|
||||||
|
|
||||||
|
-if (CMAKE_CROSSCOMPILING)
|
||||||
|
+if (CMAKE_CROSSCOMPILING AND NOT FORCE_CROSSCOMPILED_TOOLS)
|
||||||
|
if (NOT KWIN_HOST_TOOLING)
|
||||||
|
message(FATAL_ERROR "Please provide the path to a native build and pass -DKWIN_HOST_TOOLING=path")
|
||||||
|
endif()
|
|
@ -1,24 +1,27 @@
|
||||||
# Template file for 'kwin'
|
# Template file for 'kwin'
|
||||||
pkgname=kwin
|
pkgname=kwin
|
||||||
version=5.23.5
|
version=5.24.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
|
build_helper=qemu
|
||||||
configure_args="-DBUILD_TESTING=OFF
|
configure_args="-DBUILD_TESTING=OFF
|
||||||
-DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
|
-DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson
|
||||||
|
-DFORCE_CROSSCOMPILED_TOOLS=ON"
|
||||||
hostmakedepends="extra-cmake-modules gettext breeze pkg-config
|
hostmakedepends="extra-cmake-modules gettext breeze pkg-config
|
||||||
qt5-qmake qt5-host-tools kcoreaddons kconfig"
|
qt5-qmake qt5-host-tools kcoreaddons kconfig"
|
||||||
makedepends="plasma-framework-devel kcmutils-devel knewstuff-devel
|
makedepends="plasma-framework-devel kcmutils-devel knewstuff-devel
|
||||||
kscreenlocker-devel kinit-devel xcb-util-cursor-devel qt5-multimedia-devel
|
kscreenlocker-devel kinit-devel xcb-util-cursor-devel qt5-multimedia-devel
|
||||||
kdecoration-devel libxkbcommon-devel libinput-devel libSM-devel
|
kdecoration-devel libxkbcommon-devel libinput-devel libSM-devel
|
||||||
libICE-devel xcb-util-wm-devel qt5-sensors-devel libcap-devel lcms2-devel
|
libICE-devel xcb-util-wm-devel qt5-sensors-devel libcap-devel lcms2-devel
|
||||||
kwayland-server-devel $(vopt_if pipewire pipewire-devel) krunner-devel"
|
kwayland-server-devel $(vopt_if pipewire pipewire-devel) krunner-devel
|
||||||
|
xorg-server-xwayland"
|
||||||
depends="breeze hicolor-icon-theme kinit qt5-core>=5.15.2<5.16.0"
|
depends="breeze hicolor-icon-theme kinit qt5-core>=5.15.2<5.16.0"
|
||||||
short_desc="KDE Window manager"
|
short_desc="KDE Window manager"
|
||||||
maintainer="John <me@johnnynator.dev>"
|
maintainer="John <me@johnnynator.dev>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="https://invent.kde.org/plasma/kwin"
|
homepage="https://invent.kde.org/plasma/kwin"
|
||||||
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
|
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=f749e7e9b753d1ed1ae9655ea3cdec7d13946c64c820d4c85be2c0f95ac55f01
|
checksum=f2d71f786efab031f4e4709e09e460257cc65bc876e5e09b508f293f95dd07ab
|
||||||
|
|
||||||
build_options="pipewire"
|
build_options="pipewire"
|
||||||
build_options_default="pipewire"
|
build_options_default="pipewire"
|
||||||
|
|
Loading…
Add table
Reference in a new issue