diff options
author | Raghav Gururajan <raghavgururajan@disroot.org> | 2020-07-02 09:10:19 -0400 |
---|---|---|
committer | Danny Milosavljevic <dannym@scratchpost.org> | 2020-08-18 22:56:27 +0200 |
commit | 02c05485fd675c33e10852c3e489663f30f5da29 (patch) | |
tree | 322355702c717cd283b9216060248af89dd745c9 /gnu | |
parent | 1178ae47d15d46d3b3a1a0ae5cc323c33a038d70 (diff) | |
download | guix-patches-02c05485fd675c33e10852c3e489663f30f5da29.tar guix-patches-02c05485fd675c33e10852c3e489663f30f5da29.tar.gz |
gnu: Add libvideogfx.
* gnu/packages/video.scm (libvideogfx): New variable.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/video.scm | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 81b349d4cb..474838791b 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -172,6 +172,50 @@ #:use-module (gnu packages xml) #:use-module (gnu packages xorg)) +(define-public libvideogfx + (package + (name "libvideogfx") + (version "1.0.9") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/farindk/libvideogfx.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "154b0j8cfg879pg08xcbwvbz8z9nrfnyj31i48vxir1psas70ynq")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-build-errors + (lambda _ + (substitute* "libvideogfx/graphics/fileio/ffmpeg.cc" + (("av_close_input_file\\(") + "avformat_close_input(&")) + (substitute* "libvideogfx/graphics/fileio/png.cc" + (("is != NULL") "is.good()")) + #t))))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool) + ("pkg-config" ,pkg-config))) + (inputs + `(("ffmpeg" ,ffmpeg-2.8) + ("jpeg" ,libjpeg-turbo) + ("png" ,libpng) + ("x11" ,libx11) + ("xext" ,libxext))) + (synopsis "Video processing library") + (description "LibVideoGfx is a C++ library for low-level video processing. +It aims at speeding up the development process for image and video processing +applications by providing high-level classes for commonly required tasks.") + (home-page "https://dirk-farin.net/software/libvideogfx/index.html") + (license license:lgpl2.1+))) + (define-public tslib (package (name "tslib") |