[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/24: gnu: Add xvid.
From: |
Taylan Ulrich B. |
Subject: |
12/24: gnu: Add xvid. |
Date: |
Mon, 09 Mar 2015 22:01:11 +0000 |
taylanub pushed a commit to branch master
in repository guix.
commit 67932f86d3b8a62f938ab5daa5c48e50d7b3dc14
Author: Taylan Ulrich Bayırlı/Kammer <address@hidden>
Date: Fri Mar 6 11:50:40 2015 +0100
gnu: Add xvid.
* gnu/packages/video.scm (xvid): New variable.
(ffmpeg): Add input xvid.
---
gnu/packages/video.scm | 37 +++++++++++++++++++++++++++++++++++--
1 files changed, 35 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index ba6a48f..9d93301 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -153,6 +153,7 @@ SMPTE 314M.")
("soxr" ,soxr)
("speex" ,speex)
("twolame" ,twolame)
+ ("xvid" ,xvid)
("zlib", zlib)))
(native-inputs
`(("bc" ,bc)
@@ -223,8 +224,6 @@ SMPTE 314M.")
;; --enable-libwavpack enable wavpack encoding via libwavpack [no]
;; --enable-libx264 enable H.264 encoding via x264 [no]
;; --enable-libxavs enable AVS encoding via xavs [no]
-;; --enable-libxvid enable Xvid encoding via xvidcore,
-;; native MPEG-4/Xvid encoder exists [no]
;; --enable-libzmq enable message passing via libzmq [no]
;; --enable-libzvbi enable teletext support via libzvbi [no]
;; --enable-openal enable OpenAL 1.1 capture support [no]
@@ -247,6 +246,7 @@ SMPTE 314M.")
"--enable-libtwolame"
"--enable-libvorbis"
"--enable-libvpx"
+ "--enable-libxvid"
"--enable-runtime-cpudetect"
@@ -866,3 +866,36 @@ capabilities.")
(string-append out "/share/ADM_addons"))))
(alist-delete 'install
%standard-phases)))))))))
+
+(define-public xvid
+ (package
+ (name "xvid")
+ (version "1.3.3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://downloads.xvid.org/downloads/xvidcore-"
+ version ".tar.bz2"))
+ (sha256
+ (base32
+ "0m5g75qvapr7xpywg6a83v5x19kw1nm9l2q48lg7jvvpba0bmqdh"))))
+ (build-system gnu-build-system)
+ (native-inputs `(("yasm" ,yasm)))
+ (arguments
+ '(#:phases
+ (alist-cons-before
+ 'configure 'pre-configure
+ (lambda _
+ (chdir "build/generic")
+ (substitute* "configure"
+ (("#! /bin/sh") (string-append "#!" (which "sh")))))
+ %standard-phases)
+ ;; No 'check' target.
+ #:tests? #f))
+ (home-page "https://www.xvid.com/")
+ (synopsis "MPEG-4 Part 2 Advanced Simple Profile video codec")
+ (description "Xvid is an MPEG-4 Part 2 Advanced Simple Profile (ASP) video
+codec library. It uses ASP features such as b-frames, global and quarter
+pixel motion compensation, lumi masking, trellis quantization, and H.263, MPEG
+and custom quantization matrices.")
+ (license gpl2+)))
- 05/24: gnu: Add libungif., (continued)
- 05/24: gnu: Add libungif., Taylan Ulrich B., 2015/03/09
- 08/24: gnu: Add libdv., Taylan Ulrich B., 2015/03/09
- 07/24: gnu: Add libdca., Taylan Ulrich B., 2015/03/09
- 02/24: gnu: Add libbs2b., Taylan Ulrich B., 2015/03/09
- 11/24: gnu: Add libdvdnav-4., Taylan Ulrich B., 2015/03/09
- 09/24: gnu: Add libbluray., Taylan Ulrich B., 2015/03/09
- 13/24: gnu: freeglut: Propagate input glu., Taylan Ulrich B., 2015/03/09
- 14/24: gnu: Add libcaca., Taylan Ulrich B., 2015/03/09
- 06/24: gnu: Add liba52., Taylan Ulrich B., 2015/03/09
- 15/24: gnu: Add libquvi-scripts., Taylan Ulrich B., 2015/03/09
- 12/24: gnu: Add xvid.,
Taylan Ulrich B. <=
- 16/24: gnu: Add libquvi., Taylan Ulrich B., 2015/03/09
- 10/24: gnu: Add libdvdcss., Taylan Ulrich B., 2015/03/09
- 17/24: gnu: Add quvi., Taylan Ulrich B., 2015/03/09
- 18/24: gnu: cdio: Fix description., Taylan Ulrich B., 2015/03/09
- 21/24: gnu: ffmpeg: Enable libavresample., Taylan Ulrich B., 2015/03/09
- 22/24: gnu: Add recode., Taylan Ulrich B., 2015/03/09
- 24/24: gnu: Add libass., Taylan Ulrich B., 2015/03/09
- 23/24: gnu: Add enca., Taylan Ulrich B., 2015/03/09
- 19/24: gnu: Add libcdio-paranoia., Taylan Ulrich B., 2015/03/09
- 20/24: gnu: ffmpeg: Add more optional inputs., Taylan Ulrich B., 2015/03/09