# Template file for 'lxsession'
pkgname=lxsession
version=0.5.6
revision=1
build_style=gnu-configure
configure_args="--enable-buildin-clipboard --enable-buildin-polkit --enable-gtk3"
hostmakedepends="pkg-config intltool vala automake glib-devel gettext-devel"
makedepends="dbus-glib-devel gtk+3-devel polkit-devel"
depends="hicolor-icon-theme"
short_desc="LXDE X11 Session Manager"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://lxde.org/"
distfiles="https://github.com/lxde/lxsession/archive/refs/tags/${version}.tar.gz"
checksum=af469d7ed6edbd733da6ad01a46fef3eff871483db5b3d8ecc3c856dbcbed12f
replaces="lxpolkit>=0"

pre_configure() {
	[ -d m4 ] || mkdir m4
	autoreconf -fi
}
