fix build ola

Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
Rick Huijzer 2025-07-25 12:24:48 +02:00 committed by Andreas Enge
parent dcc8e8adab
commit 59bcb51418
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -50,31 +50,29 @@
(base32 "0mbf5dc309pqg9ckqgk2kh9p3mf9vqsjkxnwjzqw7yzzf17ij3zk")) (base32 "0mbf5dc309pqg9ckqgk2kh9p3mf9vqsjkxnwjzqw7yzzf17ij3zk"))
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs (list bison
(list bison cppunit
cppunit flex
flex pkg-config
pkg-config ;; For git repository bootstrapping.
;; For git repository bootstrapping. autoconf
autoconf automake
automake libtool))
libtool)) (inputs (list libftdi libmicrohttpd libusb
(inputs `(,util-linux "lib") zlib))
(list libftdi (propagated-inputs (list protobuf)) ;for pkg-config --libs libola
libmicrohttpd
libusb
`(,util-linux "lib")
zlib))
(propagated-inputs
(list protobuf)) ; for pkg-config --libs libola
(arguments (arguments
(list (list
;; G++ >= 4.8 macro expansion tracking requires lots of memory, causing ;; G++ >= 4.8 macro expansion tracking requires lots of memory, causing
;; build to fail on low memory systems. We disable that with the ;; build to fail on low memory systems. We disable that with the
;; following configure flags. ;; following configure flags.
#:configure-flags #~(list "CXXFLAGS=-ftrack-macro-expansion=0"))) ;; We also have to omit: use of std::auto_ptr is deprecated, and template-id not allowed for constructor in C++20
#:configure-flags
#~(list
"CXXFLAGS=-ftrack-macro-expansion=0 -Wno-error=deprecated-declarations -Wno-template-id-cdtor")))
(synopsis "Framework for controlling entertainment lighting equipment") (synopsis "Framework for controlling entertainment lighting equipment")
(description "The Open Lighting Architecture is a framework for lighting (description
"The Open Lighting Architecture is a framework for lighting
control information. It supports a range of protocols and over a dozen USB control information. It supports a range of protocols and over a dozen USB
devices. It can run as a standalone service, which is useful for converting devices. It can run as a standalone service, which is useful for converting
signals between protocols, or alternatively using the OLA API, it can be used signals between protocols, or alternatively using the OLA API, it can be used