Update PKGBUILD to fix breakage due to wlroots0.17 (#237)

This commit is contained in:
Danie 2023-11-24 22:46:50 +02:00 committed by GitHub
parent 2d6944dc14
commit 9cd02fc480
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -19,13 +19,12 @@ depends=(
"libjson-c.so" "libjson-c.so"
"libudev.so" "libudev.so"
"libwayland-server.so" "libwayland-server.so"
"libwlroots.so" "libwlroots.so=11"
"libxcb" "libxcb"
"libxkbcommon.so" "libxkbcommon.so"
"pango" "pango"
"pcre2" "pcre2"
"ttf-font" "ttf-font"
"wlroots<0.17"
) )
optdepends=( optdepends=(
"alacritty: Terminal emulator used by the default config" "alacritty: Terminal emulator used by the default config"
@ -58,6 +57,7 @@ pkgver() {
} }
build() { build() {
export PKG_CONFIG_PATH='/usr/lib/wlroots0.16/pkgconfig'
arch-meson \ arch-meson \
-Dwerror=false \ -Dwerror=false \
"$_pkgname" build "$_pkgname" build

View file

@ -19,13 +19,12 @@ depends=(
"libjson-c.so" "libjson-c.so"
"libudev.so" "libudev.so"
"libwayland-server.so" "libwayland-server.so"
"libwlroots.so" "libwlroots.so=11"
"libxcb" "libxcb"
"libxkbcommon.so" "libxkbcommon.so"
"pango" "pango"
"pcre2" "pcre2"
"ttf-font" "ttf-font"
"wlroots<0.17"
) )
optdepends=( optdepends=(
"alacritty: Terminal emulator used by the default config" "alacritty: Terminal emulator used by the default config"
@ -53,6 +52,7 @@ options=(debug)
install=sway.install install=sway.install
build() { build() {
export PKG_CONFIG_PATH='/usr/lib/wlroots0.16/pkgconfig'
arch-meson \ arch-meson \
-Dwerror=false \ -Dwerror=false \
"${_pkgname}-${pkgver}" build "${_pkgname}-${pkgver}" build