fix: aur build failed: sd-bus-provider set to auto (#240)

> swayfx/meson.build:92:2: ERROR: Assert failed: sd-bus-provider must
not be set to auto since auto_features != auto
This commit is contained in:
Ben 2023-11-26 00:53:46 +08:00 committed by GitHub
parent 9cd02fc480
commit ab6dc54e6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -1,7 +1,7 @@
# Maintainer: Erik Reider <erik.reider@protonmail.com> # Maintainer: Erik Reider <erik.reider@protonmail.com>
_pkgname=swayfx _pkgname=swayfx
pkgname="$_pkgname-git" pkgname="$_pkgname-git"
pkgver=r6930.94ebb45e pkgver=r7023.9cd02fc4
pkgrel=1 pkgrel=1
license=("MIT") license=("MIT")
pkgdesc="SwayFX: Sway, but with eye candy!" pkgdesc="SwayFX: Sway, but with eye candy!"
@ -60,6 +60,7 @@ build() {
export PKG_CONFIG_PATH='/usr/lib/wlroots0.16/pkgconfig' export PKG_CONFIG_PATH='/usr/lib/wlroots0.16/pkgconfig'
arch-meson \ arch-meson \
-Dwerror=false \ -Dwerror=false \
-Dsd-bus-provider=libsystemd \
"$_pkgname" build "$_pkgname" build
meson compile -C build meson compile -C build
} }

View file

@ -55,6 +55,7 @@ build() {
export PKG_CONFIG_PATH='/usr/lib/wlroots0.16/pkgconfig' export PKG_CONFIG_PATH='/usr/lib/wlroots0.16/pkgconfig'
arch-meson \ arch-meson \
-Dwerror=false \ -Dwerror=false \
-Dsd-bus-provider=libsystemd \
"${_pkgname}-${pkgver}" build "${_pkgname}-${pkgver}" build
meson compile -C build meson compile -C build
} }