[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
62/331: gnu: Add libvideogfx.
From: |
guix-commits |
Subject: |
62/331: gnu: Add libvideogfx. |
Date: |
Fri, 14 Aug 2020 11:12:54 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 5caf20660ae897c3ab34db3166dcd6158eab5fd6
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 412df8f..ec54e52 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -171,6 +171,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")
- 32/331: gnu: Add sysprof., (continued)
- 32/331: gnu: Add sysprof., guix-commits, 2020/08/14
- 34/331: gnu: glib-networking: Update to 2.62.4., guix-commits, 2020/08/14
- 46/331: gnu: Add libvisual-plugins., guix-commits, 2020/08/14
- 53/331: gnu: Add ruby-slim., guix-commits, 2020/08/14
- 55/331: gnu: Add tslib., guix-commits, 2020/08/14
- 41/331: gnu: glib-with-documentation: Update package definition., guix-commits, 2020/08/14
- 57/331: gnu: Add libtimidity., guix-commits, 2020/08/14
- 64/331: gnu: Add libmms., guix-commits, 2020/08/14
- 49/331: gnu: Add nanomsg., guix-commits, 2020/08/14
- 54/331: gnu: Add libmpeg3., guix-commits, 2020/08/14
- 62/331: gnu: Add libvideogfx.,
guix-commits <=
- 65/331: gnu: Add schroedinger., guix-commits, 2020/08/14
- 66/331: gnu: Add libquicktime., guix-commits, 2020/08/14
- 70/331: gnu: Add tinyalsa., guix-commits, 2020/08/14
- 75/331: gnu: Add transcode., guix-commits, 2020/08/14
- 47/331: gnu: gst-plugins-base: Update package definition., guix-commits, 2020/08/14
- 48/331: gnu: gst-plugins-good: Update package definition., guix-commits, 2020/08/14
- 51/331: gnu: Add ccextractor., guix-commits, 2020/08/14
- 56/331: gnu: Add flux., guix-commits, 2020/08/14
- 45/331: gnu: Add libvisual., guix-commits, 2020/08/14
- 50/331: gnu: Add nng., guix-commits, 2020/08/14