void-packages/srcpkgs/xfwm4/template

25 lines
965 B
Bash

# Template file for 'xfwm4'
pkgname=xfwm4
version=4.18.0
revision=1
build_style=gnu-configure
configure_args="--with-locales-dir=/usr/share/locale"
hostmakedepends="pkg-config intltool"
makedepends="libxfce4ui-devel startup-notification-devel
libXcomposite-devel libXdamage-devel libXfixes-devel libXrandr-devel
libXrender-devel libXpresent-devel libwnck-devel"
depends="hicolor-icon-theme desktop-file-utils"
short_desc="Next generation window manager for Xfce"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://xfce.org/"
distfiles="https://archive.xfce.org/src/xfce/xfwm4/${version%.*}/xfwm4-${version}.tar.bz2"
checksum=92cd1b889bb25cb4bc06c1c6736c238d96e79c1e706b9f77fad0a89d6e5fc13f
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
}