[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
167/295: gnu: Add libvideogfx.
From: |
guix-commits |
Subject: |
167/295: gnu: Add libvideogfx. |
Date: |
Mon, 27 Jul 2020 06:26:00 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 90c95c76f85761ec9114d68e1c35c7f1f3f31581
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Thu Jul 2 09:10:19 2020 -0400
gnu: Add libvideogfx.
* gnu/packages/video.scm (libvideogfx): New variable.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/video.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 1a74112..017293a 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -170,6 +170,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")
- 161/295: gnu: Add flux., (continued)
- 161/295: gnu: Add flux., guix-commits, 2020/07/27
- 168/295: gnu: Add libde265., guix-commits, 2020/07/27
- 169/295: gnu: Add libmms., guix-commits, 2020/07/27
- 180/295: gnu: Add transcode., guix-commits, 2020/07/27
- 186/295: gnu: Add rtmpdump., guix-commits, 2020/07/27
- 192/295: gnu: gtk-doc: Update package definition., guix-commits, 2020/07/27
- 191/295: gnu: gtk+: Update package definition., guix-commits, 2020/07/27
- 193/295: gnu: gtk+: Propagate libcloudproviders., guix-commits, 2020/07/27
- 195/295: gnu: gtksourceview-3: Update package definition., guix-commits, 2020/07/27
- 209/295: gnu: libnotify: Update package definition., guix-commits, 2020/07/27
- 167/295: gnu: Add libvideogfx.,
guix-commits <=
- 178/295: gnu: Add mediasdk., guix-commits, 2020/07/27
- 174/295: gnu: Add libopenmpt., guix-commits, 2020/07/27
- 185/295: gnu: Add iqa., guix-commits, 2020/07/27
- 184/295: gnu: Add zxing-cpp., guix-commits, 2020/07/27
- 179/295: gnu: Add svt-hevc., guix-commits, 2020/07/27
- 190/295: gnu: Add libcloudproviders., guix-commits, 2020/07/27
- 196/295: gnu: gtksourceview-2: Update package definition., guix-commits, 2020/07/27
- 198/295: gnu: libgdata: Update package definition., guix-commits, 2020/07/27
- 205/295: gnu: ibus: Update package definition., guix-commits, 2020/07/27
- 207/295: gnu: libcanberra: Update package definition., guix-commits, 2020/07/27