Patchwork [1/3] gnu: Add libbdplus.

login
register
mail settings
Submitter Andy Patterson
Date Sept. 9, 2016, 7:52 p.m.
Message ID <20160909195226.24339-1-ajpatter@uwaterloo.ca>
Download mbox | patch
Permalink /patch/15474/
State New
Headers show

Comments

Andy Patterson - Sept. 9, 2016, 7:52 p.m.
* gnu/packages/video.scm (libbdplus): New variable.
---
 gnu/packages/video.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
Ludovic Courtès - Sept. 13, 2016, 8:07 a.m.
Andy Patterson <ajpatter@uwaterloo.ca> skribis:

> * gnu/packages/video.scm (libbdplus): New variable.

Applied, thanks!

Ludo’.

Patch

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 864e691..a6eac2b 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -10,6 +10,7 @@ 
 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
 ;;; Copyright © 2016 Kei Kebreau <kei@openmailbox.org>
 ;;; Copyright © 2016 Dmitry Nikolaev <cameltheman@gmail.com>
+;;; Copyright © 2016 Andy Patterson <ajpatter@uwaterloo.ca>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1587,3 +1588,23 @@  and MPEG system streams.")
                    license:lgpl2.1
                    license:lgpl2.1+
                    license:gpl2))))
+
+(define-public libbdplus
+  (package
+    (name "libbdplus")
+    (version "0.1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "ftp://ftp.videolan.org/pub/videolan/libbdplus/"
+                           version "/" name "-" version ".tar.bz2"))
+       (sha256
+        (base32 "02n87lysqn4kg2qk7d1ffrp96c44zkdlxdj0n16hbgrlrpiwlcd6"))))
+    (inputs
+     `(("libgcrypt" ,libgcrypt)))
+    (build-system gnu-build-system)
+    (home-page "http://www.videolan.org/developers/libbdplus.html")
+    (synopsis "Library for decrypting certain Blu-Ray discs")
+    (description "libbdplus is a library which implements the BD+ System
+specifications.")
+    (license license:lgpl2.1+)))