# Template file for 'lumina'.
pkgname=lumina
version=1.3.0p1
revision=1
wrksrc=lumina-qt5-${version%p*}
build_style=qmake
hostmakedepends="qt5-host-tools"
makedepends="qt5-devel qt5-x11extras-devel qt5-multimedia-devel qt5-svg-devel
 qt5-declarative-devel libXrender-devel libXcomposite-devel libXdamage-devel
 xcb-util-devel xcb-util-wm-devel xcb-util-image-devel pulseaudio-devel"
depends="fluxbox numlockx xbacklight alsa-utils acpi xscreensaver oxygen-icons"
short_desc="Lumina Desktop Environment"
maintainer="Orphaned <orphan@voidlinux.eu>"
license="3-clause-BSD"
homepage="https://github.com/trueos/lumina"
distfiles="https://github.com/trueos/lumina/archive/qt5/${version}.tar.gz"
checksum=be3713bf1f285d6a2a0e66c14dd3f214d3b09c78115a0dbc7cd1d8ba64e54766
replaces="lumina-git>=0"
configure_args="QT5LIBDIR=/usr/lib/qt5 L_ETCDIR=/etc"

if [ -n "$CROSS_BUILD" ]; then
	hostmakedepends+=" qt5-tools-devel qt5-x11extras-devel qt5-multimedia-devel qt5-svg-devel"
fi

post_install() {
	vlicense LICENSE
}
