Patchwork [2/3] gnu: Add libaacs.

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

Comments

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

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

Applied!

Patch

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index a6eac2b..d57393a 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -48,11 +48,13 @@ 
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages avahi)
   #:use-module (gnu packages base)
+  #:use-module (gnu packages bison)
   #:use-module (gnu packages cdrom)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages databases)
   #:use-module (gnu packages elf)
+  #:use-module (gnu packages flex)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages fribidi)
@@ -1608,3 +1610,26 @@  and MPEG system streams.")
     (description "libbdplus is a library which implements the BD+ System
 specifications.")
     (license license:lgpl2.1+)))
+
+(define-public libaacs
+  (package
+    (name "libaacs")
+    (version "0.8.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "ftp://ftp.videolan.org/pub/videolan/libaacs/"
+                           version "/" name "-" version ".tar.bz2"))
+       (sha256
+        (base32 "1s5v075hnbs57995r6lljm79wgrip3gnyf55a0y7bja75jh49hwm"))))
+    (inputs
+     `(("libgcrypt" ,libgcrypt)))
+    (native-inputs
+     `(("bison" ,bison)
+       ("flex" ,flex)))
+    (build-system gnu-build-system)
+    (home-page "http://www.videolan.org/developers/libaacs.html")
+    (synopsis "Library for decrypting certain Blu-Ray discs")
+    (description "libaacs is a library which implements the Advanced Access
+Content System specification.")
+    (license license:lgpl2.1+)))