New package: QLC+-4.12.2
This commit is contained in:
parent
41e273586c
commit
87bc1b16ad
2 changed files with 38 additions and 0 deletions
13
srcpkgs/QLC+/patches/include-types.patch
Normal file
13
srcpkgs/QLC+/patches/include-types.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- plugins/velleman/src/velleman_mock.cpp.orig 2020-07-05 16:57:25.002161999 -0700
|
||||
+++ plugins/velleman/src/velleman_mock.cpp 2020-07-05 16:58:10.053165244 -0700
|
||||
@@ -18,9 +18,7 @@
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
-#if defined(WIN32) || defined(Q_OS_WIN)
|
||||
-# include <stdint.h> // int32_t
|
||||
-#endif
|
||||
+#include <stdint.h>
|
||||
|
||||
extern "C"
|
||||
{
|
25
srcpkgs/QLC+/template
Normal file
25
srcpkgs/QLC+/template
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Template file for 'QLC+'
|
||||
pkgname=QLC+
|
||||
version=4.12.2
|
||||
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
|
||||
qt5-script-devel alsa-lib-devel libftdi1-devel libusb-compat-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=0d7448954e9f812008e8e64c367d27c3c55ed91c7b553a1d5f4a31cc8ba6cbdb
|
||||
|
||||
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/
|
||||
}
|
Loading…
Reference in a new issue