From 5f524bdd0498e96c4cf69aef3edf346ccdcdc1a1 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 19 Aug 2020 01:09:31 +0200 Subject: Revert "Revert "gnu: Add libde265."" This reverts commit 0d792f37cdc723b593645bb871afefd699d5165b. --- gnu/packages/video.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 9563ddf50b..80a2b3319f 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -420,6 +420,44 @@ (define-public libvideogfx (home-page "https://dirk-farin.net/software/libvideogfx/index.html") (license license:lgpl2.1+))) +(define-public libde265 + (package + (name "libde265") + (version "1.0.5") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/strukturag/libde265.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1qisj8ryzbknam3hk81rq70fsd9mcpxm898bqygvbsmbwyvmz3pg")))) + (build-system gnu-build-system) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool) + ("pkg-config" ,pkg-config) + ("python" ,python-wrapper))) + (inputs + `(;; XXX: Build fails with libvideogfx. + ;; ("libvideogfx" ,libvideogfx) + ("qt" ,qtbase) + ("sdl" ,sdl))) + (synopsis "H.265 video codec implementation") + (description "Libde265 is an implementation of the h.265 video codec. It is +written from scratch and has a plain C API to enable a simple integration into +other software.") + (home-page "https://www.libde265.org/") + (license + (list + ;; Applications. + license:expat + ;; Library. + license:lgpl3+)))) + (define-public tslib (package (name "tslib") -- cgit v1.2.3