From a889b36b6ea422fac528ca988fd4b48635247a8e Mon Sep 17 00:00:00 2001 From: Frederik Schwan Date: Wed, 22 Nov 2023 21:53:36 +0100 Subject: [PATCH] move to wlroots0.16 --- .SRCINFO | 4 ++-- PKGBUILD | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 8e64a48..1fc67db 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = sway pkgdesc = Tiling Wayland compositor and replacement for the i3 window manager pkgver = 1.8.1 - pkgrel = 3 + pkgrel = 4 epoch = 1 url = https://swaywm.org/ install = sway.install @@ -19,7 +19,7 @@ pkgbase = sway depends = libjson-c.so depends = libudev.so depends = libwayland-server.so - depends = libwlroots.so + depends = libwlroots.so=11 depends = libxcb depends = libxkbcommon.so depends = pango diff --git a/PKGBUILD b/PKGBUILD index 5a05541..9800cdc 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ pkgname=sway pkgver=1.8.1 epoch=1 -pkgrel=3 +pkgrel=4 pkgdesc='Tiling Wayland compositor and replacement for the i3 window manager' arch=(x86_64) url='https://swaywm.org/' @@ -18,7 +18,7 @@ depends=( 'libjson-c.so' 'libudev.so' 'libwayland-server.so' - 'libwlroots.so' + 'libwlroots.so=11' 'libxcb' 'libxkbcommon.so' 'pango' @@ -76,6 +76,7 @@ prepare() { } build() { + export PKG_CONFIG_PATH='/usr/lib/wlroots0.16/pkgconfig' mkdir -p build arch-meson build "$pkgname-$pkgver" -D sd-bus-provider=libsystemd -D werror=false -D b_ndebug=true ninja -C build