2013-10-31 23:15:46 +01:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2015-02-23 22:59:20 +01:00
|
|
|
|
;;; Copyright © 2013, 2014, 2015 Andreas Enge <andreas@enge.fr>
|
2015-02-07 23:17:39 +01:00
|
|
|
|
;;; Copyright © 2014, 2015 David Thompson <davet@gnu.org>
|
2015-02-02 06:22:51 +01:00
|
|
|
|
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
|
2015-03-06 10:17:19 +01:00
|
|
|
|
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
|
2013-10-31 23:15:46 +01:00
|
|
|
|
;;;
|
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
|
;;; your option) any later version.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
|
;;;
|
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
(define-module (gnu packages video)
|
2014-08-04 05:27:24 +02:00
|
|
|
|
#:use-module (ice-9 match)
|
2015-04-02 19:16:04 +02:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2015-03-30 03:35:34 +02:00
|
|
|
|
#:use-module (guix utils)
|
2013-10-31 23:15:46 +01:00
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix download)
|
2015-03-04 16:29:08 +01:00
|
|
|
|
#:use-module (guix git-download)
|
2015-02-23 22:59:20 +01:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2013-10-31 23:15:46 +01:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2014-07-03 22:21:53 +02:00
|
|
|
|
#:use-module (guix build-system python)
|
2015-03-19 23:46:21 +01:00
|
|
|
|
#:use-module (guix build-system waf)
|
2015-02-02 06:22:51 +01:00
|
|
|
|
#:use-module (gnu packages)
|
2013-10-31 23:15:46 +01:00
|
|
|
|
#:use-module (gnu packages algebra)
|
2015-02-23 20:42:41 +01:00
|
|
|
|
#:use-module (gnu packages audio)
|
2015-03-06 17:07:55 +01:00
|
|
|
|
#:use-module (gnu packages autotools)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
#:use-module (gnu packages avahi)
|
2015-03-04 16:29:08 +01:00
|
|
|
|
#:use-module (gnu packages base)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
#:use-module (gnu packages cdrom)
|
2013-10-31 23:15:46 +01:00
|
|
|
|
#:use-module (gnu packages compression)
|
2015-02-23 22:59:20 +01:00
|
|
|
|
#:use-module (gnu packages databases)
|
2015-03-05 21:40:36 +01:00
|
|
|
|
#:use-module (gnu packages doxygen)
|
2013-12-17 21:19:41 +01:00
|
|
|
|
#:use-module (gnu packages elf)
|
2013-10-31 23:15:46 +01:00
|
|
|
|
#:use-module (gnu packages fontutils)
|
2015-02-23 22:59:20 +01:00
|
|
|
|
#:use-module (gnu packages fribidi)
|
|
|
|
|
#:use-module (gnu packages gettext)
|
2015-03-04 16:29:08 +01:00
|
|
|
|
#:use-module (gnu packages ghostscript)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
#:use-module (gnu packages gl)
|
|
|
|
|
#:use-module (gnu packages glib)
|
2015-02-07 23:17:39 +01:00
|
|
|
|
#:use-module (gnu packages guile)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
#:use-module (gnu packages gnupg)
|
|
|
|
|
#:use-module (gnu packages gnutls)
|
2015-02-23 22:59:20 +01:00
|
|
|
|
#:use-module (gnu packages gtk)
|
gnu: Consolidate libjpeg, libpng, and libtiff into one module.
* gnu/packages/image.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add image.scm and remove libjpeg.scm,
libpng.scm, and libtiff.scm.
* gnu/packages/libjpeg.scm, gnu/packages/libpng.scm, gnu/packages/libtiff.scm:
Delete files.
* gnu/packages/emacs.scm gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnustep.scm, gnu/packages/gnuzilla.scm,
gnu/packages/graphviz.scm, gnu/packages/gtk.scm,
gnu/packages/imagemagick.scm, gnu/packages/inkscape.scm,
gnu/packages/netpbm.scm, gnu/packages/pdf.scm, gnu/packages/plotutils.scm,
gnu/packages/qemu.scm, gnu/packages/qt.scm, gnu/packages/scheme.scm,
gnu/packages/sdl.scm, gnu/packages/slim.scm, gnu/packages/tcl.scm,
gnu/packages/texlive.scm, gnu/packages/video.scm, gnu/packages/xiph.scm,
gnu/packages/xorg.scm: Use (gnu packages image) module.
2014-06-25 14:39:02 +02:00
|
|
|
|
#:use-module (gnu packages image)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
#:use-module (gnu packages linux)
|
|
|
|
|
#:use-module (gnu packages lua)
|
|
|
|
|
#:use-module (gnu packages mp3)
|
2015-03-05 15:56:58 +01:00
|
|
|
|
#:use-module (gnu packages ncurses)
|
2015-03-21 23:09:11 +01:00
|
|
|
|
#:use-module (gnu packages ocr)
|
2013-10-31 23:15:46 +01:00
|
|
|
|
#:use-module (gnu packages openssl)
|
|
|
|
|
#:use-module (gnu packages perl)
|
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
#:use-module (gnu packages pulseaudio)
|
2013-10-31 23:15:46 +01:00
|
|
|
|
#:use-module (gnu packages python)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
#:use-module (gnu packages qt)
|
2015-03-04 16:29:08 +01:00
|
|
|
|
#:use-module (gnu packages samba)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
#:use-module (gnu packages sdl)
|
|
|
|
|
#:use-module (gnu packages ssh)
|
2015-04-04 17:08:52 +02:00
|
|
|
|
#:use-module (gnu packages texinfo)
|
2015-03-05 21:40:36 +01:00
|
|
|
|
#:use-module (gnu packages texlive)
|
2015-03-04 22:37:08 +01:00
|
|
|
|
#:use-module (gnu packages textutils)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
#:use-module (gnu packages version-control)
|
2015-03-07 12:18:32 +01:00
|
|
|
|
#:use-module (gnu packages web)
|
2015-03-20 15:52:52 +01:00
|
|
|
|
#:use-module (gnu packages xdisorg)
|
2014-01-23 19:05:09 +01:00
|
|
|
|
#:use-module (gnu packages xiph)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
#:use-module (gnu packages xml)
|
|
|
|
|
#:use-module (gnu packages xorg)
|
2015-02-23 22:59:20 +01:00
|
|
|
|
#:use-module (gnu packages yasm)
|
|
|
|
|
#:use-module (gnu packages zip))
|
2013-10-31 23:15:46 +01:00
|
|
|
|
|
2015-04-04 17:08:52 +02:00
|
|
|
|
(define-public aalib
|
|
|
|
|
(package
|
|
|
|
|
(name "aalib")
|
|
|
|
|
(version "1.4rc5")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/aa-project/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1vkh19gb76agvh4h87ysbrgy82hrw88lnsvhynjf4vng629dmpgv"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("makeinfo" ,texinfo)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("ncurses" ,ncurses)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2015-04-10 11:35:50 +02:00
|
|
|
|
(replace 'configure
|
2015-04-04 17:08:52 +02:00
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
;; This old `configure' script doesn't support
|
|
|
|
|
;; variables passed as arguments.
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(ncurses (assoc-ref inputs "ncurses")))
|
|
|
|
|
(setenv "CONFIG_SHELL" (which "bash"))
|
|
|
|
|
(zero? (system* "./configure"
|
|
|
|
|
(string-append "--prefix=" out)
|
|
|
|
|
(string-append "--with-ncurses="
|
|
|
|
|
ncurses)))))))))
|
|
|
|
|
(home-page "http://aa-project.sourceforge.net/aalib/")
|
|
|
|
|
(synopsis "ASCII-art library")
|
|
|
|
|
(description
|
|
|
|
|
"AA-lib is a low level gfx library which does not require graphics device.
|
|
|
|
|
In fact, there is no graphical output possible. AA-lib replaces those
|
|
|
|
|
old-fashioned output methods with powerful ascii-art renderer.")
|
|
|
|
|
(license license:lgpl2.0+)))
|
|
|
|
|
|
2015-03-06 10:17:19 +01:00
|
|
|
|
(define-public liba52
|
|
|
|
|
(package
|
|
|
|
|
(name "liba52")
|
|
|
|
|
(version "0.7.4")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2015-03-18 10:52:37 +01:00
|
|
|
|
(uri (string-append
|
|
|
|
|
;; A mirror://sourceforge URI doesn't work, presumably
|
|
|
|
|
;; because the SourceForge project is misconfigured.
|
|
|
|
|
"http://liba52.sourceforge.net/files/a52dec-" version
|
|
|
|
|
".tar.gz"))
|
2015-03-06 10:17:19 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0czccp4fcpf2ykp16xcrzdfmnircz1ynhls334q374xknd5747d2"))))
|
|
|
|
|
(build-system gnu-build-system)
|
2015-03-30 03:35:34 +02:00
|
|
|
|
(arguments `(#:configure-flags
|
|
|
|
|
'(;; FIXME: liba52-0.7.4's config.guess fails on mips64el.
|
|
|
|
|
,@(if (%current-target-system)
|
|
|
|
|
'()
|
|
|
|
|
(let ((triplet
|
|
|
|
|
(nix-system->gnu-triplet (%current-system))))
|
|
|
|
|
(list (string-append "--build=" triplet)))))))
|
2015-03-06 10:17:19 +01:00
|
|
|
|
(home-page "http://liba52.sourceforge.net/")
|
|
|
|
|
(synopsis "ATSC A/52 stream decoder")
|
|
|
|
|
(description "liba52 is a library for decoding ATSC A/52 streams. The
|
|
|
|
|
A/52 standard is used in a variety of applications, including digital
|
|
|
|
|
television and DVD. It is also known as AC-3.")
|
2015-04-02 19:16:04 +02:00
|
|
|
|
(license license:gpl2+)))
|
2015-03-06 10:17:19 +01:00
|
|
|
|
|
2015-03-04 22:37:08 +01:00
|
|
|
|
(define-public libass
|
|
|
|
|
(package
|
|
|
|
|
(name "libass")
|
|
|
|
|
(version "0.12.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/libass/libass/releases/download/"
|
|
|
|
|
version "/libass-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1mwj2nk9g6cq6f8m1hf0ijg1299rghhy9naahqq43sc2whblb1l7"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("yasm" ,yasm)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("freetype" ,freetype)
|
|
|
|
|
("fribidi" ,fribidi)
|
|
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
|
("harfbuzz" ,harfbuzz)
|
|
|
|
|
("enca" ,enca)))
|
|
|
|
|
(home-page "https://github.com/libass/libass")
|
|
|
|
|
(synopsis "Subtitle rendering library for the ASS/SSA format")
|
|
|
|
|
(description "libass is a subtitle rendering library for the
|
|
|
|
|
ASS/SSA (Advanced Substation Alpha/SubStation Alpha) subtitle format.")
|
2015-04-02 19:16:04 +02:00
|
|
|
|
(license license:isc)))
|
2015-03-04 22:37:08 +01:00
|
|
|
|
|
2015-03-05 15:56:58 +01:00
|
|
|
|
(define-public libcaca
|
|
|
|
|
(package
|
|
|
|
|
(name "libcaca")
|
|
|
|
|
(version "0.99.beta19")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://caca.zoy.org/files/libcaca/libcaca-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1x3j6yfyxl52adgnabycr0n38j9hx2j74la0hz0n8cnh9ry4d2qj"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("freeglut" ,freeglut)
|
|
|
|
|
("ftgl" ,ftgl)
|
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("ncurses" ,ncurses)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(home-page "http://caca.zoy.org/wiki/libcaca")
|
|
|
|
|
(synopsis "Colour ASCII-art library")
|
|
|
|
|
(description "libcaca is a graphics library that outputs text instead of
|
|
|
|
|
pixels, so that it can work on older video cards or text terminals. It
|
|
|
|
|
supports Unicode, 2048 colors, dithering of color images, and advanced text
|
|
|
|
|
canvas operations.")
|
2015-04-02 19:16:04 +02:00
|
|
|
|
(license (license:fsf-free "file://COPYING")))) ;WTFPL version 2
|
2015-03-05 15:56:58 +01:00
|
|
|
|
|
2015-03-06 10:17:35 +01:00
|
|
|
|
(define-public libdca
|
|
|
|
|
(package
|
|
|
|
|
(name "libdca")
|
|
|
|
|
(version "0.0.5")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://download.videolan.org/pub/videolan/libdca/"
|
|
|
|
|
version "/libdca-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0hh6a7l8vvccsd5i1fkv9av2gzv9fy8m0b8jpsn5p6hh4bh2586v"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(home-page "http://www.videolan.org/developers/libdca.html")
|
|
|
|
|
(synopsis "DTS Coherent Acoustics decoder")
|
|
|
|
|
(description "libdca is a library for decoding DTS Coherent Acoustics
|
|
|
|
|
streams.")
|
2015-04-02 19:16:04 +02:00
|
|
|
|
(license license:gpl2+)))
|
2015-03-06 10:17:35 +01:00
|
|
|
|
|
2015-03-06 11:50:14 +01:00
|
|
|
|
(define-public libdv
|
|
|
|
|
(package
|
|
|
|
|
(name "libdv")
|
|
|
|
|
(version "1.0.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://sourceforge/libdv/libdv-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1fl96f2xh2slkv1i1ix7kqk576a0ak1d33cylm0mbhm96d0761d3"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs `(("libxv" ,libxv)))
|
|
|
|
|
(home-page "http://libdv.sourceforge.net/")
|
|
|
|
|
(synopsis "DV video (IEC 61834 and SMPTE 314M) codec")
|
|
|
|
|
(description "The Quasar DV codec (libdv) is a software codec for DV
|
|
|
|
|
video, the encoding format used by most digital camcorders, typically those
|
|
|
|
|
that support the IEEE 1394 (a.k.a. FireWire or i.Link) interface. Libdv was
|
|
|
|
|
developed according to the official standards for DV video: IEC 61834 and
|
|
|
|
|
SMPTE 314M.")
|
2015-04-02 19:16:04 +02:00
|
|
|
|
(license license:lgpl2.1+)))
|
2015-03-06 11:50:14 +01:00
|
|
|
|
|
2015-03-20 15:52:52 +01:00
|
|
|
|
(define-public libva
|
|
|
|
|
(package
|
|
|
|
|
(name "libva")
|
|
|
|
|
(version "1.5.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://www.freedesktop.org/software/vaapi/releases/libva/libva-"
|
|
|
|
|
version".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "01d01mm9fgpwzqycmjjcj3in3vvzcibi3f64icsw2sksmmgb4495"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libdrm" ,libdrm)
|
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("libxext" ,libxext)
|
|
|
|
|
("libxfixes" ,libxfixes)
|
|
|
|
|
("mesa" ,mesa)))
|
2015-04-28 17:48:24 +02:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before
|
|
|
|
|
'build 'fix-dlopen-paths
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(substitute* "va/drm/va_drm_auth_x11.c"
|
|
|
|
|
(("\"libva-x11\\.so\\.%d\"")
|
|
|
|
|
(string-append "\"" out "/lib/libva-x11.so.%d\"")))))))
|
|
|
|
|
;; Most drivers are in mesa's $prefix/lib/dri, so use that. (Can be
|
|
|
|
|
;; overridden at run-time via LIBVA_DRIVERS_PATH.)
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list (string-append "--with-drivers-path="
|
|
|
|
|
(assoc-ref %build-inputs "mesa") "/lib/dri"))
|
|
|
|
|
;; However, we can't write to mesa's store directory, so override the
|
|
|
|
|
;; following make variable to install the dummy driver to libva's
|
|
|
|
|
;; $prefix/lib/dri directory.
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list (string-append "dummy_drv_video_ladir="
|
|
|
|
|
(assoc-ref %outputs "out") "/lib/dri"))))
|
2015-03-20 15:52:52 +01:00
|
|
|
|
(home-page "http://www.freedesktop.org/wiki/Software/vaapi/")
|
|
|
|
|
(synopsis "Video acceleration library")
|
|
|
|
|
(description "The main motivation for VA-API (Video Acceleration API) is
|
|
|
|
|
to enable hardware accelerated video decode/encode at various
|
|
|
|
|
entry-points (VLD, IDCT, Motion Compensation etc.) for prevailing coding
|
|
|
|
|
standards (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264, and VC-1/VMW3).")
|
2015-04-02 19:16:04 +02:00
|
|
|
|
(license license:expat)))
|
2015-03-20 15:52:52 +01:00
|
|
|
|
|
2013-10-31 23:15:46 +01:00
|
|
|
|
(define-public ffmpeg
|
|
|
|
|
(package
|
|
|
|
|
(name "ffmpeg")
|
2015-04-27 09:00:15 +02:00
|
|
|
|
(version "2.6.2")
|
2013-10-31 23:15:46 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.ffmpeg.org/releases/ffmpeg-"
|
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2015-04-27 09:00:15 +02:00
|
|
|
|
"1fi93zy98wmls7x3jpr2yvckk2ia6a1yyygwrfaxq95pd6h3m7l8"))))
|
2013-10-31 23:15:46 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
gnu: Move numerous "inputs" which should be "native-inputs".
* gnu/packages/avahi.scm, gnu/packages/cdrom.scm, gnu/packages/cryptsetup.scm,
gnu/packages/curl.scm, gnu/packages/emacs.scm, gnu/packages/fontutils.scm,
gnu/packages/gdb.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/graphviz.scm,
gnu/packages/groff.scm, gnu/packages/gstreamer.scm, gnu/packages/gtk.scm,
gnu/packages/gv.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm,
gnu/packages/kde.scm, gnu/packages/libcanberra.scm, gnu/packages/libtiff.scm,
gnu/packages/linux.scm, gnu/packages/lvm.scm, gnu/packages/mp3.scm,
gnu/packages/netpbm.scm, gnu/packages/parted.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/qemu.scm, gnu/packages/qt.scm,
gnu/packages/ratpoison.scm, gnu/packages/rdf.scm, gnu/packages/slim.scm,
gnu/packages/texlive.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/xml.scm, gnu/packages/xnee.scm, gnu/packages/xorg.scm,
gnu/packages/zip.scm: Move some build-time dependencies from `inputs' to
`native-inputs'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-15 12:01:56 +01:00
|
|
|
|
`(("fontconfig" ,fontconfig)
|
2013-10-31 23:15:46 +01:00
|
|
|
|
("freetype" ,freetype)
|
2014-01-24 22:22:42 +01:00
|
|
|
|
("opus" ,opus)
|
2015-03-05 19:54:25 +01:00
|
|
|
|
("ladspa" ,ladspa)
|
2015-02-09 16:05:39 +01:00
|
|
|
|
("lame" ,lame)
|
2015-03-04 22:37:08 +01:00
|
|
|
|
("libass" ,libass)
|
2015-03-05 21:40:36 +01:00
|
|
|
|
("libbluray" ,libbluray)
|
2015-03-05 15:56:58 +01:00
|
|
|
|
("libcaca" ,libcaca)
|
2015-03-05 20:44:00 +01:00
|
|
|
|
("libcdio-paranoia" ,libcdio-paranoia)
|
2015-03-07 12:18:32 +01:00
|
|
|
|
("libquvi" ,libquvi)
|
2013-10-31 23:15:46 +01:00
|
|
|
|
("libtheora" ,libtheora)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
2014-06-27 00:07:29 +02:00
|
|
|
|
("libvpx" ,libvpx)
|
2015-03-05 19:54:25 +01:00
|
|
|
|
("openal" ,openal)
|
|
|
|
|
("pulseaudio" ,pulseaudio)
|
2015-02-23 20:42:41 +01:00
|
|
|
|
("soxr" ,soxr)
|
gnu: Move numerous "inputs" which should be "native-inputs".
* gnu/packages/avahi.scm, gnu/packages/cdrom.scm, gnu/packages/cryptsetup.scm,
gnu/packages/curl.scm, gnu/packages/emacs.scm, gnu/packages/fontutils.scm,
gnu/packages/gdb.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/graphviz.scm,
gnu/packages/groff.scm, gnu/packages/gstreamer.scm, gnu/packages/gtk.scm,
gnu/packages/gv.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm,
gnu/packages/kde.scm, gnu/packages/libcanberra.scm, gnu/packages/libtiff.scm,
gnu/packages/linux.scm, gnu/packages/lvm.scm, gnu/packages/mp3.scm,
gnu/packages/netpbm.scm, gnu/packages/parted.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/qemu.scm, gnu/packages/qt.scm,
gnu/packages/ratpoison.scm, gnu/packages/rdf.scm, gnu/packages/slim.scm,
gnu/packages/texlive.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/xml.scm, gnu/packages/xnee.scm, gnu/packages/xorg.scm,
gnu/packages/zip.scm: Move some build-time dependencies from `inputs' to
`native-inputs'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-15 12:01:56 +01:00
|
|
|
|
("speex" ,speex)
|
2015-02-23 20:42:41 +01:00
|
|
|
|
("twolame" ,twolame)
|
2015-03-06 11:50:40 +01:00
|
|
|
|
("xvid" ,xvid)
|
gnu: Move numerous "inputs" which should be "native-inputs".
* gnu/packages/avahi.scm, gnu/packages/cdrom.scm, gnu/packages/cryptsetup.scm,
gnu/packages/curl.scm, gnu/packages/emacs.scm, gnu/packages/fontutils.scm,
gnu/packages/gdb.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/graphviz.scm,
gnu/packages/groff.scm, gnu/packages/gstreamer.scm, gnu/packages/gtk.scm,
gnu/packages/gv.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm,
gnu/packages/kde.scm, gnu/packages/libcanberra.scm, gnu/packages/libtiff.scm,
gnu/packages/linux.scm, gnu/packages/lvm.scm, gnu/packages/mp3.scm,
gnu/packages/netpbm.scm, gnu/packages/parted.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/qemu.scm, gnu/packages/qt.scm,
gnu/packages/ratpoison.scm, gnu/packages/rdf.scm, gnu/packages/slim.scm,
gnu/packages/texlive.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/xml.scm, gnu/packages/xnee.scm, gnu/packages/xorg.scm,
gnu/packages/zip.scm: Move some build-time dependencies from `inputs' to
`native-inputs'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-15 12:01:56 +01:00
|
|
|
|
("zlib", zlib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("bc" ,bc)
|
|
|
|
|
("bzip2" ,bzip2)
|
2013-10-31 23:15:46 +01:00
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("python" ,python-2) ; scripts use interpreter python2
|
|
|
|
|
("speex" ,speex)
|
gnu: Move numerous "inputs" which should be "native-inputs".
* gnu/packages/avahi.scm, gnu/packages/cdrom.scm, gnu/packages/cryptsetup.scm,
gnu/packages/curl.scm, gnu/packages/emacs.scm, gnu/packages/fontutils.scm,
gnu/packages/gdb.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/graphviz.scm,
gnu/packages/groff.scm, gnu/packages/gstreamer.scm, gnu/packages/gtk.scm,
gnu/packages/gv.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm,
gnu/packages/kde.scm, gnu/packages/libcanberra.scm, gnu/packages/libtiff.scm,
gnu/packages/linux.scm, gnu/packages/lvm.scm, gnu/packages/mp3.scm,
gnu/packages/netpbm.scm, gnu/packages/parted.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/qemu.scm, gnu/packages/qt.scm,
gnu/packages/ratpoison.scm, gnu/packages/rdf.scm, gnu/packages/slim.scm,
gnu/packages/texlive.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/xml.scm, gnu/packages/xnee.scm, gnu/packages/xorg.scm,
gnu/packages/zip.scm: Move some build-time dependencies from `inputs' to
`native-inputs'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-15 12:01:56 +01:00
|
|
|
|
("yasm" ,yasm)))
|
2013-10-31 23:15:46 +01:00
|
|
|
|
(arguments
|
2013-12-13 11:32:25 +01:00
|
|
|
|
`(#:test-target "fate"
|
|
|
|
|
#:phases
|
2015-04-16 10:35:33 +02:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace
|
2013-10-31 23:15:46 +01:00
|
|
|
|
'configure
|
|
|
|
|
;; configure does not work followed by "SHELL=..." and
|
|
|
|
|
;; "CONFIG_SHELL=..."; set environment variables instead
|
|
|
|
|
(lambda* (#:key outputs configure-flags #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(substitute* "configure"
|
|
|
|
|
(("#! /bin/sh") (string-append "#!" (which "bash"))))
|
|
|
|
|
(setenv "SHELL" (which "bash"))
|
|
|
|
|
(setenv "CONFIG_SHELL" (which "bash"))
|
2015-04-16 10:35:33 +02:00
|
|
|
|
;; possible additional inputs:
|
|
|
|
|
;; --enable-avisynth enable reading of AviSynth script files [no]
|
|
|
|
|
;; --enable-frei0r enable frei0r video filtering
|
|
|
|
|
;; --enable-libaacplus enable AAC+ encoding via libaacplus [no]
|
|
|
|
|
;; --enable-libcelt enable CELT decoding via libcelt [no]
|
|
|
|
|
;; --enable-libdc1394 enable IIDC-1394 grabbing using libdc1394
|
|
|
|
|
;; and libraw1394 [no]
|
|
|
|
|
;; --enable-libfaac enable AAC encoding via libfaac [no]
|
|
|
|
|
;; --enable-libfdk-aac enable AAC de/encoding via libfdk-aac [no]
|
|
|
|
|
;; --enable-libflite enable flite (voice synthesis) support via libflite [no]
|
|
|
|
|
;; --enable-libgme enable Game Music Emu via libgme [no]
|
|
|
|
|
;; --enable-libgsm enable GSM de/encoding via libgsm [no]
|
|
|
|
|
;; --enable-libiec61883 enable iec61883 via libiec61883 [no]
|
|
|
|
|
;; --enable-libilbc enable iLBC de/encoding via libilbc [no]
|
|
|
|
|
;; --enable-libmodplug enable ModPlug via libmodplug [no]
|
|
|
|
|
;; --enable-libnut enable NUT (de)muxing via libnut,
|
|
|
|
|
;; native (de)muxer exists [no]
|
|
|
|
|
;; --enable-libopencore-amrnb enable AMR-NB de/encoding via libopencore-amrnb [no]
|
|
|
|
|
;; --enable-libopencore-amrwb enable AMR-WB decoding via libopencore-amrwb [no]
|
|
|
|
|
;; --enable-libopencv enable video filtering via libopencv [no]
|
|
|
|
|
;; --enable-libopenjpeg enable JPEG 2000 de/encoding via OpenJPEG [no]
|
|
|
|
|
;; --enable-librtmp enable RTMP[E] support via librtmp [no]
|
|
|
|
|
;; --enable-libschroedinger enable Dirac de/encoding via libschroedinger [no]
|
|
|
|
|
;; --enable-libshine enable fixed-point MP3 encoding via libshine [no]
|
|
|
|
|
;; --enable-libssh enable SFTP protocol via libssh [no]
|
|
|
|
|
;; (libssh2 does not work)
|
|
|
|
|
;; --enable-libstagefright-h264 enable H.264 decoding via libstagefright [no]
|
|
|
|
|
;; --enable-libutvideo enable Ut Video encoding and decoding via libutvideo [no]
|
|
|
|
|
;; --enable-libv4l2 enable libv4l2/v4l-utils [no]
|
|
|
|
|
;; --enable-libvidstab enable video stabilization using vid.stab [no]
|
|
|
|
|
;; --enable-libvo-aacenc enable AAC encoding via libvo-aacenc [no]
|
|
|
|
|
;; --enable-libvo-amrwbenc enable AMR-WB encoding via libvo-amrwbenc [no]
|
|
|
|
|
;; --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-libzmq enable message passing via libzmq [no]
|
|
|
|
|
;; --enable-libzvbi enable teletext support via libzvbi [no]
|
|
|
|
|
;; --enable-opencl enable OpenCL code
|
|
|
|
|
;; --enable-x11grab enable X11 grabbing [no]
|
2013-10-31 23:15:46 +01:00
|
|
|
|
(zero? (system*
|
|
|
|
|
"./configure"
|
|
|
|
|
(string-append "--prefix=" out)
|
2015-04-27 09:02:45 +02:00
|
|
|
|
;; Add $libdir to the RUNPATH of all the binaries.
|
|
|
|
|
(string-append "--extra-ldflags=-Wl,-rpath="
|
|
|
|
|
%output "/lib")
|
2015-03-06 10:18:39 +01:00
|
|
|
|
"--enable-avresample"
|
2013-10-31 23:15:46 +01:00
|
|
|
|
"--enable-gpl" ; enable optional gpl licensed parts
|
|
|
|
|
"--enable-shared"
|
|
|
|
|
"--enable-fontconfig"
|
|
|
|
|
;; "--enable-gnutls" ; causes test failures
|
2015-03-05 19:54:25 +01:00
|
|
|
|
"--enable-ladspa"
|
2015-03-04 22:37:08 +01:00
|
|
|
|
"--enable-libass"
|
2015-03-05 21:40:36 +01:00
|
|
|
|
"--enable-libbluray"
|
2015-03-05 15:56:58 +01:00
|
|
|
|
"--enable-libcaca"
|
2015-03-05 20:44:00 +01:00
|
|
|
|
"--enable-libcdio"
|
2013-10-31 23:15:46 +01:00
|
|
|
|
"--enable-libfreetype"
|
2015-02-09 16:05:39 +01:00
|
|
|
|
"--enable-libmp3lame"
|
2014-01-24 22:22:42 +01:00
|
|
|
|
"--enable-libopus"
|
2015-03-05 19:54:25 +01:00
|
|
|
|
"--enable-libpulse"
|
2015-03-07 12:18:32 +01:00
|
|
|
|
"--enable-libquvi"
|
2015-02-23 20:42:41 +01:00
|
|
|
|
"--enable-libsoxr"
|
2013-10-31 23:15:46 +01:00
|
|
|
|
"--enable-libspeex"
|
|
|
|
|
"--enable-libtheora"
|
2015-02-23 20:42:41 +01:00
|
|
|
|
"--enable-libtwolame"
|
2013-10-31 23:15:46 +01:00
|
|
|
|
"--enable-libvorbis"
|
2014-06-27 00:07:29 +02:00
|
|
|
|
"--enable-libvpx"
|
2015-03-06 11:50:40 +01:00
|
|
|
|
"--enable-libxvid"
|
2015-03-05 19:54:25 +01:00
|
|
|
|
"--enable-openal"
|
2014-08-04 22:11:38 +02:00
|
|
|
|
|
|
|
|
|
"--enable-runtime-cpudetect"
|
|
|
|
|
|
|
|
|
|
;; Runtime cpu detection is not implemented on
|
|
|
|
|
;; MIPS, so we disable some features.
|
2013-10-31 23:15:46 +01:00
|
|
|
|
"--disable-mips32r2"
|
|
|
|
|
"--disable-mipsdspr1"
|
|
|
|
|
"--disable-mipsdspr2"
|
2015-04-16 10:35:33 +02:00
|
|
|
|
"--disable-mipsfpu")))))
|
2015-04-16 10:54:07 +02:00
|
|
|
|
(add-before
|
|
|
|
|
'check 'set-ld-library-path
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Allow $(top_builddir)/ffmpeg to find its dependencies when
|
|
|
|
|
;; running tests.
|
|
|
|
|
(let* ((dso (find-files "." "\\.so$"))
|
|
|
|
|
(path (string-join (map dirname dso) ":")))
|
|
|
|
|
(format #t "setting LD_LIBRARY_PATH to ~s~%" path)
|
|
|
|
|
(setenv "LD_LIBRARY_PATH" path)
|
2015-04-27 09:02:45 +02:00
|
|
|
|
#t))))))
|
2013-10-31 23:15:46 +01:00
|
|
|
|
(home-page "http://www.ffmpeg.org/")
|
|
|
|
|
(synopsis "Audio and video framework")
|
|
|
|
|
(description "FFmpeg is a complete, cross-platform solution to record,
|
|
|
|
|
convert and stream audio and video. It includes the libavcodec
|
|
|
|
|
audio/video codec library.")
|
2015-04-02 19:16:04 +02:00
|
|
|
|
(license license:gpl2+)))
|
2014-04-16 17:46:42 +02:00
|
|
|
|
|
|
|
|
|
(define-public vlc
|
|
|
|
|
(package
|
|
|
|
|
(name "vlc")
|
2015-04-16 13:11:24 +02:00
|
|
|
|
(version "2.2.0")
|
2014-04-16 17:46:42 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://download.videolan.org/pub/videolan/vlc/"
|
|
|
|
|
version "/vlc-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2015-04-16 13:11:24 +02:00
|
|
|
|
"05smn9hqdp7iscc1dj4cxp1mrlad7b50lhlnlqisfzf493i2f2jy"))))
|
2014-04-16 17:46:42 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("git" ,git) ; needed for a test
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
;; FIXME: Add optional inputs once available.
|
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("avahi" ,avahi)
|
|
|
|
|
("dbus" ,dbus)
|
|
|
|
|
("flac" ,flac)
|
2015-04-16 13:11:24 +02:00
|
|
|
|
("ffmpeg" ,ffmpeg)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("gnutls" ,gnutls)
|
|
|
|
|
("libcddb" ,libcddb)
|
|
|
|
|
("libgcrypt" ,libgcrypt)
|
|
|
|
|
("libkate" ,libkate)
|
|
|
|
|
("libmad" ,libmad)
|
|
|
|
|
("libogg" ,libogg)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libsamplerate" ,libsamplerate)
|
|
|
|
|
("libssh2" ,libssh2)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("libtheora" ,libtheora)
|
|
|
|
|
("libxext" ,libxext)
|
|
|
|
|
("libxinerama" ,libxinerama)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("libxpm" ,libxpm)
|
|
|
|
|
("lua" ,lua-5.1)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("opus" ,opus)
|
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("pulseaudio" ,pulseaudio)
|
|
|
|
|
("python" ,python-wrapper)
|
|
|
|
|
("qt" ,qt-4)
|
|
|
|
|
("sdl" ,sdl)
|
|
|
|
|
("sdl-image" ,sdl-image)
|
|
|
|
|
("speex" ,speex)
|
|
|
|
|
("xcb-util-keysyms" ,xcb-util-keysyms)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
`("--disable-a52" ; FIXME: reenable once available
|
|
|
|
|
,(string-append "LDFLAGS=-Wl,-rpath -Wl,"
|
|
|
|
|
(assoc-ref %build-inputs "ffmpeg")
|
|
|
|
|
"/lib")))) ; needed for the tests
|
|
|
|
|
(home-page "https://www.videolan.org/")
|
|
|
|
|
(synopsis "Audio and video framework")
|
|
|
|
|
(description "VLC is a cross-platform multimedia player and framework
|
|
|
|
|
that plays most multimedia files as well as DVD, Audio CD, VCD, and various
|
|
|
|
|
treaming protocols.")
|
2015-04-02 19:16:04 +02:00
|
|
|
|
(license license:gpl2+)))
|
2014-04-17 18:57:46 +02:00
|
|
|
|
|
|
|
|
|
(define-public mplayer
|
|
|
|
|
(package
|
|
|
|
|
(name "mplayer")
|
|
|
|
|
(version "1.1.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://www.mplayerhq.hu/MPlayer/releases/MPlayer-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0xlcg7rszrwmw29wqr0plsw5d1rq0hb7vjsq7bmmfsly2z1wg3yf"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
;; FIXME: Add additional inputs once available.
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("cdparanoia" ,cdparanoia)
|
|
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("lame" ,lame)
|
2014-04-22 20:42:00 +02:00
|
|
|
|
("libmpg123" ,mpg123) ; audio codec for MP3
|
2014-04-17 18:57:46 +02:00
|
|
|
|
;; ("giflib" ,giflib) ; uses QuantizeBuffer, requires version >= 5
|
|
|
|
|
("libjpeg" ,libjpeg)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libtheora" ,libtheora)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("libxxf86dga" ,libxxf86dga)
|
|
|
|
|
("libxinerama" ,libxinerama)
|
|
|
|
|
("libxv" ,libxv)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("pulseaudio" ,pulseaudio)
|
|
|
|
|
("python" ,python-wrapper)
|
|
|
|
|
("sdl" ,sdl)
|
|
|
|
|
("speex" ,speex)
|
|
|
|
|
("yasm" ,yasm)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no test target
|
|
|
|
|
#:phases
|
|
|
|
|
(alist-replace
|
|
|
|
|
'configure
|
|
|
|
|
;; configure does not work followed by "SHELL=..." and
|
|
|
|
|
;; "CONFIG_SHELL=..."; set environment variables instead
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(libx11 (assoc-ref inputs "libx11")))
|
|
|
|
|
(substitute* "configure"
|
|
|
|
|
(("#! /bin/sh") (string-append "#!" (which "bash"))))
|
|
|
|
|
(setenv "SHELL" (which "bash"))
|
|
|
|
|
(setenv "CONFIG_SHELL" (which "bash"))
|
|
|
|
|
(zero? (system*
|
|
|
|
|
"./configure"
|
|
|
|
|
(string-append "--extra-cflags=-I"
|
|
|
|
|
libx11 "/include") ; to detect libx11
|
|
|
|
|
"--disable-tremor-internal" ; forces external libvorbis
|
|
|
|
|
(string-append "--prefix=" out)
|
2014-08-04 05:27:24 +02:00
|
|
|
|
;; Enable runtime cpu detection where supported,
|
|
|
|
|
;; and choose a suitable target.
|
|
|
|
|
,@(match (or (%current-target-system)
|
|
|
|
|
(%current-system))
|
|
|
|
|
("x86_64-linux"
|
|
|
|
|
'("--enable-runtime-cpudetection"
|
|
|
|
|
"--target=x86_64-linux"))
|
|
|
|
|
("i686-linux"
|
|
|
|
|
'("--enable-runtime-cpudetection"
|
|
|
|
|
"--target=i686-linux"))
|
|
|
|
|
("mips64el-linux"
|
2015-04-22 04:47:59 +02:00
|
|
|
|
'("--target=mips3-linux"))
|
|
|
|
|
(_ (list (string-append
|
|
|
|
|
"--target="
|
|
|
|
|
(or (%current-target-system)
|
|
|
|
|
(nix-system->gnu-triplet
|
|
|
|
|
(%current-system)))))))
|
2014-04-17 18:57:46 +02:00
|
|
|
|
"--disable-neon"
|
|
|
|
|
"--disable-iwmmxt"))))
|
|
|
|
|
%standard-phases)))
|
|
|
|
|
(home-page "http://www.mplayerhq.hu/design7/news.html")
|
|
|
|
|
(synopsis "Audio and video player")
|
|
|
|
|
(description "MPlayer is a movie player. It plays most MPEG/VOB, AVI,
|
|
|
|
|
Ogg/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, RealMedia, Matroska, NUT,
|
|
|
|
|
NuppelVideo, FLI, YUV4MPEG, FILM, RoQ, PVA files. One can watch VideoCD,
|
|
|
|
|
SVCD, DVD, 3ivx, DivX 3/4/5, WMV and H.264 movies.")
|
2015-04-02 19:16:04 +02:00
|
|
|
|
(license license:gpl2)))
|
2014-06-26 14:16:07 +02:00
|
|
|
|
|
2015-03-04 16:29:08 +01:00
|
|
|
|
;;; This is not version 2; it's a fork literally named "mplayer2".
|
|
|
|
|
(define-public mplayer2
|
|
|
|
|
(package
|
|
|
|
|
(name "mplayer2")
|
|
|
|
|
;; There are no tarballs. The 2.0 git tag, which is actually the first
|
|
|
|
|
;; release is from 2011. The latest commit is from 2013 October, so we
|
|
|
|
|
;; use that commit.
|
|
|
|
|
(version "201310")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
;; XXX Change this if mplayer2.org goes up again.
|
|
|
|
|
(url "http://repo.or.cz/mplayer2.git")
|
|
|
|
|
(commit "2c378c71a4d9b1df382db9aa787b646628b4e3f9")))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0s8554sanj6cvnf0h148nsmjgy5v0568nmcza7grpv6fnmddpfam"))
|
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
|
|
|
|
;; Warning: after using this patch, one must pass the -ltheora
|
|
|
|
|
;; linker flag manually to configure; see below.
|
|
|
|
|
(patches (list (search-patch "mplayer2-theora-fix.patch")))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("python" ,python)
|
|
|
|
|
("python-2" ,python-2)
|
|
|
|
|
("python-docutils" ,python-docutils)
|
|
|
|
|
;; ./configure uses which(1) to find rst2man.py.
|
|
|
|
|
("which" ,which)))
|
|
|
|
|
;; Missing features: DirectFB, Xss screensaver extensions, VDPAU, MNG,
|
|
|
|
|
;; libnut, DirectShow TV interface, Radio interfaces of all kinds, vstream
|
|
|
|
|
;; client, XMSS inputplugin support, joystick, lirc/lircc, and openal.
|
|
|
|
|
;; OpenAL support is experimental and causes compilation to fail with
|
|
|
|
|
;; linker errors.
|
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("faad2" ,faad2)
|
|
|
|
|
("ffmpeg" ,ffmpeg)
|
|
|
|
|
("gettext" ,gnu-gettext)
|
|
|
|
|
("jack" ,jack-2)
|
|
|
|
|
("ladspa" ,ladspa)
|
|
|
|
|
("lcms" ,lcms)
|
|
|
|
|
("liba52" ,liba52)
|
|
|
|
|
("libass" ,libass)
|
|
|
|
|
("libbluray" ,libbluray)
|
|
|
|
|
("libbs2b" ,libbs2b)
|
|
|
|
|
("libcaca" ,libcaca)
|
|
|
|
|
("libcdio-paranoia" ,libcdio-paranoia)
|
|
|
|
|
("libdca" ,libdca)
|
|
|
|
|
("libdv" ,libdv)
|
|
|
|
|
("libdvdread" ,libdvdread)
|
|
|
|
|
("libdvdnav" ,libdvdnav-4)
|
|
|
|
|
("libjpeg" ,libjpeg)
|
|
|
|
|
("libmad" ,libmad)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libquvi" ,libquvi)
|
|
|
|
|
("libtheora" ,libtheora)
|
|
|
|
|
("libungif" ,libungif)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("libxinerama" ,libxinerama)
|
|
|
|
|
("libxv" ,libxv)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("mpg123" ,mpg123)
|
|
|
|
|
("ncurses" ,ncurses)
|
|
|
|
|
("portaudio" ,portaudio)
|
|
|
|
|
("pulseaudio" ,pulseaudio)
|
|
|
|
|
("rsound" ,rsound)
|
|
|
|
|
("samba" ,samba)
|
|
|
|
|
("sdl" ,sdl)
|
|
|
|
|
("speex" ,speex)
|
|
|
|
|
("xvid" ,xvid)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(alist-replace
|
|
|
|
|
'configure
|
|
|
|
|
;; ./configure does not work followed by "SHELL=..." and
|
|
|
|
|
;; "CONFIG_SHELL=..."; set environment variables instead.
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(setenv "SHELL" (which "bash"))
|
|
|
|
|
(setenv "CONFIG_SHELL" (which "bash"))
|
|
|
|
|
(substitute* "configure"
|
|
|
|
|
(("/usr/X11") (assoc-ref inputs "libx11")))
|
|
|
|
|
(zero?
|
|
|
|
|
(system* "./configure"
|
|
|
|
|
(string-append "--prefix=" (assoc-ref outputs "out"))
|
|
|
|
|
"--enable-translation"
|
|
|
|
|
"--enable-runtime-cpudetection"
|
|
|
|
|
;; This is needed in accordance with the theora patch.
|
|
|
|
|
"--extra-libs=-ltheoradec")))
|
|
|
|
|
(alist-cons-before
|
|
|
|
|
'build 'fix-TOOLS-shebangs
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* (find-files "TOOLS" "\\.(sh|pl|py)$")
|
|
|
|
|
(("/usr/bin/env") (which "env"))
|
|
|
|
|
(("/usr/bin/perl") (which "perl"))
|
|
|
|
|
(("/usr/bin/python3") (which "python3"))
|
|
|
|
|
(("/usr/bin/python") (which "python"))))
|
|
|
|
|
(alist-cons-before
|
|
|
|
|
'build 'fix-input-buffer-padding-size
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "libmpdemux/demuxer.h"
|
|
|
|
|
;; This has to match with FFmpeg's FF_INPUT_BUFFER_PADDING_SIZE,
|
|
|
|
|
;; which has changed at some point.
|
|
|
|
|
(("(#define MP_INPUT_BUFFER_PADDING_SIZE )[0-9]*" all)
|
|
|
|
|
(string-append all "32"))))
|
|
|
|
|
%standard-phases)))
|
|
|
|
|
;; No 'check' target.
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
;; XXX Change this if mplayer2.org goes up again.
|
|
|
|
|
(home-page "http://repo.or.cz/w/mplayer2.git")
|
|
|
|
|
(synopsis "Audio and video player")
|
|
|
|
|
(description "mplayer2 is a general-purpose audio and video player. It's
|
|
|
|
|
a fork of the original MPlayer project, and contains further development in
|
|
|
|
|
several areas.")
|
|
|
|
|
;; See file Copyright. Most files are gpl2+ or compatible, but talloc.c
|
|
|
|
|
;; is under lgpl3+, thus the whole project becomes gpl3+.
|
2015-04-02 19:16:04 +02:00
|
|
|
|
(license license:gpl3+)))
|
2015-03-04 16:29:08 +01:00
|
|
|
|
|
2015-03-19 23:46:21 +01:00
|
|
|
|
(define-public mpv
|
|
|
|
|
(package
|
|
|
|
|
(name "mpv")
|
2015-04-27 10:58:00 +02:00
|
|
|
|
(version "0.9.0")
|
2015-03-19 23:46:21 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/mpv-player/mpv/archive/v" version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2015-04-27 10:58:00 +02:00
|
|
|
|
"08nx0g6ji2d90f5w62g327szhkb7id7jzwgf3x069rc5id1x3bx7"))
|
2015-03-19 23:46:21 +01:00
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))))
|
|
|
|
|
(build-system waf-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("python-docutils" ,python-docutils)))
|
2015-04-27 10:58:00 +02:00
|
|
|
|
;; Missing features: libguess, Wayland, VDPAU, V4L2
|
2015-03-19 23:46:21 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("enca" ,enca)
|
|
|
|
|
("ffmpeg" ,ffmpeg)
|
|
|
|
|
("jack" ,jack-2)
|
|
|
|
|
("ladspa" ,ladspa)
|
|
|
|
|
("lcms" ,lcms)
|
|
|
|
|
("libass" ,libass)
|
|
|
|
|
("libbluray" ,libbluray)
|
|
|
|
|
("libcaca" ,libcaca)
|
|
|
|
|
("libbs2b" ,libbs2b)
|
|
|
|
|
("libcdio-paranoia" ,libcdio-paranoia)
|
|
|
|
|
("libdvdread" ,libdvdread)
|
|
|
|
|
("libdvdnav" ,libdvdnav)
|
|
|
|
|
("libjpeg" ,libjpeg)
|
|
|
|
|
("libva" ,libva)
|
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("libxext" ,libxext)
|
|
|
|
|
("libxinerama" ,libxinerama)
|
|
|
|
|
("libxrandr" ,libxrandr)
|
|
|
|
|
("libxscrnsaver" ,libxscrnsaver)
|
|
|
|
|
("libxv" ,libxv)
|
|
|
|
|
("lua" ,lua)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("mpg123" ,mpg123)
|
|
|
|
|
("pulseaudio" ,pulseaudio)
|
|
|
|
|
("rsound" ,rsound)
|
|
|
|
|
("samba" ,samba)
|
|
|
|
|
("vapoursynth" ,vapoursynth)
|
|
|
|
|
("waf" ,(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
;; Keep this in sync with the version in the bootstrap.py
|
|
|
|
|
;; script of the source tarball.
|
|
|
|
|
(uri "http://www.freehackers.org/~tnagy/release/waf-1.8.4")
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1a7skwgpl91adhcwlmdr76xzdpidh91hvcmj34zz6548bpx3a87h"))))
|
|
|
|
|
("youtube-dl" ,youtube-dl)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before
|
utils: 'modify-phases' no longer introduces quotes.
Suggested by Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>.
* guix/build/utils.scm (%modify-phases): Remove quotes.
* guix/build/cmake-build-system.scm (%standard-phases): Adjust
accordingly.
* guix/build/glib-or-gtk-build-system.scm (%standard-phases): Likewise.
* guix/build/gnu-dist.scm (%dist-phases): Likewise.
* guix/build/perl-build-system.scm (%standard-phases): Likewise.
* guix/build/python-build-system.scm (%standard-phases): Likewise.
* guix/build/ruby-build-system.scm (%standard-phases): Likewise.
* guix/build/waf-build-system.scm (%standard-phases): Likewise.
* gnu/packages/bash.scm, gnu/packages/code.scm, gnu/packages/gl.scm,
gnu/packages/gnome.scm, gnu/packages/graphics.scm,
gnu/packages/image.scm, gnu/packages/key-mon.scm,
gnu/packages/ocr.scm, gnu/packages/plotutils.scm,
gnu/packages/search.scm, gnu/packages/video.scm: Likewise.
2015-03-31 22:43:01 +02:00
|
|
|
|
'configure 'setup-waf
|
2015-03-19 23:46:21 +01:00
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(copy-file (assoc-ref inputs "waf") "waf")
|
|
|
|
|
(setenv "CC" "gcc")))
|
|
|
|
|
(add-before
|
utils: 'modify-phases' no longer introduces quotes.
Suggested by Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>.
* guix/build/utils.scm (%modify-phases): Remove quotes.
* guix/build/cmake-build-system.scm (%standard-phases): Adjust
accordingly.
* guix/build/glib-or-gtk-build-system.scm (%standard-phases): Likewise.
* guix/build/gnu-dist.scm (%dist-phases): Likewise.
* guix/build/perl-build-system.scm (%standard-phases): Likewise.
* guix/build/python-build-system.scm (%standard-phases): Likewise.
* guix/build/ruby-build-system.scm (%standard-phases): Likewise.
* guix/build/waf-build-system.scm (%standard-phases): Likewise.
* gnu/packages/bash.scm, gnu/packages/code.scm, gnu/packages/gl.scm,
gnu/packages/gnome.scm, gnu/packages/graphics.scm,
gnu/packages/image.scm, gnu/packages/key-mon.scm,
gnu/packages/ocr.scm, gnu/packages/plotutils.scm,
gnu/packages/search.scm, gnu/packages/video.scm: Likewise.
2015-03-31 22:43:01 +02:00
|
|
|
|
'configure 'patch-wscript
|
2015-03-19 23:46:21 +01:00
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "wscript"
|
|
|
|
|
;; XXX Remove this when our Samba package provides a .pc file.
|
|
|
|
|
(("check_pkg_config\\('smbclient'\\)")
|
|
|
|
|
"check_cc(lib='smbclient')")
|
|
|
|
|
;; XXX Remove this when our Lua package provides a .pc file.
|
|
|
|
|
(("check_lua")
|
|
|
|
|
"check_cc(lib='lua')")))))
|
|
|
|
|
;; No check function defined.
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
(home-page "http://mpv.io/")
|
|
|
|
|
(synopsis "Audio and video player")
|
|
|
|
|
(description "mpv is a general-purpose audio and video player. It is a
|
|
|
|
|
fork of mplayer2 and MPlayer. It shares some features with the former
|
|
|
|
|
projects while introducing many more.")
|
2015-04-02 19:16:04 +02:00
|
|
|
|
(license license:gpl2+)))
|
2015-03-19 23:46:21 +01:00
|
|
|
|
|
2014-06-26 14:16:07 +02:00
|
|
|
|
(define-public libvpx
|
|
|
|
|
(package
|
|
|
|
|
(name "libvpx")
|
|
|
|
|
(version "1.3.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://webm.googlecode.com/files/libvpx-v"
|
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2015-02-02 06:22:51 +01:00
|
|
|
|
"1aai0h0z1bhp89pxmg4fkrwpmqq24k39fhr15cw6q77m9bccip6k"))
|
|
|
|
|
(patches
|
|
|
|
|
(list (search-patch "libvpx-vp9-out-of-bounds-access.patch")
|
|
|
|
|
(search-patch "libvpx-fix-ssse3-quantize.patch")
|
|
|
|
|
(search-patch "libvpx-fix-armhf-link.patch")))))
|
2014-06-26 14:16:07 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2015-02-02 06:22:51 +01:00
|
|
|
|
`(#:phases (alist-replace
|
2014-06-26 14:16:07 +02:00
|
|
|
|
'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(setenv "CONFIG_SHELL" (which "bash"))
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
2015-04-10 16:10:13 +02:00
|
|
|
|
(setenv "LDFLAGS"
|
|
|
|
|
(string-append "-Wl,-rpath=" out "/lib"))
|
2014-06-26 14:16:07 +02:00
|
|
|
|
(zero? (system* "./configure"
|
|
|
|
|
"--enable-shared"
|
|
|
|
|
"--as=yasm"
|
2015-02-02 06:22:51 +01:00
|
|
|
|
,@(if (and (not (%current-target-system))
|
|
|
|
|
(string-prefix?
|
|
|
|
|
"armhf-"
|
|
|
|
|
(%current-system)))
|
|
|
|
|
;; When building on ARMv7, libvpx
|
|
|
|
|
;; assumes that NEON will be
|
|
|
|
|
;; available. On Guix, armhf
|
|
|
|
|
;; does not require NEON, so we
|
|
|
|
|
;; build for ARMv6 and -marm (since
|
|
|
|
|
;; no thumb2 on ARMv6) to ensure
|
|
|
|
|
;; compatibility with all ARMv7
|
|
|
|
|
;; cores we support. Based on
|
|
|
|
|
;; the Debian libvpx package.
|
|
|
|
|
'("--target=armv6-linux-gcc"
|
|
|
|
|
"--extra-cflags=-marm"
|
|
|
|
|
"--enable-small")
|
|
|
|
|
'())
|
2014-06-26 14:16:07 +02:00
|
|
|
|
(string-append "--prefix=" out)))))
|
|
|
|
|
%standard-phases)
|
|
|
|
|
#:tests? #f)) ; no check target
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)
|
|
|
|
|
("yasm" ,yasm)))
|
|
|
|
|
(synopsis "VP8/VP9 video codec")
|
|
|
|
|
(description "libvpx is a codec for the VP8/VP9 video compression format.")
|
2015-04-02 19:16:04 +02:00
|
|
|
|
(license license:bsd-3)
|
2014-06-26 14:16:07 +02:00
|
|
|
|
(home-page "http://www.webmproject.org/")))
|
2014-07-03 22:21:53 +02:00
|
|
|
|
|
|
|
|
|
(define-public youtube-dl
|
|
|
|
|
(package
|
|
|
|
|
(name "youtube-dl")
|
2015-06-08 21:06:28 +02:00
|
|
|
|
(version "2015.06.04.1")
|
2014-07-03 22:21:53 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://youtube-dl.org/downloads/"
|
|
|
|
|
version "/youtube-dl-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2015-06-08 21:06:28 +02:00
|
|
|
|
"0rk5c2m19x119bly38yjbizkr99ayn265lm15rm2x5ipjvdixyyg"))))
|
2014-07-03 22:21:53 +02:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(inputs `(("setuptools" ,python-setuptools)))
|
|
|
|
|
(home-page "http://youtube-dl.org")
|
|
|
|
|
(synopsis "Download videos from YouTube.com and other sites")
|
|
|
|
|
(description
|
|
|
|
|
"youtube-dl is a small command-line program to download videos from
|
|
|
|
|
YouTube.com and a few more sites.")
|
2015-04-02 19:16:04 +02:00
|
|
|
|
(license license:public-domain)))
|
2015-01-24 17:59:22 +01:00
|
|
|
|
|
2015-03-05 21:40:36 +01:00
|
|
|
|
(define-public libbluray
|
|
|
|
|
(package
|
|
|
|
|
(name "libbluray")
|
|
|
|
|
(version "0.7.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://download.videolan.org/videolan/"
|
|
|
|
|
name "/" version "/"
|
|
|
|
|
name "-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"13dngs4b4cv29f6b825dq14n77mfhvk1kjb42axpq494pfgyp6zp"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("doxygen" ,doxygen)
|
|
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("perl" ,perl) ;for doxygen
|
|
|
|
|
("texlive" ,texlive)))
|
|
|
|
|
(home-page "http://www.videolan.org/developers/libbluray.html")
|
|
|
|
|
(synopsis "Blu-Ray Disc playback library")
|
|
|
|
|
(description
|
|
|
|
|
"libbluray is a library designed for Blu-Ray Disc playback for media
|
|
|
|
|
players, like VLC or MPlayer.")
|
2015-04-02 19:16:04 +02:00
|
|
|
|
(license license:lgpl2.1+)))
|
2015-03-05 21:40:36 +01:00
|
|
|
|
|
2015-01-24 17:59:22 +01:00
|
|
|
|
(define-public libdvdread
|
|
|
|
|
(package
|
|
|
|
|
(name "libdvdread")
|
|
|
|
|
(version "5.0.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://download.videolan.org/videolan/"
|
|
|
|
|
name "/" version "/"
|
|
|
|
|
name "-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"052z62l3x8ka5jpf5bi1mzp5p323n1z9rxj74nq5c35a88x1myv6"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(home-page "http://dvdnav.mplayerhq.hu/")
|
|
|
|
|
(synopsis "Library for reading video DVDs")
|
|
|
|
|
(description
|
|
|
|
|
"Libdvdread provides a simple foundation for reading DVD video
|
|
|
|
|
disks. It provides the functionality that is required to access many
|
|
|
|
|
DVDs. It parses IFO files, reads NAV-blocks, and performs CSS
|
|
|
|
|
authentication and descrambling (if an external libdvdcss library is
|
|
|
|
|
installed).")
|
2015-04-02 19:16:04 +02:00
|
|
|
|
(license license:gpl2+)))
|
2015-01-24 18:05:03 +01:00
|
|
|
|
|
|
|
|
|
(define-public libdvdnav
|
|
|
|
|
(package
|
|
|
|
|
(name "libdvdnav")
|
|
|
|
|
(version "5.0.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://download.videolan.org/videolan/"
|
|
|
|
|
name "/" version "/"
|
|
|
|
|
name "-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1ad2lkkiydgwiyqfysra9lkwjv9yqnvcg4hv92hx8qzics1cpcbj"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libdvdread" ,libdvdread)))
|
|
|
|
|
(home-page "http://dvdnav.mplayerhq.hu/")
|
|
|
|
|
(synopsis "Library for video DVD navigation features")
|
|
|
|
|
(description
|
|
|
|
|
"Libdvdnav is a library for developers of multimedia
|
|
|
|
|
applications. It allows easy use of sophisticated DVD navigation features
|
|
|
|
|
such as DVD menus, multiangle playback and even interactive DVD games. All
|
|
|
|
|
this functionality is provided through a simple API which provides the DVD
|
|
|
|
|
playback as a single logical stream of blocks, intermitted by special
|
|
|
|
|
dvdnav events to report certain conditions. The main usage of libdvdnav is
|
|
|
|
|
a loop regularly calling a function to get the next block, surrounded by
|
|
|
|
|
additional calls to tell the library of user interaction. The whole
|
|
|
|
|
DVD virtual machine and internal playback states are completely
|
|
|
|
|
encapsulated.")
|
2015-04-02 19:16:04 +02:00
|
|
|
|
(license license:gpl2+)))
|
2015-02-07 23:17:39 +01:00
|
|
|
|
|
2015-03-06 17:07:55 +01:00
|
|
|
|
(define-public libdvdnav-4
|
|
|
|
|
(package
|
|
|
|
|
(inherit libdvdnav)
|
|
|
|
|
(version "4.2.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append
|
|
|
|
|
"http://download.videolan.org/videolan/libdvdnav/libdvdnav-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0wi3gy408c8xj0ism0hckv5jbfh3lg4pmgxv87gbch9jrhp2gjkz"))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(alist-cons-after
|
|
|
|
|
'unpack 'autoreconf
|
|
|
|
|
(lambda _
|
|
|
|
|
(zero? (system* "autoreconf" "-vif")))
|
|
|
|
|
%standard-phases)))))
|
|
|
|
|
|
2015-03-06 10:39:10 +01:00
|
|
|
|
(define-public libdvdcss
|
|
|
|
|
(package
|
|
|
|
|
(name "libdvdcss")
|
|
|
|
|
(version "1.3.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://download.videolan.org/videolan/"
|
|
|
|
|
name "/" version "/"
|
|
|
|
|
name "-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"158k9zagmbk5bkbz96l6lwhh7xcgfcnzflkr4vblskhcab6llhbw"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(home-page "http://www.videolan.org/developers/libdvdcss.html")
|
|
|
|
|
(synopsis "Library for accessing DVDs as block devices")
|
|
|
|
|
(description
|
|
|
|
|
"libdvdcss is a simple library designed for accessing DVDs like a block
|
|
|
|
|
device without having to bother about the decryption.")
|
2015-04-02 19:16:04 +02:00
|
|
|
|
(license license:gpl2+)))
|
2015-03-06 10:39:10 +01:00
|
|
|
|
|
2015-02-07 23:17:39 +01:00
|
|
|
|
(define-public srt2vtt
|
|
|
|
|
(package
|
|
|
|
|
(name "srt2vtt")
|
|
|
|
|
(version "0.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://dthompson.us/releases/srt2vtt/srt2vtt-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"16b377znjm6qlga5yb8aj7b7bcisa1ghcnj2lrb1d30lvxp4liif"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("guile" ,guile-2.0)))
|
|
|
|
|
(synopsis "SubRip to WebVTT subtitle converter")
|
|
|
|
|
(description "srt2vtt converts SubRip formatted subtitles to WebVTT format
|
|
|
|
|
for use with HTML5 video.")
|
|
|
|
|
(home-page "http://dthompson.us/pages/software/srt2vtt")
|
2015-04-02 19:16:04 +02:00
|
|
|
|
(license license:gpl3+)))
|
2015-02-23 22:59:20 +01:00
|
|
|
|
|
|
|
|
|
(define-public avidemux
|
|
|
|
|
(package
|
|
|
|
|
(name "avidemux")
|
|
|
|
|
(version "2.6.8")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://sourceforge/avidemux/avidemux_"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"10p60wjkzf1bxqcb6i7bx4hbqy3vqg598p3l9lc4v2c9b8iqr682"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
;; FIXME: Once packaged, add libraries not found during the build.
|
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("fribidi" ,fribidi)
|
|
|
|
|
("glu" ,glu)
|
|
|
|
|
("gtk+" ,gtk+)
|
|
|
|
|
("jack" ,jack-1)
|
|
|
|
|
("lame" ,lame)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("libvpx" ,libvpx)
|
|
|
|
|
("libxv" ,libxv)
|
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("pulseaudio" ,pulseaudio)
|
|
|
|
|
("python" ,python-wrapper)
|
|
|
|
|
("qt" ,qt-4)
|
|
|
|
|
("sdl" ,sdl)
|
|
|
|
|
("sqlite" ,sqlite)
|
|
|
|
|
("yasm" ,yasm)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no check target
|
|
|
|
|
#:phases
|
|
|
|
|
;; Make sure files inside the included ffmpeg tarball are
|
|
|
|
|
;; patch-shebanged.
|
|
|
|
|
(alist-cons-before
|
|
|
|
|
'patch-source-shebangs 'unpack-ffmpeg
|
|
|
|
|
(lambda _
|
|
|
|
|
(with-directory-excursion "avidemux_core/ffmpeg_package"
|
|
|
|
|
(system* "tar" "xf" "ffmpeg-1.2.1.tar.bz2")
|
|
|
|
|
(delete-file "ffmpeg-1.2.1.tar.bz2")))
|
|
|
|
|
(alist-cons-after
|
|
|
|
|
'patch-source-shebangs 'repack-ffmpeg
|
|
|
|
|
(lambda _
|
|
|
|
|
(with-directory-excursion "avidemux_core/ffmpeg_package"
|
|
|
|
|
(substitute* "ffmpeg-1.2.1/configure"
|
|
|
|
|
(("#! /bin/sh") (string-append "#!" (which "bash"))))
|
|
|
|
|
(system* "tar" "cjf" "ffmpeg-1.2.1.tar.bz2" "ffmpeg-1.2.1")
|
|
|
|
|
(delete-file-recursively "ffmpeg-1.2.1")))
|
|
|
|
|
(alist-replace 'configure
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Copy-paste settings from the cmake build system.
|
|
|
|
|
(setenv "CMAKE_LIBRARY_PATH" (getenv "LIBRARY_PATH"))
|
|
|
|
|
(setenv "CMAKE_INCLUDE_PATH" (getenv "CPATH")))
|
|
|
|
|
(alist-replace 'build
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let*
|
|
|
|
|
((out (assoc-ref outputs "out"))
|
|
|
|
|
(lib (string-append out "/lib64"))
|
|
|
|
|
(top (getcwd))
|
|
|
|
|
(sdl (assoc-ref inputs "sdl"))
|
|
|
|
|
(build_component
|
|
|
|
|
(lambda* (component srcdir #:optional (args '()))
|
|
|
|
|
(let ((builddir (string-append "build_" component)))
|
|
|
|
|
(mkdir builddir)
|
|
|
|
|
(with-directory-excursion builddir
|
|
|
|
|
(zero? (and
|
|
|
|
|
(apply system* "cmake"
|
|
|
|
|
"-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE"
|
|
|
|
|
(string-append "-DCMAKE_INSTALL_PREFIX=" out)
|
|
|
|
|
(string-append "-DCMAKE_INSTALL_RPATH=" lib)
|
2015-05-31 23:30:05 +02:00
|
|
|
|
(string-append "-DCMAKE_SHARED_LINKER_FLAGS="
|
|
|
|
|
"\"-Wl,-rpath=" lib "\"")
|
2015-02-23 22:59:20 +01:00
|
|
|
|
(string-append "-DAVIDEMUX_SOURCE_DIR=" top)
|
|
|
|
|
(string-append "-DSDL_INCLUDE_DIR="
|
|
|
|
|
sdl "/include/SDL")
|
|
|
|
|
(string-append "../" srcdir)
|
|
|
|
|
args)
|
|
|
|
|
(system* "make" "-j"
|
|
|
|
|
(number->string (parallel-job-count)))
|
|
|
|
|
(system* "make" "install"))))))))
|
|
|
|
|
(mkdir out)
|
|
|
|
|
(and (build_component "core" "avidemux_core")
|
|
|
|
|
(build_component "cli" "avidemux/cli")
|
|
|
|
|
(build_component "qt4" "avidemux/qt4")
|
|
|
|
|
(build_component "gtk" "avidemux/gtk")
|
|
|
|
|
(build_component "plugins_common" "avidemux_plugins"
|
|
|
|
|
'("-DPLUGIN_UI=COMMON"))
|
|
|
|
|
(build_component "plugins_cli" "avidemux_plugins"
|
|
|
|
|
'("-DPLUGIN_UI=CLI"))
|
|
|
|
|
(build_component "plugins_qt4" "avidemux_plugins"
|
|
|
|
|
'("-DPLUGIN_UI=QT4"))
|
|
|
|
|
(build_component "plugins_gtk" "avidemux_plugins"
|
|
|
|
|
'("-DPLUGIN_UI=GTK"))
|
|
|
|
|
(build_component "plugins_settings" "avidemux_plugins"
|
|
|
|
|
'("-DPLUGIN_UI=SETTINGS")))
|
|
|
|
|
;; Remove .exe and .dll file.
|
|
|
|
|
(delete-file-recursively
|
|
|
|
|
(string-append out "/share/ADM6_addons"))))
|
|
|
|
|
(alist-delete 'install
|
|
|
|
|
%standard-phases)))))))
|
|
|
|
|
(home-page "http://fixounet.free.fr/avidemux/")
|
|
|
|
|
(synopsis "Video editor")
|
|
|
|
|
(description "Avidemux is a video editor designed for simple cutting,
|
|
|
|
|
filtering and encoding tasks. It supports many file types, including AVI,
|
|
|
|
|
DVD compatible MPEG files, MP4 and ASF, using a variety of codecs. Tasks
|
|
|
|
|
can be automated using projects, job queue and powerful scripting
|
|
|
|
|
capabilities.")
|
|
|
|
|
;; Software with various licenses is included, see License.txt.
|
2015-04-02 19:16:04 +02:00
|
|
|
|
(license license:gpl2+)))
|
2015-02-23 22:59:20 +01:00
|
|
|
|
|
|
|
|
|
(define-public avidemux-2.5
|
|
|
|
|
(package (inherit avidemux)
|
|
|
|
|
(version "2.5.6")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://sourceforge/avidemux/avidemux_"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"12wvxz0n2g85f079d8mdkkp2zm279d34m9v7qgcqndh48cn7znnn"))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("gettext" ,gnu-gettext)
|
|
|
|
|
("gtk+" ,gtk+-2)
|
|
|
|
|
("jack" ,jack-1)
|
|
|
|
|
("lame" ,lame)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("libvpx" ,libvpx)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("libxslt" ,libxslt)
|
|
|
|
|
("libxv" ,libxv)
|
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("pulseaudio" ,pulseaudio)
|
|
|
|
|
("qt" ,qt-4)
|
|
|
|
|
("sdl" ,sdl)
|
|
|
|
|
("yasm" ,yasm)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(alist-cons-before
|
|
|
|
|
'patch-source-shebangs 'unpack-ffmpeg
|
|
|
|
|
(lambda _
|
|
|
|
|
(with-directory-excursion "avidemux/ADM_libraries"
|
|
|
|
|
(system* "tar" "xf" "ffmpeg-0.9.tar.bz2")
|
|
|
|
|
(delete-file "ffmpeg-0.9.tar.bz2")))
|
|
|
|
|
(alist-cons-after
|
|
|
|
|
'patch-source-shebangs 'repack-ffmpeg
|
|
|
|
|
(lambda _
|
|
|
|
|
(with-directory-excursion "avidemux/ADM_libraries"
|
|
|
|
|
(substitute* "ffmpeg-0.9/configure"
|
|
|
|
|
(("#! /bin/sh") (string-append "#!" (which "bash"))))
|
|
|
|
|
(system* "tar" "cjf" "ffmpeg-0.9.tar.bz2" "ffmpeg-0.9")
|
|
|
|
|
(delete-file-recursively "ffmpeg-0.9")))
|
|
|
|
|
(alist-replace 'configure
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "CMAKE_LIBRARY_PATH" (getenv "LIBRARY_PATH"))
|
|
|
|
|
(setenv "CMAKE_INCLUDE_PATH" (getenv "CPATH")))
|
|
|
|
|
(alist-replace 'build
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let*
|
|
|
|
|
((out (assoc-ref outputs "out"))
|
|
|
|
|
(lib (string-append out "/lib"))
|
|
|
|
|
(top (getcwd))
|
|
|
|
|
(sdl (assoc-ref inputs "sdl"))
|
|
|
|
|
(build_component
|
|
|
|
|
(lambda* (component srcdir)
|
|
|
|
|
(let ((builddir (string-append "build_" component)))
|
|
|
|
|
(mkdir builddir)
|
|
|
|
|
(with-directory-excursion builddir
|
|
|
|
|
(zero? (and
|
|
|
|
|
(system* "cmake"
|
|
|
|
|
"-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE"
|
|
|
|
|
(string-append "-DCMAKE_INSTALL_PREFIX="
|
|
|
|
|
out)
|
|
|
|
|
(string-append "-DCMAKE_INSTALL_RPATH="
|
|
|
|
|
lib)
|
|
|
|
|
(string-append "-DAVIDEMUX_SOURCE_DIR="
|
|
|
|
|
top)
|
|
|
|
|
(string-append "-DAVIDEMUX_CORECONFIG_DIR="
|
|
|
|
|
top "/build_main/config")
|
|
|
|
|
(string-append "-DAVIDEMUX_INSTALL_PREFIX="
|
|
|
|
|
out)
|
|
|
|
|
(string-append "-DSDL_INCLUDE_DIR="
|
|
|
|
|
sdl "/include/SDL")
|
|
|
|
|
(string-append "../" srcdir))
|
|
|
|
|
(system* "make" "-j"
|
|
|
|
|
(number->string (parallel-job-count)))
|
|
|
|
|
(system* "make" "install"))))))))
|
|
|
|
|
(mkdir out)
|
|
|
|
|
(and (build_component "main" ".")
|
|
|
|
|
(build_component "plugins" "plugins"))
|
|
|
|
|
(delete-file-recursively
|
|
|
|
|
(string-append out "/share/ADM_addons"))))
|
|
|
|
|
(alist-delete 'install
|
|
|
|
|
%standard-phases)))))))))
|
2015-03-06 11:50:40 +01:00
|
|
|
|
|
2015-03-21 23:09:11 +01:00
|
|
|
|
(define-public vapoursynth
|
|
|
|
|
(package
|
|
|
|
|
(name "vapoursynth")
|
|
|
|
|
(version "26")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/vapoursynth/vapoursynth/archive/R"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1qbg5kg0kgrxldd0ckn1s7vy7vx2ig8nqzv6djp38fxccpzw3x9k"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("cython" ,python-cython)
|
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("python" ,python)
|
|
|
|
|
("yasm" ,yasm)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("ffmpeg" ,ffmpeg)
|
|
|
|
|
("libass" ,libass)
|
|
|
|
|
("tesseract-ocr" ,tesseract-ocr)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after
|
utils: 'modify-phases' no longer introduces quotes.
Suggested by Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>.
* guix/build/utils.scm (%modify-phases): Remove quotes.
* guix/build/cmake-build-system.scm (%standard-phases): Adjust
accordingly.
* guix/build/glib-or-gtk-build-system.scm (%standard-phases): Likewise.
* guix/build/gnu-dist.scm (%dist-phases): Likewise.
* guix/build/perl-build-system.scm (%standard-phases): Likewise.
* guix/build/python-build-system.scm (%standard-phases): Likewise.
* guix/build/ruby-build-system.scm (%standard-phases): Likewise.
* guix/build/waf-build-system.scm (%standard-phases): Likewise.
* gnu/packages/bash.scm, gnu/packages/code.scm, gnu/packages/gl.scm,
gnu/packages/gnome.scm, gnu/packages/graphics.scm,
gnu/packages/image.scm, gnu/packages/key-mon.scm,
gnu/packages/ocr.scm, gnu/packages/plotutils.scm,
gnu/packages/search.scm, gnu/packages/video.scm: Likewise.
2015-03-31 22:43:01 +02:00
|
|
|
|
'unpack 'autogen
|
2015-03-21 23:09:11 +01:00
|
|
|
|
(lambda _
|
|
|
|
|
(zero? (system* "sh" "autogen.sh")))))))
|
|
|
|
|
(home-page "http://www.vapoursynth.com/")
|
|
|
|
|
(synopsis "Video processing framework")
|
|
|
|
|
(description "VapourSynth is a C++ library and Python module for video
|
|
|
|
|
manipulation. It aims to be a modern rewrite of Avisynth, supporting
|
|
|
|
|
multithreading, generalized colorspaces, per frame properties, and videos with
|
|
|
|
|
format changes.")
|
|
|
|
|
;; As seen from the source files.
|
2015-04-02 19:16:04 +02:00
|
|
|
|
(license license:lgpl2.1+)))
|
2015-03-21 23:09:11 +01:00
|
|
|
|
|
2015-03-06 11:50:40 +01:00
|
|
|
|
(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.")
|
2015-04-02 19:16:04 +02:00
|
|
|
|
(license license:gpl2+)))
|
2015-04-04 19:18:40 +02:00
|
|
|
|
|
|
|
|
|
(define-public livestreamer
|
|
|
|
|
(package
|
|
|
|
|
(name "livestreamer")
|
|
|
|
|
(version "1.12.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/chrippa/livestreamer/archive/v"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append "livestreamer-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1dhgk8v8q1h3km4g5jc0cmjsxdaa2d456fvdb2wk7hmxmmwbqm9j"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f)) ; tests rely on external web servers
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python-setuptools" ,python-setuptools)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-requests" ,python-requests)
|
|
|
|
|
("python-singledispatch" ,python-singledispatch)))
|
|
|
|
|
(synopsis "Internet video stream viewer")
|
|
|
|
|
(description "Livestreamer is a command-line utility that extracts streams
|
|
|
|
|
from various services and pipes them into a video playing application.")
|
|
|
|
|
(home-page "http://livestreamer.io/")
|
|
|
|
|
(license license:bsd-2)))
|