diff options
author | Raghav Gururajan <raghavgururajan@disroot.org> | 2020-06-24 23:38:53 -0400 |
---|---|---|
committer | Danny Milosavljevic <dannym@scratchpost.org> | 2020-08-18 22:54:09 +0200 |
commit | 55cc7dcdb491c98bd49b2b9f23c290a2ce0d62e2 (patch) | |
tree | d8eb98a89ce1ecdc743ff26ae7573bf4291f0a21 /gnu/packages/gstreamer.scm | |
parent | 702f243a9b713bb89522f3836e52f06beb594278 (diff) | |
download | guix-55cc7dcdb491c98bd49b2b9f23c290a2ce0d62e2.tar guix-55cc7dcdb491c98bd49b2b9f23c290a2ce0d62e2.tar.gz |
gnu: Add libvisual.
* gnu/packages/gstreamer.scm (libvisual): New variable.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
Diffstat (limited to 'gnu/packages/gstreamer.scm')
-rw-r--r-- | gnu/packages/gstreamer.scm | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm index 6381d426ba..cb85474e05 100644 --- a/gnu/packages/gstreamer.scm +++ b/gnu/packages/gstreamer.scm @@ -60,6 +60,7 @@ #:use-module (gnu packages pulseaudio) #:use-module (gnu packages qt) #:use-module (gnu packages rdf) + #:use-module (gnu packages sdl) #:use-module (gnu packages shells) #:use-module (gnu packages video) #:use-module (gnu packages xorg) @@ -73,6 +74,54 @@ #:use-module (gnu packages assembly) #:use-module (gnu packages xml)) +(define-public libvisual + (package + (name "libvisual") + (version "0.4.0") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/Libvisual/libvisual.git") + (commit (string-append name "-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "02xwakwkqjsznc03pjlb6hcv1li1gw3r8xvyswqsm4msix5xq18a")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; The package is in a sub-dir of this repo. + (add-after 'unpack 'chdir + (lambda _ + (chdir "libvisual") + #t))))) + (native-inputs + `(("gettext" ,gettext-minimal) + ("libintl" ,intltool) + ("libtool" ,libtool) + ("pkg-config" ,pkg-config))) + (inputs + `(("sdl" ,sdl))) + (native-search-paths + (list + (search-path-specification + (variable "LIBVISUAL_PLUGINS_BASE_DIR") + (files '("lib/libvisual-0.4"))))) + ;; To load libvisual-plugins. + (search-paths native-search-paths) + (synopsis "Audio visualisation library") + (description "Libvisual is a library that acts as a middle layer between +applications that want audio visualisation and audio visualisation plugins.") + (home-page "http://libvisual.org/") + (license + (list + ;; Libraries. + license:lgpl2.1+ + ;; Examples and Tests. + license:gpl2+)))) + (define-public esound (package (name "esound") |