2013-10-31 23:15:46 +01:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2016-02-05 14:42:13 +01:00
|
|
|
|
;;; Copyright © 2013, 2014, 2015, 2016 Andreas Enge <andreas@enge.fr>
|
2016-01-20 04:11:16 +01:00
|
|
|
|
;;; Copyright © 2014, 2015, 2016 David Thompson <davet@gnu.org>
|
gnu: vlc: Update to 3.0.3, and add more inputs.
Co-authored-by: Roel Janssen <roel@gnu.org>
* gnu/packages/video.scm (vlc): Update to 3.0.3.
[native-inputs]: Add flex, bison, and gettext-minimal.
[inputs]: Replace ffmpeg-2.8 with the latest ffmpeg. Replace lua-5.1 with
lua-5.2. Add eudev, fribidi, libarchive, libass, libavc1394, libbluray,
libcaca, libdca, libdvdnav, libdvdread, libebml, libidn, libmatroska,
libmodplug, libmpeg2, libraw1394, librsvg, libsecret, libupnp, libva,
libvdpau, libvpx, libx264, qtsvg, samba, speexdsp, taglib, twolame, unzip,
wayland, and wayland-protocols.
[arguments]: Add BUILDCC=gcc to configure-flags. In the 'patch-source' phase,
remove a vestigial substitution fix, enable the use of fribidi deprecated
interfaces, and adjust the file names in substitutions from "gui/qt4" to
"gui/qt". Move the 'regenerate-plugin-cache' phase after 'strip', and in it,
set the timestamps to 1 second after the epoch, and use 'invoke'. Add new
'wrap-executable' phase.
2018-04-19 03:32:46 +02:00
|
|
|
|
;;; Copyright © 2014, 2015, 2016, 2018 Mark H Weaver <mhw@netris.org>
|
2015-03-06 10:17:19 +01:00
|
|
|
|
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
|
2018-02-13 20:48:14 +01:00
|
|
|
|
;;; Copyright © 2015, 2016, 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
|
2015-10-29 03:42:42 +01:00
|
|
|
|
;;; Copyright © 2015 Andy Patterson <ajpatter@uwaterloo.ca>
|
2015-11-16 18:28:59 +01:00
|
|
|
|
;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
|
2018-02-07 07:39:40 +01:00
|
|
|
|
;;; Copyright © 2015, 2016, 2017, 2018 Alex Vong <alexvong1995@gmail.com>
|
2017-01-07 16:22:47 +01:00
|
|
|
|
;;; Copyright © 2016, 2017 Alex Griffin <a@ajgrf.com>
|
2017-08-28 04:27:56 +02:00
|
|
|
|
;;; Copyright © 2016 Kei Kebreau <kkebreau@posteo.net>
|
2016-08-02 22:11:46 +02:00
|
|
|
|
;;; Copyright © 2016 Dmitry Nikolaev <cameltheman@gmail.com>
|
2016-09-09 21:52:24 +02:00
|
|
|
|
;;; Copyright © 2016 Andy Patterson <ajpatter@uwaterloo.ca>
|
Correct name and Email for ng0.
* .mailmap: Correct name and Email for ng0.
* Makefile.am, doc/guix.texi, etc/completion/fish/guix.fish
gnu/packages/accessibility.scm, gnu/packages/admin.scm,
gnu/packages/audio.scm, gnu/packages/autotools.scm,
gnu/packages/cdrom.scm, gnu/packages/check.scm,
gnu/packages/cinnamon.scm, gnu/packages/compression.scm,
gnu/packages/crypto.scm, gnu/packages/databases.scm,
gnu/packages/django.scm, gnu/packages/dns.scm,
gnu/packages/emacs.scm, gnu/packages/enlightenment.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm,
gnu/packages/forth.scm, gnu/packages/fvwm.scm,
gnu/packages/games.scm, gnu/packages/gl.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm,
gnu/packages/guile.scm, gnu/packages/haskell-check.scm,
gnu/packages/haskell-crypto.scm, gnu/packages/haskell.scm,
gnu/packages/image-viewers.scm, gnu/packages/image.scm,
gnu/packages/irc.scm, gnu/packages/language.scm,
gnu/packages/libcanberra.scm, gnu/packages/linux.scm,
gnu/packages/lisp.scm, gnu/packages/lolcode.scm,
gnu/packages/lxde.scm, gnu/packages/lxqt.scm,
gnu/packages/mail.scm, gnu/packages/markup.scm,
gnu/packages/mate.scm, gnu/packages/maths.scm,
gnu/packages/mc.scm, gnu/packages/messaging.scm,
gnu/packages/music.scm, gnu/packages/ncurses.scm,
gnu/packages/networking.scm, gnu/packages/nickle.scm,
gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl-check.scm, gnu/packages/perl.scm,
gnu/packages/python-crypto.scm, gnu/packages/python-web.scm,
gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/ruby.scm, gnu/packages/rust.scm,
gnu/packages/scheme.scm, gnu/packages/serialization.scm,
gnu/packages/shells.scm, gnu/packages/ssh.scm,
gnu/packages/suckless.scm, gnu/packages/tbb.scm,
gnu/packages/telephony.scm, gnu/packages/text-editors.scm,
gnu/packages/textutils.scm, gnu/packages/time.scm,
gnu/packages/tls.scm, gnu/packages/tor.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vim.scm, gnu/packages/web.scm,
gnu/packages/wm.scm, gnu/packages/xdisorg.scm,
gnu/packages/xfce.scm, gnu/packages/xml.scm,
gnu/packages/xorg.scm, gnu/services/certbot.scm,
gnu/services/desktop.scm, gnu/services/version-control.scm,
gnu/services/web.scm, guix/import/hackage.scm,
guix/licenses.scm: Likewise.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2018-03-20 16:39:45 +01:00
|
|
|
|
;;; Copyright © 2016, 2017 Nils Gillmann <ng0@n0.is>
|
2015-12-26 03:29:09 +01:00
|
|
|
|
;;; Copyright © 2016 Eric Bavier <bavier@member.fsf.org>
|
2016-06-18 22:40:51 +02:00
|
|
|
|
;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
|
2017-04-07 15:18:55 +02:00
|
|
|
|
;;; Copyright © 2017 Feng Shu <tumashu@163.com>
|
2018-01-08 07:46:43 +01:00
|
|
|
|
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
2017-04-17 21:27:18 +02:00
|
|
|
|
;;; Copyright © 2017 Chris Marusich <cmmarusich@gmail.com>
|
2017-04-20 18:15:03 +02:00
|
|
|
|
;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
|
2017-05-27 17:19:23 +02:00
|
|
|
|
;;; Copyright © 2017 Ethan R. Jones <doubleplusgood23@gmail.com>
|
2018-04-25 13:12:24 +02:00
|
|
|
|
;;; Copyright © 2017, 2018 Clément Lassieur <clement@lassieur.org>
|
2017-06-24 21:04:20 +02:00
|
|
|
|
;;; Copyright © 2017 Gregor Giesen <giesen@zaehlwerk.net>
|
2018-02-13 10:19:38 +01:00
|
|
|
|
;;; Copyright © 2017, 2018 Rutger Helling <rhelling@mykolab.com>
|
2018-01-04 16:25:44 +01:00
|
|
|
|
;;; Copyright © 2018 Roel Janssen <roel@gnu.org>
|
2018-01-17 00:38:26 +01:00
|
|
|
|
;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com>
|
2018-04-01 17:15:02 +02:00
|
|
|
|
;;; Copyright © 2018 Pierre Neidhardt <ambrevar@gmail.com>
|
2018-06-28 23:02:40 +02:00
|
|
|
|
;;; Copyright © 2018 Leo Famulari <leo@famulari.name>
|
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)
|
2016-07-12 16:45:13 +02:00
|
|
|
|
#:use-module (srfi srfi-1)
|
2018-06-19 20:37:41 +02:00
|
|
|
|
#:use-module (srfi srfi-26)
|
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)
|
2016-07-29 23:01:51 +02:00
|
|
|
|
#:use-module (guix svn-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)
|
2016-07-07 01:58:17 +02:00
|
|
|
|
#:use-module (guix build-system glib-or-gtk)
|
2017-10-16 07:41:50 +02:00
|
|
|
|
#:use-module (guix build-system meson)
|
2018-02-24 23:52:10 +01:00
|
|
|
|
#:use-module (guix build-system perl)
|
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)
|
2018-04-01 17:15:02 +02:00
|
|
|
|
#:use-module (guix build-system trivial)
|
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)
|
gnu: vlc: Update to 3.0.3, and add more inputs.
Co-authored-by: Roel Janssen <roel@gnu.org>
* gnu/packages/video.scm (vlc): Update to 3.0.3.
[native-inputs]: Add flex, bison, and gettext-minimal.
[inputs]: Replace ffmpeg-2.8 with the latest ffmpeg. Replace lua-5.1 with
lua-5.2. Add eudev, fribidi, libarchive, libass, libavc1394, libbluray,
libcaca, libdca, libdvdnav, libdvdread, libebml, libidn, libmatroska,
libmodplug, libmpeg2, libraw1394, librsvg, libsecret, libupnp, libva,
libvdpau, libvpx, libx264, qtsvg, samba, speexdsp, taglib, twolame, unzip,
wayland, and wayland-protocols.
[arguments]: Add BUILDCC=gcc to configure-flags. In the 'patch-source' phase,
remove a vestigial substitution fix, enable the use of fribidi deprecated
interfaces, and adjust the file names in substitutions from "gui/qt4" to
"gui/qt". Move the 'regenerate-plugin-cache' phase after 'strip', and in it,
set the timestamps to 1 second after the epoch, and use 'invoke'. Add new
'wrap-executable' phase.
2018-04-19 03:32:46 +02:00
|
|
|
|
#:use-module (gnu packages backup)
|
2015-03-04 16:29:08 +01:00
|
|
|
|
#:use-module (gnu packages base)
|
2016-09-09 21:52:25 +02:00
|
|
|
|
#:use-module (gnu packages bison)
|
2017-06-24 21:04:20 +02:00
|
|
|
|
#:use-module (gnu packages boost)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
#:use-module (gnu packages cdrom)
|
2017-06-24 21:04:20 +02:00
|
|
|
|
#:use-module (gnu packages check)
|
2015-12-26 03:29:09 +01:00
|
|
|
|
#:use-module (gnu packages cmake)
|
2013-10-31 23:15:46 +01:00
|
|
|
|
#:use-module (gnu packages compression)
|
2017-05-27 17:19:23 +02:00
|
|
|
|
#:use-module (gnu packages cpp)
|
2015-12-17 19:36:42 +01:00
|
|
|
|
#:use-module (gnu packages curl)
|
2015-02-23 22:59:20 +01:00
|
|
|
|
#:use-module (gnu packages databases)
|
2017-02-09 14:37:00 +01:00
|
|
|
|
#:use-module (gnu packages dejagnu)
|
2017-06-24 21:04:20 +02:00
|
|
|
|
#:use-module (gnu packages docbook)
|
2017-10-20 20:32:12 +02:00
|
|
|
|
#:use-module (gnu packages documentation)
|
2013-12-17 21:19:41 +01:00
|
|
|
|
#:use-module (gnu packages elf)
|
2017-06-24 21:04:20 +02:00
|
|
|
|
#:use-module (gnu packages file)
|
2016-09-09 21:52:25 +02:00
|
|
|
|
#:use-module (gnu packages flex)
|
2013-10-31 23:15:46 +01:00
|
|
|
|
#:use-module (gnu packages fontutils)
|
2016-08-20 21:39:42 +02:00
|
|
|
|
#:use-module (gnu packages freedesktop)
|
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)
|
2015-12-26 03:29:09 +01:00
|
|
|
|
#:use-module (gnu packages gnome)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
#:use-module (gnu packages gnupg)
|
2015-12-26 03:29:09 +01:00
|
|
|
|
#:use-module (gnu packages gstreamer)
|
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)
|
2017-04-20 18:15:03 +02:00
|
|
|
|
#:use-module (gnu packages imagemagick)
|
2018-01-19 20:59:12 +01:00
|
|
|
|
#:use-module (gnu packages iso-codes)
|
gnu: vlc: Update to 3.0.3, and add more inputs.
Co-authored-by: Roel Janssen <roel@gnu.org>
* gnu/packages/video.scm (vlc): Update to 3.0.3.
[native-inputs]: Add flex, bison, and gettext-minimal.
[inputs]: Replace ffmpeg-2.8 with the latest ffmpeg. Replace lua-5.1 with
lua-5.2. Add eudev, fribidi, libarchive, libass, libavc1394, libbluray,
libcaca, libdca, libdvdnav, libdvdread, libebml, libidn, libmatroska,
libmodplug, libmpeg2, libraw1394, librsvg, libsecret, libupnp, libva,
libvdpau, libvpx, libx264, qtsvg, samba, speexdsp, taglib, twolame, unzip,
wayland, and wayland-protocols.
[arguments]: Add BUILDCC=gcc to configure-flags. In the 'patch-source' phase,
remove a vestigial substitution fix, enable the use of fribidi deprecated
interfaces, and adjust the file names in substitutions from "gui/qt4" to
"gui/qt". Move the 'regenerate-plugin-cache' phase after 'strip', and in it,
set the timestamps to 1 second after the epoch, and use 'invoke'. Add new
'wrap-executable' phase.
2018-04-19 03:32:46 +02:00
|
|
|
|
#:use-module (gnu packages libidn)
|
2017-10-20 18:46:15 +02:00
|
|
|
|
#:use-module (gnu packages libreoffice)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
#:use-module (gnu packages linux)
|
|
|
|
|
#:use-module (gnu packages lua)
|
2015-12-26 03:29:09 +01:00
|
|
|
|
#:use-module (gnu packages m4)
|
2017-02-09 14:37:00 +01:00
|
|
|
|
#:use-module (gnu packages man)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
#: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 perl)
|
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2016-04-17 17:36:43 +02:00
|
|
|
|
#:use-module (gnu packages popt)
|
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)
|
2018-01-19 20:59:12 +01:00
|
|
|
|
#:use-module (gnu packages python-crypto)
|
gnu: Move more packages from python to python-web.
* gnu/packages/python.scm (python-requests, python2-requests)
(python-requests-2.7, python-oauthlib, python2-oauthlib)
(python-furl, python2-furl, python-wsgi-intercept)
(python-publicsuffix, python2-publicsuffix)
(python-publicsuffix2, python2-publicsuffix2): Move to...
* gnu/packages/python-web.scm: ... here.
* gnu/packages/bioinformatics.scm, gnu/packages/finance.scm:
gnu/packages/maths.scm, gnu/packages/terminals.scm,
gnu/packages/video.scm, gnu/packages/virtualization.scm: Adjust
accordingly.
2017-11-15 14:59:31 +01:00
|
|
|
|
#:use-module (gnu packages python-web)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
#:use-module (gnu packages qt)
|
gnu: vlc: Update to 3.0.3, and add more inputs.
Co-authored-by: Roel Janssen <roel@gnu.org>
* gnu/packages/video.scm (vlc): Update to 3.0.3.
[native-inputs]: Add flex, bison, and gettext-minimal.
[inputs]: Replace ffmpeg-2.8 with the latest ffmpeg. Replace lua-5.1 with
lua-5.2. Add eudev, fribidi, libarchive, libass, libavc1394, libbluray,
libcaca, libdca, libdvdnav, libdvdread, libebml, libidn, libmatroska,
libmodplug, libmpeg2, libraw1394, librsvg, libsecret, libupnp, libva,
libvdpau, libvpx, libx264, qtsvg, samba, speexdsp, taglib, twolame, unzip,
wayland, and wayland-protocols.
[arguments]: Add BUILDCC=gcc to configure-flags. In the 'patch-source' phase,
remove a vestigial substitution fix, enable the use of fribidi deprecated
interfaces, and adjust the file names in substitutions from "gui/qt4" to
"gui/qt". Move the 'regenerate-plugin-cache' phase after 'strip', and in it,
set the timestamps to 1 second after the epoch, and use 'invoke'. Add new
'wrap-executable' phase.
2018-04-19 03:32:46 +02:00
|
|
|
|
#:use-module (gnu packages rdesktop)
|
2017-06-24 21:04:20 +02:00
|
|
|
|
#:use-module (gnu packages ruby)
|
gnu: vlc: Update to 3.0.3, and add more inputs.
Co-authored-by: Roel Janssen <roel@gnu.org>
* gnu/packages/video.scm (vlc): Update to 3.0.3.
[native-inputs]: Add flex, bison, and gettext-minimal.
[inputs]: Replace ffmpeg-2.8 with the latest ffmpeg. Replace lua-5.1 with
lua-5.2. Add eudev, fribidi, libarchive, libass, libavc1394, libbluray,
libcaca, libdca, libdvdnav, libdvdread, libebml, libidn, libmatroska,
libmodplug, libmpeg2, libraw1394, librsvg, libsecret, libupnp, libva,
libvdpau, libvpx, libx264, qtsvg, samba, speexdsp, taglib, twolame, unzip,
wayland, and wayland-protocols.
[arguments]: Add BUILDCC=gcc to configure-flags. In the 'patch-source' phase,
remove a vestigial substitution fix, enable the use of fribidi deprecated
interfaces, and adjust the file names in substitutions from "gui/qt4" to
"gui/qt". Move the 'regenerate-plugin-cache' phase after 'strip', and in it,
set the timestamps to 1 second after the epoch, and use 'invoke'. Add new
'wrap-executable' phase.
2018-04-19 03:32:46 +02:00
|
|
|
|
#:use-module (gnu packages samba)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
#:use-module (gnu packages sdl)
|
2017-06-24 21:04:20 +02:00
|
|
|
|
#:use-module (gnu packages serialization)
|
|
|
|
|
#:use-module (gnu packages shells)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
#:use-module (gnu packages ssh)
|
2015-04-04 17:08:52 +02:00
|
|
|
|
#:use-module (gnu packages texinfo)
|
2015-03-04 22:37:08 +01:00
|
|
|
|
#:use-module (gnu packages textutils)
|
gnu: Rename module gnutls to tls.
* gnu/packages/gnutls.scm: Rename to...
* gnu/packages/tls.scm: ... this. Change module name accordingly.
* gnu/packages/{admin.scm, cups.scm, curl.scm, dc.scm, dns.scm, emacs.scm,
ftp.scm, gnome.scm, gnunet.scm, gnupg.scm, gsasl.scm, lynx.scm,
mail.scm, messaging.scm, package-management.scm, shishi.scm,
task-management.scm, version-control.scm, video.scm, vpn.scm,
webkit.scm, weechat.scm, wget.scm, wine.scm, xml.scm}: Adapt module
import to new name.
* gnu-system.am (GNU_SYSTEM_MODULES): Rename gnutls module to tls.
2015-07-03 21:41:22 +02:00
|
|
|
|
#:use-module (gnu packages tls)
|
2018-06-24 08:48:04 +02:00
|
|
|
|
#:use-module (gnu packages time)
|
gnu: vlc: Update to 3.0.3, and add more inputs.
Co-authored-by: Roel Janssen <roel@gnu.org>
* gnu/packages/video.scm (vlc): Update to 3.0.3.
[native-inputs]: Add flex, bison, and gettext-minimal.
[inputs]: Replace ffmpeg-2.8 with the latest ffmpeg. Replace lua-5.1 with
lua-5.2. Add eudev, fribidi, libarchive, libass, libavc1394, libbluray,
libcaca, libdca, libdvdnav, libdvdread, libebml, libidn, libmatroska,
libmodplug, libmpeg2, libraw1394, librsvg, libsecret, libupnp, libva,
libvdpau, libvpx, libx264, qtsvg, samba, speexdsp, taglib, twolame, unzip,
wayland, and wayland-protocols.
[arguments]: Add BUILDCC=gcc to configure-flags. In the 'patch-source' phase,
remove a vestigial substitution fix, enable the use of fribidi deprecated
interfaces, and adjust the file names in substitutions from "gui/qt4" to
"gui/qt". Move the 'regenerate-plugin-cache' phase after 'strip', and in it,
set the timestamps to 1 second after the epoch, and use 'invoke'. Add new
'wrap-executable' phase.
2018-04-19 03:32:46 +02:00
|
|
|
|
#:use-module (gnu packages upnp)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
#:use-module (gnu packages version-control)
|
2018-02-14 08:13:17 +01:00
|
|
|
|
#:use-module (gnu packages vulkan)
|
2015-03-07 12:18:32 +01:00
|
|
|
|
#:use-module (gnu packages web)
|
2015-12-26 03:29:09 +01:00
|
|
|
|
#:use-module (gnu packages webkit)
|
2017-04-17 21:27:18 +02:00
|
|
|
|
#:use-module (gnu packages wxwidgets)
|
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)
|
gnu: Move contents of zip module into compression module.
* gnu/packages/zip.scm (zip, unzip, zziplib, perl-zip): Move to...
* gnu/packages/compression.scm: ...here.
* gnu/packages/zip.scm: Delete file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Unregister deleted file.
* po/packages/POTFILES.in: Unregister deleted file.
* gnu/packages/{audio, avr, bioinformatics, busybox, cdrom, ci, compression,
docbook, documentation, fonts, fpga, game-development, games, gl, gnome,
gnuzilla, graphics, guile, haskell, image, java, kodi, ldc, libreoffice,
markup, maths, mc, monitoring, music, php, pretty-print, python, scheme,
smalltalk, statistics, synergy, tex, textutils, video, web-browsers, xml,
zip}.scm, guix/build-system/{ant, font}.scm, guix/{download, packages}.scm:
Adapt module import.
2017-06-12 20:40:01 +02:00
|
|
|
|
#:use-module (gnu packages assembly))
|
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)
|
2016-07-21 08:35:30 +02:00
|
|
|
|
(uri (string-append "mirror://sourceforge/aa-project/aa-lib/"
|
|
|
|
|
version "/" name "-" version ".tar.gz"))
|
2015-04-04 17:08:52 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1vkh19gb76agvh4h87ysbrgy82hrw88lnsvhynjf4vng629dmpgv"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("makeinfo" ,texinfo)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("ncurses" ,ncurses)))
|
|
|
|
|
(arguments
|
2016-08-17 19:55:05 +02:00
|
|
|
|
`(#:phases
|
2015-04-04 17:08:52 +02:00
|
|
|
|
(modify-phases %standard-phases
|
2015-04-10 11:35:50 +02:00
|
|
|
|
(replace 'configure
|
2015-08-08 05:57:08 +02:00
|
|
|
|
(lambda* (#:key build inputs outputs #:allow-other-keys)
|
2015-04-04 17:08:52 +02:00
|
|
|
|
;; 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"))
|
2018-03-27 06:55:28 +02:00
|
|
|
|
(invoke "./configure"
|
|
|
|
|
(string-append "--prefix=" out)
|
|
|
|
|
(string-append "--build=" build)
|
|
|
|
|
;; The ancient config.guess is unable to
|
|
|
|
|
;; guess the host triplet on mips64el.
|
|
|
|
|
,@(if (string=? "mips64el-linux"
|
|
|
|
|
(%current-system))
|
|
|
|
|
'("--host=mips64el-unknown-linux-gnu")
|
|
|
|
|
'())
|
|
|
|
|
;; The same is also true with aarch64.
|
|
|
|
|
,@(if (string=? "aarch64-linux"
|
|
|
|
|
(%current-system))
|
|
|
|
|
'("--host=aarch64-unknown-linux-gnu")
|
|
|
|
|
'())
|
|
|
|
|
(string-append "--with-ncurses="
|
|
|
|
|
ncurses))))))))
|
2015-04-04 17:08:52 +02:00
|
|
|
|
(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
|
2015-07-07 08:30:25 +02:00
|
|
|
|
"0czccp4fcpf2ykp16xcrzdfmnircz1ynhls334q374xknd5747d2"))
|
2016-04-08 14:18:13 +02:00
|
|
|
|
(patches (search-patches "liba52-enable-pic.patch"
|
|
|
|
|
"liba52-set-soname.patch"
|
|
|
|
|
"liba52-use-mtune-not-mcpu.patch"
|
|
|
|
|
"liba52-link-with-libm.patch"))))
|
2015-03-06 10:17:19 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2015-07-07 08:30:25 +02:00
|
|
|
|
;; XXX We need to run ./bootstrap because of the build system fixes above.
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)))
|
2015-07-14 01:04:27 +02:00
|
|
|
|
(arguments `(#:configure-flags '("--enable-shared")
|
2015-07-07 08:30:25 +02:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; XXX We need to run ./bootstrap because of the build
|
|
|
|
|
;; system fixes above.
|
2018-03-11 21:46:30 +01:00
|
|
|
|
(replace 'bootstrap
|
2018-03-27 06:57:20 +02:00
|
|
|
|
(lambda _ (invoke "sh" "bootstrap"))))))
|
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-07-07 19:06:00 +02:00
|
|
|
|
(define-public libmpeg2
|
|
|
|
|
(package
|
|
|
|
|
(name "libmpeg2")
|
|
|
|
|
(version "0.5.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
;; A mirror://sourceforge URI doesn't work, presumably
|
|
|
|
|
;; because the SourceForge project is misconfigured.
|
|
|
|
|
(uri (string-append "http://libmpeg2.sourceforge.net/files/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1m3i322n2fwgrvbs1yck7g5md1dbg22bhq5xdqmjpz5m7j4jxqny"))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libx11" ,libx11)
|
|
|
|
|
("libxext" ,libxext)
|
|
|
|
|
("libxv" ,libxv)
|
|
|
|
|
("libsm" ,libsm)
|
|
|
|
|
("libice" ,libice)
|
|
|
|
|
("sdl" ,sdl)))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(home-page "http://libmpeg2.sourceforge.net/")
|
|
|
|
|
(synopsis "MPEG1 and MPEG2 video decoder library")
|
|
|
|
|
(description
|
|
|
|
|
"libmpeg2 is a library which can decode MPEG1 and MPEG2 video streams.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2015-07-07 20:48:28 +02:00
|
|
|
|
(define-public libx264
|
|
|
|
|
(package
|
|
|
|
|
(name "libx264")
|
2018-02-20 22:34:07 +01:00
|
|
|
|
(version "20180219-2245")
|
2015-07-07 20:48:28 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-12-06 21:43:31 +01:00
|
|
|
|
(uri (string-append "https://download.videolan.org/pub/x264/snapshots/"
|
2018-02-22 15:32:48 +01:00
|
|
|
|
"x264-snapshot-" version "-stable.tar.bz2"))
|
2015-07-07 20:48:28 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-02-22 15:32:48 +01:00
|
|
|
|
"1x0cg8l30wp84mr7q0ddp06jclm0kjrszazrx87d4k7js3qxjy8m"))))
|
2015-07-07 20:48:28 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
2018-02-21 20:25:00 +01:00
|
|
|
|
("nasm" ,nasm)))
|
2015-07-07 20:48:28 +02:00
|
|
|
|
;; TODO: Add gpac input
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;no check target
|
|
|
|
|
#:configure-flags '("--enable-shared"
|
|
|
|
|
;; Don't build the command-line program. If we
|
|
|
|
|
;; want it later, we should do so in a different
|
|
|
|
|
;; package to avoid a circular dependency (the x264
|
|
|
|
|
;; program depends on ffmpeg and ffmpeg depends on
|
|
|
|
|
;; libx264).
|
2016-08-16 06:38:49 +02:00
|
|
|
|
"--disable-cli"
|
|
|
|
|
|
|
|
|
|
;; On MIPS, we must pass "--disable-asm" or else
|
|
|
|
|
;; configure fails after printing: "You specified a
|
|
|
|
|
;; pre-MSA CPU in your CFLAGS. If you really want
|
|
|
|
|
;; to run on such a CPU, configure with
|
|
|
|
|
;; --disable-asm."
|
|
|
|
|
,@(if (string-prefix? "mips"
|
|
|
|
|
(or (%current-target-system)
|
|
|
|
|
(%current-system)))
|
|
|
|
|
'("--disable-asm")
|
|
|
|
|
'()))))
|
2016-12-06 21:43:31 +01:00
|
|
|
|
(home-page "https://www.videolan.org/developers/x264.html")
|
2015-07-07 20:48:28 +02:00
|
|
|
|
(synopsis "H.264 video coding library")
|
|
|
|
|
(description "libx264 is an advanced encoding library for creating
|
|
|
|
|
H.264 (MPEG-4 AVC) video streams.")
|
|
|
|
|
(license (list license:gpl2+ ;most files
|
|
|
|
|
license:isc ;common/x86/x86inc.asm
|
|
|
|
|
license:lgpl2.1+ ;extras/getopt.c
|
|
|
|
|
license:bsd-3 ;extras/inttypes.h
|
|
|
|
|
(license:non-copyleft ;extras/cl*.h
|
|
|
|
|
"file://extras/cl.h"
|
|
|
|
|
"See extras/cl.h in the distribution.")))))
|
|
|
|
|
|
2017-06-24 21:04:20 +02:00
|
|
|
|
(define-public mkvtoolnix
|
|
|
|
|
(package
|
|
|
|
|
(name "mkvtoolnix")
|
|
|
|
|
(version "13.0.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://mkvtoolnix.download/sources/"
|
|
|
|
|
name "-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0hknnnnx9661igm1r73dc7aqxnnrl5a8yvyvr1nhd9ymn2klwpl5"))
|
|
|
|
|
(modules '((guix build utils)))
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 12:47:34 +01:00
|
|
|
|
(snippet '(begin
|
|
|
|
|
;; Delete bundled libraries.
|
|
|
|
|
(for-each delete-file-recursively
|
|
|
|
|
'("lib/libebml"
|
|
|
|
|
"lib/libmatroska"
|
|
|
|
|
"lib/nlohmann-json"
|
|
|
|
|
"lib/pugixml"
|
|
|
|
|
"lib/utf8-cpp"))
|
|
|
|
|
#t))))
|
2017-06-24 21:04:20 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost)
|
|
|
|
|
("bzip2" ,bzip2)
|
|
|
|
|
("libebml" ,libebml)
|
|
|
|
|
("flac" ,flac)
|
|
|
|
|
("file" ,file)
|
|
|
|
|
("libmatroska" ,libmatroska)
|
|
|
|
|
("libogg" ,libogg)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("lzo" ,lzo)
|
|
|
|
|
("pugixml" ,pugixml)
|
|
|
|
|
("qt" ,qt)
|
|
|
|
|
("utfcpp" ,utfcpp)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("docbook-xsl" ,docbook-xsl)
|
|
|
|
|
("gettext" ,gettext-minimal)
|
|
|
|
|
("googletest" ,googletest)
|
|
|
|
|
("libxslt" ,libxslt)
|
|
|
|
|
("nlohmann-json-cpp" ,nlohmann-json-cpp)
|
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("po4a" ,po4a)
|
|
|
|
|
("ruby" ,ruby)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list (string-append "--with-boost="
|
|
|
|
|
(assoc-ref %build-inputs "boost"))
|
|
|
|
|
(string-append "--with-docbook-xsl-root="
|
|
|
|
|
(assoc-ref %build-inputs "docbook-xsl")
|
|
|
|
|
"/xml/xsl/docbook-xsl-"
|
|
|
|
|
,(package-version docbook-xsl))
|
|
|
|
|
(string-append "--with-extra-includes="
|
|
|
|
|
(assoc-ref %build-inputs "nlohmann-json-cpp")
|
|
|
|
|
"/include/nlohmann"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'add-googletest
|
|
|
|
|
(lambda _
|
|
|
|
|
(symlink
|
|
|
|
|
(string-append (assoc-ref %build-inputs "googletest")
|
|
|
|
|
"/include/gtest") "lib/gtest")
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda _
|
|
|
|
|
(let ((-j (list "-j" (number->string (parallel-job-count)))))
|
2018-04-01 08:02:28 +02:00
|
|
|
|
(apply invoke "rake" -j))))
|
2017-06-24 21:04:20 +02:00
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
2018-04-01 08:02:28 +02:00
|
|
|
|
(invoke "rake" "tests/unit")))
|
2017-06-24 21:04:20 +02:00
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda _
|
2018-04-01 08:02:28 +02:00
|
|
|
|
(invoke "rake" "install"))))))
|
2017-06-24 21:04:20 +02:00
|
|
|
|
(home-page "https://mkvtoolnix.download")
|
|
|
|
|
(synopsis "Tools to create, alter and inspect Matroska files")
|
|
|
|
|
(description
|
|
|
|
|
"MKVToolNix provides tools for getting information about Matroska files
|
|
|
|
|
(@code{mkvinfo}), extracting tracks/data from Matroska files (@code{mkvextract})
|
|
|
|
|
and creating Matroska files from other media files (@code{mkvmerge}).")
|
|
|
|
|
(license license:gpl2)))
|
|
|
|
|
|
2016-10-24 21:34:04 +02:00
|
|
|
|
(define-public x265
|
|
|
|
|
(package
|
|
|
|
|
(name "x265")
|
2018-05-26 17:13:20 +02:00
|
|
|
|
(version "2.8")
|
2016-10-24 21:34:04 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.videolan.org/videolan/x265/"
|
|
|
|
|
"x265_" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-05-26 17:13:20 +02:00
|
|
|
|
"0qx8mavwdzdpkkby7n29i9av7zsnklavacwfz537mf62q2pzjnbf"))
|
2018-06-19 20:37:41 +02:00
|
|
|
|
(patches (search-patches "x265-fix-ppc64le-build.patch"))
|
2016-10-24 21:34:04 +02:00
|
|
|
|
(modules '((guix build utils)))
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 12:47:34 +01:00
|
|
|
|
(snippet '(begin
|
|
|
|
|
(delete-file-recursively "source/compat/getopt")
|
|
|
|
|
#t))))
|
2016-10-24 21:34:04 +02:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; tests are skipped if cpu-optimized code isn't built
|
2018-04-23 02:00:24 +02:00
|
|
|
|
;; Currently the source code doesn't check for aarch64.
|
2018-06-19 20:37:41 +02:00
|
|
|
|
,@(if (any (cute string-prefix? <> (or (%current-system)
|
|
|
|
|
(%current-target-system)))
|
|
|
|
|
'("armhf" "aarch64"))
|
2017-03-21 17:01:05 +01:00
|
|
|
|
'(#:configure-flags '("-DENABLE_PIC=TRUE"))
|
|
|
|
|
'())
|
2016-10-24 21:34:04 +02:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'prepare-build
|
|
|
|
|
(lambda _
|
|
|
|
|
(delete-file-recursively "build")
|
|
|
|
|
(chdir "source")
|
|
|
|
|
#t)))))
|
|
|
|
|
(home-page "http://x265.org/")
|
|
|
|
|
(synopsis "Library for encoding h.265/HEVC video streams")
|
|
|
|
|
(description "x265 is a H.265 / HEVC video encoder application library,
|
|
|
|
|
designed to encode video or images into an H.265 / HEVC encoded bitstream.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2015-03-04 22:37:08 +01:00
|
|
|
|
(define-public libass
|
|
|
|
|
(package
|
|
|
|
|
(name "libass")
|
2017-11-01 20:28:30 +01:00
|
|
|
|
(version "0.14.0")
|
2015-03-04 22:37:08 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/libass/libass/releases/download/"
|
|
|
|
|
version "/libass-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-11-01 20:28:30 +01:00
|
|
|
|
"18iqznl4mabhj9ywfsz4kwvbsplcv1jjxq50nxssvbj8my1267w8"))))
|
2015-03-04 22:37:08 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
2017-11-01 20:28:30 +01:00
|
|
|
|
("nasm" ,nasm)))
|
2015-03-04 22:37:08 +01:00
|
|
|
|
(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)
|
2016-08-13 22:16:00 +02:00
|
|
|
|
("imlib2" ,imlib2)
|
2015-03-05 15:56:58 +01:00
|
|
|
|
("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")
|
2018-05-16 16:02:10 +02:00
|
|
|
|
(version "0.0.6")
|
2015-03-06 10:17:35 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2017-04-17 14:25:34 +02:00
|
|
|
|
"https://download.videolan.org/pub/videolan/libdca/"
|
2015-03-06 10:17:35 +01:00
|
|
|
|
version "/libdca-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-05-16 16:02:10 +02:00
|
|
|
|
"0h0zvcn97i9kyljdpifzi8in9xnw31fx3b3ggj96p8h0l2d8mycq"))))
|
2015-03-06 10:17:35 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2017-04-17 14:25:34 +02:00
|
|
|
|
(home-page "https://www.videolan.org/developers/libdca.html")
|
2015-03-06 10:17:35 +01:00
|
|
|
|
(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
|
2016-07-21 08:35:30 +02:00
|
|
|
|
"mirror://sourceforge/" name "/" name "/"
|
|
|
|
|
version "/" name "-" version ".tar.gz"))
|
2015-03-06 11:50:14 +01:00
|
|
|
|
(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
|
|
|
|
|
2017-06-24 21:04:46 +02:00
|
|
|
|
(define-public libmatroska
|
|
|
|
|
(package
|
|
|
|
|
(name "libmatroska")
|
2018-05-18 00:11:24 +02:00
|
|
|
|
(version "1.4.9")
|
2017-06-24 21:04:46 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://dl.matroska.org/downloads/"
|
2018-01-26 04:02:17 +01:00
|
|
|
|
name "/" name "-" version ".tar.xz"))
|
2017-06-24 21:04:46 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-05-18 00:11:24 +02:00
|
|
|
|
"1j4mjzx6mjzfjf9hz8g4w84krf5jccmr5cyynll0j1vwv3aiv9iq"))))
|
|
|
|
|
(build-system cmake-build-system)
|
2017-06-24 21:04:46 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("libebml" ,libebml)))
|
2018-05-18 00:11:24 +02:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list "-DBUILD_SHARED_LIBS=YES")
|
|
|
|
|
#:tests? #f)) ; no test suite
|
2017-06-24 21:04:46 +02:00
|
|
|
|
(home-page "https://www.matroska.org")
|
2018-01-20 20:56:50 +01:00
|
|
|
|
(synopsis "C++ library to parse Matroska files (.mkv and .mka)")
|
2017-06-24 21:04:46 +02:00
|
|
|
|
(description
|
|
|
|
|
"Matroska aims to become the standard of multimedia container formats.
|
2018-01-20 20:56:50 +01:00
|
|
|
|
It is based on @dfn{EBML} (Extensible Binary Meta Language), a binary derivative
|
2017-06-24 21:04:46 +02:00
|
|
|
|
of XML. EBML enables the Matroska Development Team to gain significant
|
|
|
|
|
advantages in terms of future format extensibility, without breaking file
|
|
|
|
|
support in old parsers.
|
|
|
|
|
libebml is a C++ library to read and write EBML files.")
|
|
|
|
|
(license license:lgpl2.1)))
|
|
|
|
|
|
2015-03-20 15:52:52 +01:00
|
|
|
|
(define-public libva
|
|
|
|
|
(package
|
|
|
|
|
(name "libva")
|
2018-07-13 13:10:47 +02:00
|
|
|
|
(version "2.2.0")
|
2015-03-20 15:52:52 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2017-07-29 16:27:33 +02:00
|
|
|
|
(uri (list
|
|
|
|
|
;; Newer releases are only available on GitHub.
|
|
|
|
|
(string-append "https://github.com/01org/libva/releases/download/"
|
|
|
|
|
version "/libva-" version ".tar.bz2")
|
|
|
|
|
;; Keep the old URL around for compatibility.
|
|
|
|
|
(string-append "https://www.freedesktop.org/software/vaapi/releases/"
|
|
|
|
|
"libva/libva-" version "/libva-" version ".tar.bz2")))
|
2015-03-20 15:52:52 +01:00
|
|
|
|
(sha256
|
2018-07-13 13:10:47 +02:00
|
|
|
|
(base32 "1wjfrs261fp9wkhgpmrlz5smnhxrmsk31way646x6i2mg16a0v3g"))))
|
2015-03-20 15:52:52 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libdrm" ,libdrm)
|
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("libxext" ,libxext)
|
|
|
|
|
("libxfixes" ,libxfixes)
|
2018-05-01 18:04:49 +02:00
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("wayland" ,wayland)))
|
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\"")
|
2018-03-25 10:47:25 +02:00
|
|
|
|
(string-append "\"" out "/lib/libva-x11.so.%d\"")))
|
|
|
|
|
#t))))
|
2015-04-28 17:48:24 +02:00
|
|
|
|
;; 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"))))
|
2016-05-09 10:04:29 +02:00
|
|
|
|
(home-page "https://www.freedesktop.org/wiki/Software/vaapi/")
|
2015-03-20 15:52:52 +01:00
|
|
|
|
(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")
|
2018-06-16 18:48:11 +02:00
|
|
|
|
(version "4.0.1")
|
2013-10-31 23:15:46 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2015-09-10 09:44:25 +02:00
|
|
|
|
(uri (string-append "https://ffmpeg.org/releases/ffmpeg-"
|
|
|
|
|
version ".tar.xz"))
|
2013-10-31 23:15:46 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-06-16 18:48:11 +02:00
|
|
|
|
"1vn04n0n46zdxq14cma3w8ml2ckh5jxwlybsc4xmvcqdqq0mqpv0"))))
|
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)
|
2017-10-29 13:33:57 +01:00
|
|
|
|
("frei0r-plugins" ,frei0r-plugins)
|
2015-10-29 23:59:18 +01:00
|
|
|
|
("gnutls" ,gnutls)
|
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)
|
2013-10-31 23:15:46 +01:00
|
|
|
|
("libtheora" ,libtheora)
|
2017-06-14 21:27:45 +02:00
|
|
|
|
("libva" ,libva)
|
2016-01-28 17:11:49 +01:00
|
|
|
|
("libvdpau" ,libvdpau)
|
2013-10-31 23:15:46 +01:00
|
|
|
|
("libvorbis" ,libvorbis)
|
2014-06-27 00:07:29 +02:00
|
|
|
|
("libvpx" ,libvpx)
|
2016-01-28 17:11:49 +01:00
|
|
|
|
("libx11" ,libx11)
|
2015-07-09 09:06:34 +02:00
|
|
|
|
("libx264" ,libx264)
|
2016-01-28 17:11:49 +01:00
|
|
|
|
("mesa" ,mesa)
|
2015-03-05 19:54:25 +01:00
|
|
|
|
("openal" ,openal)
|
|
|
|
|
("pulseaudio" ,pulseaudio)
|
2017-02-11 17:22:18 +01:00
|
|
|
|
("sdl" ,sdl2)
|
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)
|
2016-10-24 21:49:33 +02:00
|
|
|
|
("x265" ,x265)
|
2015-03-06 11:50:40 +01:00
|
|
|
|
("xvid" ,xvid)
|
gnu: Fix misplaced commas (unquote).
Fix many occurrences of comma (unquote) being placed immediately after the
previous list item, e.g. ("ncurses", ncurses) in the inputs.
* gnu/packages/base.scm (patch, gnu-make),
gnu/packages/bioinformatics.scm (hmmer),
gnu/packages/bittorrent.scm (aria2),
gnu/packages/compression.scm (pbzip2),
gnu/packages/databases.scm (recutils),
gnu/packages/fonts.scm (font-terminus),
gnu/packages/freedesktop.scm (xdg-utils, elogind),
gnu/packages/games.scm (gnujump),
gnu/packages/gnome.scm (libidl, gnumeric, eog, gedit),
gnu/packages/gnunet.scm (gnunet),
gnu/packages/gnuzilla.scm (mozjs, nspr),
gnu/packages/gtk.scm (gtksourceview, gdk-pixbuf),
gnu/packages/lua.scm (lua),
gnu/packages/openstack.scm (python-swiftclient),
gnu/packages/perl.scm (perl-json-any),
gnu/packages/polkit.scm (polkit-qt),
gnu/packages/python.scm (wrap-python3, python-oauthlib)
(python-mccabe-0.2.1, python-contextlib2, python2-rauth),
gnu/packages/qt.scm (qtkeychain),
gnu/packages/ruby.scm (ruby-nokogiri),
gnu/packages/screen.scm (screen),
gnu/packages/ssh.scm (libssh),
gnu/packages/video.scm (ffmpeg, mplayer),
gnu/packages/vim.scm (vim),
gnu/packages/xdisorg.scm (redshift),
gnu/packages/xfce.scm (xfce4-panel, xfce4-settings),
gnu/packages/xnee.scm (xnee),
gnu/packages/xorg.scm (font-adobe100dpi, font-adobe75dpi),
gnu/packages/zsh.scm (zsh): Fix misplaced commas (unquote).
2016-02-27 14:37:28 +01:00
|
|
|
|
("zlib" ,zlib)))
|
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
|
|
|
|
(native-inputs
|
|
|
|
|
`(("bc" ,bc)
|
2013-10-31 23:15:46 +01:00
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
2015-06-16 03:07:21 +02:00
|
|
|
|
("texinfo" ,texinfo)
|
2013-10-31 23:15:46 +01:00
|
|
|
|
("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"
|
2015-10-29 03:42:42 +01:00
|
|
|
|
#:configure-flags
|
|
|
|
|
;; possible additional inputs:
|
|
|
|
|
;; --enable-avisynth enable reading of AviSynth script
|
|
|
|
|
;; files [no]
|
|
|
|
|
;; --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-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-avresample"
|
|
|
|
|
"--enable-gpl" ; enable optional gpl licensed parts
|
|
|
|
|
"--enable-shared"
|
2017-10-29 13:33:57 +01:00
|
|
|
|
"--enable-frei0r"
|
2015-10-29 03:42:42 +01:00
|
|
|
|
"--enable-fontconfig"
|
2015-10-29 23:59:18 +01:00
|
|
|
|
"--enable-gnutls"
|
2015-10-29 03:42:42 +01:00
|
|
|
|
"--enable-ladspa"
|
|
|
|
|
"--enable-libass"
|
|
|
|
|
"--enable-libbluray"
|
|
|
|
|
"--enable-libcaca"
|
|
|
|
|
"--enable-libcdio"
|
|
|
|
|
"--enable-libfreetype"
|
|
|
|
|
"--enable-libmp3lame"
|
|
|
|
|
"--enable-libopus"
|
|
|
|
|
"--enable-libpulse"
|
|
|
|
|
"--enable-libsoxr"
|
|
|
|
|
"--enable-libspeex"
|
|
|
|
|
"--enable-libtheora"
|
|
|
|
|
"--enable-libtwolame"
|
|
|
|
|
"--enable-libvorbis"
|
|
|
|
|
"--enable-libvpx"
|
|
|
|
|
"--enable-libxvid"
|
|
|
|
|
"--enable-libx264"
|
2016-10-24 21:49:33 +02:00
|
|
|
|
"--enable-libx265"
|
2015-10-29 03:42:42 +01:00
|
|
|
|
"--enable-openal"
|
2016-01-28 17:11:49 +01:00
|
|
|
|
"--enable-opengl"
|
2015-10-29 03:42:42 +01:00
|
|
|
|
|
|
|
|
|
"--enable-runtime-cpudetect"
|
|
|
|
|
|
2017-11-11 22:10:46 +01:00
|
|
|
|
;; The HTML pages take 7.2 MiB
|
|
|
|
|
"--disable-htmlpages"
|
|
|
|
|
|
|
|
|
|
;; The static libraries are 23 MiB
|
|
|
|
|
"--disable-static"
|
|
|
|
|
|
2015-10-29 03:42:42 +01:00
|
|
|
|
;; Runtime cpu detection is not implemented on
|
|
|
|
|
;; MIPS, so we disable some features.
|
|
|
|
|
"--disable-mips32r2"
|
2016-03-24 17:24:03 +01:00
|
|
|
|
"--disable-mipsdsp"
|
2015-10-29 03:42:42 +01:00
|
|
|
|
"--disable-mipsdspr2"
|
|
|
|
|
"--disable-mipsfpu")
|
2013-12-13 11:32:25 +01:00
|
|
|
|
#: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"
|
2017-01-23 22:53:41 +01:00
|
|
|
|
(("#! /bin/sh") (string-append "#!" (which "sh"))))
|
2013-10-31 23:15:46 +01:00
|
|
|
|
(setenv "SHELL" (which "bash"))
|
|
|
|
|
(setenv "CONFIG_SHELL" (which "bash"))
|
2018-03-23 07:04:03 +01:00
|
|
|
|
(apply invoke
|
|
|
|
|
"./configure"
|
|
|
|
|
(string-append "--prefix=" out)
|
|
|
|
|
;; Add $libdir to the RUNPATH of all the binaries.
|
|
|
|
|
(string-append "--extra-ldflags=-Wl,-rpath="
|
|
|
|
|
out "/lib")
|
|
|
|
|
configure-flags))))
|
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))))))
|
2016-05-09 11:02:49 +02:00
|
|
|
|
(home-page "https://www.ffmpeg.org/")
|
2013-10-31 23:15:46 +01:00
|
|
|
|
(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
|
|
|
|
|
2018-04-23 08:07:10 +02:00
|
|
|
|
(define-public ffmpeg-3.4
|
|
|
|
|
(package
|
|
|
|
|
(inherit ffmpeg)
|
2018-07-08 22:57:42 +02:00
|
|
|
|
(version "3.4.3")
|
2018-04-23 08:07:10 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://ffmpeg.org/releases/ffmpeg-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-07-08 22:57:42 +02:00
|
|
|
|
"0p45s3h7mg7v0jm77bymw2617i08f086dlcdmaylnk7795yind3b"))))))
|
2018-04-23 08:07:10 +02:00
|
|
|
|
|
2016-04-18 11:26:30 +02:00
|
|
|
|
(define-public ffmpeg-2.8
|
|
|
|
|
(package
|
|
|
|
|
(inherit ffmpeg)
|
2018-02-19 15:03:44 +01:00
|
|
|
|
(version "2.8.14")
|
2016-04-18 11:26:30 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://ffmpeg.org/releases/ffmpeg-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-02-19 15:03:44 +01:00
|
|
|
|
"05m1272r5qa2r0ym5vq4figdfnpvcys1fgb1026n5s6xdjd1s1pg"))))
|
2016-04-18 11:26:30 +02:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments ffmpeg)
|
|
|
|
|
((#:configure-flags flags)
|
|
|
|
|
`(map (lambda (flag)
|
|
|
|
|
(if (string=? flag "--disable-mipsdsp")
|
|
|
|
|
"--disable-mipsdspr1"
|
|
|
|
|
flag))
|
|
|
|
|
,flags))))))
|
|
|
|
|
|
2014-04-16 17:46:42 +02:00
|
|
|
|
(define-public vlc
|
|
|
|
|
(package
|
|
|
|
|
(name "vlc")
|
gnu: vlc: Update to 3.0.3, and add more inputs.
Co-authored-by: Roel Janssen <roel@gnu.org>
* gnu/packages/video.scm (vlc): Update to 3.0.3.
[native-inputs]: Add flex, bison, and gettext-minimal.
[inputs]: Replace ffmpeg-2.8 with the latest ffmpeg. Replace lua-5.1 with
lua-5.2. Add eudev, fribidi, libarchive, libass, libavc1394, libbluray,
libcaca, libdca, libdvdnav, libdvdread, libebml, libidn, libmatroska,
libmodplug, libmpeg2, libraw1394, librsvg, libsecret, libupnp, libva,
libvdpau, libvpx, libx264, qtsvg, samba, speexdsp, taglib, twolame, unzip,
wayland, and wayland-protocols.
[arguments]: Add BUILDCC=gcc to configure-flags. In the 'patch-source' phase,
remove a vestigial substitution fix, enable the use of fribidi deprecated
interfaces, and adjust the file names in substitutions from "gui/qt4" to
"gui/qt". Move the 'regenerate-plugin-cache' phase after 'strip', and in it,
set the timestamps to 1 second after the epoch, and use 'invoke'. Add new
'wrap-executable' phase.
2018-04-19 03:32:46 +02:00
|
|
|
|
(version "3.0.3")
|
2014-04-16 17:46:42 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2016-06-08 16:11:06 +02:00
|
|
|
|
"https://download.videolan.org/pub/videolan/vlc/"
|
2014-04-16 17:46:42 +02:00
|
|
|
|
version "/vlc-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: vlc: Update to 3.0.3, and add more inputs.
Co-authored-by: Roel Janssen <roel@gnu.org>
* gnu/packages/video.scm (vlc): Update to 3.0.3.
[native-inputs]: Add flex, bison, and gettext-minimal.
[inputs]: Replace ffmpeg-2.8 with the latest ffmpeg. Replace lua-5.1 with
lua-5.2. Add eudev, fribidi, libarchive, libass, libavc1394, libbluray,
libcaca, libdca, libdvdnav, libdvdread, libebml, libidn, libmatroska,
libmodplug, libmpeg2, libraw1394, librsvg, libsecret, libupnp, libva,
libvdpau, libvpx, libx264, qtsvg, samba, speexdsp, taglib, twolame, unzip,
wayland, and wayland-protocols.
[arguments]: Add BUILDCC=gcc to configure-flags. In the 'patch-source' phase,
remove a vestigial substitution fix, enable the use of fribidi deprecated
interfaces, and adjust the file names in substitutions from "gui/qt4" to
"gui/qt". Move the 'regenerate-plugin-cache' phase after 'strip', and in it,
set the timestamps to 1 second after the epoch, and use 'invoke'. Add new
'wrap-executable' phase.
2018-04-19 03:32:46 +02:00
|
|
|
|
"0lavzly8l0ll1d9iris9cnirgcs77g48lxj14058dxqkvd5v1a4v"))))
|
2014-04-16 17:46:42 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
gnu: vlc: Update to 3.0.3, and add more inputs.
Co-authored-by: Roel Janssen <roel@gnu.org>
* gnu/packages/video.scm (vlc): Update to 3.0.3.
[native-inputs]: Add flex, bison, and gettext-minimal.
[inputs]: Replace ffmpeg-2.8 with the latest ffmpeg. Replace lua-5.1 with
lua-5.2. Add eudev, fribidi, libarchive, libass, libavc1394, libbluray,
libcaca, libdca, libdvdnav, libdvdread, libebml, libidn, libmatroska,
libmodplug, libmpeg2, libraw1394, librsvg, libsecret, libupnp, libva,
libvdpau, libvpx, libx264, qtsvg, samba, speexdsp, taglib, twolame, unzip,
wayland, and wayland-protocols.
[arguments]: Add BUILDCC=gcc to configure-flags. In the 'patch-source' phase,
remove a vestigial substitution fix, enable the use of fribidi deprecated
interfaces, and adjust the file names in substitutions from "gui/qt4" to
"gui/qt". Move the 'regenerate-plugin-cache' phase after 'strip', and in it,
set the timestamps to 1 second after the epoch, and use 'invoke'. Add new
'wrap-executable' phase.
2018-04-19 03:32:46 +02:00
|
|
|
|
`(("flex" ,flex)
|
|
|
|
|
("bison" ,bison)
|
|
|
|
|
("gettext" ,gettext-minimal)
|
|
|
|
|
("git" ,git) ; needed for a test
|
2014-04-16 17:46:42 +02:00
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
;; FIXME: Add optional inputs once available.
|
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("avahi" ,avahi)
|
|
|
|
|
("dbus" ,dbus)
|
gnu: vlc: Update to 3.0.3, and add more inputs.
Co-authored-by: Roel Janssen <roel@gnu.org>
* gnu/packages/video.scm (vlc): Update to 3.0.3.
[native-inputs]: Add flex, bison, and gettext-minimal.
[inputs]: Replace ffmpeg-2.8 with the latest ffmpeg. Replace lua-5.1 with
lua-5.2. Add eudev, fribidi, libarchive, libass, libavc1394, libbluray,
libcaca, libdca, libdvdnav, libdvdread, libebml, libidn, libmatroska,
libmodplug, libmpeg2, libraw1394, librsvg, libsecret, libupnp, libva,
libvdpau, libvpx, libx264, qtsvg, samba, speexdsp, taglib, twolame, unzip,
wayland, and wayland-protocols.
[arguments]: Add BUILDCC=gcc to configure-flags. In the 'patch-source' phase,
remove a vestigial substitution fix, enable the use of fribidi deprecated
interfaces, and adjust the file names in substitutions from "gui/qt4" to
"gui/qt". Move the 'regenerate-plugin-cache' phase after 'strip', and in it,
set the timestamps to 1 second after the epoch, and use 'invoke'. Add new
'wrap-executable' phase.
2018-04-19 03:32:46 +02:00
|
|
|
|
("eudev" ,eudev)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
("flac" ,flac)
|
gnu: vlc: Update to 3.0.3, and add more inputs.
Co-authored-by: Roel Janssen <roel@gnu.org>
* gnu/packages/video.scm (vlc): Update to 3.0.3.
[native-inputs]: Add flex, bison, and gettext-minimal.
[inputs]: Replace ffmpeg-2.8 with the latest ffmpeg. Replace lua-5.1 with
lua-5.2. Add eudev, fribidi, libarchive, libass, libavc1394, libbluray,
libcaca, libdca, libdvdnav, libdvdread, libebml, libidn, libmatroska,
libmodplug, libmpeg2, libraw1394, librsvg, libsecret, libupnp, libva,
libvdpau, libvpx, libx264, qtsvg, samba, speexdsp, taglib, twolame, unzip,
wayland, and wayland-protocols.
[arguments]: Add BUILDCC=gcc to configure-flags. In the 'patch-source' phase,
remove a vestigial substitution fix, enable the use of fribidi deprecated
interfaces, and adjust the file names in substitutions from "gui/qt4" to
"gui/qt". Move the 'regenerate-plugin-cache' phase after 'strip', and in it,
set the timestamps to 1 second after the epoch, and use 'invoke'. Add new
'wrap-executable' phase.
2018-04-19 03:32:46 +02:00
|
|
|
|
("ffmpeg" ,ffmpeg)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
|
("freetype" ,freetype)
|
gnu: vlc: Update to 3.0.3, and add more inputs.
Co-authored-by: Roel Janssen <roel@gnu.org>
* gnu/packages/video.scm (vlc): Update to 3.0.3.
[native-inputs]: Add flex, bison, and gettext-minimal.
[inputs]: Replace ffmpeg-2.8 with the latest ffmpeg. Replace lua-5.1 with
lua-5.2. Add eudev, fribidi, libarchive, libass, libavc1394, libbluray,
libcaca, libdca, libdvdnav, libdvdread, libebml, libidn, libmatroska,
libmodplug, libmpeg2, libraw1394, librsvg, libsecret, libupnp, libva,
libvdpau, libvpx, libx264, qtsvg, samba, speexdsp, taglib, twolame, unzip,
wayland, and wayland-protocols.
[arguments]: Add BUILDCC=gcc to configure-flags. In the 'patch-source' phase,
remove a vestigial substitution fix, enable the use of fribidi deprecated
interfaces, and adjust the file names in substitutions from "gui/qt4" to
"gui/qt". Move the 'regenerate-plugin-cache' phase after 'strip', and in it,
set the timestamps to 1 second after the epoch, and use 'invoke'. Add new
'wrap-executable' phase.
2018-04-19 03:32:46 +02:00
|
|
|
|
("fribidi" ,fribidi)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
("gnutls" ,gnutls)
|
2016-09-09 18:06:26 +02:00
|
|
|
|
("liba52" ,liba52)
|
gnu: vlc: Update to 3.0.3, and add more inputs.
Co-authored-by: Roel Janssen <roel@gnu.org>
* gnu/packages/video.scm (vlc): Update to 3.0.3.
[native-inputs]: Add flex, bison, and gettext-minimal.
[inputs]: Replace ffmpeg-2.8 with the latest ffmpeg. Replace lua-5.1 with
lua-5.2. Add eudev, fribidi, libarchive, libass, libavc1394, libbluray,
libcaca, libdca, libdvdnav, libdvdread, libebml, libidn, libmatroska,
libmodplug, libmpeg2, libraw1394, librsvg, libsecret, libupnp, libva,
libvdpau, libvpx, libx264, qtsvg, samba, speexdsp, taglib, twolame, unzip,
wayland, and wayland-protocols.
[arguments]: Add BUILDCC=gcc to configure-flags. In the 'patch-source' phase,
remove a vestigial substitution fix, enable the use of fribidi deprecated
interfaces, and adjust the file names in substitutions from "gui/qt4" to
"gui/qt". Move the 'regenerate-plugin-cache' phase after 'strip', and in it,
set the timestamps to 1 second after the epoch, and use 'invoke'. Add new
'wrap-executable' phase.
2018-04-19 03:32:46 +02:00
|
|
|
|
("libarchive" ,libarchive)
|
|
|
|
|
("libass" ,libass)
|
|
|
|
|
("libavc1394" ,libavc1394)
|
|
|
|
|
("libbluray" ,libbluray)
|
|
|
|
|
("libcaca" ,libcaca)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
("libcddb" ,libcddb)
|
gnu: vlc: Update to 3.0.3, and add more inputs.
Co-authored-by: Roel Janssen <roel@gnu.org>
* gnu/packages/video.scm (vlc): Update to 3.0.3.
[native-inputs]: Add flex, bison, and gettext-minimal.
[inputs]: Replace ffmpeg-2.8 with the latest ffmpeg. Replace lua-5.1 with
lua-5.2. Add eudev, fribidi, libarchive, libass, libavc1394, libbluray,
libcaca, libdca, libdvdnav, libdvdread, libebml, libidn, libmatroska,
libmodplug, libmpeg2, libraw1394, librsvg, libsecret, libupnp, libva,
libvdpau, libvpx, libx264, qtsvg, samba, speexdsp, taglib, twolame, unzip,
wayland, and wayland-protocols.
[arguments]: Add BUILDCC=gcc to configure-flags. In the 'patch-source' phase,
remove a vestigial substitution fix, enable the use of fribidi deprecated
interfaces, and adjust the file names in substitutions from "gui/qt4" to
"gui/qt". Move the 'regenerate-plugin-cache' phase after 'strip', and in it,
set the timestamps to 1 second after the epoch, and use 'invoke'. Add new
'wrap-executable' phase.
2018-04-19 03:32:46 +02:00
|
|
|
|
("libdca" ,libdca)
|
2017-06-03 18:04:13 +02:00
|
|
|
|
("libdvbpsi" ,libdvbpsi)
|
gnu: vlc: Update to 3.0.3, and add more inputs.
Co-authored-by: Roel Janssen <roel@gnu.org>
* gnu/packages/video.scm (vlc): Update to 3.0.3.
[native-inputs]: Add flex, bison, and gettext-minimal.
[inputs]: Replace ffmpeg-2.8 with the latest ffmpeg. Replace lua-5.1 with
lua-5.2. Add eudev, fribidi, libarchive, libass, libavc1394, libbluray,
libcaca, libdca, libdvdnav, libdvdread, libebml, libidn, libmatroska,
libmodplug, libmpeg2, libraw1394, librsvg, libsecret, libupnp, libva,
libvdpau, libvpx, libx264, qtsvg, samba, speexdsp, taglib, twolame, unzip,
wayland, and wayland-protocols.
[arguments]: Add BUILDCC=gcc to configure-flags. In the 'patch-source' phase,
remove a vestigial substitution fix, enable the use of fribidi deprecated
interfaces, and adjust the file names in substitutions from "gui/qt4" to
"gui/qt". Move the 'regenerate-plugin-cache' phase after 'strip', and in it,
set the timestamps to 1 second after the epoch, and use 'invoke'. Add new
'wrap-executable' phase.
2018-04-19 03:32:46 +02:00
|
|
|
|
("libdvdnav" ,libdvdnav)
|
|
|
|
|
("libdvdread" ,libdvdread)
|
|
|
|
|
("libebml" ,libebml)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
("libgcrypt" ,libgcrypt)
|
gnu: vlc: Update to 3.0.3, and add more inputs.
Co-authored-by: Roel Janssen <roel@gnu.org>
* gnu/packages/video.scm (vlc): Update to 3.0.3.
[native-inputs]: Add flex, bison, and gettext-minimal.
[inputs]: Replace ffmpeg-2.8 with the latest ffmpeg. Replace lua-5.1 with
lua-5.2. Add eudev, fribidi, libarchive, libass, libavc1394, libbluray,
libcaca, libdca, libdvdnav, libdvdread, libebml, libidn, libmatroska,
libmodplug, libmpeg2, libraw1394, librsvg, libsecret, libupnp, libva,
libvdpau, libvpx, libx264, qtsvg, samba, speexdsp, taglib, twolame, unzip,
wayland, and wayland-protocols.
[arguments]: Add BUILDCC=gcc to configure-flags. In the 'patch-source' phase,
remove a vestigial substitution fix, enable the use of fribidi deprecated
interfaces, and adjust the file names in substitutions from "gui/qt4" to
"gui/qt". Move the 'regenerate-plugin-cache' phase after 'strip', and in it,
set the timestamps to 1 second after the epoch, and use 'invoke'. Add new
'wrap-executable' phase.
2018-04-19 03:32:46 +02:00
|
|
|
|
("libidn" ,libidn)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
("libkate" ,libkate)
|
|
|
|
|
("libmad" ,libmad)
|
gnu: vlc: Update to 3.0.3, and add more inputs.
Co-authored-by: Roel Janssen <roel@gnu.org>
* gnu/packages/video.scm (vlc): Update to 3.0.3.
[native-inputs]: Add flex, bison, and gettext-minimal.
[inputs]: Replace ffmpeg-2.8 with the latest ffmpeg. Replace lua-5.1 with
lua-5.2. Add eudev, fribidi, libarchive, libass, libavc1394, libbluray,
libcaca, libdca, libdvdnav, libdvdread, libebml, libidn, libmatroska,
libmodplug, libmpeg2, libraw1394, librsvg, libsecret, libupnp, libva,
libvdpau, libvpx, libx264, qtsvg, samba, speexdsp, taglib, twolame, unzip,
wayland, and wayland-protocols.
[arguments]: Add BUILDCC=gcc to configure-flags. In the 'patch-source' phase,
remove a vestigial substitution fix, enable the use of fribidi deprecated
interfaces, and adjust the file names in substitutions from "gui/qt4" to
"gui/qt". Move the 'regenerate-plugin-cache' phase after 'strip', and in it,
set the timestamps to 1 second after the epoch, and use 'invoke'. Add new
'wrap-executable' phase.
2018-04-19 03:32:46 +02:00
|
|
|
|
("libmatroska" ,libmatroska)
|
|
|
|
|
("libmodplug" ,libmodplug)
|
|
|
|
|
("libmpeg2" ,libmpeg2)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
("libogg" ,libogg)
|
|
|
|
|
("libpng" ,libpng)
|
gnu: vlc: Update to 3.0.3, and add more inputs.
Co-authored-by: Roel Janssen <roel@gnu.org>
* gnu/packages/video.scm (vlc): Update to 3.0.3.
[native-inputs]: Add flex, bison, and gettext-minimal.
[inputs]: Replace ffmpeg-2.8 with the latest ffmpeg. Replace lua-5.1 with
lua-5.2. Add eudev, fribidi, libarchive, libass, libavc1394, libbluray,
libcaca, libdca, libdvdnav, libdvdread, libebml, libidn, libmatroska,
libmodplug, libmpeg2, libraw1394, librsvg, libsecret, libupnp, libva,
libvdpau, libvpx, libx264, qtsvg, samba, speexdsp, taglib, twolame, unzip,
wayland, and wayland-protocols.
[arguments]: Add BUILDCC=gcc to configure-flags. In the 'patch-source' phase,
remove a vestigial substitution fix, enable the use of fribidi deprecated
interfaces, and adjust the file names in substitutions from "gui/qt4" to
"gui/qt". Move the 'regenerate-plugin-cache' phase after 'strip', and in it,
set the timestamps to 1 second after the epoch, and use 'invoke'. Add new
'wrap-executable' phase.
2018-04-19 03:32:46 +02:00
|
|
|
|
("libraw1394" ,libraw1394)
|
|
|
|
|
("librsvg" ,librsvg)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
("libsamplerate" ,libsamplerate)
|
gnu: vlc: Update to 3.0.3, and add more inputs.
Co-authored-by: Roel Janssen <roel@gnu.org>
* gnu/packages/video.scm (vlc): Update to 3.0.3.
[native-inputs]: Add flex, bison, and gettext-minimal.
[inputs]: Replace ffmpeg-2.8 with the latest ffmpeg. Replace lua-5.1 with
lua-5.2. Add eudev, fribidi, libarchive, libass, libavc1394, libbluray,
libcaca, libdca, libdvdnav, libdvdread, libebml, libidn, libmatroska,
libmodplug, libmpeg2, libraw1394, librsvg, libsecret, libupnp, libva,
libvdpau, libvpx, libx264, qtsvg, samba, speexdsp, taglib, twolame, unzip,
wayland, and wayland-protocols.
[arguments]: Add BUILDCC=gcc to configure-flags. In the 'patch-source' phase,
remove a vestigial substitution fix, enable the use of fribidi deprecated
interfaces, and adjust the file names in substitutions from "gui/qt4" to
"gui/qt". Move the 'regenerate-plugin-cache' phase after 'strip', and in it,
set the timestamps to 1 second after the epoch, and use 'invoke'. Add new
'wrap-executable' phase.
2018-04-19 03:32:46 +02:00
|
|
|
|
("libsecret" ,libsecret)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
("libssh2" ,libssh2)
|
gnu: vlc: Update to 3.0.3, and add more inputs.
Co-authored-by: Roel Janssen <roel@gnu.org>
* gnu/packages/video.scm (vlc): Update to 3.0.3.
[native-inputs]: Add flex, bison, and gettext-minimal.
[inputs]: Replace ffmpeg-2.8 with the latest ffmpeg. Replace lua-5.1 with
lua-5.2. Add eudev, fribidi, libarchive, libass, libavc1394, libbluray,
libcaca, libdca, libdvdnav, libdvdread, libebml, libidn, libmatroska,
libmodplug, libmpeg2, libraw1394, librsvg, libsecret, libupnp, libva,
libvdpau, libvpx, libx264, qtsvg, samba, speexdsp, taglib, twolame, unzip,
wayland, and wayland-protocols.
[arguments]: Add BUILDCC=gcc to configure-flags. In the 'patch-source' phase,
remove a vestigial substitution fix, enable the use of fribidi deprecated
interfaces, and adjust the file names in substitutions from "gui/qt4" to
"gui/qt". Move the 'regenerate-plugin-cache' phase after 'strip', and in it,
set the timestamps to 1 second after the epoch, and use 'invoke'. Add new
'wrap-executable' phase.
2018-04-19 03:32:46 +02:00
|
|
|
|
("libupnp" ,libupnp)
|
|
|
|
|
("libva" ,libva)
|
|
|
|
|
("libvdpau" ,libvdpau)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
("libvorbis" ,libvorbis)
|
gnu: vlc: Update to 3.0.3, and add more inputs.
Co-authored-by: Roel Janssen <roel@gnu.org>
* gnu/packages/video.scm (vlc): Update to 3.0.3.
[native-inputs]: Add flex, bison, and gettext-minimal.
[inputs]: Replace ffmpeg-2.8 with the latest ffmpeg. Replace lua-5.1 with
lua-5.2. Add eudev, fribidi, libarchive, libass, libavc1394, libbluray,
libcaca, libdca, libdvdnav, libdvdread, libebml, libidn, libmatroska,
libmodplug, libmpeg2, libraw1394, librsvg, libsecret, libupnp, libva,
libvdpau, libvpx, libx264, qtsvg, samba, speexdsp, taglib, twolame, unzip,
wayland, and wayland-protocols.
[arguments]: Add BUILDCC=gcc to configure-flags. In the 'patch-source' phase,
remove a vestigial substitution fix, enable the use of fribidi deprecated
interfaces, and adjust the file names in substitutions from "gui/qt4" to
"gui/qt". Move the 'regenerate-plugin-cache' phase after 'strip', and in it,
set the timestamps to 1 second after the epoch, and use 'invoke'. Add new
'wrap-executable' phase.
2018-04-19 03:32:46 +02:00
|
|
|
|
("libvpx" ,libvpx)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
("libtheora" ,libtheora)
|
gnu: vlc: Update to 3.0.3, and add more inputs.
Co-authored-by: Roel Janssen <roel@gnu.org>
* gnu/packages/video.scm (vlc): Update to 3.0.3.
[native-inputs]: Add flex, bison, and gettext-minimal.
[inputs]: Replace ffmpeg-2.8 with the latest ffmpeg. Replace lua-5.1 with
lua-5.2. Add eudev, fribidi, libarchive, libass, libavc1394, libbluray,
libcaca, libdca, libdvdnav, libdvdread, libebml, libidn, libmatroska,
libmodplug, libmpeg2, libraw1394, librsvg, libsecret, libupnp, libva,
libvdpau, libvpx, libx264, qtsvg, samba, speexdsp, taglib, twolame, unzip,
wayland, and wayland-protocols.
[arguments]: Add BUILDCC=gcc to configure-flags. In the 'patch-source' phase,
remove a vestigial substitution fix, enable the use of fribidi deprecated
interfaces, and adjust the file names in substitutions from "gui/qt4" to
"gui/qt". Move the 'regenerate-plugin-cache' phase after 'strip', and in it,
set the timestamps to 1 second after the epoch, and use 'invoke'. Add new
'wrap-executable' phase.
2018-04-19 03:32:46 +02:00
|
|
|
|
("libx264" ,libx264)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
("libxext" ,libxext)
|
2016-08-20 21:39:42 +02:00
|
|
|
|
("libxi" ,libxi)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
("libxinerama" ,libxinerama)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("libxpm" ,libxpm)
|
2017-06-01 23:32:43 +02:00
|
|
|
|
("livemedia-utils" ,livemedia-utils)
|
gnu: vlc: Update to 3.0.3, and add more inputs.
Co-authored-by: Roel Janssen <roel@gnu.org>
* gnu/packages/video.scm (vlc): Update to 3.0.3.
[native-inputs]: Add flex, bison, and gettext-minimal.
[inputs]: Replace ffmpeg-2.8 with the latest ffmpeg. Replace lua-5.1 with
lua-5.2. Add eudev, fribidi, libarchive, libass, libavc1394, libbluray,
libcaca, libdca, libdvdnav, libdvdread, libebml, libidn, libmatroska,
libmodplug, libmpeg2, libraw1394, librsvg, libsecret, libupnp, libva,
libvdpau, libvpx, libx264, qtsvg, samba, speexdsp, taglib, twolame, unzip,
wayland, and wayland-protocols.
[arguments]: Add BUILDCC=gcc to configure-flags. In the 'patch-source' phase,
remove a vestigial substitution fix, enable the use of fribidi deprecated
interfaces, and adjust the file names in substitutions from "gui/qt4" to
"gui/qt". Move the 'regenerate-plugin-cache' phase after 'strip', and in it,
set the timestamps to 1 second after the epoch, and use 'invoke'. Add new
'wrap-executable' phase.
2018-04-19 03:32:46 +02:00
|
|
|
|
("lua" ,lua-5.2)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("opus" ,opus)
|
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("pulseaudio" ,pulseaudio)
|
|
|
|
|
("python" ,python-wrapper)
|
2017-08-30 22:22:51 +02:00
|
|
|
|
("qtbase" ,qtbase)
|
gnu: vlc: Update to 3.0.3, and add more inputs.
Co-authored-by: Roel Janssen <roel@gnu.org>
* gnu/packages/video.scm (vlc): Update to 3.0.3.
[native-inputs]: Add flex, bison, and gettext-minimal.
[inputs]: Replace ffmpeg-2.8 with the latest ffmpeg. Replace lua-5.1 with
lua-5.2. Add eudev, fribidi, libarchive, libass, libavc1394, libbluray,
libcaca, libdca, libdvdnav, libdvdread, libebml, libidn, libmatroska,
libmodplug, libmpeg2, libraw1394, librsvg, libsecret, libupnp, libva,
libvdpau, libvpx, libx264, qtsvg, samba, speexdsp, taglib, twolame, unzip,
wayland, and wayland-protocols.
[arguments]: Add BUILDCC=gcc to configure-flags. In the 'patch-source' phase,
remove a vestigial substitution fix, enable the use of fribidi deprecated
interfaces, and adjust the file names in substitutions from "gui/qt4" to
"gui/qt". Move the 'regenerate-plugin-cache' phase after 'strip', and in it,
set the timestamps to 1 second after the epoch, and use 'invoke'. Add new
'wrap-executable' phase.
2018-04-19 03:32:46 +02:00
|
|
|
|
("qtsvg" ,qtsvg)
|
2017-08-30 22:22:51 +02:00
|
|
|
|
("qtx11extras" ,qtx11extras)
|
gnu: vlc: Update to 3.0.3, and add more inputs.
Co-authored-by: Roel Janssen <roel@gnu.org>
* gnu/packages/video.scm (vlc): Update to 3.0.3.
[native-inputs]: Add flex, bison, and gettext-minimal.
[inputs]: Replace ffmpeg-2.8 with the latest ffmpeg. Replace lua-5.1 with
lua-5.2. Add eudev, fribidi, libarchive, libass, libavc1394, libbluray,
libcaca, libdca, libdvdnav, libdvdread, libebml, libidn, libmatroska,
libmodplug, libmpeg2, libraw1394, librsvg, libsecret, libupnp, libva,
libvdpau, libvpx, libx264, qtsvg, samba, speexdsp, taglib, twolame, unzip,
wayland, and wayland-protocols.
[arguments]: Add BUILDCC=gcc to configure-flags. In the 'patch-source' phase,
remove a vestigial substitution fix, enable the use of fribidi deprecated
interfaces, and adjust the file names in substitutions from "gui/qt4" to
"gui/qt". Move the 'regenerate-plugin-cache' phase after 'strip', and in it,
set the timestamps to 1 second after the epoch, and use 'invoke'. Add new
'wrap-executable' phase.
2018-04-19 03:32:46 +02:00
|
|
|
|
("samba" ,samba)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
("sdl" ,sdl)
|
|
|
|
|
("sdl-image" ,sdl-image)
|
|
|
|
|
("speex" ,speex)
|
gnu: vlc: Update to 3.0.3, and add more inputs.
Co-authored-by: Roel Janssen <roel@gnu.org>
* gnu/packages/video.scm (vlc): Update to 3.0.3.
[native-inputs]: Add flex, bison, and gettext-minimal.
[inputs]: Replace ffmpeg-2.8 with the latest ffmpeg. Replace lua-5.1 with
lua-5.2. Add eudev, fribidi, libarchive, libass, libavc1394, libbluray,
libcaca, libdca, libdvdnav, libdvdread, libebml, libidn, libmatroska,
libmodplug, libmpeg2, libraw1394, librsvg, libsecret, libupnp, libva,
libvdpau, libvpx, libx264, qtsvg, samba, speexdsp, taglib, twolame, unzip,
wayland, and wayland-protocols.
[arguments]: Add BUILDCC=gcc to configure-flags. In the 'patch-source' phase,
remove a vestigial substitution fix, enable the use of fribidi deprecated
interfaces, and adjust the file names in substitutions from "gui/qt4" to
"gui/qt". Move the 'regenerate-plugin-cache' phase after 'strip', and in it,
set the timestamps to 1 second after the epoch, and use 'invoke'. Add new
'wrap-executable' phase.
2018-04-19 03:32:46 +02:00
|
|
|
|
("speexdsp" ,speexdsp)
|
|
|
|
|
("taglib" ,taglib)
|
|
|
|
|
("twolame" ,twolame)
|
|
|
|
|
("unzip" ,unzip)
|
|
|
|
|
("wayland" ,wayland)
|
|
|
|
|
("wayland-protocols" ,wayland-protocols)
|
2016-10-24 21:54:48 +02:00
|
|
|
|
("x265" ,x265)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
("xcb-util-keysyms" ,xcb-util-keysyms)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
2017-08-30 22:35:45 +02:00
|
|
|
|
`("CXXFLAGS=-std=gnu++11"
|
gnu: vlc: Update to 3.0.3, and add more inputs.
Co-authored-by: Roel Janssen <roel@gnu.org>
* gnu/packages/video.scm (vlc): Update to 3.0.3.
[native-inputs]: Add flex, bison, and gettext-minimal.
[inputs]: Replace ffmpeg-2.8 with the latest ffmpeg. Replace lua-5.1 with
lua-5.2. Add eudev, fribidi, libarchive, libass, libavc1394, libbluray,
libcaca, libdca, libdvdnav, libdvdread, libebml, libidn, libmatroska,
libmodplug, libmpeg2, libraw1394, librsvg, libsecret, libupnp, libva,
libvdpau, libvpx, libx264, qtsvg, samba, speexdsp, taglib, twolame, unzip,
wayland, and wayland-protocols.
[arguments]: Add BUILDCC=gcc to configure-flags. In the 'patch-source' phase,
remove a vestigial substitution fix, enable the use of fribidi deprecated
interfaces, and adjust the file names in substitutions from "gui/qt4" to
"gui/qt". Move the 'regenerate-plugin-cache' phase after 'strip', and in it,
set the timestamps to 1 second after the epoch, and use 'invoke'. Add new
'wrap-executable' phase.
2018-04-19 03:32:46 +02:00
|
|
|
|
"BUILDCC=gcc"
|
2014-04-16 17:46:42 +02:00
|
|
|
|
,(string-append "LDFLAGS=-Wl,-rpath -Wl,"
|
|
|
|
|
(assoc-ref %build-inputs "ffmpeg")
|
2016-04-18 15:39:43 +02:00
|
|
|
|
"/lib")) ;needed for the tests
|
|
|
|
|
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2017-08-31 03:24:41 +02:00
|
|
|
|
(add-after 'unpack 'patch-source
|
2017-06-01 23:32:43 +02:00
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((livemedia-utils (assoc-ref inputs "livemedia-utils")))
|
2017-08-31 03:24:41 +02:00
|
|
|
|
(substitute* "configure"
|
2017-06-01 23:32:43 +02:00
|
|
|
|
(("LIVE555_PREFIX=\\$\\{LIVE555_PREFIX-\"/usr\"\\}")
|
|
|
|
|
(string-append "LIVE555_PREFIX=" livemedia-utils)))
|
2017-08-31 03:24:41 +02:00
|
|
|
|
;; Some of the tests require using the display to test out VLC,
|
|
|
|
|
;; which fails in our sandboxed build system
|
|
|
|
|
(substitute* "test/run_vlc.sh"
|
|
|
|
|
(("./vlc --ignore-config") "echo"))
|
gnu: vlc: Update to 3.0.3, and add more inputs.
Co-authored-by: Roel Janssen <roel@gnu.org>
* gnu/packages/video.scm (vlc): Update to 3.0.3.
[native-inputs]: Add flex, bison, and gettext-minimal.
[inputs]: Replace ffmpeg-2.8 with the latest ffmpeg. Replace lua-5.1 with
lua-5.2. Add eudev, fribidi, libarchive, libass, libavc1394, libbluray,
libcaca, libdca, libdvdnav, libdvdread, libebml, libidn, libmatroska,
libmodplug, libmpeg2, libraw1394, librsvg, libsecret, libupnp, libva,
libvdpau, libvpx, libx264, qtsvg, samba, speexdsp, taglib, twolame, unzip,
wayland, and wayland-protocols.
[arguments]: Add BUILDCC=gcc to configure-flags. In the 'patch-source' phase,
remove a vestigial substitution fix, enable the use of fribidi deprecated
interfaces, and adjust the file names in substitutions from "gui/qt4" to
"gui/qt". Move the 'regenerate-plugin-cache' phase after 'strip', and in it,
set the timestamps to 1 second after the epoch, and use 'invoke'. Add new
'wrap-executable' phase.
2018-04-19 03:32:46 +02:00
|
|
|
|
|
|
|
|
|
;; modules/text_renderer/freetype/text_layout.c uses a
|
|
|
|
|
;; now-deprecated interface 'fribidi_get_par_embedding_levels'
|
|
|
|
|
;; from fribidi.h, so for now we enable the use of deprecated
|
|
|
|
|
;; fribidi interfaces from this file.
|
|
|
|
|
;; FIXME: Try removing this for vlc >= 3.0.3.
|
|
|
|
|
(substitute* "modules/text_renderer/freetype/text_layout.c"
|
|
|
|
|
(("# define FRIBIDI_NO_DEPRECATED 1") ""))
|
|
|
|
|
|
2018-05-28 21:38:05 +02:00
|
|
|
|
;; Fix build against Qt 5.11.
|
gnu: vlc: Update to 3.0.3, and add more inputs.
Co-authored-by: Roel Janssen <roel@gnu.org>
* gnu/packages/video.scm (vlc): Update to 3.0.3.
[native-inputs]: Add flex, bison, and gettext-minimal.
[inputs]: Replace ffmpeg-2.8 with the latest ffmpeg. Replace lua-5.1 with
lua-5.2. Add eudev, fribidi, libarchive, libass, libavc1394, libbluray,
libcaca, libdca, libdvdnav, libdvdread, libebml, libidn, libmatroska,
libmodplug, libmpeg2, libraw1394, librsvg, libsecret, libupnp, libva,
libvdpau, libvpx, libx264, qtsvg, samba, speexdsp, taglib, twolame, unzip,
wayland, and wayland-protocols.
[arguments]: Add BUILDCC=gcc to configure-flags. In the 'patch-source' phase,
remove a vestigial substitution fix, enable the use of fribidi deprecated
interfaces, and adjust the file names in substitutions from "gui/qt4" to
"gui/qt". Move the 'regenerate-plugin-cache' phase after 'strip', and in it,
set the timestamps to 1 second after the epoch, and use 'invoke'. Add new
'wrap-executable' phase.
2018-04-19 03:32:46 +02:00
|
|
|
|
(substitute* "modules/gui/qt/actions_manager.cpp"
|
2018-05-28 21:38:05 +02:00
|
|
|
|
(("#include <vlc_keys.h>") "#include <vlc_keys.h>
|
|
|
|
|
#include <QAction>"))
|
gnu: vlc: Update to 3.0.3, and add more inputs.
Co-authored-by: Roel Janssen <roel@gnu.org>
* gnu/packages/video.scm (vlc): Update to 3.0.3.
[native-inputs]: Add flex, bison, and gettext-minimal.
[inputs]: Replace ffmpeg-2.8 with the latest ffmpeg. Replace lua-5.1 with
lua-5.2. Add eudev, fribidi, libarchive, libass, libavc1394, libbluray,
libcaca, libdca, libdvdnav, libdvdread, libebml, libidn, libmatroska,
libmodplug, libmpeg2, libraw1394, librsvg, libsecret, libupnp, libva,
libvdpau, libvpx, libx264, qtsvg, samba, speexdsp, taglib, twolame, unzip,
wayland, and wayland-protocols.
[arguments]: Add BUILDCC=gcc to configure-flags. In the 'patch-source' phase,
remove a vestigial substitution fix, enable the use of fribidi deprecated
interfaces, and adjust the file names in substitutions from "gui/qt4" to
"gui/qt". Move the 'regenerate-plugin-cache' phase after 'strip', and in it,
set the timestamps to 1 second after the epoch, and use 'invoke'. Add new
'wrap-executable' phase.
2018-04-19 03:32:46 +02:00
|
|
|
|
(substitute* "modules/gui/qt/components/simple_preferences.cpp"
|
2018-05-28 21:38:05 +02:00
|
|
|
|
(("#include <QFont>") "#include <QFont>
|
|
|
|
|
#include <QButtonGroup>"))
|
2017-06-01 23:32:43 +02:00
|
|
|
|
#t)))
|
gnu: vlc: Update to 3.0.3, and add more inputs.
Co-authored-by: Roel Janssen <roel@gnu.org>
* gnu/packages/video.scm (vlc): Update to 3.0.3.
[native-inputs]: Add flex, bison, and gettext-minimal.
[inputs]: Replace ffmpeg-2.8 with the latest ffmpeg. Replace lua-5.1 with
lua-5.2. Add eudev, fribidi, libarchive, libass, libavc1394, libbluray,
libcaca, libdca, libdvdnav, libdvdread, libebml, libidn, libmatroska,
libmodplug, libmpeg2, libraw1394, librsvg, libsecret, libupnp, libva,
libvdpau, libvpx, libx264, qtsvg, samba, speexdsp, taglib, twolame, unzip,
wayland, and wayland-protocols.
[arguments]: Add BUILDCC=gcc to configure-flags. In the 'patch-source' phase,
remove a vestigial substitution fix, enable the use of fribidi deprecated
interfaces, and adjust the file names in substitutions from "gui/qt4" to
"gui/qt". Move the 'regenerate-plugin-cache' phase after 'strip', and in it,
set the timestamps to 1 second after the epoch, and use 'invoke'. Add new
'wrap-executable' phase.
2018-04-19 03:32:46 +02:00
|
|
|
|
(add-after 'strip 'regenerate-plugin-cache
|
2016-04-18 15:39:43 +02:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; The 'install-exec-hook' rule in the top-level Makefile.am
|
|
|
|
|
;; generates 'lib/vlc/plugins/plugins.dat', a plugin cache, using
|
|
|
|
|
;; 'vlc-cache-gen'. This file includes the mtime of the plugins
|
|
|
|
|
;; it references. Thus, we first reset the timestamps of all
|
|
|
|
|
;; these files, and then regenerate the cache such that the
|
|
|
|
|
;; mtimes it includes are always zero instead of being dependent
|
|
|
|
|
;; on the build time.
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(pkglibdir (string-append out "/lib/vlc"))
|
|
|
|
|
(plugindir (string-append pkglibdir "/plugins"))
|
|
|
|
|
(cachegen (string-append pkglibdir "/vlc-cache-gen")))
|
|
|
|
|
;; TODO: Factorize 'reset-timestamps'.
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(let ((s (lstat file)))
|
|
|
|
|
(unless (eq? (stat:type s) 'symlink)
|
gnu: vlc: Update to 3.0.3, and add more inputs.
Co-authored-by: Roel Janssen <roel@gnu.org>
* gnu/packages/video.scm (vlc): Update to 3.0.3.
[native-inputs]: Add flex, bison, and gettext-minimal.
[inputs]: Replace ffmpeg-2.8 with the latest ffmpeg. Replace lua-5.1 with
lua-5.2. Add eudev, fribidi, libarchive, libass, libavc1394, libbluray,
libcaca, libdca, libdvdnav, libdvdread, libebml, libidn, libmatroska,
libmodplug, libmpeg2, libraw1394, librsvg, libsecret, libupnp, libva,
libvdpau, libvpx, libx264, qtsvg, samba, speexdsp, taglib, twolame, unzip,
wayland, and wayland-protocols.
[arguments]: Add BUILDCC=gcc to configure-flags. In the 'patch-source' phase,
remove a vestigial substitution fix, enable the use of fribidi deprecated
interfaces, and adjust the file names in substitutions from "gui/qt4" to
"gui/qt". Move the 'regenerate-plugin-cache' phase after 'strip', and in it,
set the timestamps to 1 second after the epoch, and use 'invoke'. Add new
'wrap-executable' phase.
2018-04-19 03:32:46 +02:00
|
|
|
|
(utime file 1 1))))
|
2016-04-18 15:39:43 +02:00
|
|
|
|
(find-files plugindir))
|
gnu: vlc: Update to 3.0.3, and add more inputs.
Co-authored-by: Roel Janssen <roel@gnu.org>
* gnu/packages/video.scm (vlc): Update to 3.0.3.
[native-inputs]: Add flex, bison, and gettext-minimal.
[inputs]: Replace ffmpeg-2.8 with the latest ffmpeg. Replace lua-5.1 with
lua-5.2. Add eudev, fribidi, libarchive, libass, libavc1394, libbluray,
libcaca, libdca, libdvdnav, libdvdread, libebml, libidn, libmatroska,
libmodplug, libmpeg2, libraw1394, librsvg, libsecret, libupnp, libva,
libvdpau, libvpx, libx264, qtsvg, samba, speexdsp, taglib, twolame, unzip,
wayland, and wayland-protocols.
[arguments]: Add BUILDCC=gcc to configure-flags. In the 'patch-source' phase,
remove a vestigial substitution fix, enable the use of fribidi deprecated
interfaces, and adjust the file names in substitutions from "gui/qt4" to
"gui/qt". Move the 'regenerate-plugin-cache' phase after 'strip', and in it,
set the timestamps to 1 second after the epoch, and use 'invoke'. Add new
'wrap-executable' phase.
2018-04-19 03:32:46 +02:00
|
|
|
|
(invoke cachegen plugindir))))
|
|
|
|
|
(add-after 'install 'wrap-executable
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(plugin-path (getenv "QT_PLUGIN_PATH")))
|
|
|
|
|
(wrap-program (string-append out "/bin/vlc")
|
|
|
|
|
`("QT_PLUGIN_PATH" ":" prefix (,plugin-path))))
|
|
|
|
|
#t)))))
|
2014-04-16 17:46:42 +02:00
|
|
|
|
(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")
|
2016-04-04 22:20:11 +02:00
|
|
|
|
(version "1.3.0")
|
2014-04-17 18:57:46 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2016-02-24 09:20:52 +01:00
|
|
|
|
"https://www.mplayerhq.hu/MPlayer/releases/MPlayer-"
|
2014-04-17 18:57:46 +02:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-04-04 22:20:11 +02:00
|
|
|
|
"0hwqn04bdknb2ic88xd75smffxx63scvz0zvwvjb56nqj9n89l1s"))))
|
2014-04-17 18:57:46 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
;; FIXME: Add additional inputs once available.
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("cdparanoia" ,cdparanoia)
|
gnu: Fix misplaced commas (unquote).
Fix many occurrences of comma (unquote) being placed immediately after the
previous list item, e.g. ("ncurses", ncurses) in the inputs.
* gnu/packages/base.scm (patch, gnu-make),
gnu/packages/bioinformatics.scm (hmmer),
gnu/packages/bittorrent.scm (aria2),
gnu/packages/compression.scm (pbzip2),
gnu/packages/databases.scm (recutils),
gnu/packages/fonts.scm (font-terminus),
gnu/packages/freedesktop.scm (xdg-utils, elogind),
gnu/packages/games.scm (gnujump),
gnu/packages/gnome.scm (libidl, gnumeric, eog, gedit),
gnu/packages/gnunet.scm (gnunet),
gnu/packages/gnuzilla.scm (mozjs, nspr),
gnu/packages/gtk.scm (gtksourceview, gdk-pixbuf),
gnu/packages/lua.scm (lua),
gnu/packages/openstack.scm (python-swiftclient),
gnu/packages/perl.scm (perl-json-any),
gnu/packages/polkit.scm (polkit-qt),
gnu/packages/python.scm (wrap-python3, python-oauthlib)
(python-mccabe-0.2.1, python-contextlib2, python2-rauth),
gnu/packages/qt.scm (qtkeychain),
gnu/packages/ruby.scm (ruby-nokogiri),
gnu/packages/screen.scm (screen),
gnu/packages/ssh.scm (libssh),
gnu/packages/video.scm (ffmpeg, mplayer),
gnu/packages/vim.scm (vim),
gnu/packages/xdisorg.scm (redshift),
gnu/packages/xfce.scm (xfce4-panel, xfce4-settings),
gnu/packages/xnee.scm (xnee),
gnu/packages/xorg.scm (font-adobe100dpi, font-adobe75dpi),
gnu/packages/zsh.scm (zsh): Fix misplaced commas (unquote).
2016-02-27 14:37:28 +01:00
|
|
|
|
("ffmpeg" ,ffmpeg)
|
2016-02-18 13:33:43 +01:00
|
|
|
|
("fontconfig" ,fontconfig)
|
2014-04-17 18:57:46 +02:00
|
|
|
|
("freetype" ,freetype)
|
2016-02-18 13:33:43 +01:00
|
|
|
|
;; ("giflib" ,giflib) ; uses QuantizeBuffer, requires version >= 5
|
2014-04-17 18:57:46 +02:00
|
|
|
|
("lame" ,lame)
|
2016-02-18 13:33:43 +01:00
|
|
|
|
("libass" ,libass)
|
gnu: Fix misplaced commas (unquote).
Fix many occurrences of comma (unquote) being placed immediately after the
previous list item, e.g. ("ncurses", ncurses) in the inputs.
* gnu/packages/base.scm (patch, gnu-make),
gnu/packages/bioinformatics.scm (hmmer),
gnu/packages/bittorrent.scm (aria2),
gnu/packages/compression.scm (pbzip2),
gnu/packages/databases.scm (recutils),
gnu/packages/fonts.scm (font-terminus),
gnu/packages/freedesktop.scm (xdg-utils, elogind),
gnu/packages/games.scm (gnujump),
gnu/packages/gnome.scm (libidl, gnumeric, eog, gedit),
gnu/packages/gnunet.scm (gnunet),
gnu/packages/gnuzilla.scm (mozjs, nspr),
gnu/packages/gtk.scm (gtksourceview, gdk-pixbuf),
gnu/packages/lua.scm (lua),
gnu/packages/openstack.scm (python-swiftclient),
gnu/packages/perl.scm (perl-json-any),
gnu/packages/polkit.scm (polkit-qt),
gnu/packages/python.scm (wrap-python3, python-oauthlib)
(python-mccabe-0.2.1, python-contextlib2, python2-rauth),
gnu/packages/qt.scm (qtkeychain),
gnu/packages/ruby.scm (ruby-nokogiri),
gnu/packages/screen.scm (screen),
gnu/packages/ssh.scm (libssh),
gnu/packages/video.scm (ffmpeg, mplayer),
gnu/packages/vim.scm (vim),
gnu/packages/xdisorg.scm (redshift),
gnu/packages/xfce.scm (xfce4-panel, xfce4-settings),
gnu/packages/xnee.scm (xnee),
gnu/packages/xorg.scm (font-adobe100dpi, font-adobe75dpi),
gnu/packages/zsh.scm (zsh): Fix misplaced commas (unquote).
2016-02-27 14:37:28 +01:00
|
|
|
|
("libdvdcss" ,libdvdcss)
|
|
|
|
|
("libdvdnav" ,libdvdnav)
|
2014-04-17 18:57:46 +02:00
|
|
|
|
("libjpeg" ,libjpeg)
|
2016-02-18 13:33:43 +01:00
|
|
|
|
("libmpeg2" ,libmpeg2)
|
|
|
|
|
("libmpg123" ,mpg123) ; audio codec for MP3
|
2014-04-17 18:57:46 +02:00
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libtheora" ,libtheora)
|
2016-02-18 13:33:43 +01:00
|
|
|
|
("libvdpau" ,libvdpau)
|
2014-04-17 18:57:46 +02:00
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("libx11" ,libx11)
|
2016-02-18 13:33:43 +01:00
|
|
|
|
("libx264" ,libx264)
|
2014-04-17 18:57:46 +02:00
|
|
|
|
("libxinerama" ,libxinerama)
|
|
|
|
|
("libxv" ,libxv)
|
2016-02-18 13:33:43 +01:00
|
|
|
|
("libxxf86dga" ,libxxf86dga)
|
2014-04-17 18:57:46 +02:00
|
|
|
|
("mesa" ,mesa)
|
2016-02-18 13:33:43 +01:00
|
|
|
|
("opus" ,opus)
|
2014-04-17 18:57:46 +02:00
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("pulseaudio" ,pulseaudio)
|
|
|
|
|
("python" ,python-wrapper)
|
|
|
|
|
("sdl" ,sdl)
|
|
|
|
|
("speex" ,speex)
|
|
|
|
|
("yasm" ,yasm)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no test target
|
|
|
|
|
#:phases
|
2016-02-24 09:20:52 +01:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
2014-04-17 18:57:46 +02:00
|
|
|
|
;; 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"
|
2017-01-23 22:55:42 +01:00
|
|
|
|
(("#! /bin/sh") (string-append "#!" (which "sh"))))
|
2014-04-17 18:57:46 +02:00
|
|
|
|
(setenv "SHELL" (which "bash"))
|
|
|
|
|
(setenv "CONFIG_SHELL" (which "bash"))
|
2018-06-21 17:58:11 +02:00
|
|
|
|
(invoke "./configure"
|
2014-04-17 18:57:46 +02:00
|
|
|
|
(string-append "--extra-cflags=-I"
|
|
|
|
|
libx11 "/include") ; to detect libx11
|
2016-02-24 09:20:52 +01:00
|
|
|
|
"--disable-ffmpeg_a" ; disables bundled ffmpeg
|
2014-04-17 18:57:46 +02:00
|
|
|
|
(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)))))))
|
2018-06-21 17:58:11 +02:00
|
|
|
|
"--disable-iwmmxt")))))))
|
2016-02-24 09:20:52 +01:00
|
|
|
|
(home-page "https://www.mplayerhq.hu/design7/news.html")
|
2014-04-17 18:57:46 +02:00
|
|
|
|
(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-19 23:46:21 +01:00
|
|
|
|
(define-public mpv
|
|
|
|
|
(package
|
|
|
|
|
(name "mpv")
|
2018-02-16 13:08:13 +01:00
|
|
|
|
(version "0.28.2")
|
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
|
2018-02-16 13:08:13 +01:00
|
|
|
|
"15fp4sa5glqhgidd54vs6knf9dp809wszzsqiqz5nyri4ph19nma"))
|
2015-03-19 23:46:21 +01:00
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))))
|
|
|
|
|
(build-system waf-build-system)
|
|
|
|
|
(native-inputs
|
2017-01-02 18:11:31 +01:00
|
|
|
|
`(("perl" ,perl) ; for zsh completion file
|
2015-03-19 23:46:21 +01:00
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("python-docutils" ,python-docutils)))
|
2017-11-02 21:01:19 +01:00
|
|
|
|
;; Missing features: libguess, V4L2
|
2015-03-19 23:46:21 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("enca" ,enca)
|
2018-04-23 08:07:10 +02:00
|
|
|
|
("ffmpeg" ,ffmpeg)
|
2015-08-27 10:13:54 +02:00
|
|
|
|
("jack" ,jack-1)
|
2015-03-19 23:46:21 +01:00
|
|
|
|
("ladspa" ,ladspa)
|
|
|
|
|
("lcms" ,lcms)
|
|
|
|
|
("libass" ,libass)
|
|
|
|
|
("libbluray" ,libbluray)
|
|
|
|
|
("libcaca" ,libcaca)
|
|
|
|
|
("libbs2b" ,libbs2b)
|
|
|
|
|
("libcdio-paranoia" ,libcdio-paranoia)
|
|
|
|
|
("libdvdread" ,libdvdread)
|
|
|
|
|
("libdvdnav" ,libdvdnav)
|
|
|
|
|
("libjpeg" ,libjpeg)
|
|
|
|
|
("libva" ,libva)
|
2015-12-29 11:36:01 +01:00
|
|
|
|
("libvdpau" ,libvdpau)
|
2015-03-19 23:46:21 +01:00
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("libxext" ,libxext)
|
|
|
|
|
("libxinerama" ,libxinerama)
|
|
|
|
|
("libxrandr" ,libxrandr)
|
|
|
|
|
("libxscrnsaver" ,libxscrnsaver)
|
|
|
|
|
("libxv" ,libxv)
|
2016-11-14 04:09:49 +01:00
|
|
|
|
;; XXX: lua > 5.2 is not currently supported; see
|
|
|
|
|
;; waftools/checks/custom.py
|
|
|
|
|
("lua" ,lua-5.2)
|
2015-03-19 23:46:21 +01:00
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("mpg123" ,mpg123)
|
|
|
|
|
("pulseaudio" ,pulseaudio)
|
|
|
|
|
("rsound" ,rsound)
|
2018-02-14 08:13:17 +01:00
|
|
|
|
("shaderc" ,shaderc)
|
2018-07-03 09:39:53 +02:00
|
|
|
|
("vulkan-headers" ,vulkan-headers)
|
2018-06-06 09:59:15 +02:00
|
|
|
|
("vulkan-loader" ,vulkan-loader)
|
2016-07-24 09:23:28 +02:00
|
|
|
|
("waf" ,python-waf)
|
2017-11-02 21:01:19 +01:00
|
|
|
|
("wayland" ,wayland)
|
2017-12-27 10:46:26 +01:00
|
|
|
|
("wayland-protocols" ,wayland-protocols)
|
2018-03-16 16:50:14 +01:00
|
|
|
|
("libxkbcommon" ,libxkbcommon)
|
2015-03-19 23:46:21 +01:00
|
|
|
|
("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")
|
2018-04-12 09:28:19 +02:00
|
|
|
|
(setenv "CC" "gcc")
|
|
|
|
|
#t)))
|
2017-02-09 11:15:05 +01:00
|
|
|
|
#:configure-flags (list "--enable-libmpv-shared"
|
2017-04-24 21:38:14 +02:00
|
|
|
|
"--enable-cdda"
|
|
|
|
|
"--enable-dvdread"
|
|
|
|
|
"--enable-dvdnav"
|
2017-02-09 11:15:05 +01:00
|
|
|
|
"--enable-zsh-comp"
|
|
|
|
|
"--disable-build-date")
|
2015-03-19 23:46:21 +01:00
|
|
|
|
;; No check function defined.
|
|
|
|
|
#:tests? #f))
|
2016-03-03 21:53:37 +01:00
|
|
|
|
(home-page "https://mpv.io/")
|
2015-03-19 23:46:21 +01:00
|
|
|
|
(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
|
|
|
|
|
2016-07-07 01:58:17 +02:00
|
|
|
|
(define-public gnome-mpv
|
|
|
|
|
(package
|
|
|
|
|
(name "gnome-mpv")
|
2018-03-01 23:50:57 +01:00
|
|
|
|
(version "0.14")
|
2016-07-07 01:58:17 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/gnome-mpv/gnome-mpv/releases"
|
|
|
|
|
"/download/v" version "/gnome-mpv-" version
|
|
|
|
|
".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-03-01 23:50:57 +01:00
|
|
|
|
"03kjwd5jq0i5ajnvhjwf5019bjjaa16xkdrhdkiz1k58ipjvvj93"))))
|
2016-07-07 01:58:17 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("intltool" ,intltool)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("gtk+" ,gtk+)
|
|
|
|
|
("libepoxy" ,libepoxy)
|
|
|
|
|
("mpv" ,mpv)))
|
|
|
|
|
(build-system glib-or-gtk-build-system)
|
|
|
|
|
(home-page "https://github.com/gnome-mpv/gnome-mpv")
|
|
|
|
|
(synopsis "GTK+ frontend for the mpv media player")
|
|
|
|
|
(description "GNOME MPV is a simple GTK+ frontend for the mpv media player.
|
|
|
|
|
GNOME MPV interacts with mpv via the client API exported by libmpv, allowing
|
|
|
|
|
access to mpv's powerful playback capabilities.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2014-06-26 14:16:07 +02:00
|
|
|
|
(define-public libvpx
|
|
|
|
|
(package
|
|
|
|
|
(name "libvpx")
|
2018-02-01 12:06:17 +01:00
|
|
|
|
(version "1.7.0")
|
2014-06-26 14:16:07 +02:00
|
|
|
|
(source (origin
|
2018-02-01 12:06:17 +01:00
|
|
|
|
;; XXX: Upstream does not provide tarballs for > 1.6.1.
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://chromium.googlesource.com/webm/libvpx")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2014-06-26 14:16:07 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-02-01 12:06:17 +01:00
|
|
|
|
"0vvh89hvp8qg9an9vcmwb7d9k3nixhxaz6zi65qdjnd0i56kkcz6"))
|
2016-06-08 15:53:56 +02:00
|
|
|
|
(patches (search-patches "libvpx-CVE-2016-2818.patch"))))
|
2014-06-26 14:16:07 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2018-01-17 00:38:26 +01:00
|
|
|
|
`(#:configure-flags (list "--enable-shared"
|
2016-01-19 06:24:28 +01:00
|
|
|
|
"--as=yasm"
|
|
|
|
|
;; Limit size to avoid CVE-2015-1258
|
|
|
|
|
"--size-limit=16384x16384"
|
2018-01-17 00:38:26 +01:00
|
|
|
|
(string-append "--prefix=" (assoc-ref %outputs "out")))
|
|
|
|
|
#:make-flags (list (string-append "LDFLAGS=-Wl,-rpath="
|
|
|
|
|
(assoc-ref %outputs "out") "/lib"))
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key configure-flags #:allow-other-keys)
|
|
|
|
|
;; The configure script does not understand some of the GNU
|
|
|
|
|
;; options, so we only add the flags specified above.
|
|
|
|
|
(apply invoke "./configure" configure-flags))))
|
2015-11-12 18:59:42 +01:00
|
|
|
|
#:tests? #f)) ; no check target
|
2014-06-26 14:16:07 +02:00
|
|
|
|
(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)
|
2018-01-17 00:42:15 +01:00
|
|
|
|
(home-page "https://www.webmproject.org/")))
|
2014-07-03 22:21:53 +02:00
|
|
|
|
|
|
|
|
|
(define-public youtube-dl
|
|
|
|
|
(package
|
|
|
|
|
(name "youtube-dl")
|
2018-06-21 14:31:10 +02:00
|
|
|
|
(version "2018.06.19")
|
2014-07-03 22:21:53 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2017-01-10 22:14:18 +01:00
|
|
|
|
(uri (string-append "https://yt-dl.org/downloads/"
|
2014-07-03 22:21:53 +02:00
|
|
|
|
version "/youtube-dl-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-06-21 14:31:10 +02:00
|
|
|
|
"0ys2mc84r7mjpn7rykb57sn3ii1kp3divjdn2ivwqknj8jrzg3z6"))))
|
2014-07-03 22:21:53 +02:00
|
|
|
|
(build-system python-build-system)
|
2015-12-14 13:20:55 +01:00
|
|
|
|
(arguments
|
|
|
|
|
;; The problem here is that the directory for the man page and completion
|
|
|
|
|
;; files is relative, and for some reason, setup.py uses the
|
|
|
|
|
;; auto-detected sys.prefix instead of the user-defined "--prefix=FOO".
|
|
|
|
|
;; So, we need pass the prefix directly. In addition, make sure the Bash
|
|
|
|
|
;; completion file is called 'youtube-dl' rather than
|
|
|
|
|
;; 'youtube-dl.bash-completion'.
|
2016-10-16 03:12:22 +02:00
|
|
|
|
`(#:tests? #f ; Many tests fail. The test suite can be run with pytest.
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
2015-12-14 13:20:55 +01:00
|
|
|
|
(add-before 'install 'fix-the-data-directories
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((prefix (assoc-ref outputs "out")))
|
|
|
|
|
(mkdir "bash-completion")
|
|
|
|
|
(rename-file "youtube-dl.bash-completion"
|
|
|
|
|
"bash-completion/youtube-dl")
|
|
|
|
|
(substitute* "setup.py"
|
|
|
|
|
(("youtube-dl\\.bash-completion")
|
|
|
|
|
"bash-completion/youtube-dl")
|
|
|
|
|
(("'etc/")
|
|
|
|
|
(string-append "'" prefix "/etc/"))
|
|
|
|
|
(("'share/")
|
2018-01-21 16:42:41 +01:00
|
|
|
|
(string-append "'" prefix "/share/")))
|
|
|
|
|
#t))))))
|
2014-07-03 22:21:53 +02:00
|
|
|
|
(synopsis "Download videos from YouTube.com and other sites")
|
|
|
|
|
(description
|
2015-11-01 18:56:33 +01:00
|
|
|
|
"Youtube-dl is a small command-line program to download videos from
|
2018-01-21 16:41:00 +01:00
|
|
|
|
YouTube.com and many more sites.")
|
2017-01-10 22:14:18 +01:00
|
|
|
|
(home-page "https://yt-dl.org")
|
2015-04-02 19:16:04 +02:00
|
|
|
|
(license license:public-domain)))
|
2015-01-24 17:59:22 +01:00
|
|
|
|
|
2017-04-17 21:27:18 +02:00
|
|
|
|
(define-public youtube-dl-gui
|
|
|
|
|
(package
|
|
|
|
|
(name "youtube-dl-gui")
|
|
|
|
|
(version "0.3.8")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "Youtube-DLG" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0napxwzgls5ik1bxbp99vly32l23xpc4ng5kr24hfhf21ypjyadb"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
;; In Guix, wxpython has not yet been packaged for Python 3.
|
|
|
|
|
`(#:python ,python-2
|
|
|
|
|
;; This package has no tests.
|
|
|
|
|
#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'patch-source
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
;; The youtube-dl-gui program lets you configure options. Some of
|
|
|
|
|
;; them are problematic, so we change their defaults.
|
|
|
|
|
(substitute* "youtube_dl_gui/optionsmanager.py"
|
|
|
|
|
;; When this is true, the builder process will try (and fail) to
|
|
|
|
|
;; write logs to the builder user's home directory.
|
|
|
|
|
(("'enable_log': True") "'enable_log': False")
|
|
|
|
|
;; This determines which youtube-dl program youtube-dl-gui will
|
|
|
|
|
;; run. If we don't set this, then youtube-dl-gui might download
|
|
|
|
|
;; an arbitrary copy from the Internet into the user's home
|
|
|
|
|
;; directory and run it, so let's make sure youtube-dl-gui uses
|
|
|
|
|
;; the youtube-dl from the inputs by default.
|
|
|
|
|
(("'youtubedl_path': self.config_path")
|
|
|
|
|
(string-append "'youtubedl_path': '"
|
|
|
|
|
(assoc-ref inputs "youtube-dl")
|
|
|
|
|
"/bin'"))
|
|
|
|
|
;; When this is True, when youtube-dl-gui is finished downloading
|
|
|
|
|
;; a file, it will try (and possibly fail) to open the directory
|
|
|
|
|
;; containing the downloaded file. This can fail because it
|
|
|
|
|
;; assumes that xdg-open is in PATH. Unfortunately, simply
|
|
|
|
|
;; adding xdg-utils to the propagated inputs is not enough to
|
|
|
|
|
;; make this work, so for now we set the default to False.
|
|
|
|
|
(("'open_dl_dir': True") "'open_dl_dir': False"))
|
|
|
|
|
;; The youtube-dl program from the inputs is actually a wrapper
|
|
|
|
|
;; script written in bash, so attempting to invoke it as a python
|
|
|
|
|
;; script will fail.
|
|
|
|
|
(substitute* "youtube_dl_gui/downloaders.py"
|
|
|
|
|
(("cmd = \\['python', self\\.youtubedl_path\\]")
|
|
|
|
|
"cmd = [self.youtubedl_path]"))
|
|
|
|
|
;; Use relative paths for installing data files so youtube-dl-gui
|
|
|
|
|
;; installs the files relative to its prefix in the store, rather
|
|
|
|
|
;; than relative to /. Also, instead of installing data files into
|
|
|
|
|
;; $prefix/usr/share, install them into $prefix/share for
|
|
|
|
|
;; consistency (see: (standards) Directory Variables).
|
|
|
|
|
(substitute* "setup.py"
|
|
|
|
|
(("= '/usr/share") "= 'share"))
|
|
|
|
|
;; Update get_locale_file() so it finds the installed localization
|
|
|
|
|
;; files.
|
|
|
|
|
(substitute* "youtube_dl_gui/utils.py"
|
|
|
|
|
(("os\\.path\\.join\\('/usr', 'share'")
|
|
|
|
|
(string-append "os.path.join('"
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"', 'share'"))))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("python2-wxpython" ,python2-wxpython)
|
|
|
|
|
("youtube-dl" ,youtube-dl)))
|
|
|
|
|
(home-page "https://github.com/MrS0m30n3/youtube-dl-gui")
|
|
|
|
|
(synopsis
|
|
|
|
|
"GUI (Graphical User Interface) for @command{youtube-dl}")
|
|
|
|
|
(description
|
|
|
|
|
"Youtube-dlG is a GUI (Graphical User Interface) for
|
|
|
|
|
@command{youtube-dl}. You can use it to download videos from YouTube and any
|
|
|
|
|
other site that youtube-dl supports.")
|
|
|
|
|
(license license:unlicense)))
|
|
|
|
|
|
2017-04-07 15:18:55 +02:00
|
|
|
|
(define-public you-get
|
|
|
|
|
(package
|
|
|
|
|
(name "you-get")
|
2018-06-06 14:35:11 +02:00
|
|
|
|
(version "0.4.1077")
|
2017-04-07 15:18:55 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2017-07-08 13:43:13 +02:00
|
|
|
|
"https://github.com/soimort/you-get/archive/v"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
2017-04-07 15:18:55 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-06-06 14:35:11 +02:00
|
|
|
|
"04vxc91k627qgsqs8dhqajrb6vpj4pw21jlwbha28qakfiz2x11k"))))
|
2017-04-07 15:18:55 +02:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(inputs
|
2017-12-23 21:18:46 +01:00
|
|
|
|
`(("ffmpeg" ,ffmpeg))) ; for multi-part and >=1080p videos
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'qualify-input-references
|
|
|
|
|
;; Explicitly invoke the input ffmpeg, instead of whichever one
|
|
|
|
|
;; happens to be in the user's $PATH at run time.
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((ffmpeg (string-append (assoc-ref inputs "ffmpeg")
|
|
|
|
|
"/bin/ffmpeg")))
|
|
|
|
|
(substitute* "src/you_get/processor/ffmpeg.py"
|
|
|
|
|
;; Don't blindly replace all occurrences of ‘'ffmpeg'’: the
|
|
|
|
|
;; same string is also used when sniffing ffmpeg's output.
|
|
|
|
|
(("(FFMPEG == |\\()'ffmpeg'" _ prefix)
|
|
|
|
|
(string-append prefix "'" ffmpeg "'")))
|
|
|
|
|
#t))))
|
|
|
|
|
#:tests? #f)) ; XXX some tests need Internet access
|
2017-12-23 19:43:44 +01:00
|
|
|
|
(synopsis "Download videos, audio, or images from Web sites")
|
2017-04-07 15:18:55 +02:00
|
|
|
|
(description
|
|
|
|
|
"You-Get is a command-line utility to download media contents (videos,
|
|
|
|
|
audio, images) from the Web. It can use either mpv or vlc for playback.")
|
|
|
|
|
(home-page "https://you-get.org/")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2018-02-24 23:52:10 +01:00
|
|
|
|
(define-public youtube-viewer
|
|
|
|
|
(package
|
|
|
|
|
(name "youtube-viewer")
|
2018-04-26 16:16:49 +02:00
|
|
|
|
(version "3.3.4")
|
2018-02-24 23:52:10 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/trizen/youtube-viewer/archive/"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-04-26 16:16:49 +02:00
|
|
|
|
"1dqaxkz5svv0lmxds6lppcpzhkq6gar2raw9gx6imrd7yz02fpgn"))))
|
2018-02-24 23:52:10 +01:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-module-build" ,perl-module-build)))
|
|
|
|
|
;; FIXME: Add optional dependencies once available:
|
|
|
|
|
;; perl-lwp-useragent-cached and perl-term-readline-gnu
|
|
|
|
|
(inputs
|
|
|
|
|
`(("perl-data-dump" ,perl-data-dump)
|
|
|
|
|
("perl-file-sharedir" ,perl-file-sharedir)
|
|
|
|
|
("perl-gtk2" ,perl-gtk2)
|
|
|
|
|
("perl-json" ,perl-json)
|
|
|
|
|
("perl-libwww" ,perl-libwww)
|
|
|
|
|
("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
|
|
|
|
|
("perl-mozilla-ca" ,perl-mozilla-ca)
|
|
|
|
|
("perl-unicode-linebreak" ,perl-unicode-linebreak)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build perl-build-system)
|
|
|
|
|
(guix build utils)
|
|
|
|
|
(srfi srfi-26))
|
|
|
|
|
#:module-build-flags '("--gtk")
|
2018-03-02 14:22:59 +01:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'wrap-program
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin-dir (string-append out "/bin/"))
|
|
|
|
|
(site-dir (string-append out "/lib/perl5/site_perl/"))
|
|
|
|
|
(lib-path (getenv "PERL5LIB")))
|
|
|
|
|
(for-each (cut wrap-program <>
|
|
|
|
|
`("PERL5LIB" ":" prefix (,lib-path ,site-dir)))
|
|
|
|
|
(find-files bin-dir))
|
|
|
|
|
#t))))))
|
2018-02-24 23:52:10 +01:00
|
|
|
|
(synopsis
|
|
|
|
|
"Lightweight application for searching and streaming videos from YouTube")
|
|
|
|
|
(description
|
|
|
|
|
"Youtube-viewer searches and plays YouTube videos in a native player.
|
|
|
|
|
It comes with various search options; it can search for videos, playlists
|
|
|
|
|
and/or channels. The videos are streamed directly in a selected video player
|
|
|
|
|
at the best resolution (customizable) and with closed-captions (if available).
|
|
|
|
|
Both command-line and GTK2 interface are available.")
|
|
|
|
|
(home-page "https://github.com/trizen/youtube-viewer")
|
|
|
|
|
(license license:perl-license)))
|
|
|
|
|
|
2015-03-05 21:40:36 +01:00
|
|
|
|
(define-public libbluray
|
|
|
|
|
(package
|
|
|
|
|
(name "libbluray")
|
2018-01-30 05:24:19 +01:00
|
|
|
|
(version "1.0.2")
|
2015-03-05 21:40:36 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-07-10 20:00:33 +02:00
|
|
|
|
(uri (string-append "https://download.videolan.org/videolan/"
|
2015-03-05 21:40:36 +01:00
|
|
|
|
name "/" version "/"
|
|
|
|
|
name "-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-01-30 05:24:19 +01:00
|
|
|
|
"1zxfnw1xbghcj7b3zz5djndv6gwssxda19cz1lrlqrkg8577r7kd"))))
|
2015-03-05 21:40:36 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2016-09-09 21:52:26 +02:00
|
|
|
|
(arguments
|
2017-06-17 18:46:50 +02:00
|
|
|
|
`(#:configure-flags '("--disable-bdjava-jar")
|
2016-09-09 21:52:26 +02:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2018-01-30 05:24:19 +01:00
|
|
|
|
(add-after 'unpack 'refer-to-libxml2-in-.pc-file
|
|
|
|
|
;; Avoid the need to propagate libxml2 by referring to it
|
|
|
|
|
;; directly, as is already done for fontconfig & freetype.
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((libxml2 (assoc-ref inputs "libxml2")))
|
|
|
|
|
(substitute* "configure"
|
|
|
|
|
((" libxml-2.0") ""))
|
|
|
|
|
(substitute* "src/libbluray.pc.in"
|
|
|
|
|
(("^Libs.private:" field)
|
|
|
|
|
(string-append field " -L" libxml2 "/lib -lxml2")))
|
|
|
|
|
#t)))
|
2016-09-09 21:52:26 +02:00
|
|
|
|
(add-before 'build 'fix-dlopen-paths
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((libaacs (assoc-ref inputs "libaacs"))
|
|
|
|
|
(libbdplus (assoc-ref inputs "libbdplus")))
|
|
|
|
|
(substitute* "src/libbluray/disc/aacs.c"
|
|
|
|
|
(("\"libaacs\"")
|
|
|
|
|
(string-append "\"" libaacs "/lib/libaacs\"")))
|
|
|
|
|
(substitute* "src/libbluray/disc/bdplus.c"
|
|
|
|
|
(("\"libbdplus\"")
|
|
|
|
|
(string-append "\"" libbdplus "/lib/libbdplus\"")))
|
|
|
|
|
#t))))))
|
2015-10-06 19:22:09 +02:00
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
2015-03-05 21:40:36 +01:00
|
|
|
|
(inputs
|
2016-02-05 14:42:13 +01:00
|
|
|
|
`(("fontconfig" ,fontconfig)
|
2015-03-05 21:40:36 +01:00
|
|
|
|
("freetype" ,freetype)
|
2016-09-09 21:52:26 +02:00
|
|
|
|
("libaacs" ,libaacs)
|
|
|
|
|
("libbdplus" ,libbdplus)
|
2016-02-05 14:42:13 +01:00
|
|
|
|
("libxml2" ,libxml2)))
|
2016-07-10 20:00:33 +02:00
|
|
|
|
(home-page "https://www.videolan.org/developers/libbluray.html")
|
2015-03-05 21:40:36 +01:00
|
|
|
|
(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")
|
2018-02-13 21:41:02 +01:00
|
|
|
|
(version "6.0.0")
|
2015-01-24 17:59:22 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2017-04-17 14:25:34 +02:00
|
|
|
|
(uri (string-append "https://download.videolan.org/videolan/"
|
2015-01-24 17:59:22 +01:00
|
|
|
|
name "/" version "/"
|
|
|
|
|
name "-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-02-13 21:41:02 +01:00
|
|
|
|
"0dgr23fzcjhb7ck54xkr9zmf4jcq3ph0dz3fbyvla1c6ni9ijfxk"))))
|
2015-01-24 17:59:22 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2018-01-04 16:25:44 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags '("--with-libdvdcss=yes")))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("libdvdcss" ,libdvdcss)))
|
2015-01-24 17:59:22 +01:00
|
|
|
|
(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
|
|
|
|
|
2017-04-20 18:15:03 +02:00
|
|
|
|
(define-public dvdauthor
|
|
|
|
|
(package
|
|
|
|
|
(name "dvdauthor")
|
|
|
|
|
(version "0.7.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/dvdauthor/dvdauthor-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1drfc47hikfzc9d7hjk34rw10iqw01d2vwmn91pv73ppx4nsj81h"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libdvdread" ,libdvdread)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("imagemagick" ,imagemagick)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("freetype" ,freetype)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(synopsis "Generates a DVD-Video movie from a MPEG-2 stream")
|
|
|
|
|
(description "@command{dvdauthor} will generate a DVD-Video movie from a
|
|
|
|
|
MPEG-2 stream containing VOB packets.")
|
|
|
|
|
(home-page "http://dvdauthor.sourceforge.net")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2015-01-24 18:05:03 +01:00
|
|
|
|
(define-public libdvdnav
|
|
|
|
|
(package
|
|
|
|
|
(name "libdvdnav")
|
2018-02-13 21:44:06 +01:00
|
|
|
|
(version "6.0.0")
|
2015-01-24 18:05:03 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2017-04-17 14:25:34 +02:00
|
|
|
|
(uri (string-append "https://download.videolan.org/videolan/"
|
2015-01-24 18:05:03 +01:00
|
|
|
|
name "/" version "/"
|
|
|
|
|
name "-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-02-13 21:44:06 +01:00
|
|
|
|
"062njcksmpgw9yv3737qkf93r2pzhaxi9szqjabpa8d010dp38ph"))))
|
2015-01-24 18:05:03 +01:00
|
|
|
|
(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 10:39:10 +01:00
|
|
|
|
(define-public libdvdcss
|
|
|
|
|
(package
|
|
|
|
|
(name "libdvdcss")
|
2018-03-23 17:53:49 +01:00
|
|
|
|
(version "1.4.2")
|
2015-03-06 10:39:10 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2017-04-17 14:25:34 +02:00
|
|
|
|
(uri (string-append "https://download.videolan.org/pub/"
|
2015-03-06 10:39:10 +01:00
|
|
|
|
name "/" version "/"
|
|
|
|
|
name "-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-03-23 17:53:49 +01:00
|
|
|
|
"0x957zzpf4w2cp8zlk29prj8i2q6hay3lzdzsyz8y3cwxivyvhkq"))))
|
2015-03-06 10:39:10 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2017-04-17 14:25:34 +02:00
|
|
|
|
(home-page "https://www.videolan.org/developers/libdvdcss.html")
|
2015-03-06 10:39:10 +01:00
|
|
|
|
(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
|
2017-08-28 01:38:50 +02:00
|
|
|
|
"https://files.dthompson.us/srt2vtt/srt2vtt-"
|
2015-02-07 23:17:39 +01:00
|
|
|
|
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.")
|
2018-06-29 20:44:38 +02:00
|
|
|
|
(home-page "https://dthompson.us/projects/srt2vtt.html")
|
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")
|
2016-06-15 21:59:26 +02:00
|
|
|
|
(version "2.6.12")
|
2015-02-23 22:59:20 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2016-07-21 08:35:30 +02:00
|
|
|
|
"mirror://sourceforge/" name "/" name "/" version "/"
|
|
|
|
|
name "_" version ".tar.gz"))
|
2015-02-23 22:59:20 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-06-15 21:59:26 +02:00
|
|
|
|
"0nz52yih8sff53inndkh2dba759xjzsh4b8xjww419lcpk0qp6kn"))
|
2016-04-08 14:18:13 +02:00
|
|
|
|
(patches (search-patches "avidemux-install-to-lib.patch"))))
|
2015-02-23 22:59:20 +01:00
|
|
|
|
(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)
|
|
|
|
|
("jack" ,jack-1)
|
|
|
|
|
("lame" ,lame)
|
2016-06-16 14:42:16 +02:00
|
|
|
|
("libva" ,libva)
|
|
|
|
|
("libvdpau" ,libvdpau)
|
2015-02-23 22:59:20 +01:00
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("libvpx" ,libvpx)
|
|
|
|
|
("libxv" ,libxv)
|
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("pulseaudio" ,pulseaudio)
|
|
|
|
|
("python" ,python-wrapper)
|
2016-08-20 21:40:13 +02:00
|
|
|
|
("qt" ,qt) ; FIXME: reenable modular qt after update - requires building
|
|
|
|
|
;("qtbase" ,qtbase) with -std=gnu++11.
|
|
|
|
|
;("qttools" ,qttools)
|
2015-02-23 22:59:20 +01:00
|
|
|
|
("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.
|
2016-06-16 14:53:32 +02:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'patch-source-shebangs 'unpack-ffmpeg
|
2015-02-23 22:59:20 +01:00
|
|
|
|
(lambda _
|
|
|
|
|
(with-directory-excursion "avidemux_core/ffmpeg_package"
|
2016-06-16 14:53:32 +02:00
|
|
|
|
(system* "tar" "xf" "ffmpeg-2.7.6.tar.bz2")
|
|
|
|
|
(delete-file "ffmpeg-2.7.6.tar.bz2"))))
|
|
|
|
|
(add-after 'patch-source-shebangs 'repack-ffmpeg
|
2015-02-23 22:59:20 +01:00
|
|
|
|
(lambda _
|
|
|
|
|
(with-directory-excursion "avidemux_core/ffmpeg_package"
|
2016-06-15 21:59:26 +02:00
|
|
|
|
(substitute* "ffmpeg-2.7.6/configure"
|
2017-01-23 22:32:39 +01:00
|
|
|
|
(("#! /bin/sh") (string-append "#!" (which "sh"))))
|
2016-06-15 21:59:26 +02:00
|
|
|
|
(system* "tar" "cjf" "ffmpeg-2.7.6.tar.bz2" "ffmpeg-2.7.6"
|
2015-07-15 01:44:38 +02:00
|
|
|
|
;; avoid non-determinism in the archive
|
2015-09-03 18:51:47 +02:00
|
|
|
|
"--sort=name" "--mtime=@0"
|
|
|
|
|
"--owner=root:0" "--group=root:0")
|
2016-06-16 14:53:32 +02:00
|
|
|
|
(delete-file-recursively "ffmpeg-2.7.6"))))
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Copy-paste settings from the cmake build system.
|
|
|
|
|
(setenv "CMAKE_LIBRARY_PATH" (getenv "LIBRARY_PATH"))
|
|
|
|
|
(setenv "CMAKE_INCLUDE_PATH" (getenv "C_INCLUDE_PATH"))))
|
|
|
|
|
(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 #:optional (args '()))
|
|
|
|
|
(let ((builddir (string-append "build_" component)))
|
|
|
|
|
(mkdir builddir)
|
|
|
|
|
(with-directory-excursion builddir
|
|
|
|
|
(zero?
|
|
|
|
|
(and
|
2015-02-23 22:59:20 +01:00
|
|
|
|
(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)
|
2015-09-27 00:06:30 +02:00
|
|
|
|
"-DENABLE_QT5=True"
|
2015-02-23 22:59:20 +01:00
|
|
|
|
args)
|
2016-06-16 14:53:32 +02:00
|
|
|
|
(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 "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_settings" "avidemux_plugins"
|
|
|
|
|
'("-DPLUGIN_UI=SETTINGS")))
|
|
|
|
|
;; Remove .exe and .dll file.
|
|
|
|
|
(delete-file-recursively
|
|
|
|
|
(string-append out "/share/ADM6_addons")))))
|
|
|
|
|
(delete 'install))))
|
2015-02-23 22:59:20 +01:00
|
|
|
|
(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.")
|
2017-06-10 22:32:02 +02:00
|
|
|
|
(supported-systems '("x86_64-linux" "i686-linux" "armhf-linux"))
|
2015-02-23 22:59:20 +01:00
|
|
|
|
;; 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
|
|
|
|
|
2015-03-21 23:09:11 +01:00
|
|
|
|
(define-public vapoursynth
|
|
|
|
|
(package
|
|
|
|
|
(name "vapoursynth")
|
2017-03-21 21:36:33 +01:00
|
|
|
|
(version "37")
|
2015-03-21 23:09:11 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/vapoursynth/vapoursynth/archive/R"
|
|
|
|
|
version ".tar.gz"))
|
2016-10-29 19:45:29 +02:00
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
2015-03-21 23:09:11 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-03-21 21:36:33 +01:00
|
|
|
|
"1g3hc079jw4mz1cmkv2y28pdb556wqc8ql7iravgh1rg8j3f1zi5"))))
|
2015-03-21 23:09:11 +01:00
|
|
|
|
(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)
|
2016-05-29 13:52:15 +02:00
|
|
|
|
("tesseract-ocr" ,tesseract-ocr)
|
|
|
|
|
("zimg" ,zimg)))
|
2015-03-21 23:09:11 +01:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2018-06-21 18:26:57 +02:00
|
|
|
|
(add-after 'unpack 'autogen
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "sh" "autogen.sh"))))))
|
2015-03-21 23:09:11 +01:00
|
|
|
|
(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.")
|
2016-09-12 21:29:35 +02:00
|
|
|
|
;; src/core/cpufeatures only allows x86, ARM or PPC
|
2017-08-07 06:24:17 +02:00
|
|
|
|
(supported-systems (fold delete %supported-systems
|
|
|
|
|
'("mips64el-linux" "aarch64-linux")))
|
2015-03-21 23:09:11 +01:00
|
|
|
|
;; 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")
|
2016-02-21 09:55:07 +01:00
|
|
|
|
(version "1.3.4")
|
2015-03-06 11:50:40 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://downloads.xvid.org/downloads/xvidcore-"
|
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-02-21 09:55:07 +01:00
|
|
|
|
"1xwbmp9wqshc0ckm970zdpi0yvgqxlqg0s8bkz98mnr8p2067bsz"))))
|
2015-03-06 11:50:40 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs `(("yasm" ,yasm)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
2016-02-21 09:56:50 +01:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before
|
|
|
|
|
'configure 'pre-configure
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "build/generic")
|
|
|
|
|
(substitute* "configure"
|
|
|
|
|
(("#! /bin/sh") (string-append "#!" (which "sh")))))))
|
2015-03-06 11:50:40 +01:00
|
|
|
|
;; 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
|
|
|
|
|
2018-01-19 20:59:12 +01:00
|
|
|
|
(define-public streamlink
|
2018-06-24 08:48:04 +02:00
|
|
|
|
;; Release tarball doesn't contain ‘tests/resources/dash/’ directory.
|
|
|
|
|
(let ((commit "2dca7930a938f60b48d8e23260963ea7c49d979f"))
|
|
|
|
|
(package
|
|
|
|
|
(name "streamlink")
|
|
|
|
|
(version (git-version "0.13.0" "1" commit))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/streamlink/streamlink.git")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0vq19aspshim63aj8yl2p64ykrbk2mwwlawdx427b3j2djlc5qhw"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(home-page "https://github.com/streamlink/streamlink")
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python-freezegun" ,python-freezegun)
|
|
|
|
|
("python-pytest" ,python-pytest)
|
|
|
|
|
("python-mock" ,python-mock)
|
|
|
|
|
("python-requests-mock" ,python-requests-mock)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-pysocks" ,python-pysocks)
|
|
|
|
|
("python-websocket-client" ,python-websocket-client)
|
|
|
|
|
("python-iso3166" ,python-iso3166)
|
|
|
|
|
("python-iso639" ,python-iso639)
|
|
|
|
|
("python-isodate", python-isodate)
|
|
|
|
|
("python-pycryptodome" ,python-pycryptodome)
|
|
|
|
|
("python-requests" ,python-requests)
|
|
|
|
|
("python-urllib3" ,python-urllib3)))
|
|
|
|
|
(synopsis "Extract streams from various services")
|
|
|
|
|
(description "Streamlink is command-line utility that extracts streams
|
2018-01-19 20:59:12 +01:00
|
|
|
|
from sites like Twitch.tv and pipes them into a video player of choice.")
|
2018-06-24 08:48:04 +02:00
|
|
|
|
(license license:bsd-2))))
|
2018-01-19 20:59:12 +01:00
|
|
|
|
|
2018-01-25 00:06:32 +01:00
|
|
|
|
(define-public livestreamer
|
|
|
|
|
(deprecated-package "livestreamer" streamlink))
|
|
|
|
|
|
2018-03-25 20:42:38 +02:00
|
|
|
|
(define-public twitchy
|
|
|
|
|
(let ((commit "0c0f925b9c7ff2aed4a3b0046561cb794143c398")) ;Fixes tests.
|
|
|
|
|
(package
|
|
|
|
|
(name "twitchy")
|
|
|
|
|
(version (git-version "3.2" "1" commit))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/BasioMeusPuga/twitchy.git")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"02aizvsr744sh8bdqvwwsmp2qpczlzn8fy76h5dyd3517n9nlcz9"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'check 'check-setup
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "HOME" (getcwd)) ;Needs to write to ‘$HOME’.
|
2018-06-08 18:11:24 +02:00
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'install-rofi-plugin
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(install-file "plugins/rofi-twitchy"
|
|
|
|
|
(string-append (assoc-ref outputs "out")
|
|
|
|
|
"/bin")))))))
|
2018-03-25 20:42:38 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("python-requests" ,python-requests)
|
|
|
|
|
("streamlink" ,streamlink)))
|
|
|
|
|
(home-page "https://github.com/BasioMeusPuga/twitchy")
|
|
|
|
|
(synopsis "Command-line interface for Twitch.tv")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides a command-line interface for Twitch.tv")
|
|
|
|
|
(license license:gpl3+))))
|
|
|
|
|
|
2015-11-16 18:28:59 +01:00
|
|
|
|
(define-public mlt
|
|
|
|
|
(package
|
|
|
|
|
(name "mlt")
|
2016-12-20 18:03:17 +01:00
|
|
|
|
(version "6.4.1")
|
2015-11-16 18:28:59 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-05-09 01:26:12 +02:00
|
|
|
|
(uri (string-append "https://github.com/mltframework/mlt/"
|
|
|
|
|
"archive/v" version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
2015-11-16 18:28:59 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-02-20 19:44:47 +01:00
|
|
|
|
"10m3ry0b2pvqx3bk34qh5dq337nn8pkc2gzfyhsj4nv9abskln47"))
|
|
|
|
|
(modules '((guix build utils)))
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 12:47:34 +01:00
|
|
|
|
(snippet '(begin
|
|
|
|
|
;; As of glibc 2.26, <xlocale.h> no longer is.
|
|
|
|
|
(substitute* "src/framework/mlt_property.h"
|
2018-03-17 05:16:43 +01:00
|
|
|
|
(("xlocale\\.h") "locale.h"))
|
|
|
|
|
#t))))
|
2015-11-16 18:28:59 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no tests
|
|
|
|
|
#:make-flags '("CC=gcc")
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list "--enable-gpl3"
|
|
|
|
|
"--enable-gpl")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after
|
|
|
|
|
'configure 'override-LDFLAGS
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "config.mak"
|
|
|
|
|
(("LDFLAGS\\+=")
|
|
|
|
|
(string-append "LDFLAGS+=-Wl,-rpath="
|
|
|
|
|
(assoc-ref outputs "out")
|
|
|
|
|
"/lib ")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
2018-04-23 18:18:41 +02:00
|
|
|
|
("ffmpeg" ,ffmpeg-3.4)
|
2015-11-16 18:28:59 +01:00
|
|
|
|
("fftw" ,fftw)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("jack" ,jack-1)
|
|
|
|
|
("ladspa" ,ladspa)
|
|
|
|
|
("libsamplerate" ,libsamplerate)
|
2016-05-09 01:26:12 +02:00
|
|
|
|
("pulseaudio" ,pulseaudio)
|
2015-11-16 18:28:59 +01:00
|
|
|
|
("sdl" ,sdl)
|
|
|
|
|
("sox" ,sox)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
2016-05-09 01:26:12 +02:00
|
|
|
|
(home-page "https://www.mltframework.org/")
|
2015-11-16 18:28:59 +01:00
|
|
|
|
(synopsis "Author, manage, and run multitrack audio/video compositions")
|
|
|
|
|
(description
|
|
|
|
|
"MLT is a multimedia framework, designed and developed for television
|
|
|
|
|
broadcasting. It provides a toolkit for broadcasters, video editors, media
|
|
|
|
|
players, transcoders, web streamers and many more types of applications. The
|
|
|
|
|
functionality of the system is provided via an assortment of ready to use
|
|
|
|
|
tools, XML authoring components, and an extensible plug-in based API.")
|
2017-12-28 07:36:15 +01:00
|
|
|
|
(license license:gpl3)))
|
2015-12-17 19:36:42 +01:00
|
|
|
|
|
2016-01-20 04:11:16 +01:00
|
|
|
|
(define-public v4l-utils
|
|
|
|
|
(package
|
|
|
|
|
(name "v4l-utils")
|
2017-05-21 17:04:59 +02:00
|
|
|
|
(version "1.12.5")
|
2016-01-20 04:11:16 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-05-09 01:10:32 +02:00
|
|
|
|
(uri (string-append "https://linuxtv.org/downloads/v4l-utils"
|
2016-01-20 04:11:16 +01:00
|
|
|
|
"/v4l-utils-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-05-21 17:04:59 +02:00
|
|
|
|
"03g2b4rivrilimcp57mwrlsa3qvrxmk4sza08mygwmqbvcnic606"))))
|
2016-01-20 04:11:16 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags
|
|
|
|
|
(list (string-append "--with-udevdir="
|
|
|
|
|
(assoc-ref %outputs "out")
|
2016-08-20 21:37:34 +02:00
|
|
|
|
"/lib/udev")
|
|
|
|
|
"CXXFLAGS=-std=gnu++11")))
|
2016-01-20 04:11:16 +01:00
|
|
|
|
(native-inputs
|
2017-04-17 14:31:39 +02:00
|
|
|
|
`(("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
2016-01-20 04:11:16 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("glu" ,glu)
|
|
|
|
|
("libjpeg" ,libjpeg)
|
|
|
|
|
("libx11" ,libx11)
|
2016-06-16 05:17:52 +02:00
|
|
|
|
("qtbase" ,qtbase)
|
2016-01-20 04:11:16 +01:00
|
|
|
|
("eudev" ,eudev)))
|
|
|
|
|
(synopsis "Realtime video capture utilities for Linux")
|
|
|
|
|
(description "The v4l-utils provide a series of libraries and utilities to
|
|
|
|
|
be used for realtime video capture via Linux-specific APIs.")
|
|
|
|
|
(home-page "https://linuxtv.org/wiki/index.php/V4l-utils")
|
|
|
|
|
;; libv4l2 is LGPL2.1+, while utilities are GPL2 only.
|
|
|
|
|
(license (list license:lgpl2.1+ license:gpl2))))
|
|
|
|
|
|
2015-12-17 19:36:42 +01:00
|
|
|
|
(define-public obs
|
|
|
|
|
(package
|
|
|
|
|
(name "obs")
|
2018-01-03 01:08:11 +01:00
|
|
|
|
(version "20.1.3")
|
2015-12-17 19:36:42 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/jp9000/obs-studio"
|
|
|
|
|
"/archive/" version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-01-03 01:08:11 +01:00
|
|
|
|
"1g5z6z050v25whc7n3xvg6l238wmg5crp7ihvk73qngvzxr8bg28"))))
|
2015-12-17 19:36:42 +01:00
|
|
|
|
(build-system cmake-build-system)
|
2016-07-12 16:45:13 +02:00
|
|
|
|
(arguments
|
2017-04-23 21:16:46 +02:00
|
|
|
|
`(#:tests? #f)) ; no tests
|
2015-12-17 19:36:42 +01:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
2017-01-19 21:54:25 +01:00
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("curl" ,curl)
|
2015-12-17 19:36:42 +01:00
|
|
|
|
("eudev" ,eudev)
|
|
|
|
|
("ffmpeg" ,ffmpeg)
|
2017-01-19 21:54:25 +01:00
|
|
|
|
("fontconfig" ,fontconfig)
|
2015-12-17 19:36:42 +01:00
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("jack" ,jack-1)
|
|
|
|
|
("jansson" ,jansson)
|
|
|
|
|
("libx264" ,libx264)
|
|
|
|
|
("libxcomposite" ,libxcomposite)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("pulseaudio" ,pulseaudio)
|
2016-06-16 04:36:09 +02:00
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtx11extras" ,qtx11extras)
|
2017-01-19 21:54:25 +01:00
|
|
|
|
("speex" ,speex)
|
2016-01-20 04:11:35 +01:00
|
|
|
|
("v4l-utils" ,v4l-utils)
|
2015-12-17 19:36:42 +01:00
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(synopsis "Live streaming software")
|
|
|
|
|
(description "Open Broadcaster Software provides a graphical interface for
|
|
|
|
|
video recording and live streaming. OBS supports capturing audio and video
|
|
|
|
|
from many input sources such as webcams, X11 (for screencasting), PulseAudio,
|
|
|
|
|
and JACK.")
|
|
|
|
|
(home-page "https://obsproject.com")
|
2017-04-23 21:16:46 +02:00
|
|
|
|
(supported-systems '("x86_64-linux" "i686-linux"))
|
2015-12-17 19:36:42 +01:00
|
|
|
|
(license license:gpl2+)))
|
2015-12-21 14:53:59 +01:00
|
|
|
|
|
|
|
|
|
(define-public libvdpau
|
|
|
|
|
(package
|
|
|
|
|
(name "libvdpau")
|
|
|
|
|
(version "1.1.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://secure.freedesktop.org/~aplattner/vdpau/"
|
|
|
|
|
name "-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0dnpb0yh7v6rvckx82kxg045rd9rbsw25wjv7ad5n8h94s9h2yl5"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
2018-03-10 13:55:07 +01:00
|
|
|
|
`(("libx11" ,libx11 "out")
|
|
|
|
|
("libxext" ,libxext)
|
|
|
|
|
("xorgproto" ,xorgproto)))
|
2015-12-21 14:53:59 +01:00
|
|
|
|
(home-page "https://wiki.freedesktop.org/www/Software/VDPAU/")
|
|
|
|
|
(synopsis "Video Decode and Presentation API")
|
|
|
|
|
(description "VDPAU is the Video Decode and Presentation API for UNIX. It
|
|
|
|
|
provides an interface to video decode acceleration and presentation hardware
|
|
|
|
|
present in modern GPUs.")
|
|
|
|
|
(license (license:x11-style "file://COPYING"))))
|
2015-12-21 15:06:30 +01:00
|
|
|
|
|
|
|
|
|
(define-public vdpauinfo
|
|
|
|
|
(package
|
|
|
|
|
(name "vdpauinfo")
|
|
|
|
|
(version "1.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://secure.freedesktop.org/~aplattner/vdpau/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1i2b0k9h8r0lnxlrkgqzmrjakgaw3f1ygqqwzx8w6676g85rcm20"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("libx11" ,libx11)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("libvdpau" ,libvdpau)))
|
|
|
|
|
(home-page "https://wiki.freedesktop.org/www/Software/VDPAU/")
|
|
|
|
|
(synopsis "Tool to query the capabilities of a VDPAU implementation")
|
|
|
|
|
(description "Vdpauinfo is a tool to query the capabilities of a VDPAU
|
|
|
|
|
implementation.")
|
|
|
|
|
(license (license:x11-style "file://COPYING"))))
|
2016-04-17 17:36:43 +02:00
|
|
|
|
|
2017-12-12 20:44:49 +01:00
|
|
|
|
(define-public libvdpau-va-gl
|
|
|
|
|
(package
|
|
|
|
|
(name "libvdpau-va-gl")
|
|
|
|
|
(version "0.4.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/i-rinat/libvdpau-va-gl/"
|
|
|
|
|
"releases/download/v" version "/libvdpau-va-gl-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1x2ag1f2fwa4yh1g5spv99w9x1m33hbxlqwyhm205ssq0ra234bx"))
|
|
|
|
|
(patches (search-patches "libvdpau-va-gl-unbundle.patch"))
|
|
|
|
|
(modules '((guix build utils)))
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 12:47:34 +01:00
|
|
|
|
(snippet '(begin (delete-file-recursively "3rdparty")
|
|
|
|
|
#t))))
|
2017-12-12 20:44:49 +01:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f)) ; Tests require a running X11 server, with VA-API support.
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("libvdpau" ,libvdpau)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libva" ,libva)
|
|
|
|
|
("mesa" ,mesa)))
|
|
|
|
|
(home-page "https://github.com/i-rinat/libvdpau-va-gl")
|
|
|
|
|
(synopsis "VDPAU driver with VA-API/OpenGL backend")
|
|
|
|
|
(description
|
|
|
|
|
"Many applications can use VDPAU to accelerate portions of the video
|
|
|
|
|
decoding process and video post-processing to the GPU video hardware. Since
|
|
|
|
|
there is no VDPAU available on Intel chips, they fall back to different drawing
|
|
|
|
|
techniques. This driver uses OpenGL under the hood to accelerate drawing and
|
|
|
|
|
scaling and VA-API (if available) to accelerate video decoding.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2016-04-17 17:36:43 +02:00
|
|
|
|
(define-public recordmydesktop
|
|
|
|
|
(package
|
|
|
|
|
(name "recordmydesktop")
|
|
|
|
|
(version "0.3.8.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/" name "/" name "/"
|
|
|
|
|
version "/recordmydesktop-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"133kkl5j0r877d41bzj7kj0vf3xm8x80yyx2n8nqxrva304f58ik"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("popt" ,popt)
|
|
|
|
|
("zlib" ,zlib)
|
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("libice" ,libice)
|
|
|
|
|
("libsm" ,libsm)
|
|
|
|
|
("libxfixes" ,libxfixes)
|
|
|
|
|
("libxdamage" ,libxdamage)
|
|
|
|
|
("libxext" ,libxext)
|
2016-08-02 22:11:46 +02:00
|
|
|
|
("alsa-lib" ,alsa-lib)
|
2016-04-17 17:36:43 +02:00
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("libtheora" ,libtheora)))
|
|
|
|
|
(home-page "http://recordmydesktop.sourceforge.net/")
|
|
|
|
|
(synopsis "Desktop session video recorder")
|
|
|
|
|
(description
|
|
|
|
|
"recordMyDesktop is a command-line tool that captures the activity in
|
|
|
|
|
your graphical desktop and encodes it as a video. This is a useful tool for
|
|
|
|
|
making @dfn{screencasts}.")
|
|
|
|
|
(license license:gpl2+)))
|
2016-07-29 23:01:51 +02:00
|
|
|
|
|
2017-07-10 17:25:26 +02:00
|
|
|
|
(define-public simplescreenrecorder
|
|
|
|
|
(package
|
|
|
|
|
(name "simplescreenrecorder")
|
2018-05-23 04:48:54 +02:00
|
|
|
|
(version "0.3.11")
|
2017-07-10 17:25:26 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/MaartenBaert/ssr/archive/"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-05-23 04:48:54 +02:00
|
|
|
|
"0l6irdadqpajvv0dj3ngs1231n559l0y1pykhs2h7526qm4w7xal"))))
|
2018-01-26 05:00:51 +01:00
|
|
|
|
(build-system cmake-build-system)
|
2017-07-10 17:25:26 +02:00
|
|
|
|
;; Although libx11, libxfixes, libxext are listed as build dependencies in
|
|
|
|
|
;; README.md, the program builds and functions properly without them.
|
|
|
|
|
;; As a result, they are omitted. Please add them back if problems appear.
|
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
2018-05-23 04:48:54 +02:00
|
|
|
|
("ffmpeg" ,ffmpeg)
|
2017-07-10 17:25:26 +02:00
|
|
|
|
("glu" ,glu)
|
|
|
|
|
("jack" ,jack-1)
|
|
|
|
|
("libxi" ,libxi)
|
|
|
|
|
("pulseaudio" ,pulseaudio)
|
2018-01-26 05:00:51 +01:00
|
|
|
|
("qt" ,qt)))
|
2017-07-10 17:25:26 +02:00
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
2018-01-26 05:00:51 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list "-DWITH_QT5=TRUE")
|
|
|
|
|
#:tests? #f)) ; no test suite
|
2017-07-10 17:25:26 +02:00
|
|
|
|
;; Using HTTPS causes part of the page to be displayed improperly.
|
|
|
|
|
(home-page "http://www.maartenbaert.be/simplescreenrecorder/")
|
|
|
|
|
(synopsis "Screen recorder")
|
|
|
|
|
(description "SimpleScreenRecorder is an easy to use screen recorder with
|
|
|
|
|
a graphical user interface. It supports recording the entire screen, or a
|
|
|
|
|
part of it, and allows encoding in many different codecs and file formats.
|
|
|
|
|
Other features include a live preview and live streaming.")
|
|
|
|
|
(license (list license:gpl3+ ; most files
|
|
|
|
|
license:zlib ; glinject/elfhacks.*
|
|
|
|
|
license:isc ; glinject/*
|
|
|
|
|
license:x11)))) ; build-aux/install-sh
|
|
|
|
|
|
2016-07-29 23:01:51 +02:00
|
|
|
|
(define-public libsmpeg
|
|
|
|
|
(package
|
|
|
|
|
(name "libsmpeg")
|
|
|
|
|
(version "0.4.5")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method svn-fetch)
|
|
|
|
|
(uri (svn-reference
|
|
|
|
|
(url "svn://svn.icculus.org/smpeg/trunk/")
|
|
|
|
|
(revision 401))) ; last revision before smpeg2 (for SDL 2.0)
|
2017-04-24 09:30:21 +02:00
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
2016-07-29 23:01:51 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"18yfkr70lr1x1hc8snn2ldnbzdcc7b64xmkqrfk8w59gpg7sl1xn"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2018-06-21 18:27:54 +02:00
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'autogen.sh
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "sh" "autogen.sh"))))))
|
2016-07-29 23:01:51 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("sdl" ,sdl2)))
|
|
|
|
|
(home-page "http://icculus.org/smpeg/")
|
|
|
|
|
(synopsis "SDL MPEG decoding library")
|
|
|
|
|
(description
|
|
|
|
|
"SMPEG (SDL MPEG Player Library) is a free MPEG1 video player library
|
|
|
|
|
with sound support. Video playback is based on the ubiquitous Berkeley MPEG
|
|
|
|
|
player, mpeg_play v2.2. Audio is played through a slightly modified mpegsound
|
|
|
|
|
library, part of splay v0.8.2. SMPEG supports MPEG audio (MP3), MPEG-1 video,
|
|
|
|
|
and MPEG system streams.")
|
|
|
|
|
(license (list license:expat
|
|
|
|
|
license:lgpl2.1
|
|
|
|
|
license:lgpl2.1+
|
|
|
|
|
license:gpl2))))
|
2016-09-09 21:52:24 +02:00
|
|
|
|
|
|
|
|
|
(define-public libbdplus
|
|
|
|
|
(package
|
|
|
|
|
(name "libbdplus")
|
|
|
|
|
(version "0.1.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2017-07-13 03:56:12 +02:00
|
|
|
|
(uri (string-append "https://ftp.videolan.org/pub/videolan/libbdplus/"
|
2016-09-09 21:52:24 +02:00
|
|
|
|
version "/" name "-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "02n87lysqn4kg2qk7d1ffrp96c44zkdlxdj0n16hbgrlrpiwlcd6"))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libgcrypt" ,libgcrypt)))
|
|
|
|
|
(build-system gnu-build-system)
|
2017-04-17 14:25:34 +02:00
|
|
|
|
(home-page "https://www.videolan.org/developers/libbdplus.html")
|
2016-09-09 21:52:24 +02:00
|
|
|
|
(synopsis "Library for decrypting certain Blu-Ray discs")
|
|
|
|
|
(description "libbdplus is a library which implements the BD+ System
|
|
|
|
|
specifications.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
2016-09-09 21:52:25 +02:00
|
|
|
|
|
|
|
|
|
(define-public libaacs
|
|
|
|
|
(package
|
|
|
|
|
(name "libaacs")
|
2017-05-21 16:48:55 +02:00
|
|
|
|
(version "0.9.0")
|
2016-09-09 21:52:25 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2017-07-13 03:56:39 +02:00
|
|
|
|
(uri (string-append "https://ftp.videolan.org/pub/videolan/libaacs/"
|
2016-09-09 21:52:25 +02:00
|
|
|
|
version "/" name "-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
2017-05-21 16:48:55 +02:00
|
|
|
|
(base32 "1kms92i0c7i1yl659kqjf19lm8172pnpik5lsxp19xphr74vvq27"))))
|
2016-09-09 21:52:25 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("libgcrypt" ,libgcrypt)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("bison" ,bison)
|
|
|
|
|
("flex" ,flex)))
|
|
|
|
|
(build-system gnu-build-system)
|
2017-04-17 14:25:34 +02:00
|
|
|
|
(home-page "https://www.videolan.org/developers/libaacs.html")
|
2016-09-09 21:52:25 +02:00
|
|
|
|
(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+)))
|
2016-11-04 20:23:02 +01:00
|
|
|
|
|
|
|
|
|
(define-public mps-youtube
|
|
|
|
|
(package
|
|
|
|
|
(name "mps-youtube")
|
2018-05-05 16:18:24 +02:00
|
|
|
|
(version "0.2.8")
|
2016-11-04 20:23:02 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/mps-youtube/mps-youtube/"
|
|
|
|
|
"archive/v" version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-05-05 16:18:24 +02:00
|
|
|
|
"0x7cmfh199q9j396v7bz81nnvanfllhsg86489i5dw2p3yyc9wnm"))))
|
2016-11-04 20:23:02 +01:00
|
|
|
|
(build-system python-build-system)
|
2016-11-16 13:27:57 +01:00
|
|
|
|
(arguments
|
|
|
|
|
;; Tests need to be disabled until #556 upstream is fixed. It reads as if the
|
|
|
|
|
;; test suite results differ depending on the country and also introduce
|
|
|
|
|
;; non-determinism in the tests.
|
|
|
|
|
;; https://github.com/mps-youtube/mps-youtube/issues/556
|
|
|
|
|
`(#:tests? #f))
|
2016-11-04 20:23:02 +01:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-pafy" ,python-pafy)
|
|
|
|
|
("python-pygobject" ,python-pygobject))) ; For mpris2 support
|
|
|
|
|
(home-page "https://github.com/mps-youtube/mps-youtube")
|
|
|
|
|
(synopsis "Terminal based YouTube player and downloader")
|
|
|
|
|
(description
|
|
|
|
|
"@code{mps-youtube} is based on mps, a terminal based program to
|
|
|
|
|
search, stream and download music. This implementation uses YouTube as
|
|
|
|
|
a source of content and can play and download video as well as audio.
|
|
|
|
|
It can use either mpv or mplayer for playback, and for conversion of
|
|
|
|
|
formats ffmpeg or libav is used. Users should install one of the
|
|
|
|
|
supported players in addition to this package.")
|
|
|
|
|
(license license:gpl3+)))
|
2015-12-26 03:29:09 +01:00
|
|
|
|
|
|
|
|
|
(define-public handbrake
|
|
|
|
|
(package
|
|
|
|
|
(name "handbrake")
|
|
|
|
|
(version "0.10.5")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://handbrake.fr/rotation.php?file="
|
|
|
|
|
"HandBrake-" version ".tar.bz2"))
|
|
|
|
|
(file-name (string-append "handbrake-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1w720y3bplkz187wgvy4a4xm0vpppg45mlni55l6yi8v2bfk14pv"))
|
|
|
|
|
(patches (search-patches "handbrake-pkg-config-path.patch"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; Remove bundled libraries and source not necessary for
|
|
|
|
|
;; running under a GNU environment.
|
|
|
|
|
'(begin
|
|
|
|
|
(for-each delete-file-recursively '("contrib" "macosx" "win"))
|
|
|
|
|
#t))))
|
|
|
|
|
(build-system glib-or-gtk-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("automake" ,automake) ;gui subpackage must be bootstrapped
|
|
|
|
|
("autoconf" ,autoconf)
|
|
|
|
|
("curl" ,curl) ;not actually used, but tested for
|
|
|
|
|
("intltool" ,intltool)
|
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("python" ,python-2))) ;for configuration
|
|
|
|
|
(inputs
|
|
|
|
|
`(("bzip2" ,bzip2)
|
|
|
|
|
("dbus-glib" ,dbus-glib)
|
|
|
|
|
("ffmpeg" ,ffmpeg)
|
|
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("glib" ,glib)
|
|
|
|
|
("gstreamer" ,gstreamer)
|
|
|
|
|
("gst-plugins-base" ,gst-plugins-base)
|
|
|
|
|
("gtk+" ,gtk+)
|
|
|
|
|
("lame" ,lame)
|
|
|
|
|
("libass" ,libass)
|
|
|
|
|
("libbluray" ,libbluray)
|
|
|
|
|
("libdvdnav" ,libdvdnav)
|
|
|
|
|
("libdvdread" ,libdvdread)
|
|
|
|
|
("libgudev" ,libgudev)
|
|
|
|
|
("libmpeg2" ,libmpeg2)
|
|
|
|
|
("libnotify" ,libnotify)
|
|
|
|
|
("libogg" ,libogg)
|
|
|
|
|
("libsamplerate" ,libsamplerate)
|
|
|
|
|
("libtheora" ,libtheora)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("libvpx" ,libvpx)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("libx264" ,libx264)
|
|
|
|
|
("x265" ,x265)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;tests require Ruby and claim to be unsupported
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2018-03-11 21:46:30 +01:00
|
|
|
|
(replace 'bootstrap
|
2015-12-26 03:29:09 +01:00
|
|
|
|
;; Run bootstrap ahead of time so that shebangs get patched.
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "CONFIG_SHELL" (which "sh"))
|
|
|
|
|
(setenv "NOCONFIGURE" "1")
|
|
|
|
|
;; Patch the Makefile so that it doesn't bootstrap again.
|
|
|
|
|
(substitute* "gtk/module.rules"
|
|
|
|
|
((".*autogen\\.sh.*") ""))
|
2018-06-21 18:41:45 +02:00
|
|
|
|
(invoke "sh" "./gtk/autogen.sh")))
|
2015-12-26 03:29:09 +01:00
|
|
|
|
(add-before 'configure 'disable-contrib
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "make/include/main.defs"
|
|
|
|
|
;; Disable unconditional inclusion of some "contrib"
|
|
|
|
|
;; libraries (ffmpeg, libvpx, libdvdread, libdvdnav,
|
|
|
|
|
;; and libbluray), which would lead to fetching and
|
|
|
|
|
;; building of these libraries. Use our own instead.
|
|
|
|
|
(("MODULES \\+= contrib") "# MODULES += contrib"))
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'configure 'fix-x265-linking
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "test/module.defs"
|
|
|
|
|
;; Fix missing library during linking error
|
|
|
|
|
(("TEST.GCC.l =") "TEST.GCC.l = x265"))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs configure-flags #:allow-other-keys)
|
|
|
|
|
;; 'configure' is not an autoconf-generated script, and
|
|
|
|
|
;; errors on unrecognized arguments,
|
|
|
|
|
;; e.g. --enable-fast-install
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
2018-06-21 18:41:45 +02:00
|
|
|
|
(apply invoke "./configure"
|
|
|
|
|
(string-append "--prefix=" out)
|
|
|
|
|
(or configure-flags '())))))
|
2015-12-26 03:29:09 +01:00
|
|
|
|
(add-after 'configure 'chdir-build
|
|
|
|
|
(lambda _ (chdir "./build") #t)))))
|
|
|
|
|
(home-page "https://handbrake.fr")
|
|
|
|
|
(synopsis "Video transcoder")
|
|
|
|
|
(description
|
|
|
|
|
"HandBrake is a tool for converting video from any format to a selection
|
|
|
|
|
of modern, widely supported codecs.")
|
|
|
|
|
;; Most under GPL version 2 or later, and portions under BSD 3 Clause
|
|
|
|
|
(license (list license:gpl2+ license:bsd-3))))
|
2016-06-18 22:40:51 +02:00
|
|
|
|
|
|
|
|
|
(define-public openh264
|
|
|
|
|
(package
|
|
|
|
|
(name "openh264")
|
2017-07-20 01:34:37 +02:00
|
|
|
|
(version "1.7.0")
|
2016-06-18 22:40:51 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/cisco/"
|
|
|
|
|
name "/archive/v" version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-07-20 01:34:37 +02:00
|
|
|
|
"0gv571bqkxk7ic64dmavs1q8nr7p59mcf4ibqp4lc070gn6w61ww"))))
|
2016-06-18 22:40:51 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("nasm" ,nasm)
|
|
|
|
|
("python" ,python)))
|
|
|
|
|
(arguments
|
2017-06-29 10:44:25 +02:00
|
|
|
|
'(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
|
|
|
|
"CC=gcc")
|
2016-06-18 22:40:51 +02:00
|
|
|
|
#:test-target "test"
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
;; no configure script
|
|
|
|
|
(delete 'configure))))
|
|
|
|
|
(home-page "http://www.openh264.org/")
|
|
|
|
|
(synopsis "H264 decoder library")
|
|
|
|
|
(description
|
|
|
|
|
"Openh264 is a library which can decode H264 video streams.")
|
|
|
|
|
(license license:bsd-2)))
|
2017-02-09 14:37:00 +01:00
|
|
|
|
|
|
|
|
|
(define-public libmp4v2
|
|
|
|
|
(package
|
|
|
|
|
(name "libmp4v2")
|
|
|
|
|
(version "2.0.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
;; XXX: The new location of upstream is uncertain and will become relevant the
|
|
|
|
|
;; moment when the googlecode archive shuts down. It is past the date it
|
|
|
|
|
;; should've been turned off. I tried to communicate with upstream, but this
|
|
|
|
|
;; wasn't very responsive and not very helpful. The short summary is, it is
|
|
|
|
|
;; chaos when it comes to the amount of forks and only time will tell where
|
|
|
|
|
;; the new upstream location is.
|
|
|
|
|
(uri (string-append "https://storage.googleapis.com/google-"
|
|
|
|
|
"code-archive-downloads/v2/"
|
|
|
|
|
"code.google.com/mp4v2/mp4v2-" version ".tar.bz2"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0f438bimimsvxjbdp4vsr8hjw2nwggmhaxgcw07g2z361fkbj683"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(outputs '("out"
|
|
|
|
|
"static")) ; 3.7MiB .a file
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'remove-dates
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Make the build reproducible.
|
|
|
|
|
(substitute* "configure"
|
|
|
|
|
(("PROJECT_build=\"`date`\"") "PROJECT_build=\"\"")
|
|
|
|
|
(("ac_abs_top_builddir=$ac_pwd") "ac_abs_top_builddir=\"\""))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'move-static-libraries
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Move static libraries to the "static" output.
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(lib (string-append out "/lib"))
|
|
|
|
|
(static (assoc-ref outputs "static"))
|
|
|
|
|
(slib (string-append static "/lib")))
|
|
|
|
|
(mkdir-p slib)
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(install-file file slib)
|
|
|
|
|
(delete-file file))
|
|
|
|
|
(find-files lib "\\.a$"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("help2man" ,help2man)
|
|
|
|
|
("dejagnu" ,dejagnu)))
|
|
|
|
|
(home-page "https://code.google.com/archive/p/mp4v2/")
|
|
|
|
|
(synopsis "API to create and modify mp4 files")
|
|
|
|
|
(description
|
|
|
|
|
"The MP4v2 library provides an API to create and modify mp4 files as defined by
|
|
|
|
|
ISO-IEC:14496-1:2001 MPEG-4 Systems. This file format is derived from Apple's QuickTime
|
|
|
|
|
file format that has been used as a multimedia file format in a variety of platforms and
|
|
|
|
|
applications. It is a very powerful and extensible format that can accommodate
|
|
|
|
|
practically any type of media.")
|
|
|
|
|
(license license:mpl1.1)))
|
2017-05-27 17:19:23 +02:00
|
|
|
|
|
|
|
|
|
(define-public libmediainfo
|
|
|
|
|
(package
|
|
|
|
|
(name "libmediainfo")
|
|
|
|
|
(version "0.7.95")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://mediaarea.net/download/source/"
|
|
|
|
|
name "/" version"/"
|
|
|
|
|
name "_" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1kchh6285b07z5nixv619hc9gml2ysdayicdiv30frrlqiyxqw4b"))))
|
|
|
|
|
;; TODO add a Big Buck Bunny webm for tests.
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("zlib" ,zlib)
|
|
|
|
|
("tinyxml2" ,tinyxml2)
|
|
|
|
|
("curl" ,curl)
|
|
|
|
|
("libzen" ,libzen)))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f ; see above TODO
|
|
|
|
|
#:phases
|
|
|
|
|
;; build scripts not in root of archive
|
|
|
|
|
(modify-phases %standard-phases
|
2017-09-05 20:25:24 +02:00
|
|
|
|
(add-after 'unpack 'change-to-build-dir
|
2017-05-27 17:19:23 +02:00
|
|
|
|
(lambda _
|
2017-09-05 20:25:24 +02:00
|
|
|
|
(chdir "Project/GNU/Library")
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'change-to-build-dir 'autogen
|
2017-05-27 17:19:23 +02:00
|
|
|
|
(lambda _
|
2018-06-21 19:06:40 +02:00
|
|
|
|
(invoke "sh" "autogen.sh"))))))
|
2017-05-27 17:19:23 +02:00
|
|
|
|
(home-page "https://mediaarea.net/en/MediaInfo")
|
|
|
|
|
(synopsis "Library for retrieving media metadata")
|
|
|
|
|
(description "MediaInfo is a library used for retrieving technical
|
|
|
|
|
information and other metadata about audio or video files. A non-exhaustive
|
|
|
|
|
list of the information MediaInfo can retrieve from media files include:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item General: title, author, director, album, track number, date, duration...
|
|
|
|
|
@item Video: codec, aspect, fps, bitrate...
|
|
|
|
|
@item Audio: codec, sample rate, channels, language, bitrate...
|
|
|
|
|
@item Text: language of subtitle
|
|
|
|
|
@item Chapters: number of chapters, list of chapters
|
|
|
|
|
@end itemize
|
|
|
|
|
|
|
|
|
|
MediaInfo supports the following formats:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item Video: MKV, OGM, AVI, DivX, WMV, QuickTime, Real, MPEG-1,
|
|
|
|
|
MPEG-2, MPEG-4, DVD (VOB)...
|
|
|
|
|
@item Video Codecs: DivX, XviD, MSMPEG4, ASP, H.264, AVC...)
|
|
|
|
|
@item Audio: OGG, MP3, WAV, RA, AC3, DTS, AAC, M4A, AU, AIFF...
|
|
|
|
|
@item Subtitles: SRT, SSA, ASS, SAMI...
|
|
|
|
|
@end itemize\n")
|
|
|
|
|
(license license:bsd-2)))
|
|
|
|
|
|
2017-05-27 17:42:46 +02:00
|
|
|
|
;; TODO also have a GUI version available
|
|
|
|
|
(define-public mediainfo
|
|
|
|
|
(package
|
|
|
|
|
(name "mediainfo")
|
|
|
|
|
(version "0.7.95")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://mediaarea.net/download/source/"
|
|
|
|
|
name "/" version "/"
|
|
|
|
|
name "_" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0dy51a3i79jppmg1gi4f6h7jx4hcgnkmfim4d7d3gmnlbkjh8anv"))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("zlib" ,zlib)
|
2018-03-16 16:50:14 +01:00
|
|
|
|
("libmediainfo" ,libmediainfo)
|
2017-05-27 17:42:46 +02:00
|
|
|
|
("libzen" ,libzen)))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f ; lacks tests
|
|
|
|
|
#:phases
|
|
|
|
|
;; build scripts not in root of archive
|
|
|
|
|
(modify-phases %standard-phases
|
2017-11-07 12:47:20 +01:00
|
|
|
|
(add-after 'unpack 'change-to-build-dir
|
2017-05-27 17:42:46 +02:00
|
|
|
|
(lambda _
|
2017-11-07 12:47:20 +01:00
|
|
|
|
(chdir "Project/GNU/CLI")
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'change-to-build-dir 'autogen
|
2017-05-27 17:42:46 +02:00
|
|
|
|
(lambda _
|
2018-06-21 19:10:37 +02:00
|
|
|
|
(invoke "sh" "autogen.sh"))))))
|
2017-05-27 17:42:46 +02:00
|
|
|
|
(home-page "https://mediaarea.net/en/MediaInfo")
|
|
|
|
|
(synopsis "Utility for reading media metadata")
|
|
|
|
|
(description "MediaInfo is a utility used for retrieving technical
|
|
|
|
|
information and other metadata about audio or video files. It supports the
|
|
|
|
|
many codecs and formats supported by libmediainfo.")
|
|
|
|
|
(license license:bsd-2)))
|
2017-06-03 20:28:38 +02:00
|
|
|
|
|
|
|
|
|
(define-public livemedia-utils
|
|
|
|
|
(package
|
|
|
|
|
(name "livemedia-utils")
|
2018-01-13 22:42:28 +01:00
|
|
|
|
(version "2017.10.28")
|
2017-06-03 20:28:38 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2017-06-07 23:42:30 +02:00
|
|
|
|
"https://download.videolan.org/contrib/live555/live."
|
2017-06-03 20:28:38 +02:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-01-13 22:42:28 +01:00
|
|
|
|
"0f5kxpayqn3yhabqrd2cqlc74i6x2xr01jfkank1lcilxnfyrsnq"))
|
2018-01-13 22:41:08 +01:00
|
|
|
|
(modules '((guix build utils)))
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 12:47:34 +01:00
|
|
|
|
(snippet '(begin
|
|
|
|
|
;; As of glibc 2.26, <xlocale.h> no longer is.
|
|
|
|
|
(substitute* "liveMedia/include/Locale.hh"
|
2018-03-17 05:16:43 +01:00
|
|
|
|
(("xlocale\\.h") "locale.h"))
|
|
|
|
|
#t))))
|
2017-06-03 20:28:38 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f ; no tests
|
|
|
|
|
#:make-flags (list "CC=gcc"
|
|
|
|
|
(string-append "LDFLAGS=-Wl,-rpath="
|
|
|
|
|
(assoc-ref %outputs "out") "/lib")
|
|
|
|
|
(string-append "PREFIX="
|
|
|
|
|
(assoc-ref %outputs "out")))
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'fix-makefiles-generation
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "genMakefiles"
|
|
|
|
|
(("/bin/rm") "rm"))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda _
|
2018-06-21 19:11:25 +02:00
|
|
|
|
(invoke "./genMakefiles"
|
|
|
|
|
"linux-with-shared-libraries"))))))
|
2017-06-03 20:28:38 +02:00
|
|
|
|
(home-page "http://www.live555.com/liveMedia/")
|
|
|
|
|
(synopsis "Set of C++ libraries for multimedia streaming")
|
|
|
|
|
(description "This code forms a set of C++ libraries for multimedia
|
|
|
|
|
streaming, using open standard protocols (RTP/RTCP, RTSP, SIP). The libraries
|
|
|
|
|
can be used to stream, receive, and process MPEG, H.265, H.264, H.263+, DV or
|
|
|
|
|
JPEG video, and several audio codecs. They can easily be extended to support
|
|
|
|
|
additional (audio and/or video) codecs, and can also be used to build basic
|
|
|
|
|
RTSP or SIP clients and servers.")
|
|
|
|
|
(license license:lgpl3+)))
|
2017-06-03 21:48:06 +02:00
|
|
|
|
|
|
|
|
|
(define-public libdvbpsi
|
|
|
|
|
(package
|
|
|
|
|
(name "libdvbpsi")
|
2018-02-24 15:30:50 +01:00
|
|
|
|
(version "1.3.2")
|
2017-06-03 21:48:06 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://download.videolan.org/pub/libdvbpsi/"
|
|
|
|
|
version "/libdvbpsi-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-02-24 15:30:50 +01:00
|
|
|
|
"1zn5hfv4qbahmydbwh59a3b480s3m5ss27r6ml35gqdip7r3jkmc"))))
|
2017-06-03 21:48:06 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(home-page "https://www.videolan.org/developers/libdvbpsi.html")
|
|
|
|
|
(synopsis "Library for decoding and generation of MPEG TS and DVB PSI
|
|
|
|
|
tables")
|
|
|
|
|
(description "libdvbpsi is a simple library designed for decoding and
|
|
|
|
|
generation of MPEG TS and DVB PSI tables according to standards ISO/IEC 13818s
|
|
|
|
|
and ITU-T H.222.0.")
|
|
|
|
|
(license license:lgpl2.1)))
|
2017-10-20 18:42:15 +02:00
|
|
|
|
|
|
|
|
|
(define-public ffms2
|
|
|
|
|
(package
|
|
|
|
|
(name "ffms2")
|
|
|
|
|
(version "2.23")
|
2018-01-26 03:47:51 +01:00
|
|
|
|
(home-page "https://github.com/FFMS/ffms2")
|
2017-10-20 18:42:15 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2018-01-26 03:47:51 +01:00
|
|
|
|
(uri (string-append home-page "/archive/" version ".tar.gz"))
|
2017-10-20 18:42:15 +02:00
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1vbkab8vrplxz5xgag8ggzkwp4f7nf285pd0l2a7zy66n6i2m6xh"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags
|
|
|
|
|
(list "--enable-avresample")))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("zlib" ,zlib)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("ffmpeg" ,ffmpeg)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(synopsis "Cross-platform wrapper around ffmpeg/libav")
|
|
|
|
|
(description
|
|
|
|
|
"FFMpegSource is a wrapper library around ffmpeg/libav that allows
|
|
|
|
|
programmers to access a standard API to open and decompress media files.")
|
|
|
|
|
;; sources are distributed under a different license that the binary.
|
|
|
|
|
;; see https://github.com/FFMS/ffms2/blob/master/COPYING
|
|
|
|
|
(license license:gpl2+))); inherits from ffmpeg
|
2017-10-20 18:46:15 +02:00
|
|
|
|
|
|
|
|
|
(define-public aegisub
|
|
|
|
|
(package
|
|
|
|
|
(name "aegisub")
|
|
|
|
|
(version "3.2.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://ftp.aegisub.org/pub/archives/releases/source/"
|
|
|
|
|
name "-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"11b83qazc8h0iidyj1rprnnjdivj1lpphvpa08y53n42bfa36pn5"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list "--disable-update-checker"
|
|
|
|
|
"--without-portaudio"
|
|
|
|
|
"--without-openal"
|
|
|
|
|
"--without-oss")
|
|
|
|
|
;; tests require busted, a lua package we don't have yet
|
|
|
|
|
#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'fix-ldflags
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "LDFLAGS" "-pthread"))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost)
|
|
|
|
|
("desktop-file-utils" ,desktop-file-utils)
|
|
|
|
|
("ffms2" ,ffms2)
|
|
|
|
|
("fftw" ,fftw)
|
|
|
|
|
("hunspell" ,hunspell)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("libass" ,libass)
|
|
|
|
|
("alsa-lib" ,alsa-lib)
|
|
|
|
|
("pulseaudio" ,pulseaudio)
|
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("wxwidgets-gtk2" ,wxwidgets-gtk2)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("intltool" ,intltool)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "http://www.aegisub.org/")
|
|
|
|
|
(synopsis "Subtitle engine")
|
|
|
|
|
(description
|
|
|
|
|
"Aegisub is a tool for creating and modifying subtitles. Aegisub makes
|
|
|
|
|
it quick and easy to time subtitles to audio, and features many powerful
|
|
|
|
|
tools for styling them, including a built-in real-time video preview.")
|
|
|
|
|
(license (list license:bsd-3 ; the package is licensed under the bsd-3, except
|
|
|
|
|
license:mpl1.1 ; for vendor/universalchardet under the mpl1.1
|
|
|
|
|
license:expat)))) ; and src/gl that is under a license similar
|
|
|
|
|
; the the Expat license, with a rewording (Software -> Materials). (called MIT
|
|
|
|
|
; by upstream). See https://github.com/Aegisub/Aegisub/blob/master/LICENCE
|
|
|
|
|
; src/MatroskaParser.(c|h) is under bsd-3 with permission from the author
|
|
|
|
|
|
2017-10-16 07:41:50 +02:00
|
|
|
|
(define-public gst-transcoder
|
|
|
|
|
(package
|
|
|
|
|
(name "gst-transcoder")
|
|
|
|
|
(version "1.12.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/pitivi/gst-transcoder/"
|
|
|
|
|
"archive/" version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0cnwmrsd321s02ff91m3j27ydj7f8wks0jvmp5admlhka6z7zxm9"))))
|
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("gobject-introspection" ,gobject-introspection)
|
|
|
|
|
("glib" ,glib)
|
|
|
|
|
("gstreamer" ,gstreamer)
|
|
|
|
|
("gst-plugins-base" ,gst-plugins-base)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python" ,python)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "https://github.com/pitivi/gst-transcoder/")
|
|
|
|
|
(synopsis "GStreamer Transcoding API")
|
|
|
|
|
(description "GStreamer Transcoding API")
|
|
|
|
|
(license license:lgpl2.1)))
|
2017-10-20 20:32:12 +02:00
|
|
|
|
|
|
|
|
|
(define-public gavl
|
|
|
|
|
(package
|
|
|
|
|
(name "gavl")
|
|
|
|
|
(version "1.4.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/gmerlin/"
|
|
|
|
|
name "/" version "/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1kikkn971a14zzm7svi7190ldc14fjai0xyhpbcmp48s750sraji"))))
|
|
|
|
|
(build-system gnu-build-system)
|
2017-10-28 22:09:58 +02:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags '("LIBS=-lm")))
|
2017-10-20 20:32:12 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("doxygen" ,doxygen)))
|
|
|
|
|
(home-page "http://gmerlin.sourceforge.net")
|
|
|
|
|
(synopsis "Low level library for multimedia API building")
|
|
|
|
|
(description
|
|
|
|
|
"Gavl is short for Gmerlin Audio Video Library. It is a low level
|
|
|
|
|
library, upon which multimedia APIs can be built. Gavl handles all the
|
|
|
|
|
details of audio and video formats like colorspaces, sample rates,
|
|
|
|
|
multichannel configurations, etc. It provides standardized definitions for
|
|
|
|
|
those formats as well as container structures for carrying audio samples or
|
|
|
|
|
video images inside an application.
|
|
|
|
|
|
|
|
|
|
In addition, it handles the sometimes ugly task of converting between all
|
|
|
|
|
these formats and provides some elementary operations (copying, scaling,
|
|
|
|
|
alpha blending etc).")
|
|
|
|
|
(license license:gpl3)))
|
2017-10-29 13:16:05 +01:00
|
|
|
|
|
|
|
|
|
(define-public frei0r-plugins
|
|
|
|
|
(package
|
|
|
|
|
(name "frei0r-plugins")
|
|
|
|
|
(version "1.6.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://files.dyne.org/frei0r/"
|
|
|
|
|
"frei0r-plugins-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0pji26fpd0dqrx1akyhqi6729s394irl73dacnyxk58ijqq4dhp0"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'autotools
|
|
|
|
|
(lambda _
|
2018-06-21 19:13:30 +02:00
|
|
|
|
(invoke "sh" "autogen.sh"))))))
|
|
|
|
|
;; TODO: opencv for additional face detection filters.
|
2017-10-29 13:16:05 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("gavl" ,gavl)
|
|
|
|
|
("cairo" ,cairo)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("autoconf" ,autoconf)))
|
|
|
|
|
(home-page "https://www.dyne.org/software/frei0r/")
|
|
|
|
|
(synopsis "Minimalistic plugin API for video effects")
|
|
|
|
|
(description
|
|
|
|
|
"Frei0r is a minimalistic plugin API for video effects.
|
|
|
|
|
The main emphasis is on simplicity for an API that will round up
|
|
|
|
|
the most common video effects into simple filters, sources and
|
|
|
|
|
mixers that can be controlled by parameters. Frei0r wants to
|
|
|
|
|
provide a way to share these simple effects between many
|
|
|
|
|
applications, avoiding their reimplementation by different projects.
|
|
|
|
|
It counts more than 100 plugins.")
|
|
|
|
|
(license (list license:gpl2+
|
|
|
|
|
;; The following files are licensed as LGPL2.1+:
|
|
|
|
|
;; src/generator/ising0r/ising0r.c
|
|
|
|
|
;; src/generator/onecol0r/onecol0r.cpp
|
|
|
|
|
;; src/generator/nois0r/nois0r.cpp
|
|
|
|
|
;; src/generator/lissajous0r/lissajous0r.cpp
|
|
|
|
|
;; src/filter/ndvi/gradientlut.hpp
|
|
|
|
|
;; src/filter/ndvi/ndvi.cpp
|
|
|
|
|
;; src/filter/facedetect/facedetect.cpp
|
|
|
|
|
license:lgpl2.1+))))
|
2018-01-20 00:37:05 +01:00
|
|
|
|
|
|
|
|
|
(define-public motion
|
|
|
|
|
(package
|
|
|
|
|
(name "motion")
|
|
|
|
|
(version "4.1.1")
|
|
|
|
|
(home-page "https://motion-project.github.io/")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/Motion-Project/motion/archive/"
|
|
|
|
|
"release-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1qm4i8zrqafl60sv2frhixvkd0wh0r5jfcrj5i6gha7yplsvjx10"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2018-03-09 23:11:48 +01:00
|
|
|
|
`(("autoconf" ,autoconf-wrapper)
|
2018-01-20 00:37:05 +01:00
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libjpeg" ,libjpeg)
|
2018-04-23 18:18:41 +02:00
|
|
|
|
("ffmpeg" ,ffmpeg-3.4)
|
2018-01-20 00:37:05 +01:00
|
|
|
|
("sqlite" ,sqlite)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
2018-03-11 21:46:30 +01:00
|
|
|
|
(replace 'bootstrap
|
2018-01-20 00:37:05 +01:00
|
|
|
|
(lambda _
|
|
|
|
|
(patch-shebang "version.sh")
|
|
|
|
|
(invoke "autoreconf" "-vfi"))))
|
|
|
|
|
#:configure-flags '("--sysconfdir=/etc")
|
|
|
|
|
#:make-flags (list (string-append "sysconfdir="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/etc"))
|
|
|
|
|
|
|
|
|
|
#:tests? #f)) ;no 'check' target
|
|
|
|
|
(synopsis "Detect motion from video signals")
|
|
|
|
|
(description
|
|
|
|
|
"Motion is a program that monitors the video signal from one or more
|
|
|
|
|
cameras and is able to detect if a significant part of the picture has
|
|
|
|
|
changed. Or in other words, it can detect motion.")
|
|
|
|
|
|
|
|
|
|
;; Some files say "version 2" and others "version 2 or later".
|
|
|
|
|
(license license:gpl2)))
|
2018-04-01 17:15:02 +02:00
|
|
|
|
|
|
|
|
|
(define-public subdl
|
|
|
|
|
(let ((commit "4cf5789b11f0ff3f863b704b336190bf968cd471")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(package
|
|
|
|
|
(name "subdl")
|
|
|
|
|
(version (git-version "1.0.3" revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/alexanderwink/subdl.git")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0kmk5ck1j49q4ww0lvas2767kwnzhkq0vdwkmjypdx5zkxz73fn8"))))
|
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build utils))
|
|
|
|
|
#:builder (begin
|
|
|
|
|
(use-modules (guix build utils))
|
|
|
|
|
(let* ((out (assoc-ref %outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(source (assoc-ref %build-inputs "source"))
|
|
|
|
|
(python (assoc-ref %build-inputs "python")))
|
|
|
|
|
(install-file (string-append source "/subdl") bin)
|
|
|
|
|
(patch-shebang (string-append bin "/subdl")
|
|
|
|
|
(list (string-append python "/bin")))))))
|
|
|
|
|
(inputs `(("python" ,python)))
|
|
|
|
|
(synopsis "Command-line tool for downloading subtitles from opensubtitles.org")
|
|
|
|
|
(description "Subdl is a command-line tool for downloading subtitles from
|
|
|
|
|
opensubtitles.org. By default, it will search for English subtitles, display
|
|
|
|
|
the results, download the highest-rated result in the requested language and
|
|
|
|
|
save it to the appropriate filename.")
|
|
|
|
|
(license license:gpl3+)
|
|
|
|
|
(home-page "https://github.com/alexanderwink/subdl"))))
|
2018-04-25 13:12:24 +02:00
|
|
|
|
|
|
|
|
|
(define-public l-smash
|
|
|
|
|
(package
|
|
|
|
|
(name "l-smash")
|
|
|
|
|
(version "2.14.5")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/" name "/" name "/archive/v"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0dary0h65kq6sv93iabv25djlvzr5ckdcp3ywagbix44wqfw7xz6"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;no tests
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list (string-append "LDFLAGS=-Wl,-L.,-rpath="
|
|
|
|
|
(assoc-ref %outputs "out") "/lib"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; configure fails if it is followed by CONFIG_SHELL
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(invoke "./configure" (string-append "--prefix=" out)
|
|
|
|
|
"--disable-static")))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("which" ,which)))
|
|
|
|
|
(home-page "https://l-smash.github.io/l-smash/")
|
|
|
|
|
(synopsis "MP4 multiplexer and demultiplexer library")
|
|
|
|
|
(description
|
|
|
|
|
"L-SMASH is a cross-platform library that handles the ISO base media file
|
|
|
|
|
format and some of its derived file formats, including MP4. It operates as a
|
|
|
|
|
multiplexer and demultiplexer, and can mux video and audio in several formats
|
|
|
|
|
using standalone executable files.")
|
|
|
|
|
(license license:isc)))
|
2018-06-28 23:02:40 +02:00
|
|
|
|
|
|
|
|
|
(define-public qtfaststart
|
|
|
|
|
(package
|
|
|
|
|
(name "qtfaststart")
|
|
|
|
|
(version "1.8")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "qtfaststart" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0hcjfik8hhb1syqvyh5c6aillpvzal26nkjflcq1270z64aj6i5h"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f)) ; no test suite
|
|
|
|
|
(synopsis "Move QuickTime and MP4 metadata to the beginning of the file")
|
|
|
|
|
(description "qtfaststart enables streaming and pseudo-streaming of
|
|
|
|
|
QuickTime and MP4 files by moving metadata and offset information to the
|
|
|
|
|
beginning of the file. It can also print some useful information about the
|
|
|
|
|
structure of the file. This program is based on qt-faststart.c from the FFmpeg
|
|
|
|
|
project, which is released into the public domain, as well as ISO 14496-12:2005
|
|
|
|
|
(the official spec for MP4), which can be obtained from the ISO or found
|
|
|
|
|
online.")
|
|
|
|
|
(home-page "https://github.com/danielgtaylor/qtfaststart")
|
|
|
|
|
(license license:expat)))
|