void-packages/srcpkgs/QLC+/template

25 lines
791 B
Bash

# Template file for 'QLC+'
pkgname=QLC+
version=4.12.7
revision=1
build_style=qmake
hostmakedepends="qt5-qmake pkg-config qt5-host-tools"
makedepends="eudev-libudev-devel qt5-devel qt5-multimedia-devel
qt5-script-devel alsa-lib-devel libftdi1-devel libusb-compat-devel
libsndfile-devel libmad-devel"
short_desc="Q Lighting Controller"
maintainer="Michael Aldridge <maldridge@VoidLinux.org>"
license="Apache-2.0"
homepage="https://www.qlcplus.org/"
distfiles="https://github.com/mcallegari/qlcplus/archive/QLC+_$version.tar.gz"
checksum=6ad8c66860041a54064a22d951e2a76799feaa02821ca774ac0de4bba717ab91
pre_build() {
vsed -i 's/QMAKE_CXXFLAGS/#QMAKE_CXXFLAGS/' variables.pri
}
post_install() {
vmkdir usr/lib/udev/rules.d
mv $DESTDIR/etc/udev/rules.d/* $DESTDIR/usr/lib/udev/rules.d/
}