[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
54/334: gnu: Add libmpeg3.
From: |
guix-commits |
Subject: |
54/334: gnu: Add libmpeg3. |
Date: |
Sat, 15 Aug 2020 16:26:18 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 8a31831eb75190cd5c8552230774e30d330a9d36
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Wed Jul 1 00:24:40 2020 -0400
gnu: Add libmpeg3.
* gnu/packages/video.scm (libmpeg3): New variable.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/video.scm | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 2c743f3..5215863 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -171,6 +171,55 @@
#:use-module (gnu packages xml)
#:use-module (gnu packages xorg))
+(define-public libmpeg3
+ (package
+ (name "libmpeg3")
+ (version "1.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "https://sourceforge.net/projects/heroines/files/"
+ "releases/081108/" name "-" version "-src.tar.bz2"))
+ (sha256
+ (base32 "1i53vv0wm5qfwgg1z7j9g14s6c7gxxkiy4vbdkq3lijjyyz50vv5"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:test-target "test"
+ #:make-flags
+ (list
+ (string-append "A52DIR=" (assoc-ref %build-inputs "liba52"))
+ (string-append "DST=" (assoc-ref %outputs "out") "/bin"))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'delete-bundled-a52dec
+ (lambda _
+ (delete-file-recursively "a52dec-0.7.3")
+ (substitute* "Makefile"
+ (("include Makefile\\.a52")
+ "")
+ (("\\(A52DIR\\)/include")
+ "(A52DIR)/include/a52dec")
+ (("LIBS = " match)
+ (string-append match "-la52 ")))
+ #t))
+ (add-before 'install 'create-destination-directory
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (string-append (assoc-ref outputs "out"))))
+ (mkdir-p (string-append out "/bin"))
+ #t))))))
+ (native-inputs
+ `(("nasm" ,nasm)))
+ (inputs
+ `(("liba52" ,liba52)))
+ (synopsis "Advanced MPEG editing and manipulation library")
+ (description "Libmpeg3 decodes MP2, MP3, AC3, MPEG-1 video, MPEG-2 video,
+and DVD footage in a single library. It supports many esoteric features like
+parallel video decoding, frame-accurate editing, YUV 4:2:2, and ATSC transport
+stream decoding")
+ (home-page "http://heroinewarrior.com/libmpeg3.php")
+ (license license:gpl2+)))
+
(define-public aalib
(package
(name "aalib")
- 19/334: gnu: cogl: Update package definition., (continued)
- 19/334: gnu: cogl: Update package definition., guix-commits, 2020/08/15
- 24/334: gnu: enchant: Update package definition., guix-commits, 2020/08/15
- 33/334: gnu: gjs: Update to 1.58.8., guix-commits, 2020/08/15
- 26/334: gnu: fcitx: Update package definition., guix-commits, 2020/08/15
- 29/334: gnu: gdk-pixbuf: Update package definition., guix-commits, 2020/08/15
- 30/334: gnu: gdk-pixbuf+svg: Update package definition., guix-commits, 2020/08/15
- 39/334: gnu: faad2: Update to 2.8.8., guix-commits, 2020/08/15
- 41/334: gnu: glib-with-documentation: Update package definition., guix-commits, 2020/08/15
- 23/334: gnu: enchant-1.6: Update package definition., guix-commits, 2020/08/15
- 32/334: gnu: Add sysprof., guix-commits, 2020/08/15
- 54/334: gnu: Add libmpeg3.,
guix-commits <=
- 73/334: gnu: Add mediasdk., guix-commits, 2020/08/15
- 21/334: gnu: Add ronn., guix-commits, 2020/08/15
- 22/334: gnu: Add nuspell., guix-commits, 2020/08/15
- 27/334: gnu: gcab: Update to 1.4., guix-commits, 2020/08/15
- 34/334: gnu: glib-networking: Update to 2.62.4., guix-commits, 2020/08/15
- 35/334: gnu: Add mutest., guix-commits, 2020/08/15
- 38/334: gnu: Add esound., guix-commits, 2020/08/15
- 44/334: gnu: gstreamer: Update package definition., guix-commits, 2020/08/15
- 51/334: gnu: Add ccextractor., guix-commits, 2020/08/15
- 52/334: gnu: Add libdc1394., guix-commits, 2020/08/15