void-packages/srcpkgs/QLC+/template

27 lines
859 B
Bash
Raw Normal View History

2020-05-14 07:13:36 +00:00
# Template file for 'QLC+'
pkgname=QLC+
2020-11-27 14:39:56 +00:00
version=4.12.3
2020-05-14 07:13:36 +00:00
revision=1
wrksrc=qlcplus-QLC-_$version
build_style=qmake
hostmakedepends="qt5-qmake pkg-config qt5-host-tools
qt5-multimedia-devel qt5-script-devel"
makedepends="eudev-libudev-devel qt5-devel qt5-multimedia-devel
2020-11-27 14:39:56 +00:00
qt5-script-devel alsa-lib-devel libftdi1-devel libusb-compat-devel
libsndfile-devel libmad-devel"
2020-05-14 07:13:36 +00:00
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"
2020-11-27 14:39:56 +00:00
checksum=cefb5e84dee04b3567733fcaf4f8125069eec859b506e790ba8a9d921f1e75cc
2020-05-14 07:13:36 +00:00
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/
}