25 lines
965 B
Bash
25 lines
965 B
Bash
# Template file for 'xfwm4'
|
|
pkgname=xfwm4
|
|
version=4.16.1
|
|
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=b5b24ca04bd73c642db0a4b4df81d262381d758f01b51108257d48b391b8718c
|
|
|
|
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
|
|
}
|