[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
55/86: gnu: Add libmpeg3.
From: |
guix-commits |
Subject: |
55/86: gnu: Add libmpeg3. |
Date: |
Sun, 5 Jul 2020 16:17:05 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 22d7e1dee4f83e4539270b0fffac6317f4e627f8
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 9c88066..aa3f93a 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -170,6 +170,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")
- 40/86: gnu: faad2: Update to 2.8.8., (continued)
- 40/86: gnu: faad2: Update to 2.8.8., guix-commits, 2020/07/05
- 46/86: gnu: Add libvisual., guix-commits, 2020/07/05
- 71/86: gnu: Add tinyalsa., guix-commits, 2020/07/05
- 78/86: gnu: Add webrtc-audio-processing., guix-commits, 2020/07/05
- 66/86: gnu: Add schroedinger., guix-commits, 2020/07/05
- 68/86: gnu: Add mjpegtools., guix-commits, 2020/07/05
- 85/86: gnu: gtk+-2: Update package definition., guix-commits, 2020/07/05
- 58/86: gnu: Add libtimidity., guix-commits, 2020/07/05
- 51/86: gnu: Add nng., guix-commits, 2020/07/05
- 52/86: gnu: Add ccextractor., guix-commits, 2020/07/05
- 55/86: gnu: Add libmpeg3.,
guix-commits <=
- 62/86: gnu: Add ffmpeg-2.8., guix-commits, 2020/07/05
- 20/86: gnu: dconf: Update to 0.36.0., guix-commits, 2020/07/05
- 63/86: gnu: Add libvideogfx., guix-commits, 2020/07/05
- 64/86: gnu: Add libde265., guix-commits, 2020/07/05
- 69/86: gnu: Add libofa., guix-commits, 2020/07/05
- 74/86: gnu: Add mediasdk., guix-commits, 2020/07/05
- 80/86: gnu: Add zxing-cpp., guix-commits, 2020/07/05
- 86/86: gnu: Add libcloudproviders., guix-commits, 2020/07/05
- 72/86: gnu: Add lksctp-tools., guix-commits, 2020/07/05
- 24/86: gnu: enchant-1.6: Update package definition., guix-commits, 2020/07/05