From b88e3c6e27bea042f99702372191b10179a7be79 Mon Sep 17 00:00:00 2001 From: John Date: Sat, 15 May 2021 15:21:47 +0200 Subject: [PATCH] kwin: update to 5.22.0. --- srcpkgs/kwin/patches/musl.patch | 10 ---------- srcpkgs/kwin/template | 16 +++++++--------- 2 files changed, 7 insertions(+), 19 deletions(-) delete mode 100644 srcpkgs/kwin/patches/musl.patch diff --git a/srcpkgs/kwin/patches/musl.patch b/srcpkgs/kwin/patches/musl.patch deleted file mode 100644 index 4d86750a9cb..00000000000 --- a/srcpkgs/kwin/patches/musl.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- src/3rdparty/xcursor.c 2020-09-19 14:34:54.765245866 +0200 -+++ - 2020-09-19 14:35:18.599411888 +0200 -@@ -27,6 +27,7 @@ - #include - #include - #include -+#define _GNU_SOURCE - #include - - /* diff --git a/srcpkgs/kwin/template b/srcpkgs/kwin/template index 97a2b68a3d8..7b3fcaca185 100644 --- a/srcpkgs/kwin/template +++ b/srcpkgs/kwin/template @@ -1,10 +1,12 @@ # Template file for 'kwin' pkgname=kwin -version=5.21.5 +version=5.22.0 revision=1 build_style=cmake -configure_args="-DBUILD_TESTING=OFF" -hostmakedepends="extra-cmake-modules gettext breeze pkg-config" +configure_args="-DBUILD_TESTING=OFF + -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson" +hostmakedepends="extra-cmake-modules gettext breeze pkg-config + qt5-qmake qt5-host-tools kcoreaddons kconfig" makedepends="plasma-framework-devel kcmutils-devel knewstuff-devel kscreenlocker-devel kinit-devel xcb-util-cursor-devel qt5-multimedia-devel kdecoration-devel libxkbcommon-devel libinput-devel libSM-devel @@ -16,15 +18,11 @@ maintainer="John " license="GPL-2.0-or-later" homepage="https://invent.kde.org/plasma/kwin" distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz" -checksum=a286edfaa13bf73565514ee3edb092cfbccac2307c48058a7302a4676c808331 +checksum=56e6cfe23d445b1ee0650c5ac484e8cc63ba39e2f2d77a0d32c4c23905cc0e01 patch_args=-Np1 build_options="pipewire" - -if [ "$CROSS_BUILD" ]; then - hostmakedepends+=" qt5-qmake qt5-host-tools kcoreaddons kconfig" - configure_args+=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson" -fi +build_options_default="pipewire" if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then makedepends+=" libatomic-devel"