[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
74/100: gnu: Add mediasdk.
From: |
guix-commits |
Subject: |
74/100: gnu: Add mediasdk. |
Date: |
Wed, 8 Jul 2020 03:36:54 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 1bcfa01e1864034e2671a8ff31533e4a4945544c
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Fri Jul 3 10:59:03 2020 -0400
gnu: Add mediasdk.
* gnu/packages/video.scm (mediasdk): New variable.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/video.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 41a1e47..55ee19e 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -170,6 +170,48 @@
#:use-module (gnu packages xml)
#:use-module (gnu packages xorg))
+(define-public mediasdk
+ (package
+ (name "mediasdk")
+ (version "20.1.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/Intel-Media-SDK/MediaSDK.git")
+ (commit (string-append "intel-" name "-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0blwcxr5j8762nylx2cxrq0h53bpgnk859dbs6crq4wr9fcxlx9z"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:configure-flags
+ (list
+ "-DENABLE_X11=ON"
+ "-DENABLE_X11_DRI3=ON"
+ "-DENABLE_WAYLAND=ON"
+ "-DENABLE_TEXTLOG=ON"
+ "-DENABLE_STAT=ON"
+ "-DBUILD_TESTS=ON"
+ "-DBUILD_TOOLS=ON"
+ (string-append "-DCMAKE_EXE_LINKER_FLAGS=-Wl,-rpath="
+ (assoc-ref %outputs "out") "/lib"))))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("python" ,python-wrapper)))
+ (inputs
+ `(("libdrm" ,libdrm)
+ ("libva" ,libva)
+ ("pciaccess" ,libpciaccess)
+ ("wayland" ,wayland)
+ ("x11" ,libx11)))
+ (synopsis "Intel Media SDK")
+ (description "MediaSDK provides a plain C API to access
hardware-accelerated
+video decode, encode and filtering on Intel's Gen graphics hardware
platforms.")
+ (home-page "http://mediasdk.intel.com/")
+ (license (license:non-copyleft "file:///LICENSE"))))
+
(define-public schroedinger
(package
(name "schroedinger")
- 57/100: gnu: Add flux., (continued)
- 57/100: gnu: Add flux., guix-commits, 2020/07/08
- 58/100: gnu: Add libtimidity., guix-commits, 2020/07/08
- 60/100: gnu: Add faac., guix-commits, 2020/07/08
- 61/100: gnu: Add flite., guix-commits, 2020/07/08
- 63/100: gnu: Add libvideogfx., guix-commits, 2020/07/08
- 65/100: gnu: Add libmms., guix-commits, 2020/07/08
- 66/100: gnu: Add schroedinger., guix-commits, 2020/07/08
- 67/100: gnu: Add libquicktime., guix-commits, 2020/07/08
- 68/100: gnu: Add mjpegtools., guix-commits, 2020/07/08
- 71/100: gnu: Add tinyalsa., guix-commits, 2020/07/08
- 74/100: gnu: Add mediasdk.,
guix-commits <=
- 75/100: gnu: Add svt-hevc., guix-commits, 2020/07/08
- 79/100: gnu: Add wildmidi., guix-commits, 2020/07/08
- 73/100: gnu: Add srt., guix-commits, 2020/07/08
- 81/100: gnu: Add iqa., guix-commits, 2020/07/08
- 84/100: gnu: Add rust-imgref., guix-commits, 2020/07/08
- 85/100: gnu: gtk+-2: Update package definition., guix-commits, 2020/07/08
- 88/100: gnu: gtk-doc: Update package definition., guix-commits, 2020/07/08
- 89/100: gnu: gtk+: Propagate libcloudproviders., guix-commits, 2020/07/08
- 92/100: gnu: gtksourceview-2: Update package definition., guix-commits, 2020/07/08
- 93/100: gnu: fuse: Update package definition., guix-commits, 2020/07/08