smlinux/xfce/xfwm4/xfwm4.SMBuild
2022-02-03 09:08:25 +05:30

43 lines
No EOL
995 B
Text
Executable file

APP=xfwm4
VERSION=4.16.1
BUILD=1sml
HOMEPAGE="https://docs.xfce.org/xfce/xfwm4/start"
DOWNLOAD="https://archive.xfce.org/src/xfce/xfwm4/4.16/xfwm4-4.16.1.tar.bz2"
DESC="Xfce Window Manager"
REQUIRES="libepoxy libxpresent libxfce4ui xfconf"
build() {
mkandenterbuilddir
rm -rf $APP-$VERSION
tar xf $SRCDIR/$APP-$VERSION.tar.?z*
cd $APP-$VERSION
fixbuilddirpermissions
# Results in faster window draw and less CPU on the pi
if [ "$ARCH" = "aarch64" ]; then
compositingflag="--disable-compositor"
else
compositingflag="--enable-compositor"
fi
./configure \
--prefix="" \
--sysconfdir=/etc \
--disable-static \
--enable-startup-notification \
--enable-randr \
--enable-xsync \
$compositingflag
make
make install DESTDIR=$PKG
cp COPYING $PKGDOCS/
mkfinalpkg
}
SHA512SUMS="
f0d5d00e58202457d0d7d5f9772e7b2aa3f3339850065609baab7d379248a628d147464cc605698970134b87d58b7867b8c09d0a3a45ab84b2f3aa95be26f0b9 xfwm4-4.16.1.tar.bz2
"