| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 |
|
| 20 | (define-module (gnu packages lighting)
|
| 21 | #:use-module (guix build-system gnu)
|
| 22 | #:use-module (guix gexp)
|
| 23 | #:use-module (guix git-download)
|
| 24 | #:use-module ((guix licenses) #:prefix license:)
|
| 25 | #:use-module (guix packages)
|
| 26 | #:use-module (gnu packages)
|
| 27 | #:use-module (gnu packages autotools)
|
| 28 | #:use-module (gnu packages bison)
|
| 29 | #:use-module (gnu packages check)
|
| 30 | #:use-module (gnu packages compression)
|
| 31 | #:use-module (gnu packages gnunet)
|
| 32 | #:use-module (gnu packages compiler-tools)
|
| 33 | #:use-module (gnu packages libftdi)
|
| 34 | #:use-module (gnu packages libusb)
|
| 35 | #:use-module (gnu packages linux)
|
| 36 | #:use-module (gnu packages pkg-config)
|
| 37 | #:use-module (gnu packages protobuf))
|
| 38 |
|
| 39 | (define-public ola
|
| 40 | (package
|
| 41 | (name "ola")
|
| 42 | (version "0.10.9")
|
| 43 | (source
|
| 44 | (origin
|
| 45 | (method git-fetch)
|
| 46 | (uri (git-reference
|
| 47 | (url "https://github.com/OpenLightingProject/ola")
|
| 48 | (commit version)))
|
| 49 | (sha256
|
| 50 | (base32 "0mbf5dc309pqg9ckqgk2kh9p3mf9vqsjkxnwjzqw7yzzf17ij3zk"))
|
| 51 | (file-name (git-file-name name version))))
|
| 52 | (build-system gnu-build-system)
|
| 53 | (native-inputs (list bison
|
| 54 | cppunit
|
| 55 | flex
|
| 56 | pkg-config
|
| 57 | |
| 58 | autoconf
|
| 59 | automake
|
| 60 | libtool))
|
| 61 | (inputs (list libftdi libmicrohttpd libusb
|
| 62 | `(,util-linux "lib") zlib))
|
| 63 | (propagated-inputs (list protobuf)) |
| 64 | (arguments
|
| 65 | (list
|
| 66 | |
| 67 | |
| 68 | |
| 69 | |
| 70 | #:configure-flags
|
| 71 | #~(list
|
| 72 | "CXXFLAGS=-ftrack-macro-expansion=0 -Wno-error=deprecated-declarations -Wno-template-id-cdtor")))
|
| 73 | (synopsis "Framework for controlling entertainment lighting equipment")
|
| 74 | (description
|
| 75 | "The Open Lighting Architecture is a framework for lighting
|
| 76 | control information. It supports a range of protocols and over a dozen USB
|
| 77 | devices. It can run as a standalone service, which is useful for converting
|
| 78 | signals between protocols, or alternatively using the OLA API, it can be used
|
| 79 | as the backend for lighting control software. OLA runs on many different
|
| 80 | platforms including ARM, which makes it a perfect fit for low cost Ethernet to
|
| 81 | DMX gateways.")
|
| 82 | (home-page "https://www.openlighting.org/ola")
|
| 83 | (license license:lgpl2.1+)))
|