xfwm4: disable compositor by default on 32-bit and BE

This commit is contained in:
q66 2021-01-04 18:05:41 +01:00
parent 4a2824ad31
commit b49b77604c

View file

@ -1,7 +1,7 @@
# Template file for 'xfwm4'
pkgname=xfwm4
version=4.16.0
revision=2
revision=3
build_style=gnu-configure
configure_args="--with-locales-dir=/usr/share/locale"
hostmakedepends="pkg-config intltool"
@ -15,3 +15,10 @@ license="GPL-2.0-or-later"
homepage="https://xfce.org/"
distfiles="https://archive.xfce.org/src/xfce/xfwm4/${version%.*}/xfwm4-${version}.tar.bz2"
checksum=1e22eae1bbb66cebfd1753b0a5606e76ecbf6b09ce4cdfd732d093c936f1feb3
post_patch() {
# compositor may be buggy on old and big endian hardware
if [ "$XBPS_TARGET_WORDSIZE" = "32" -o "$XBPS_TARGET_ENDIAN" = "be" ]; then
vsed -i '/use_compositing/s/true/false/' defaults/defaults
fi
}