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>
|
2020-11-11 06:15:02 +01:00
|
|
|
|
;;; Copyright © 2014, 2015, 2016, 2018, 2020 Mark H Weaver <mhw@netris.org>
|
2015-03-06 10:17:19 +01:00
|
|
|
|
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
|
2021-03-08 14:48:08 +01:00
|
|
|
|
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
|
2021-06-15 18:31:41 +02:00
|
|
|
|
;;; Copyright © 2015, 2016 Andy Patterson <ajpatter@uwaterloo.ca>
|
2021-10-21 17:09:29 +02:00
|
|
|
|
;;; Copyright © 2015, 2018, 2019, 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
|
2019-02-22 07:27:51 +01:00
|
|
|
|
;;; Copyright © 2015, 2016, 2017, 2018, 2019 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>
|
mailmap: Update entries for Nikita.
* .mailmap: change email and name for Nikita.
* 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/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/emacs.scm,
gnu/packages/enlightenment.scm, gnu/packages/erlang.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/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile-xyz.scm,
gnu/packages/haskell-apps.scm, gnu/packages/haskell-check.scm,
gnu/packages/haskell-crypto.scm, gnu/packages/haskell-xyz.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-xyz.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-compression.scm, gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm, gnu/packages/python-xyz.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: Efraim Flashner <efraim@flashner.co.il>
2020-05-11 13:05:45 +02:00
|
|
|
|
;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
|
2021-09-23 04:05:22 +02:00
|
|
|
|
;;; Copyright © 2016, 2018, 2019, 2020, 2021 Eric Bavier <bavier@posteo.net>
|
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>
|
2021-04-07 00:54:34 +02:00
|
|
|
|
;;; Copyright © 2017–2021 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>
|
2019-01-10 08:58:36 +01:00
|
|
|
|
;;; Copyright © 2017, 2018, 2019 Rutger Helling <rhelling@mykolab.com>
|
2018-01-04 16:25:44 +01:00
|
|
|
|
;;; Copyright © 2018 Roel Janssen <roel@gnu.org>
|
2021-12-12 13:47:42 +01:00
|
|
|
|
;;; Copyright © 2018, 2019, 2020, 2021 Marius Bakke <marius@gnu.org>
|
2020-08-06 11:35:01 +02:00
|
|
|
|
;;; Copyright © 2018, 2019, 2020 Pierre Neidhardt <mail@ambrevar.xyz>
|
2020-02-18 20:57:38 +01:00
|
|
|
|
;;; Copyright © 2018, 2019, 2020 Leo Famulari <leo@famulari.name>
|
2019-05-03 18:42:32 +02:00
|
|
|
|
;;; Copyright © 2018 Brendan Tildesley <mail@brendan.scot>
|
2018-07-30 07:15:16 +02:00
|
|
|
|
;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
|
2018-08-03 13:52:13 +02:00
|
|
|
|
;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
|
2018-09-14 22:58:29 +02:00
|
|
|
|
;;; Copyright © 2018 Mark Meyer <mark@ofosos.org>
|
|
|
|
|
;;; Copyright © 2018 Gábor Boskovit <boskovits@gmail.com>
|
2019-01-04 11:43:06 +01:00
|
|
|
|
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
|
2019-02-25 19:38:54 +01:00
|
|
|
|
;;; Copyright © 2019 Timo Eisenmann <eisenmann@fn.de>
|
2019-03-05 22:58:32 +01:00
|
|
|
|
;;; Copyright © 2019 Arne Babenhauserheide <arne_bab@web.de>
|
2019-12-24 00:05:36 +01:00
|
|
|
|
;;; Copyright © 2019 Riku Viitanen <riku.viitanen@protonmail.com>
|
2021-02-09 17:43:50 +01:00
|
|
|
|
;;; Copyright © 2020, 2021 Oleg Pykhalov <go.wigust@gmail.com>
|
2020-02-05 01:59:48 +01:00
|
|
|
|
;;; Copyright © 2020 Josh Holland <josh@inv.alid.pw>
|
2021-12-26 09:11:21 +01:00
|
|
|
|
;;; Copyright © 2020, 2021 Brice Waegeneire <brice@waegenei.re>
|
2020-04-05 13:48:27 +02:00
|
|
|
|
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
|
2021-09-10 09:46:08 +02:00
|
|
|
|
;;; Copyright © 2020, 2021 Guillaume Le Vaillant <glv@posteo.net>
|
2020-04-16 22:55:28 +02:00
|
|
|
|
;;; Copyright © 2020 Alex McGrath <amk@amk.ie>
|
2021-01-12 10:41:08 +01:00
|
|
|
|
;;; Copyright © 2020, 2021 Michael Rohleder <mike@rohleder.de>
|
2021-04-25 20:15:01 +02:00
|
|
|
|
;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
|
2020-07-19 06:51:32 +02:00
|
|
|
|
;;; Copyright © 2020 Brett Gilio <brettg@gnu.org>
|
2020-10-25 01:54:47 +02:00
|
|
|
|
;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@posteo.ro>
|
2020-11-01 13:27:37 +01:00
|
|
|
|
;;; Copyright © 2020 Ivan Kozlov <kanichos@yandex.ru>
|
2020-12-06 08:59:33 +01:00
|
|
|
|
;;; Copyright © 2020 Antoine Côté <antoine.cote@posteo.net>
|
2021-01-15 17:26:37 +01:00
|
|
|
|
;;; Copyright © 2021 Alexey Abramov <levenson@mmer.org>
|
2021-01-18 17:27:43 +01:00
|
|
|
|
;;; Copyright © 2021 Andrew Tropin <andrew@trop.in>
|
2021-02-18 23:34:25 +01:00
|
|
|
|
;;; Copyright © 2021 David Wilson <david@daviwil.com>
|
2021-06-03 04:30:19 +02:00
|
|
|
|
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
2020-12-25 23:02:18 +01:00
|
|
|
|
;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
2021-06-22 16:58:51 +02:00
|
|
|
|
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
|
2021-08-17 06:55:53 +02:00
|
|
|
|
;;; Copyright © 2021 Thiago Jung Bauermann <bauermann@kolabnow.com>
|
2021-10-02 22:31:21 +02:00
|
|
|
|
;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
|
2021-10-25 05:36:24 +02:00
|
|
|
|
;;; Copyright © 2021 Robin Templeton <robin@terpri.org>
|
2021-11-23 15:07:56 +01:00
|
|
|
|
;;; Copyright © 2021 Aleksandr Vityazev <avityazev@posteo.org>
|
2021-12-17 16:07:20 +01:00
|
|
|
|
;;; Copyright © 2021 Pradana Aumars <paumars@courrier.dev>
|
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)
|
2020-11-11 06:15:02 +01:00
|
|
|
|
#:use-module ((srfi srfi-1) #:hide (zip))
|
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)
|
2021-12-12 13:47:42 +01:00
|
|
|
|
#:use-module (guix gexp)
|
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)
|
2021-01-18 17:27:43 +01:00
|
|
|
|
#:use-module (guix hg-download)
|
2020-04-02 20:10:40 +02:00
|
|
|
|
#:use-module (guix build-system cargo)
|
2015-02-23 22:59:20 +01:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2020-04-01 09:17:47 +02:00
|
|
|
|
#:use-module (guix build-system copy)
|
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)
|
2021-04-25 20:17:24 +02:00
|
|
|
|
#:use-module (guix build-system qt)
|
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)
|
2018-10-31 19:05:55 +01:00
|
|
|
|
#:use-module (gnu packages assembly)
|
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)
|
2021-11-28 14:24:41 +01:00
|
|
|
|
#:use-module (gnu packages bash)
|
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)
|
2021-11-24 22:12:11 +01:00
|
|
|
|
#:use-module (gnu packages build-tools)
|
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)
|
2020-04-02 20:10:40 +02:00
|
|
|
|
#:use-module (gnu packages crates-io)
|
gnu: Move graphics crates to crates-graphics.scm.
* gnu/packages/crates-graphics.scm: New module. Move rust-andrew-0.2,
rust-ansi-colours-1, rust-ansi-term-0.12, rust-ansi-term-0.11,
rust-ansi-term-0.10, rust-aom-sys-0.1, rust-ascii-canvas-2,
rust-cgl-0.3, rust-cgl-0.2, rust-cgmath-0.17, rust-cglmath-0.16,
rust-core-graphics-0.17, rust-core-video-sys-0.1, rust-dav1d-sys-0.3,
rust-euclid-0.20, rust-gfx-0.18, rust-gfx-core-0.9,
rust-gfx-device-gl-0.16, rust-gfx-gl-0.6, rust-gif-0.10, rust-gl-0.11,
rust-gl-generator-0.14, rust-gl-generator-0.13, rust-gl-generator-0.11,
rust-gl-generator-0.10, rust-gleam-0.6, rust-glutin-0.22,
rust-glutin-0.21, rust-glutin-egl-sys-0.1,
rust-glutin-emscripten-sys-0.1, rust-glutin-gles2-sys-0.1,
rust-glutin-glx-sys-0.1, rust-glutin-wayland-sys-0.1, rust-image-0.23,
rust-image-0.22, rust-image-0.21, rust-image-0.20,
rust-jpeg-decoder-0.1, rust-line-drawing-0.7, rust-lyon-geom-0.14,
rust-lyon-path-0.14, rust-osmesa-sys-0.1, rust-piston-0.49,
rust-piston-float-1.0, rust-piston-gfx-texture-0.40,
rust-piston-graphics-api-version-0.2,
rust-piston-shaders-graphics2d-0.3, rust-piston-texture-0.8,
rust-piston-viewport-1.0, rust-piston-window-0.105,
rust-piston2d-gfx-graphics-0.66, rust-pison2d-graphics-0.35,
rust-piston-event-loop-0.49, rust-pistoncore-glutin-window-0.63,
rust-pistoncore-input-0.28, rust-pistoncore-window-0.44, rust-png-0.16,
rust-png-0.15, rust-png-0.14, rust-png-0.12, rust-raw-window-handle-0.3,
rust-resize-0.3, rust-rgb-0.8, rust-smithay-client-toolkit-0.6,
rust-smithay-client-toolkit-0.4, rust-smithay-clipboard-0.3,
rust-tiff-0.5, rust-tiff-0.3, rust-tiff-0.2, rust-wayland-client-0.23,
rust-wayland-client-0.21, rust-wayland-commons-0.23,
rust-wayland-commons-0.21, rust-wayland-protocols-0.23,
rust-wayland-protocols-0.21, rust-wayland-scanner-0.23,
rust-wayland-scanner-0.21, rust-wayland-server-0.23,
rust-wayland-server-0.21, rust-wayland-sys-0.23, rust-wayland-sys-0.21,
rust-winit-0.20, rust-winit-0.19, rust-x11-2, rust-x11-clipboard-0.4,
rust-x11-dl-2, rust-y4m-0.5 to here.
* gnu/packages/crates-io.scm: ... from here.
* gnu/local.mk (GNU_SYSTEM_MODULES): Register new module.
* gnu/packages/crates-io.scm, gnu/packages/crates-gtk.scm,
gnu/packages/gnome.scm, gnu/packages/rust-apps.scm,
gnu/packages/terminals.scm, gnu/packages/video.scm: Adjust for
package movement.
2020-10-05 11:36:32 +02:00
|
|
|
|
#:use-module (gnu packages crates-graphics)
|
2015-12-17 19:36:42 +01:00
|
|
|
|
#:use-module (gnu packages curl)
|
2017-02-09 14:37:00 +01:00
|
|
|
|
#:use-module (gnu packages dejagnu)
|
2019-01-02 19:29:27 +01:00
|
|
|
|
#:use-module (gnu packages dns)
|
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)
|
2019-04-08 18:55:07 +02:00
|
|
|
|
#:use-module (gnu packages fonts)
|
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)
|
2018-10-31 19:01:05 +01:00
|
|
|
|
#:use-module (gnu packages gnunet)
|
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)
|
2020-06-16 23:57:33 +02:00
|
|
|
|
#:use-module (gnu packages libusb)
|
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)
|
2019-03-04 16:13:30 +01:00
|
|
|
|
#:use-module (gnu packages markup)
|
2020-06-16 23:57:33 +02:00
|
|
|
|
#:use-module (gnu packages maths)
|
2021-10-25 05:36:24 +02:00
|
|
|
|
#:use-module (gnu packages music)
|
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)
|
2017-06-29 05:05:24 +02:00
|
|
|
|
#:use-module (gnu packages networking)
|
2015-03-21 23:09:11 +01:00
|
|
|
|
#:use-module (gnu packages ocr)
|
2020-09-21 07:44:19 +02:00
|
|
|
|
#:use-module (gnu packages pcre)
|
2013-10-31 23:15:46 +01:00
|
|
|
|
#:use-module (gnu packages perl)
|
2020-03-17 19:40:55 +01:00
|
|
|
|
#:use-module (gnu packages perl-check)
|
2020-06-30 20:07:05 +02:00
|
|
|
|
#:use-module (gnu packages perl-web)
|
2020-08-08 20:41:47 +02:00
|
|
|
|
#:use-module (gnu packages photo)
|
2013-10-31 23:15:46 +01:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2016-04-17 17:36:43 +02:00
|
|
|
|
#:use-module (gnu packages popt)
|
2019-03-04 16:13:30 +01:00
|
|
|
|
#:use-module (gnu packages pretty-print)
|
2019-01-02 19:30:23 +01:00
|
|
|
|
#:use-module (gnu packages protobuf)
|
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)
|
gnu: Separate Python core packages from the rest.
* gnu/packages/python.scm: Move hundreds of package definitions from here...
* gnu/packages/python-xyz.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/audio.scm,
gnu/packages/backup.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/cluster.scm,
gnu/packages/compression.scm,
gnu/packages/connman.scm,
gnu/packages/crypto.scm,
gnu/packages/cups.scm,
gnu/packages/databases.scm,
gnu/packages/dav.scm,
gnu/packages/direct-connect.scm,
gnu/packages/disk.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/docker.scm,
gnu/packages/ebook.scm,
gnu/packages/elf.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm,
gnu/packages/finance.scm,
gnu/packages/fltk.scm,
gnu/packages/fontutils.scm,
gnu/packages/freedesktop.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gl.scm,
gnu/packages/glib.scm,
gnu/packages/gnome.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/gtk.scm,
gnu/packages/ham-radio.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/kde-frameworks.scm,
gnu/packages/key-mon.scm,
gnu/packages/libffi.scm,
gnu/packages/libreoffice.scm,
gnu/packages/libusb.scm,
gnu/packages/lirc.scm,
gnu/packages/logging.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/mate.scm,
gnu/packages/maths.scm,
gnu/packages/medical.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mp3.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nutrition.scm,
gnu/packages/openldap.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/polkit.scm,
gnu/packages/protobuf.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/qt.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/search.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/simulation.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/sync.scm,
gnu/packages/terminals.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/virtualization.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wicd.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xorg.scm: Update module references.
2019-01-15 14:21:30 +01:00
|
|
|
|
#:use-module (gnu packages python-xyz)
|
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)
|
2020-11-05 21:01:46 +01:00
|
|
|
|
#:use-module (gnu packages re2c)
|
2017-06-24 21:04:20 +02:00
|
|
|
|
#:use-module (gnu packages ruby)
|
2020-04-02 20:10:40 +02:00
|
|
|
|
#:use-module (gnu packages rust-apps)
|
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)
|
gnu: Move sqlite to separate module.
* gnu/packages/databases.scm (sqlite, sqlite-3.26.0, sqlite-with-fts5,
sqlite-with-column-metadata): Move variables from here...
* gnu/packages/sqlite.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/apl.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/code.scm,
gnu/packages/crypto.scm,
gnu/packages/databases.scm,
gnu/packages/dc.scm,
gnu/packages/disk.scm,
gnu/packages/ebook.scm,
gnu/packages/education.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/file-systems.scm,
gnu/packages/freedesktop.scm,
gnu/packages/ftp.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gnome.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/gps.scm,
gnu/packages/guile.scm,
gnu/packages/ibus.scm,
gnu/packages/kerberos.scm,
gnu/packages/kodi.scm,
gnu/packages/lisp.scm,
gnu/packages/mail.scm,
gnu/packages/messaging.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nfs.scm,
gnu/packages/ocaml.scm,
gnu/packages/package-management.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/php.scm,
gnu/packages/python.scm,
gnu/packages/qt.scm,
gnu/packages/ruby.scm,
gnu/packages/scheme.scm,
gnu/packages/sync.scm,
gnu/packages/syndication.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/web-browsers.scm,
gnu/packages/webkit.scm: Adjust module references.
2019-01-15 21:47:05 +01:00
|
|
|
|
#:use-module (gnu packages sqlite)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
#:use-module (gnu packages ssh)
|
2017-06-29 05:05:24 +02:00
|
|
|
|
#:use-module (gnu packages swig)
|
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)
|
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)
|
2021-06-22 16:58:51 +02:00
|
|
|
|
#:use-module (gnu packages wget)
|
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)
|
2018-10-31 19:05:55 +01:00
|
|
|
|
#:use-module (gnu packages xorg))
|
2013-10-31 23:15:46 +01:00
|
|
|
|
|
2020-07-03 17:22:08 +02:00
|
|
|
|
(define-public transcode
|
|
|
|
|
(package
|
|
|
|
|
(name "transcode")
|
|
|
|
|
(version "1.1.7")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "https://sources.archlinux.org/other/community/"
|
|
|
|
|
name "/" name "-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "14ha9xjsjrj131f35jd56z5v1jb4rbsrj1nril5shqnxw3c74khy"))
|
|
|
|
|
(patches
|
|
|
|
|
(search-patches "transcode-ffmpeg.patch"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list
|
2021-11-25 15:22:55 +01:00
|
|
|
|
"CFLAGS=-O2 -g -fcommon"
|
2021-04-07 22:42:31 +02:00
|
|
|
|
;; XXX: Broken API.
|
|
|
|
|
;; Undeclared variables 'sys_nerr' and 'sys_errlist'.
|
|
|
|
|
;; "--enable-libv4l2"
|
2020-07-03 17:22:08 +02:00
|
|
|
|
"--enable-libmpeg2"
|
|
|
|
|
"--enable-libmpeg2convert"
|
2021-04-07 22:42:31 +02:00
|
|
|
|
;; XXX: Broken API.
|
|
|
|
|
;; Undeclared variables 'sys_nerr' and 'sys_errlist'.
|
|
|
|
|
;; "--enable-v4l"
|
2020-07-03 17:22:08 +02:00
|
|
|
|
;;; XXX: Not available.
|
|
|
|
|
;"--enable-bktr"
|
|
|
|
|
;"--enable-sunau"
|
|
|
|
|
"--enable-oss"
|
|
|
|
|
"--enable-alsa"
|
|
|
|
|
;;; XXX: Not available.
|
|
|
|
|
;"--enable-libpostproc"
|
|
|
|
|
"--enable-freetype2"
|
|
|
|
|
"--enable-xvid"
|
|
|
|
|
"--enable-x264"
|
|
|
|
|
"--enable-ogg"
|
|
|
|
|
"--enable-vorbis"
|
|
|
|
|
"--enable-theora"
|
|
|
|
|
;;; XXX: Not available.
|
|
|
|
|
;"--enable-pvm3"
|
|
|
|
|
"--enable-libdv"
|
|
|
|
|
"--enable-libquicktime"
|
|
|
|
|
"--enable-lzo"
|
|
|
|
|
"--enable-a52"
|
|
|
|
|
"--enable-faac"
|
|
|
|
|
"--enable-libxml2"
|
|
|
|
|
;;; XXX: Not available.
|
|
|
|
|
;"--enable-ibp"
|
|
|
|
|
;;"--enable-mjpegtools"
|
|
|
|
|
"--enable-sdl"
|
|
|
|
|
"--enable-imagemagick"
|
|
|
|
|
;;; XXX: Not available.
|
|
|
|
|
;"--enable-libjpegmmx"
|
|
|
|
|
"--enable-libjpeg")))
|
|
|
|
|
;;; XXX: Not available.
|
|
|
|
|
;"--enable-bsdav"
|
|
|
|
|
;"--enable-pv3"
|
|
|
|
|
;"--enable-nuv"
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("iconv" ,libiconv)
|
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("python" ,python-wrapper)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("faac" ,faac)
|
|
|
|
|
("ffmpeg" ,ffmpeg)
|
|
|
|
|
("freetype" ,freetype)
|
2020-12-12 16:27:01 +01:00
|
|
|
|
("imagemagick" ,imagemagick)
|
2020-07-03 17:22:08 +02:00
|
|
|
|
("lame" ,lame)
|
|
|
|
|
("liba52" ,liba52)
|
|
|
|
|
("libdv" ,libdv)
|
|
|
|
|
("libdvdread" ,libdvdread)
|
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
|
|
|
|
("libmpeg2" ,libmpeg2)
|
|
|
|
|
("libogg" ,libogg)
|
|
|
|
|
("libquicktime" ,libquicktime)
|
|
|
|
|
("libtheora" ,libtheora)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("lzo" ,lzo)
|
|
|
|
|
("mjepgtools" ,mjpegtools)
|
|
|
|
|
("sdl" ,sdl)
|
2021-04-07 22:42:31 +02:00
|
|
|
|
;; ("v4l-utils" ,v4l-utils)
|
2020-07-03 17:22:08 +02:00
|
|
|
|
("x11" ,libx11)
|
|
|
|
|
("x264" ,libx264)
|
|
|
|
|
("xaw" ,libxaw)
|
|
|
|
|
("xext" ,libxext)
|
|
|
|
|
("xpm" ,libxpm)
|
|
|
|
|
("xv" ,libxv)
|
|
|
|
|
("xvid" ,xvid)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(synopsis "Audio/Video Transcoder")
|
|
|
|
|
(description "Transcode is a fast, versatile and command-line based
|
|
|
|
|
audio/video everything to everything converter primarily focussed on producing
|
|
|
|
|
AVI video files with MP3 audio, but also including a program to read all the
|
|
|
|
|
video and audio streams from a DVD.")
|
|
|
|
|
(home-page
|
|
|
|
|
"http://linuxfromscratch.org/blfs/view/svn/multimedia/transcode.html")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2020-07-03 17:16:21 +02:00
|
|
|
|
(define-public svt-hevc
|
|
|
|
|
(package
|
|
|
|
|
(name "svt-hevc")
|
2021-05-29 16:41:03 +02:00
|
|
|
|
(version "1.5.1")
|
2020-07-03 17:16:21 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(git-reference
|
gnu: Don't append '.git' to GitHub uris.
* gnu/packages/admin.scm (nmrpflash)[source]: Remove '.git' from URI.
* gnu/packages/aidc.scm (zxing-cpp),
* gnu/packages/assembly.scm (mbuild),
* gnu/packages/audio.scm (opensles, wildmidi, tinyalsa),
* gnu/packages/browser-extensions.scm (ublock-origin-chromium),
* gnu/packages/check.scm (mutest),
* gnu/packages/compression.scm (unshield),
* gnu/packages/coq.scm (subset),
* gnu/packages/dictionaries.scm (translate-shell),
* gnu/packages/disk.scm (memkind),
* gnu/packages/documentation.scm (latex2html),
* gnu/packages/emacs-xyz.scm (emacs-chronometrist,
emacs-flycheck-ledger, emacs-counsel-notmuch, emacs-spaceline,
emacs-org-generate),
* gnu/packages/embedded.scm (ebusd, ebusd-configuration),
* gnu/packages/enchant.scm (nuspell),
* gnu/packages/fontutils.scm (woff2),
* gnu/packages/geo.scm (memphis),
* gnu/packages/gimp.scm (mrg),
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-appindicator),
* gnu/packages/gnome.scm (parlatype),
* gnu/packages/golang.scm (go-github-com-tv42-httpunix,
go-github-com-ayufan-golang-kardianos-service),
* gnu/packages/graphics.scm (eglexternalplatform, egl-wayland, mmm,
directfb, flux),
* gnu/packages/gstreamer.scm (openni2, ccextractor, libvisual,
graphene),
* gnu/packages/guile-xyz.scm (guile-srfi-180, guile-torrent),
* gnu/packages/image.scm (openjpeg-data),
* gnu/packages/java.scm (javacc),
* gnu/packages/language.scm (liblouis, liblouisutdml),
* gnu/packages/linux.scm (pamela, ttyebus),
* gnu/packages/lxqt.scm (lxqt-connman-applet),
* gnu/packages/mail.scm (libetpan),
* gnu/packages/man.scm (ronn),
* gnu/packages/music.scm (tascam-gtk, artyfx),
* gnu/packages/networking.scm (srt, lksctp-tools, nng, nanomsg),
* gnu/packages/python-crypto.scm (pure-python-otr),
* gnu/packages/qt.scm (qtspell),
* gnu/packages/raspberry-pi.scm (raspi-gpio, raspi-open-firmware),
* gnu/packages/rdp.scm (freerdp),
* gnu/packages/ruby.scm (ruby-prawn-templates, ruby-treetop, ruby-gimme,
ruby-standard, ruby-rubocop-ast, ruby-rexml, ruby-range-compressor,
ruby-regexp-property-values, ruby-regexp-parser, ruby-rubocop,
ruby-pdf-reader, ruby-pdf-inspector, ruby-prawn),
* gnu/packages/syncthing.scm (syncthing-gtk),
* gnu/packages/video.scm (svt-hevc, mediasdk, libvideogfx, libde265,
tslib),
* gnu/packages/xml.scm (libxmlb, libxmlplusplus)[source]: Same.
2020-11-19 19:18:54 +01:00
|
|
|
|
(url "https://github.com/OpenVisualCloud/SVT-HEVC")
|
2020-07-03 17:16:21 +02:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2021-06-12 10:48:14 +02:00
|
|
|
|
(base32 "1cv6vcf5yxcwdvj5yqcckbixqrvvdxk7ibincnnv80pz6wh527sv"))))
|
2020-07-03 17:16:21 +02:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f)) ; Test script is stand-alone
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list yasm))
|
2020-07-03 17:16:21 +02:00
|
|
|
|
(synopsis "SVT HEVC encoder")
|
|
|
|
|
(description "Scalable Video Technology (SVT) is a software-based video
|
|
|
|
|
coding technology that is highly optimized for Intel's Xeon processors. Using
|
|
|
|
|
the SVT-HEVC encoder, it is possible to spread video encoding processing across
|
|
|
|
|
multiple Intel's Xeon processors to achieve a real advantage of processing
|
|
|
|
|
efficiency.")
|
|
|
|
|
(home-page "https://01.org/svt")
|
|
|
|
|
(license (license:non-copyleft "file:///LICENSE.md"))))
|
|
|
|
|
|
2020-07-03 16:59:03 +02:00
|
|
|
|
(define-public mediasdk
|
|
|
|
|
(package
|
|
|
|
|
(name "mediasdk")
|
|
|
|
|
(version "20.1.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(git-reference
|
gnu: Don't append '.git' to GitHub uris.
* gnu/packages/admin.scm (nmrpflash)[source]: Remove '.git' from URI.
* gnu/packages/aidc.scm (zxing-cpp),
* gnu/packages/assembly.scm (mbuild),
* gnu/packages/audio.scm (opensles, wildmidi, tinyalsa),
* gnu/packages/browser-extensions.scm (ublock-origin-chromium),
* gnu/packages/check.scm (mutest),
* gnu/packages/compression.scm (unshield),
* gnu/packages/coq.scm (subset),
* gnu/packages/dictionaries.scm (translate-shell),
* gnu/packages/disk.scm (memkind),
* gnu/packages/documentation.scm (latex2html),
* gnu/packages/emacs-xyz.scm (emacs-chronometrist,
emacs-flycheck-ledger, emacs-counsel-notmuch, emacs-spaceline,
emacs-org-generate),
* gnu/packages/embedded.scm (ebusd, ebusd-configuration),
* gnu/packages/enchant.scm (nuspell),
* gnu/packages/fontutils.scm (woff2),
* gnu/packages/geo.scm (memphis),
* gnu/packages/gimp.scm (mrg),
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-appindicator),
* gnu/packages/gnome.scm (parlatype),
* gnu/packages/golang.scm (go-github-com-tv42-httpunix,
go-github-com-ayufan-golang-kardianos-service),
* gnu/packages/graphics.scm (eglexternalplatform, egl-wayland, mmm,
directfb, flux),
* gnu/packages/gstreamer.scm (openni2, ccextractor, libvisual,
graphene),
* gnu/packages/guile-xyz.scm (guile-srfi-180, guile-torrent),
* gnu/packages/image.scm (openjpeg-data),
* gnu/packages/java.scm (javacc),
* gnu/packages/language.scm (liblouis, liblouisutdml),
* gnu/packages/linux.scm (pamela, ttyebus),
* gnu/packages/lxqt.scm (lxqt-connman-applet),
* gnu/packages/mail.scm (libetpan),
* gnu/packages/man.scm (ronn),
* gnu/packages/music.scm (tascam-gtk, artyfx),
* gnu/packages/networking.scm (srt, lksctp-tools, nng, nanomsg),
* gnu/packages/python-crypto.scm (pure-python-otr),
* gnu/packages/qt.scm (qtspell),
* gnu/packages/raspberry-pi.scm (raspi-gpio, raspi-open-firmware),
* gnu/packages/rdp.scm (freerdp),
* gnu/packages/ruby.scm (ruby-prawn-templates, ruby-treetop, ruby-gimme,
ruby-standard, ruby-rubocop-ast, ruby-rexml, ruby-range-compressor,
ruby-regexp-property-values, ruby-regexp-parser, ruby-rubocop,
ruby-pdf-reader, ruby-pdf-inspector, ruby-prawn),
* gnu/packages/syncthing.scm (syncthing-gtk),
* gnu/packages/video.scm (svt-hevc, mediasdk, libvideogfx, libde265,
tslib),
* gnu/packages/xml.scm (libxmlb, libxmlplusplus)[source]: Same.
2020-11-19 19:18:54 +01:00
|
|
|
|
(url "https://github.com/Intel-Media-SDK/MediaSDK")
|
2020-07-03 16:59:03 +02:00
|
|
|
|
(commit (string-append "intel-" name "-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0blwcxr5j8762nylx2cxrq0h53bpgnk859dbs6crq4wr9fcxlx9z"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list
|
|
|
|
|
"-DENABLE_X11=ON"
|
|
|
|
|
"-DENABLE_X11_DRI3=ON"
|
|
|
|
|
"-DENABLE_WAYLAND=ON"
|
|
|
|
|
"-DENABLE_TEXTLOG=ON"
|
|
|
|
|
"-DENABLE_STAT=ON"
|
|
|
|
|
"-DBUILD_TESTS=ON"
|
|
|
|
|
"-DBUILD_TOOLS=ON"
|
|
|
|
|
(string-append "-DCMAKE_EXE_LINKER_FLAGS=-Wl,-rpath="
|
|
|
|
|
(assoc-ref %outputs "out") "/lib"))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("python" ,python-wrapper)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libdrm" ,libdrm)
|
|
|
|
|
("libva" ,libva)
|
|
|
|
|
("pciaccess" ,libpciaccess)
|
|
|
|
|
("wayland" ,wayland)
|
|
|
|
|
("x11" ,libx11)))
|
|
|
|
|
(synopsis "Intel Media SDK")
|
|
|
|
|
(description "MediaSDK provides a plain C API to access hardware-accelerated
|
|
|
|
|
video decode, encode and filtering on Intel's Gen graphics hardware platforms.")
|
|
|
|
|
(home-page "http://mediasdk.intel.com/")
|
|
|
|
|
(license (license:non-copyleft "file:///LICENSE"))))
|
|
|
|
|
|
2020-07-03 13:14:26 +02:00
|
|
|
|
(define-public schroedinger
|
|
|
|
|
(package
|
|
|
|
|
(name "schroedinger")
|
|
|
|
|
(version "1.0.11")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "https://launchpad.net/" name "/trunk/" version
|
|
|
|
|
"/+download/" name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "04prr667l4sn4zx256v1z36a0nnkxfdqyln48rbwlamr6l3jlmqy"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(outputs '("out" "doc"))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'move-docs
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(doc (assoc-ref outputs "doc")))
|
|
|
|
|
(mkdir-p (string-append doc "/share"))
|
|
|
|
|
(rename-file
|
|
|
|
|
(string-append out "/share/gtk-doc")
|
|
|
|
|
(string-append doc "/share/gtk-doc"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list dash gtk-doc/stable pkg-config))
|
2020-07-03 13:14:26 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("glew" ,glew)
|
|
|
|
|
("opengl" ,mesa)))
|
|
|
|
|
(propagated-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list orc))
|
2020-07-03 13:14:26 +02:00
|
|
|
|
(synopsis "Dirac video codec")
|
|
|
|
|
(description "Schroedinger is a project implementing the Dirac video codec in
|
|
|
|
|
ANSI C code. It is meant to be highly optimized and portable. It is developed
|
|
|
|
|
as a joint effort between the BBC and Fluendo.")
|
|
|
|
|
(home-page "https://launchpad.net/schroedinger")
|
|
|
|
|
(license
|
|
|
|
|
;; This library is licensed under 4 different licenses,
|
|
|
|
|
;; and you can choose to use it under the terms of any one of them.
|
|
|
|
|
(list
|
|
|
|
|
license:gpl2+
|
|
|
|
|
license:lgpl2.0+
|
|
|
|
|
license:expat
|
|
|
|
|
license:mpl1.1))))
|
|
|
|
|
|
2020-07-03 14:03:40 +02:00
|
|
|
|
(define-public libquicktime
|
|
|
|
|
(package
|
|
|
|
|
(name "libquicktime")
|
|
|
|
|
(version "1.2.4")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "https://sourceforge.net/projects/" name "/files/"
|
|
|
|
|
name "/" version "/" name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0s3kshzl3zfjw3phzv73r91fkr9z8q8kc3dhsys4f4xk6ff3alqw"))
|
|
|
|
|
(patches
|
|
|
|
|
(search-patches "libquicktime-ffmpeg.patch"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 22:15:07 +01:00
|
|
|
|
(list gettext-minimal doxygen pkg-config))
|
2020-07-03 14:03:40 +02:00
|
|
|
|
(inputs
|
2021-12-13 22:15:07 +01:00
|
|
|
|
(list alsa-lib
|
|
|
|
|
ffmpeg
|
|
|
|
|
gtk+-2
|
|
|
|
|
lame
|
|
|
|
|
libdv
|
|
|
|
|
libjpeg-turbo
|
|
|
|
|
libpng
|
|
|
|
|
libvorbis
|
|
|
|
|
mesa
|
|
|
|
|
schroedinger
|
|
|
|
|
libx11
|
|
|
|
|
libx264
|
|
|
|
|
libxaw
|
|
|
|
|
libxv))
|
2020-07-03 14:03:40 +02:00
|
|
|
|
(synopsis "Quick Time Library")
|
|
|
|
|
(description "The goal of this project is to enhance the quicktime4linux
|
|
|
|
|
library.")
|
|
|
|
|
(home-page "http://libquicktime.sourceforge.net/")
|
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
2021-10-02 22:31:21 +02:00
|
|
|
|
(define-public mjpg-streamer
|
|
|
|
|
(package
|
|
|
|
|
(name "mjpg-streamer")
|
|
|
|
|
(version "1.0.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/jacksonliam/mjpg-streamer")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0w81pg228154blzbzr590xwhcll9baxyqxl6wxrgqsi9cd7pzq23"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(with-directory-excursion "mjpg-streamer-experimental/www"
|
|
|
|
|
(for-each delete-file-recursively
|
|
|
|
|
'("cambozola.jar"
|
|
|
|
|
"JQuerySpinBtn.css"
|
|
|
|
|
"JQuerySpinBtn.js"
|
|
|
|
|
"jquery.js"
|
|
|
|
|
"jquery.rotate.js"
|
|
|
|
|
"jquery.ui.core.min.js"
|
|
|
|
|
"jquery.ui.custom.css"
|
|
|
|
|
"jquery.ui.tabs.min.js"
|
|
|
|
|
"jquery.ui.widget.min.js")))))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f ; no test suite
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'chdir
|
|
|
|
|
(lambda* _
|
|
|
|
|
(chdir "mjpg-streamer-experimental"))))))
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(inputs (list libjpeg-turbo))
|
2021-10-02 22:31:21 +02:00
|
|
|
|
(synopsis "Stream JPEG over IP network")
|
|
|
|
|
(description "Command line application that copies JPEG frames from one or
|
|
|
|
|
more input plugins to multiple output plugins. It can be used to stream JPEG
|
|
|
|
|
files over an IP-based network from a webcam to various types of viewers such
|
|
|
|
|
as Chrome, Firefox, Cambozola, VLC, mplayer, and other software capable of
|
|
|
|
|
receiving MJPG streams.")
|
|
|
|
|
(home-page "https://github.com/jacksonliam/mjpg-streamer")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2020-07-03 14:07:02 +02:00
|
|
|
|
(define-public mjpegtools
|
|
|
|
|
(package
|
|
|
|
|
(name "mjpegtools")
|
|
|
|
|
(version "2.1.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "https://sourceforge.net/projects/" name "/files/"
|
|
|
|
|
name "/" version "/" name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0kvhxr5hkabj9v7ah2rzkbirndfqdijd9hp8v52c1z6bxddf019w"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 22:15:07 +01:00
|
|
|
|
(list gtk+-2 libdv libpng libquicktime sdl))
|
2020-07-03 14:07:02 +02:00
|
|
|
|
(synopsis "Tools for handling MPEG")
|
|
|
|
|
(description "Mjpeg tools is a suite of programs which support video capture,
|
|
|
|
|
editing, playback, and compression to MPEG of MJPEG video. Edit, play and
|
|
|
|
|
compression software is hardware independent.")
|
|
|
|
|
(home-page "http://mjpeg.sourceforge.net/")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2020-07-03 13:12:48 +02:00
|
|
|
|
(define-public libmms
|
|
|
|
|
(package
|
|
|
|
|
(name "libmms")
|
|
|
|
|
(version "0.6.4")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "https://sourceforge.net/projects/" name "/files/"
|
|
|
|
|
name "/" version "/" name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0kvhxr5hkabj9v7ah2rzkbirndfqdijd9hp8v52c1z6bxddf019w"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(synopsis "MMS stream protocol library")
|
|
|
|
|
(description "Libmms is a library for streaming media files using the mmst
|
|
|
|
|
and mmsh protocols.")
|
|
|
|
|
(home-page "https://sourceforge.net/projects/libmms/")
|
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
2020-07-02 15:10:19 +02:00
|
|
|
|
(define-public libvideogfx
|
|
|
|
|
(package
|
|
|
|
|
(name "libvideogfx")
|
|
|
|
|
(version "1.0.9")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(git-reference
|
gnu: Don't append '.git' to GitHub uris.
* gnu/packages/admin.scm (nmrpflash)[source]: Remove '.git' from URI.
* gnu/packages/aidc.scm (zxing-cpp),
* gnu/packages/assembly.scm (mbuild),
* gnu/packages/audio.scm (opensles, wildmidi, tinyalsa),
* gnu/packages/browser-extensions.scm (ublock-origin-chromium),
* gnu/packages/check.scm (mutest),
* gnu/packages/compression.scm (unshield),
* gnu/packages/coq.scm (subset),
* gnu/packages/dictionaries.scm (translate-shell),
* gnu/packages/disk.scm (memkind),
* gnu/packages/documentation.scm (latex2html),
* gnu/packages/emacs-xyz.scm (emacs-chronometrist,
emacs-flycheck-ledger, emacs-counsel-notmuch, emacs-spaceline,
emacs-org-generate),
* gnu/packages/embedded.scm (ebusd, ebusd-configuration),
* gnu/packages/enchant.scm (nuspell),
* gnu/packages/fontutils.scm (woff2),
* gnu/packages/geo.scm (memphis),
* gnu/packages/gimp.scm (mrg),
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-appindicator),
* gnu/packages/gnome.scm (parlatype),
* gnu/packages/golang.scm (go-github-com-tv42-httpunix,
go-github-com-ayufan-golang-kardianos-service),
* gnu/packages/graphics.scm (eglexternalplatform, egl-wayland, mmm,
directfb, flux),
* gnu/packages/gstreamer.scm (openni2, ccextractor, libvisual,
graphene),
* gnu/packages/guile-xyz.scm (guile-srfi-180, guile-torrent),
* gnu/packages/image.scm (openjpeg-data),
* gnu/packages/java.scm (javacc),
* gnu/packages/language.scm (liblouis, liblouisutdml),
* gnu/packages/linux.scm (pamela, ttyebus),
* gnu/packages/lxqt.scm (lxqt-connman-applet),
* gnu/packages/mail.scm (libetpan),
* gnu/packages/man.scm (ronn),
* gnu/packages/music.scm (tascam-gtk, artyfx),
* gnu/packages/networking.scm (srt, lksctp-tools, nng, nanomsg),
* gnu/packages/python-crypto.scm (pure-python-otr),
* gnu/packages/qt.scm (qtspell),
* gnu/packages/raspberry-pi.scm (raspi-gpio, raspi-open-firmware),
* gnu/packages/rdp.scm (freerdp),
* gnu/packages/ruby.scm (ruby-prawn-templates, ruby-treetop, ruby-gimme,
ruby-standard, ruby-rubocop-ast, ruby-rexml, ruby-range-compressor,
ruby-regexp-property-values, ruby-regexp-parser, ruby-rubocop,
ruby-pdf-reader, ruby-pdf-inspector, ruby-prawn),
* gnu/packages/syncthing.scm (syncthing-gtk),
* gnu/packages/video.scm (svt-hevc, mediasdk, libvideogfx, libde265,
tslib),
* gnu/packages/xml.scm (libxmlb, libxmlplusplus)[source]: Same.
2020-11-19 19:18:54 +01:00
|
|
|
|
(url "https://github.com/farindk/libvideogfx")
|
2020-07-02 15:10:19 +02:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "154b0j8cfg879pg08xcbwvbz8z9nrfnyj31i48vxir1psas70ynq"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-build-errors
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "libvideogfx/graphics/fileio/ffmpeg.cc"
|
|
|
|
|
(("av_close_input_file\\(")
|
|
|
|
|
"avformat_close_input(&"))
|
|
|
|
|
(substitute* "libvideogfx/graphics/fileio/png.cc"
|
|
|
|
|
(("is != NULL") "is.good()"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list autoconf automake libtool pkg-config))
|
2020-07-02 15:10:19 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("ffmpeg" ,ffmpeg-2.8)
|
|
|
|
|
("jpeg" ,libjpeg-turbo)
|
|
|
|
|
("png" ,libpng)
|
|
|
|
|
("x11" ,libx11)
|
|
|
|
|
("xext" ,libxext)))
|
|
|
|
|
(synopsis "Video processing library")
|
|
|
|
|
(description "LibVideoGfx is a C++ library for low-level video processing.
|
|
|
|
|
It aims at speeding up the development process for image and video processing
|
|
|
|
|
applications by providing high-level classes for commonly required tasks.")
|
|
|
|
|
(home-page "https://dirk-farin.net/software/libvideogfx/index.html")
|
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
2020-08-19 01:09:31 +02:00
|
|
|
|
(define-public libde265
|
|
|
|
|
(package
|
|
|
|
|
(name "libde265")
|
2020-11-24 23:19:01 +01:00
|
|
|
|
(version "1.0.8")
|
2020-08-19 01:09:31 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(git-reference
|
gnu: Don't append '.git' to GitHub uris.
* gnu/packages/admin.scm (nmrpflash)[source]: Remove '.git' from URI.
* gnu/packages/aidc.scm (zxing-cpp),
* gnu/packages/assembly.scm (mbuild),
* gnu/packages/audio.scm (opensles, wildmidi, tinyalsa),
* gnu/packages/browser-extensions.scm (ublock-origin-chromium),
* gnu/packages/check.scm (mutest),
* gnu/packages/compression.scm (unshield),
* gnu/packages/coq.scm (subset),
* gnu/packages/dictionaries.scm (translate-shell),
* gnu/packages/disk.scm (memkind),
* gnu/packages/documentation.scm (latex2html),
* gnu/packages/emacs-xyz.scm (emacs-chronometrist,
emacs-flycheck-ledger, emacs-counsel-notmuch, emacs-spaceline,
emacs-org-generate),
* gnu/packages/embedded.scm (ebusd, ebusd-configuration),
* gnu/packages/enchant.scm (nuspell),
* gnu/packages/fontutils.scm (woff2),
* gnu/packages/geo.scm (memphis),
* gnu/packages/gimp.scm (mrg),
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-appindicator),
* gnu/packages/gnome.scm (parlatype),
* gnu/packages/golang.scm (go-github-com-tv42-httpunix,
go-github-com-ayufan-golang-kardianos-service),
* gnu/packages/graphics.scm (eglexternalplatform, egl-wayland, mmm,
directfb, flux),
* gnu/packages/gstreamer.scm (openni2, ccextractor, libvisual,
graphene),
* gnu/packages/guile-xyz.scm (guile-srfi-180, guile-torrent),
* gnu/packages/image.scm (openjpeg-data),
* gnu/packages/java.scm (javacc),
* gnu/packages/language.scm (liblouis, liblouisutdml),
* gnu/packages/linux.scm (pamela, ttyebus),
* gnu/packages/lxqt.scm (lxqt-connman-applet),
* gnu/packages/mail.scm (libetpan),
* gnu/packages/man.scm (ronn),
* gnu/packages/music.scm (tascam-gtk, artyfx),
* gnu/packages/networking.scm (srt, lksctp-tools, nng, nanomsg),
* gnu/packages/python-crypto.scm (pure-python-otr),
* gnu/packages/qt.scm (qtspell),
* gnu/packages/raspberry-pi.scm (raspi-gpio, raspi-open-firmware),
* gnu/packages/rdp.scm (freerdp),
* gnu/packages/ruby.scm (ruby-prawn-templates, ruby-treetop, ruby-gimme,
ruby-standard, ruby-rubocop-ast, ruby-rexml, ruby-range-compressor,
ruby-regexp-property-values, ruby-regexp-parser, ruby-rubocop,
ruby-pdf-reader, ruby-pdf-inspector, ruby-prawn),
* gnu/packages/syncthing.scm (syncthing-gtk),
* gnu/packages/video.scm (svt-hevc, mediasdk, libvideogfx, libde265,
tslib),
* gnu/packages/xml.scm (libxmlb, libxmlplusplus)[source]: Same.
2020-11-19 19:18:54 +01:00
|
|
|
|
(url "https://github.com/strukturag/libde265")
|
2020-08-19 01:09:31 +02:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2020-11-24 23:19:01 +01:00
|
|
|
|
(base32 "1dzflqbk248lz5ws0ni5acmf32b3rmnq5gsfaz7691qqjxkl1zml"))))
|
2020-08-19 01:09:31 +02:00
|
|
|
|
(build-system gnu-build-system)
|
2020-08-19 01:08:45 +02:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list "--disable-static")))
|
2020-08-19 01:09:31 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("python" ,python-wrapper)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(;; XXX: Build fails with libvideogfx.
|
|
|
|
|
;; ("libvideogfx" ,libvideogfx)
|
2021-04-10 03:53:32 +02:00
|
|
|
|
("qt" ,qtbase-5)
|
2020-08-19 01:09:31 +02:00
|
|
|
|
("sdl" ,sdl)))
|
|
|
|
|
(synopsis "H.265 video codec implementation")
|
|
|
|
|
(description "Libde265 is an implementation of the h.265 video codec. It is
|
|
|
|
|
written from scratch and has a plain C API to enable a simple integration into
|
|
|
|
|
other software.")
|
|
|
|
|
(home-page "https://www.libde265.org/")
|
|
|
|
|
(license
|
|
|
|
|
(list
|
|
|
|
|
;; Applications.
|
|
|
|
|
license:expat
|
|
|
|
|
;; Library.
|
|
|
|
|
license:lgpl3+))))
|
|
|
|
|
|
2020-07-01 06:45:50 +02:00
|
|
|
|
(define-public tslib
|
|
|
|
|
(package
|
|
|
|
|
(name "tslib")
|
2020-08-19 17:52:09 +02:00
|
|
|
|
(version "1.22")
|
2020-07-01 06:45:50 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(git-reference
|
gnu: Don't append '.git' to GitHub uris.
* gnu/packages/admin.scm (nmrpflash)[source]: Remove '.git' from URI.
* gnu/packages/aidc.scm (zxing-cpp),
* gnu/packages/assembly.scm (mbuild),
* gnu/packages/audio.scm (opensles, wildmidi, tinyalsa),
* gnu/packages/browser-extensions.scm (ublock-origin-chromium),
* gnu/packages/check.scm (mutest),
* gnu/packages/compression.scm (unshield),
* gnu/packages/coq.scm (subset),
* gnu/packages/dictionaries.scm (translate-shell),
* gnu/packages/disk.scm (memkind),
* gnu/packages/documentation.scm (latex2html),
* gnu/packages/emacs-xyz.scm (emacs-chronometrist,
emacs-flycheck-ledger, emacs-counsel-notmuch, emacs-spaceline,
emacs-org-generate),
* gnu/packages/embedded.scm (ebusd, ebusd-configuration),
* gnu/packages/enchant.scm (nuspell),
* gnu/packages/fontutils.scm (woff2),
* gnu/packages/geo.scm (memphis),
* gnu/packages/gimp.scm (mrg),
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-appindicator),
* gnu/packages/gnome.scm (parlatype),
* gnu/packages/golang.scm (go-github-com-tv42-httpunix,
go-github-com-ayufan-golang-kardianos-service),
* gnu/packages/graphics.scm (eglexternalplatform, egl-wayland, mmm,
directfb, flux),
* gnu/packages/gstreamer.scm (openni2, ccextractor, libvisual,
graphene),
* gnu/packages/guile-xyz.scm (guile-srfi-180, guile-torrent),
* gnu/packages/image.scm (openjpeg-data),
* gnu/packages/java.scm (javacc),
* gnu/packages/language.scm (liblouis, liblouisutdml),
* gnu/packages/linux.scm (pamela, ttyebus),
* gnu/packages/lxqt.scm (lxqt-connman-applet),
* gnu/packages/mail.scm (libetpan),
* gnu/packages/man.scm (ronn),
* gnu/packages/music.scm (tascam-gtk, artyfx),
* gnu/packages/networking.scm (srt, lksctp-tools, nng, nanomsg),
* gnu/packages/python-crypto.scm (pure-python-otr),
* gnu/packages/qt.scm (qtspell),
* gnu/packages/raspberry-pi.scm (raspi-gpio, raspi-open-firmware),
* gnu/packages/rdp.scm (freerdp),
* gnu/packages/ruby.scm (ruby-prawn-templates, ruby-treetop, ruby-gimme,
ruby-standard, ruby-rubocop-ast, ruby-rexml, ruby-range-compressor,
ruby-regexp-property-values, ruby-regexp-parser, ruby-rubocop,
ruby-pdf-reader, ruby-pdf-inspector, ruby-prawn),
* gnu/packages/syncthing.scm (syncthing-gtk),
* gnu/packages/video.scm (svt-hevc, mediasdk, libvideogfx, libde265,
tslib),
* gnu/packages/xml.scm (libxmlb, libxmlplusplus)[source]: Same.
2020-11-19 19:18:54 +01:00
|
|
|
|
(url "https://github.com/libts/tslib")
|
2020-07-01 06:45:50 +02:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2020-08-19 17:52:09 +02:00
|
|
|
|
(base32 "197p6vy539wvfrv23agbvmay4rjya1jnisi46llm0nx4cvqh48by"))))
|
2020-07-01 06:45:50 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:test-target "tests"
|
|
|
|
|
#:configure-flags
|
2020-08-19 17:52:09 +02:00
|
|
|
|
(list "--with-sdl2")))
|
2020-07-01 06:45:50 +02:00
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list autoconf automake libtool pkg-config))
|
2020-07-01 06:45:50 +02:00
|
|
|
|
(inputs
|
2021-12-13 16:30:26 +01:00
|
|
|
|
`(("sdl2" ,sdl2)))
|
2020-07-01 06:45:50 +02:00
|
|
|
|
(synopsis "Touchscreen access library")
|
|
|
|
|
(description "TSLib is a cross-platform library that provides access to
|
|
|
|
|
touchscreen devices and the ability to apply filters to their input events.")
|
|
|
|
|
(home-page "http://www.tslib.org/")
|
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
2020-07-01 06:24:40 +02:00
|
|
|
|
(define-public libmpeg3
|
|
|
|
|
(package
|
|
|
|
|
(name "libmpeg3")
|
|
|
|
|
(version "1.8")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "https://sourceforge.net/projects/heroines/files/"
|
|
|
|
|
"releases/081108/" name "-" version "-src.tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1i53vv0wm5qfwgg1z7j9g14s6c7gxxkiy4vbdkq3lijjyyz50vv5"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:test-target "test"
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list
|
|
|
|
|
(string-append "A52DIR=" (assoc-ref %build-inputs "liba52"))
|
|
|
|
|
(string-append "DST=" (assoc-ref %outputs "out") "/bin"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'delete-bundled-a52dec
|
|
|
|
|
(lambda _
|
|
|
|
|
(delete-file-recursively "a52dec-0.7.3")
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("include Makefile\\.a52")
|
|
|
|
|
"")
|
|
|
|
|
(("\\(A52DIR\\)/include")
|
|
|
|
|
"(A52DIR)/include/a52dec")
|
|
|
|
|
(("LIBS = " match)
|
|
|
|
|
(string-append match "-la52 ")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'install 'create-destination-directory
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (string-append (assoc-ref outputs "out"))))
|
|
|
|
|
(mkdir-p (string-append out "/bin"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list nasm))
|
2020-07-01 06:24:40 +02:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list liba52))
|
2020-07-01 06:24:40 +02:00
|
|
|
|
(synopsis "Advanced MPEG editing and manipulation library")
|
|
|
|
|
(description "Libmpeg3 decodes MP2, MP3, AC3, MPEG-1 video, MPEG-2 video,
|
|
|
|
|
and DVD footage in a single library. It supports many esoteric features like
|
|
|
|
|
parallel video decoding, frame-accurate editing, YUV 4:2:2, and ATSC transport
|
|
|
|
|
stream decoding")
|
|
|
|
|
(home-page "http://heroinewarrior.com/libmpeg3.php")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
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
|
2021-08-17 06:55:53 +02:00
|
|
|
|
`(("config" ,config)
|
|
|
|
|
("makeinfo" ,texinfo)))
|
2015-04-04 17:08:52 +02:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list ncurses))
|
2015-04-04 17:08:52 +02:00
|
|
|
|
(arguments
|
2016-08-17 19:55:05 +02:00
|
|
|
|
`(#:phases
|
2015-04-04 17:08:52 +02:00
|
|
|
|
(modify-phases %standard-phases
|
2021-08-17 06:55:53 +02:00
|
|
|
|
(add-after 'unpack 'update-config-scripts
|
|
|
|
|
(lambda* (#:key inputs native-inputs #:allow-other-keys)
|
|
|
|
|
;; Replace outdated config.guess and config.sub.
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(install-file
|
|
|
|
|
(search-input-file
|
|
|
|
|
(or native-inputs inputs)
|
|
|
|
|
(string-append "/bin/" file)) "."))
|
|
|
|
|
'("config.guess" "config.sub"))))
|
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)
|
|
|
|
|
(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+)))
|
|
|
|
|
|
2019-09-25 16:50:04 +02:00
|
|
|
|
(define-public celluloid
|
|
|
|
|
(package
|
|
|
|
|
(name "celluloid")
|
2021-12-17 03:09:02 +01:00
|
|
|
|
(version "0.22")
|
2019-09-25 16:50:04 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2020-09-23 21:02:19 +02:00
|
|
|
|
(uri (string-append "https://github.com/celluloid-player/celluloid"
|
|
|
|
|
"/releases/download/v" version
|
|
|
|
|
"/celluloid-" version ".tar.xz"))
|
2019-09-25 16:50:04 +02:00
|
|
|
|
(sha256
|
2021-12-17 03:09:02 +01:00
|
|
|
|
(base32 "18g596ja8g0fy79pmxqdlzqzb0f9xq69ik4bah8g2ppipfvxbpjz"))))
|
2019-09-25 16:50:04 +02:00
|
|
|
|
(build-system glib-or-gtk-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list intltool pkg-config))
|
2019-09-25 16:50:04 +02:00
|
|
|
|
(inputs
|
2021-12-17 03:09:02 +01:00
|
|
|
|
(list gtk libepoxy mpv))
|
2019-09-25 16:50:04 +02:00
|
|
|
|
(home-page "https://github.com/celluloid-player/celluloid")
|
|
|
|
|
(synopsis "GTK+ frontend for the mpv media player")
|
|
|
|
|
(description "Celluloid is a simple GTK+ frontend for the mpv media player.
|
|
|
|
|
It interacts with mpv via the client API exported by libmpv, allowing access to
|
|
|
|
|
mpv's powerful playback capabilities.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
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
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list autoconf automake 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/")
|
2021-06-16 13:51:11 +02:00
|
|
|
|
(synopsis "ATSC A/52 audio stream decoder")
|
|
|
|
|
(description "liba52 is a library for decoding ATSC A/52 audio streams.
|
|
|
|
|
The A/52 standard is used in a variety of applications, including digital
|
2015-03-06 10:17:19 +01:00
|
|
|
|
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
|
|
|
|
|
2019-03-05 22:58:32 +01:00
|
|
|
|
(define-public libaom
|
2020-02-15 18:28:43 +01:00
|
|
|
|
(package
|
|
|
|
|
(name "libaom")
|
2021-11-09 00:00:30 +01:00
|
|
|
|
(version "3.2.0")
|
2020-02-15 18:28:43 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://aomedia.googlesource.com/aom/")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-11-09 00:00:30 +01:00
|
|
|
|
"0fmnbzpl481i7kchx4hbvb507r5pfgyrzfrlrs7jk3bicycm75qv"))))
|
2020-02-15 18:28:43 +01:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list perl pkg-config python)) ; to detect the version
|
2020-02-15 18:28:43 +01:00
|
|
|
|
(arguments
|
2021-06-16 16:21:14 +02:00
|
|
|
|
`(#:tests? #f ; downloads many video clips
|
2020-02-15 18:28:43 +01:00
|
|
|
|
#:configure-flags
|
|
|
|
|
(list "-DBUILD_SHARED_LIBS=YES"
|
|
|
|
|
"-DENABLE_PIC=TRUE"
|
|
|
|
|
"-DAOM_TARGET_CPU=generic"
|
|
|
|
|
(string-append "-DCMAKE_INSTALL_PREFIX="
|
2021-06-16 16:21:14 +02:00
|
|
|
|
(assoc-ref %outputs "out")))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'delete-static-libraries
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(lib (string-append out "/lib")))
|
|
|
|
|
(for-each delete-file
|
|
|
|
|
(find-files lib "\\.a$"))))))))
|
2020-02-15 18:28:43 +01:00
|
|
|
|
(home-page "https://aomedia.googlesource.com/aom/")
|
|
|
|
|
(synopsis "AV1 video codec")
|
|
|
|
|
(description "Libaom is the reference implementation of AV1. It includes a
|
|
|
|
|
shared library and encoder and decoder command-line executables.")
|
|
|
|
|
(license license:bsd-2)))
|
2019-03-05 22:58:32 +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"))
|
2019-10-19 14:26:18 +02:00
|
|
|
|
(patches (search-patches "libmpeg2-arm-private-symbols.patch"
|
|
|
|
|
"libmpeg2-global-symbol-test.patch"))
|
2015-07-07 19:06:00 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1m3i322n2fwgrvbs1yck7g5md1dbg22bhq5xdqmjpz5m7j4jxqny"))))
|
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list libx11
|
|
|
|
|
libxext
|
|
|
|
|
libxv
|
|
|
|
|
libsm
|
|
|
|
|
libice
|
|
|
|
|
sdl))
|
2015-07-07 19:06:00 +02:00
|
|
|
|
(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
|
2020-02-01 15:39:05 +01:00
|
|
|
|
;; There are no tags in the repository, so we take the version number from
|
|
|
|
|
;; the X264_BUILD variable defined in x264.h.
|
2020-10-22 18:38:29 +02:00
|
|
|
|
(let ((version "161")
|
|
|
|
|
(commit "4c2aafd864dd201832ec2be0fef4484925146650")
|
2020-02-01 15:39:05 +01:00
|
|
|
|
(revision "0"))
|
|
|
|
|
(package
|
|
|
|
|
(name "libx264")
|
|
|
|
|
(version (git-version version revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://code.videolan.org/videolan/x264.git")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-10-22 18:38:29 +02:00
|
|
|
|
"1i6v9h3xx9pi0zmlj3anwwjxqa63sbhy9crrif8dphipwfn9hyg5"))))
|
2020-02-01 15:39:05 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list pkg-config nasm))
|
2020-02-01 15:39:05 +01: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).
|
|
|
|
|
"--disable-cli"
|
2016-08-16 06:38:49 +02:00
|
|
|
|
|
2020-02-01 15:39:05 +01:00
|
|
|
|
;; 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")
|
|
|
|
|
'()))))
|
|
|
|
|
(home-page "https://www.videolan.org/developers/x264.html")
|
|
|
|
|
(synopsis "H.264 video coding library")
|
|
|
|
|
(description "libx264 is an advanced encoding library for creating
|
2015-07-07 20:48:28 +02:00
|
|
|
|
H.264 (MPEG-4 AVC) video streams.")
|
2020-02-01 15:39:05 +01:00
|
|
|
|
(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."))))))
|
2015-07-07 20:48:28 +02:00
|
|
|
|
|
2017-06-24 21:04:20 +02:00
|
|
|
|
(define-public mkvtoolnix
|
|
|
|
|
(package
|
|
|
|
|
(name "mkvtoolnix")
|
2021-01-12 10:41:08 +01:00
|
|
|
|
(version "52.0.0")
|
2017-06-24 21:04:20 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://mkvtoolnix.download/sources/"
|
2019-08-26 16:07:36 +02:00
|
|
|
|
"mkvtoolnix-" version ".tar.xz"))
|
2017-06-24 21:04:20 +02:00
|
|
|
|
(sha256
|
2021-01-12 10:41:08 +01:00
|
|
|
|
(base32 "15y7ahlifsclnkl70wn5w34dil8nwcwcjnw3k2ydqc6dz4vb0j5s"))
|
2017-06-24 21:04:20 +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 bundled libraries.
|
|
|
|
|
(for-each delete-file-recursively
|
2019-03-04 16:13:30 +01:00
|
|
|
|
'("lib/fmt"
|
|
|
|
|
"lib/libebml"
|
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
|
|
|
|
"lib/libmatroska"
|
|
|
|
|
"lib/nlohmann-json"
|
|
|
|
|
"lib/pugixml"
|
|
|
|
|
"lib/utf8-cpp"))
|
|
|
|
|
#t))))
|
2017-06-24 21:04:20 +02:00
|
|
|
|
(build-system gnu-build-system)
|
2019-03-15 09:19:00 +01:00
|
|
|
|
(outputs '("out" "gui")) ; "mkvtoolnix-gui" brings the closure size from ~300 MB to 1.5+ GB.
|
2017-06-24 21:04:20 +02:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list boost
|
|
|
|
|
bzip2
|
|
|
|
|
cmark
|
|
|
|
|
libebml
|
|
|
|
|
file
|
|
|
|
|
flac
|
|
|
|
|
fmt
|
|
|
|
|
libdvdread
|
|
|
|
|
libmatroska
|
|
|
|
|
libogg
|
|
|
|
|
libvorbis
|
|
|
|
|
lzo
|
|
|
|
|
pcre2
|
|
|
|
|
pugixml
|
|
|
|
|
qtbase-5
|
|
|
|
|
qtmultimedia
|
|
|
|
|
utfcpp
|
|
|
|
|
zlib))
|
2017-06-24 21:04:20 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("docbook-xsl" ,docbook-xsl)
|
|
|
|
|
("gettext" ,gettext-minimal)
|
|
|
|
|
("googletest" ,googletest)
|
|
|
|
|
("libxslt" ,libxslt)
|
2019-11-28 21:40:13 +01:00
|
|
|
|
("json-modern-cxx" ,json-modern-cxx)
|
2017-06-24 21:04:20 +02:00
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("po4a" ,po4a)
|
2019-03-04 16:15:01 +01:00
|
|
|
|
("qttools" ,qttools)
|
2017-06-24 21:04:20 +02:00
|
|
|
|
("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))
|
2019-03-04 16:11:50 +01:00
|
|
|
|
"--enable-update-check=no"
|
|
|
|
|
"--enable-precompiled-headers=no")
|
2017-06-24 21:04:20 +02:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2019-08-26 19:22:00 +02:00
|
|
|
|
(add-after 'unpack 'patch-relative-file-names
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(substitute* "src/mkvtoolnix-gui/util/settings.cpp"
|
|
|
|
|
(("mkvmerge" match)
|
|
|
|
|
(string-append out "/bin/" match)))
|
|
|
|
|
#t)))
|
2017-06-24 21:04:20 +02:00
|
|
|
|
(add-before 'configure 'add-googletest
|
2019-03-04 16:11:50 +01:00
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
2021-09-11 16:43:28 +02:00
|
|
|
|
(symlink (search-input-directory inputs "/include/gtest")
|
2021-07-16 16:01:49 +02:00
|
|
|
|
"lib/gtest")))
|
2017-06-24 21:04:20 +02:00
|
|
|
|
(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 _
|
2019-03-15 09:19:00 +01:00
|
|
|
|
(invoke "rake" "install")))
|
|
|
|
|
(add-after 'install 'post-install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Move the Qt interface to "gui".
|
2019-03-15 20:32:36 +01:00
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(gui (assoc-ref outputs "gui"))
|
|
|
|
|
(strip-store-dir (lambda (path)
|
|
|
|
|
(substring path (string-prefix-length out path)))))
|
2019-03-15 09:19:00 +01:00
|
|
|
|
(for-each
|
|
|
|
|
(lambda (file)
|
|
|
|
|
(mkdir-p (string-append gui (dirname file)))
|
|
|
|
|
(rename-file (string-append out file)
|
|
|
|
|
(string-append gui file)))
|
2019-03-15 20:32:36 +01:00
|
|
|
|
(append '("/bin/mkvtoolnix-gui"
|
|
|
|
|
"/share/applications/org.bunkus.mkvtoolnix-gui.desktop"
|
|
|
|
|
"/share/metainfo/org.bunkus.mkvtoolnix-gui.appdata.xml"
|
|
|
|
|
"/share/mime/packages/org.bunkus.mkvtoolnix-gui.xml")
|
|
|
|
|
(map strip-store-dir (find-files out "\\.ogg$"))
|
|
|
|
|
(map strip-store-dir (find-files out "mkvtoolnix-gui\\.png$"))
|
|
|
|
|
(map strip-store-dir (find-files out "mkvtoolnix-gui\\.1"))))
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (file)
|
|
|
|
|
(delete-file-recursively (string-append out file)))
|
|
|
|
|
'("/share/applications"
|
|
|
|
|
"/share/metainfo"
|
|
|
|
|
"/share/mime"
|
|
|
|
|
"/share/mkvtoolnix")))
|
2019-03-15 09:19:00 +01:00
|
|
|
|
#t)))))
|
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
|
2019-08-26 17:34:42 +02:00
|
|
|
|
(@command{mkvinfo}), extracting tracks/data from Matroska files
|
|
|
|
|
(@command{mkvextract}), and creating Matroska files from other media files
|
|
|
|
|
(@command{mkvmerge}).")
|
2017-06-24 21:04:20 +02:00
|
|
|
|
(license license:gpl2)))
|
|
|
|
|
|
2021-06-22 16:58:51 +02:00
|
|
|
|
(define-public pipe-viewer
|
2020-03-17 19:40:55 +01:00
|
|
|
|
(package
|
2021-06-22 16:58:51 +02:00
|
|
|
|
(name "pipe-viewer")
|
2021-11-21 19:21:12 +01:00
|
|
|
|
(version "0.1.7")
|
2020-03-17 19:40:55 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
2021-06-22 16:58:51 +02:00
|
|
|
|
(uri
|
|
|
|
|
(git-reference
|
|
|
|
|
(url "https://github.com/trizen/pipe-viewer")
|
|
|
|
|
(commit version)))
|
2020-03-17 19:40:55 +01:00
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2021-11-21 19:21:12 +01:00
|
|
|
|
(base32 "1fh8b77vchpsar88dszsz5h1gzd4jz0v902igp2880vnpvacmfi9"))))
|
2020-03-17 19:40:55 +01:00
|
|
|
|
(build-system perl-build-system)
|
2021-06-22 16:58:51 +02:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:imported-modules
|
|
|
|
|
((guix build copy-build-system)
|
|
|
|
|
,@%perl-build-system-modules)
|
|
|
|
|
#:modules
|
|
|
|
|
(((guix build copy-build-system)
|
|
|
|
|
#:prefix copy:)
|
|
|
|
|
(guix build perl-build-system)
|
|
|
|
|
(guix build utils)
|
|
|
|
|
(srfi srfi-26))
|
|
|
|
|
#:module-build-flags
|
|
|
|
|
(list
|
|
|
|
|
"--gtk3")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-source
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
2021-07-20 13:54:56 +02:00
|
|
|
|
(substitute* (find-files "lib" "\\.pm$")
|
|
|
|
|
(("\"youtube-dl\"")
|
|
|
|
|
(format #f "\"~a/bin/youtube-dl\""
|
2021-11-27 11:28:28 +01:00
|
|
|
|
(assoc-ref inputs "youtube-dl")))
|
|
|
|
|
(("\"yt-dlp\"")
|
|
|
|
|
(format #f "\"~a/bin/yt-dlp\""
|
|
|
|
|
(assoc-ref inputs "yt-dlp"))))
|
2021-07-20 13:54:56 +02:00
|
|
|
|
(substitute* (find-files "bin" ".*-viewer$")
|
2021-06-22 16:58:51 +02:00
|
|
|
|
(("'ffmpeg'")
|
|
|
|
|
(format #f "'~a/bin/ffmpeg'"
|
|
|
|
|
(assoc-ref inputs "ffmpeg")))
|
|
|
|
|
(("'wget'")
|
|
|
|
|
(format #f "'~a/bin/wget'"
|
|
|
|
|
(assoc-ref inputs "wget")))
|
|
|
|
|
(("'xdg-open'")
|
|
|
|
|
(format #f "'~a/bin/xdg-open'"
|
|
|
|
|
(assoc-ref inputs "xdg-utils")))
|
|
|
|
|
(("'youtube-dl'")
|
|
|
|
|
(format #f "'~a/bin/youtube-dl'"
|
2021-11-27 11:28:28 +01:00
|
|
|
|
(assoc-ref inputs "youtube-dl")))
|
|
|
|
|
(("'yt-dlp'")
|
|
|
|
|
(format #f "'~a/bin/yt-dlp'"
|
|
|
|
|
(assoc-ref inputs "yt-dlp"))))))
|
2021-06-22 16:58:51 +02:00
|
|
|
|
(add-after 'install 'install-xdg
|
|
|
|
|
(lambda args
|
|
|
|
|
(apply (assoc-ref copy:%standard-phases 'install)
|
|
|
|
|
#:install-plan
|
|
|
|
|
'(("share/icons" "share/pixmaps")
|
|
|
|
|
("share" "share/applications"
|
|
|
|
|
#:include-regexp ("\\.desktop$")))
|
|
|
|
|
args)))
|
|
|
|
|
(add-after 'install-xdg 'wrap-programs
|
|
|
|
|
(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/"))
|
|
|
|
|
(perl-lib (getenv "PERL5LIB"))
|
|
|
|
|
(gi-typelib (getenv "GI_TYPELIB_PATH")))
|
|
|
|
|
(for-each
|
|
|
|
|
(cut wrap-program <>
|
|
|
|
|
`("PERL5LIB" ":" prefix (,perl-lib ,site-dir))
|
|
|
|
|
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib)))
|
|
|
|
|
(find-files bin-dir))))))))
|
2020-03-17 19:40:55 +01:00
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list perl-module-build perl-test-pod perl-test-simple))
|
2020-03-17 19:40:55 +01:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list perl-data-dump
|
|
|
|
|
perl-digest-md5
|
|
|
|
|
perl-encode
|
|
|
|
|
ffmpeg
|
|
|
|
|
perl-file-path
|
|
|
|
|
perl-file-sharedir
|
|
|
|
|
perl-getopt-long
|
|
|
|
|
perl-gtk3
|
|
|
|
|
perl-http-message
|
|
|
|
|
perl-json
|
|
|
|
|
perl-json-xs
|
|
|
|
|
perl-libwww
|
|
|
|
|
perl-lwp-protocol-https
|
|
|
|
|
perl-lwp-useragent-cached
|
|
|
|
|
perl-memoize
|
|
|
|
|
perl-mime-base64
|
|
|
|
|
perl-pathtools
|
|
|
|
|
perl-scalar-list-utils
|
|
|
|
|
perl-storable
|
|
|
|
|
perl-term-ansicolor
|
|
|
|
|
perl-term-readline-gnu
|
|
|
|
|
perl-text-parsewords
|
|
|
|
|
perl-text-tabs+wrap
|
|
|
|
|
perl-unicode-linebreak
|
|
|
|
|
perl-uri-escape
|
|
|
|
|
wget
|
|
|
|
|
xdg-utils
|
|
|
|
|
youtube-dl
|
|
|
|
|
yt-dlp))
|
2020-12-20 22:10:58 +01:00
|
|
|
|
(propagated-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list dconf))
|
2021-06-22 16:58:51 +02:00
|
|
|
|
(home-page "https://github.com/trizen/pipe-viewer")
|
|
|
|
|
(synopsis "CLI+GUI YouTube Client")
|
|
|
|
|
(description "Pipe-Viewer is a lightweight application for searching and
|
|
|
|
|
playing videos from YouTube. It parses the YouTube website directly and relies
|
|
|
|
|
on the Invidious instances only as a fallback method.")
|
|
|
|
|
(license license:artistic2.0)))
|
2020-03-17 19:40:55 +01:00
|
|
|
|
|
|
|
|
|
(define-public straw-viewer
|
2021-06-24 16:00:41 +02:00
|
|
|
|
(deprecated-package "straw-viewer" pipe-viewer))
|
2020-03-17 19:40:55 +01:00
|
|
|
|
|
2016-10-24 21:34:04 +02:00
|
|
|
|
(define-public x265
|
|
|
|
|
(package
|
|
|
|
|
(name "x265")
|
2020-06-27 16:48:20 +02:00
|
|
|
|
(version "3.4")
|
2018-11-27 18:12:01 +01:00
|
|
|
|
(outputs '("out" "static"))
|
2016-10-24 21:34:04 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2019-08-04 19:44:08 +02:00
|
|
|
|
(uri (list (string-append "https://bitbucket.org/multicoreware/x265"
|
|
|
|
|
"/downloads/x265_" version ".tar.gz")
|
|
|
|
|
(string-append "https://download.videolan.org/videolan/x265/"
|
|
|
|
|
"x265_" version ".tar.gz")))
|
2016-10-24 21:34:04 +02:00
|
|
|
|
(sha256
|
2020-06-27 16:48:20 +02:00
|
|
|
|
(base32 "0wl62hfsdqpf3r3z3s6l9bz7pdb1rcik5ll00b3yaadplqipy162"))
|
2019-01-29 08:47:25 +01:00
|
|
|
|
(patches (search-patches "x265-arm-flags.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)
|
2020-06-09 20:27:09 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
;; XXX: ASM optimization fails on i686-linux, see <https://bugs.gnu.org/41768>.
|
|
|
|
|
(if (string-prefix? "i686" (%current-system))
|
|
|
|
|
'()
|
|
|
|
|
`(("nasm" ,nasm))))
|
2016-10-24 21:34:04 +02:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; tests are skipped if cpu-optimized code isn't built
|
2018-11-27 18:10:44 +01:00
|
|
|
|
#:configure-flags
|
|
|
|
|
;; Ensure position independent code for everyone.
|
|
|
|
|
(list "-DENABLE_PIC=TRUE"
|
2020-06-27 16:48:20 +02:00
|
|
|
|
,@(if (target-arm?)
|
2018-11-27 18:16:24 +01:00
|
|
|
|
'("-DENABLE_ASSEMBLY=OFF")
|
|
|
|
|
'())
|
2018-11-27 18:10:44 +01:00
|
|
|
|
(string-append "-DCMAKE_INSTALL_PREFIX="
|
|
|
|
|
(assoc-ref %outputs "out")))
|
2016-10-24 21:34:04 +02:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2018-11-27 18:10:44 +01:00
|
|
|
|
(add-after 'unpack 'prepare-build
|
2016-10-24 21:34:04 +02:00
|
|
|
|
(lambda _
|
|
|
|
|
(delete-file-recursively "build")
|
|
|
|
|
(chdir "source")
|
2018-11-27 18:10:44 +01:00
|
|
|
|
#t))
|
|
|
|
|
(add-before 'configure 'build-12-bit
|
|
|
|
|
(lambda* (#:key (configure-flags '()) #:allow-other-keys)
|
|
|
|
|
(mkdir "../build-12bit")
|
|
|
|
|
(with-directory-excursion "../build-12bit"
|
|
|
|
|
(apply invoke
|
|
|
|
|
"cmake" "../source"
|
|
|
|
|
"-DHIGH_BIT_DEPTH=ON"
|
|
|
|
|
"-DEXPORT_C_API=OFF"
|
|
|
|
|
"-DENABLE_CLI=OFF"
|
|
|
|
|
"-DMAIN12=ON"
|
|
|
|
|
configure-flags)
|
|
|
|
|
(substitute* (cons "cmake_install.cmake"
|
|
|
|
|
(append
|
|
|
|
|
(find-files "CMakeFiles/x265-shared.dir" ".")
|
|
|
|
|
(find-files "CMakeFiles/x265-static.dir" ".")))
|
|
|
|
|
(("libx265") "libx265_main12"))
|
|
|
|
|
(invoke "make"))))
|
|
|
|
|
(add-before 'configure 'build-10-bit
|
|
|
|
|
(lambda* (#:key (configure-flags '()) #:allow-other-keys)
|
|
|
|
|
(mkdir "../build-10bit")
|
|
|
|
|
(with-directory-excursion "../build-10bit"
|
|
|
|
|
(apply invoke
|
|
|
|
|
"cmake" "../source"
|
|
|
|
|
"-DHIGH_BIT_DEPTH=ON"
|
|
|
|
|
"-DEXPORT_C_API=OFF"
|
|
|
|
|
"-DENABLE_CLI=OFF"
|
|
|
|
|
configure-flags)
|
|
|
|
|
(substitute* (cons "cmake_install.cmake"
|
|
|
|
|
(append
|
|
|
|
|
(find-files "CMakeFiles/x265-shared.dir" ".")
|
|
|
|
|
(find-files "CMakeFiles/x265-static.dir" ".")))
|
|
|
|
|
(("libx265") "libx265_main10"))
|
|
|
|
|
(invoke "make"))))
|
|
|
|
|
(add-after 'install 'install-more-libs
|
|
|
|
|
(lambda _
|
|
|
|
|
(with-directory-excursion "../build-12bit"
|
|
|
|
|
(invoke "make" "install"))
|
|
|
|
|
(with-directory-excursion "../build-10bit"
|
2018-11-27 18:12:01 +01:00
|
|
|
|
(invoke "make" "install"))))
|
|
|
|
|
(add-before 'strip 'move-static-libs
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(static (assoc-ref outputs "static")))
|
|
|
|
|
(mkdir-p (string-append static "/lib"))
|
|
|
|
|
(with-directory-excursion
|
|
|
|
|
(string-append out "/lib")
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (file)
|
|
|
|
|
(rename-file file
|
|
|
|
|
(string-append static "/lib/" file)))
|
|
|
|
|
(find-files "." "\\.a$"))))
|
|
|
|
|
#t)))))
|
2016-10-24 21:34:04 +02:00
|
|
|
|
(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")
|
2021-06-28 19:46:42 +02:00
|
|
|
|
(version "0.15.1")
|
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
|
2021-06-28 19:46:42 +02:00
|
|
|
|
"0lwfmdizzrr4gcq3fgw4j8g9pkrqgx6h0f3pgrrnxc07s34kkp8w"))))
|
2015-03-04 22:37:08 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2020-11-26 21:15:32 +01:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags '("--disable-static")))
|
2015-03-04 22:37:08 +01:00
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list pkg-config nasm))
|
2015-03-04 22:37:08 +01:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("freetype" ,freetype)
|
|
|
|
|
("fribidi" ,fribidi)
|
|
|
|
|
("fontconfig" ,fontconfig)
|
2020-11-26 21:15:01 +01:00
|
|
|
|
("harfbuzz" ,harfbuzz)))
|
2015-03-04 22:37:08 +01:00
|
|
|
|
(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
|
2021-03-08 14:48:08 +01:00
|
|
|
|
"1x3j6yfyxl52adgnabycr0n38j9hx2j74la0hz0n8cnh9ry4d2qj"))
|
|
|
|
|
(patches (search-patches "libcaca-CVE-2021-3410-pt1.patch"
|
|
|
|
|
"libcaca-CVE-2021-3410-pt2.patch"))))
|
2015-03-05 15:56:58 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2020-11-11 13:16:21 +01:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags '("--disable-static")))
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(native-inputs (list pkg-config))
|
2015-03-05 15:56:58 +01:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list freeglut
|
|
|
|
|
ftgl
|
|
|
|
|
imlib2
|
|
|
|
|
libx11
|
|
|
|
|
mesa
|
|
|
|
|
ncurses
|
|
|
|
|
zlib))
|
2015-03-05 15:56:58 +01:00
|
|
|
|
(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.")
|
2020-03-22 14:34:12 +01:00
|
|
|
|
(license license:wtfpl2)))
|
2015-03-05 15:56:58 +01:00
|
|
|
|
|
2015-03-06 10:17:35 +01:00
|
|
|
|
(define-public libdca
|
|
|
|
|
(package
|
|
|
|
|
(name "libdca")
|
2020-04-11 00:18:05 +02:00
|
|
|
|
(version "0.0.7")
|
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
|
2020-04-11 00:18:05 +02:00
|
|
|
|
"0sjz0s0nrv7jcpvh1i432x3jza0y5yycmzw84cfncb2qby0i62rs"))))
|
2015-03-06 10:17:35 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2020-04-11 00:18:05 +02:00
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list autoconf automake libtool))
|
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
|
2019-10-21 00:40:31 +02:00
|
|
|
|
"mirror://sourceforge/libdv/libdv/"
|
|
|
|
|
version "/libdv-" version ".tar.gz"))
|
2015-03-06 11:50:14 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1fl96f2xh2slkv1i1ix7kqk576a0ak1d33cylm0mbhm96d0761d3"))))
|
|
|
|
|
(build-system gnu-build-system)
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(native-inputs (list pkg-config))
|
|
|
|
|
(inputs (list libxv))
|
2015-03-06 11:50:14 +01:00
|
|
|
|
(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")
|
2021-03-03 21:37:14 +01:00
|
|
|
|
(version "1.6.3")
|
2017-06-24 21:04:46 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://dl.matroska.org/downloads/"
|
2019-03-21 03:42:22 +01:00
|
|
|
|
"libmatroska/libmatroska-" version ".tar.xz"))
|
2017-06-24 21:04:46 +02:00
|
|
|
|
(sha256
|
2021-03-03 21:37:14 +01:00
|
|
|
|
(base32 "06h81sxyz2riic0gpzik6ffcnq32wrqphi8c6k55glcdymiimyfs"))))
|
2018-05-18 00:11:24 +02:00
|
|
|
|
(build-system cmake-build-system)
|
2017-06-24 21:04:46 +02:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list 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)))
|
|
|
|
|
|
2021-11-19 03:56:52 +01:00
|
|
|
|
(define-public libplacebo
|
|
|
|
|
(package
|
|
|
|
|
(name "libplacebo")
|
|
|
|
|
(version "4.157.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://code.videolan.org/videolan/libplacebo")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "08kqsd29h8wm0vz7698wh2mdgpwv6anqc5n7d1spnnamwyfwc64h"))))
|
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
`("-Dopengl=enabled"
|
|
|
|
|
,(string-append "-Dvulkan-registry="
|
|
|
|
|
(assoc-ref %build-inputs "vulkan-headers")
|
|
|
|
|
"/share/vulkan/registry/vk.xml"))))
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-mako pkg-config))
|
2021-11-19 03:56:52 +01:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list lcms
|
|
|
|
|
libepoxy
|
|
|
|
|
mesa
|
|
|
|
|
shaderc
|
|
|
|
|
vulkan-headers
|
|
|
|
|
vulkan-loader))
|
2021-11-19 03:56:52 +01:00
|
|
|
|
(home-page "https://code.videolan.org/videolan/libplacebo")
|
|
|
|
|
(synopsis "GPU-accelerated image/video processing library")
|
|
|
|
|
(description "libplacebo is, in a nutshell, the core rendering algorithms
|
|
|
|
|
and ideas of mpv rewritten as an independent library. As of today, libplacebo
|
|
|
|
|
contains a large assortment of video processing shaders, focusing on both
|
|
|
|
|
quality and performance.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
2015-03-20 15:52:52 +01:00
|
|
|
|
(define-public libva
|
|
|
|
|
(package
|
|
|
|
|
(name "libva")
|
2021-11-01 17:03:48 +01:00
|
|
|
|
(version "2.13.0")
|
2015-03-20 15:52:52 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2020-12-12 16:26:05 +01:00
|
|
|
|
(uri (string-append "https://github.com/intel/libva/releases/download/"
|
|
|
|
|
version "/libva-" version ".tar.bz2"))
|
2015-03-20 15:52:52 +01:00
|
|
|
|
(sha256
|
2021-11-01 17:03:48 +01:00
|
|
|
|
(base32 "0q6l193x9whd80sjd5mx8cb7c0fcljb19nhfpla5h49nkzrq7lzs"))))
|
2015-03-20 15:52:52 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list pkg-config))
|
2015-03-20 15:52:52 +01:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list libdrm
|
|
|
|
|
libx11
|
|
|
|
|
libxext
|
|
|
|
|
libxfixes
|
|
|
|
|
mesa
|
|
|
|
|
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
|
|
|
|
|
2019-07-26 05:14:37 +02:00
|
|
|
|
(define-public libva-utils
|
|
|
|
|
(package
|
|
|
|
|
(name "libva-utils")
|
|
|
|
|
(version "2.5.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/intel/libva-utils/releases/download/"
|
|
|
|
|
version "/libva-utils-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "05rasyqnsg522zqxak1q8rrm1hys7wwbi41kd0szjq0d27awjf4j"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list "--enable-wayland"
|
|
|
|
|
"--enable-x11")))
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list pkg-config))
|
2019-07-26 05:14:37 +02:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list libdrm libva libx11 mesa wayland))
|
2019-07-26 05:14:37 +02:00
|
|
|
|
(home-page "https://01.org/linuxmedia/vaapi")
|
|
|
|
|
(synopsis "Collection of testing utilities for VA-API")
|
|
|
|
|
(description
|
|
|
|
|
"This is a collection of utilities to query and test the @acronym{VA-API,
|
|
|
|
|
Video Acceleration API} implemented by the libva library.
|
|
|
|
|
|
|
|
|
|
These tools require a supported graphics chip, driver, and VA-API back end to
|
|
|
|
|
operate properly.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2013-10-31 23:15:46 +01:00
|
|
|
|
(define-public ffmpeg
|
|
|
|
|
(package
|
|
|
|
|
(name "ffmpeg")
|
2021-11-08 08:20:56 +01:00
|
|
|
|
(version "4.4.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
|
2021-11-08 08:20:56 +01:00
|
|
|
|
"00hfwd8ld6jnd26pl9f0wcd2mag4zacxxgqgabsja2xkkagavnza"))))
|
2013-10-31 23:15:46 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
2019-08-06 18:56:54 +02:00
|
|
|
|
`(("dav1d" ,dav1d)
|
|
|
|
|
("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)
|
2019-03-05 23:04:00 +01:00
|
|
|
|
("libaom" ,libaom)
|
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)
|
2018-12-28 20:15:22 +01:00
|
|
|
|
("libdrm" ,libdrm)
|
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)
|
2020-06-22 16:57:13 +02:00
|
|
|
|
;; XXX: rav1e depends on rust, which currently only works on x86_64.
|
|
|
|
|
;; See also the related configure flag when changing this.
|
|
|
|
|
,@(if (string-prefix? "x86_64" (or (%current-target-system)
|
|
|
|
|
(%current-system)))
|
|
|
|
|
`(("rav1e" ,rav1e))
|
|
|
|
|
'())
|
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)
|
2021-06-16 19:06:17 +02:00
|
|
|
|
("srt" ,srt)
|
2015-02-23 20:42:41 +01:00
|
|
|
|
("twolame" ,twolame)
|
2018-08-06 07:48:43 +02:00
|
|
|
|
("vidstab" ,vidstab)
|
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
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list bc
|
|
|
|
|
perl
|
|
|
|
|
pkg-config
|
|
|
|
|
texinfo
|
|
|
|
|
speex
|
|
|
|
|
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-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"
|
2019-03-05 23:04:00 +01:00
|
|
|
|
"--enable-libaom"
|
2015-10-29 03:42:42 +01:00
|
|
|
|
"--enable-libass"
|
|
|
|
|
"--enable-libbluray"
|
|
|
|
|
"--enable-libcaca"
|
|
|
|
|
"--enable-libcdio"
|
2019-08-06 18:56:54 +02:00
|
|
|
|
"--enable-libdav1d"
|
2015-10-29 03:42:42 +01:00
|
|
|
|
"--enable-libfreetype"
|
|
|
|
|
"--enable-libmp3lame"
|
|
|
|
|
"--enable-libopus"
|
|
|
|
|
"--enable-libpulse"
|
2020-06-22 16:57:13 +02:00
|
|
|
|
,@(if (string-prefix? "x86_64" (or (%current-target-system)
|
|
|
|
|
(%current-system)))
|
|
|
|
|
'("--enable-librav1e")
|
|
|
|
|
'())
|
2015-10-29 03:42:42 +01:00
|
|
|
|
"--enable-libsoxr"
|
|
|
|
|
"--enable-libspeex"
|
2020-10-10 06:52:24 +02:00
|
|
|
|
"--enable-libsrt"
|
2015-10-29 03:42:42 +01:00
|
|
|
|
"--enable-libtheora"
|
|
|
|
|
"--enable-libtwolame"
|
2018-08-06 07:48:43 +02:00
|
|
|
|
"--enable-libvidstab"
|
2015-10-29 03:42:42 +01:00
|
|
|
|
"--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"
|
2018-12-28 20:15:22 +01:00
|
|
|
|
"--enable-libdrm"
|
2021-07-14 22:06:29 +02:00
|
|
|
|
"--enable-vaapi"
|
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)
|
2021-11-08 08:20:59 +01:00
|
|
|
|
(version "3.4.9")
|
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
|
2021-11-08 08:20:59 +01:00
|
|
|
|
"0d8nkd9c85rkjlgsq1hidmykkrksi883ygqzhhj6wh4nqflv8vs9"))))
|
2019-03-05 23:04:00 +01:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments ffmpeg)
|
2020-10-19 13:45:11 +02:00
|
|
|
|
((#:modules modules %gnu-build-system-modules)
|
|
|
|
|
`((srfi srfi-1)
|
|
|
|
|
,@modules))
|
2019-03-05 23:04:00 +01:00
|
|
|
|
((#:configure-flags flags)
|
2020-10-19 13:45:11 +02:00
|
|
|
|
`(fold delete
|
|
|
|
|
,flags
|
|
|
|
|
'("--enable-libdav1d"
|
|
|
|
|
"--enable-libaom"
|
|
|
|
|
"--enable-librav1e"
|
|
|
|
|
"--enable-libsrt")))))
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(inputs (modify-inputs (package-inputs ffmpeg)
|
|
|
|
|
(delete "dav1d" "libaom" "rav1e" "srt")))))
|
2018-04-23 08:07:10 +02:00
|
|
|
|
|
2020-07-02 11:52:47 +02:00
|
|
|
|
(define-public ffmpeg-2.8
|
|
|
|
|
(package
|
|
|
|
|
(inherit ffmpeg)
|
2021-11-08 08:21:00 +01:00
|
|
|
|
(version "2.8.18")
|
2020-07-02 11:52:47 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://ffmpeg.org/releases/ffmpeg-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-11-08 08:21:00 +01:00
|
|
|
|
"0k6dq7b8rpjvdl5ncf1135qwc36x0x9va8v83aggvbfhy5d97vwn"))))
|
2020-07-02 11:52:47 +02:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; XXX: Enable them later, if required
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list
|
|
|
|
|
"--disable-static"
|
|
|
|
|
"--enable-shared"
|
|
|
|
|
"--extra-cflags=-DFF_API_OLD_ENCODE_VIDEO -DFF_API_OLD_ENCODE_AUDIO")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs configure-flags #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(substitute* "configure"
|
|
|
|
|
(("#! /bin/sh") (string-append "#!" (which "sh"))))
|
|
|
|
|
;; configure does not work followed by "SHELL=..." and
|
|
|
|
|
;; "CONFIG_SHELL=..."; set environment variables instead.
|
|
|
|
|
(setenv "SHELL" (which "bash"))
|
|
|
|
|
(setenv "CONFIG_SHELL" (which "bash"))
|
|
|
|
|
(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))))
|
|
|
|
|
(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)
|
2020-12-15 08:54:44 +01:00
|
|
|
|
#t))))))
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(inputs (modify-inputs (package-inputs ffmpeg)
|
|
|
|
|
(delete "dav1d" "libaom" "rav1e" "srt")))))
|
2020-07-02 11:52:47 +02:00
|
|
|
|
|
2018-11-11 00:43:34 +01:00
|
|
|
|
(define-public ffmpeg-for-stepmania
|
|
|
|
|
(hidden-package
|
|
|
|
|
(package
|
|
|
|
|
(inherit ffmpeg)
|
|
|
|
|
(version "2.1.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 22:53:28 +02:00
|
|
|
|
(url "https://github.com/stepmania/ffmpeg")
|
2018-11-11 00:43:34 +01:00
|
|
|
|
(commit "eda6effcabcf9c238e4635eb058d72371336e09b")))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1by8rmbva8mfrivdbbkr2gx4kga89zqygkd4cfjl76nr8mdcdamb"))
|
|
|
|
|
(file-name (git-file-name "ffmpeg" version))))
|
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments ffmpeg)
|
|
|
|
|
((#:configure-flags flags)
|
|
|
|
|
'(list "--disable-programs"
|
|
|
|
|
"--disable-doc"
|
|
|
|
|
"--disable-debug"
|
|
|
|
|
"--disable-avdevice"
|
|
|
|
|
"--disable-swresample"
|
|
|
|
|
"--disable-postproc"
|
|
|
|
|
"--disable-avfilter"
|
|
|
|
|
"--disable-shared"
|
|
|
|
|
"--enable-static"))))
|
|
|
|
|
(inputs '()))))
|
2016-04-18 11:26:30 +02:00
|
|
|
|
|
2018-07-20 15:33:35 +02:00
|
|
|
|
(define-public ffmpegthumbnailer
|
|
|
|
|
(package
|
|
|
|
|
(name "ffmpegthumbnailer")
|
2019-12-25 11:04:03 +01:00
|
|
|
|
(version "2.2.2")
|
2018-07-20 15:33:35 +02:00
|
|
|
|
(source (origin
|
2018-11-29 21:55:57 +01:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 22:53:28 +02:00
|
|
|
|
(url "https://github.com/dirkvdb/ffmpegthumbnailer")
|
2018-11-29 21:55:57 +01:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2018-07-20 15:33:35 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-12-25 11:04:03 +01:00
|
|
|
|
"1bakbr714j7yxdal1f5iq0gcl4cxggbbgj227ihdh5kvygqlwich"))))
|
2018-07-20 15:33:35 +02:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list pkg-config))
|
2018-07-20 15:33:35 +02:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list ffmpeg libjpeg-turbo libpng gvfs))
|
2018-07-20 15:33:35 +02:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags (list "-DENABLE_GIO=ON" "-DENABLE_THUMBNAILER=ON")))
|
|
|
|
|
(home-page "https://github.com/dirkvdb/ffmpegthumbnailer")
|
|
|
|
|
(synopsis "Create thumbnails from video files")
|
|
|
|
|
(description "FFmpegthumbnailer is a lightweight video thumbnailer that
|
|
|
|
|
can be used by file managers to create thumbnails for your video files. The
|
|
|
|
|
thumbnailer uses ffmpeg to decode frames from the video files, so supported
|
|
|
|
|
videoformats depend on the configuration flags of ffmpeg.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2014-04-16 17:46:42 +02:00
|
|
|
|
(define-public vlc
|
|
|
|
|
(package
|
|
|
|
|
(name "vlc")
|
2021-06-24 23:40:27 +02:00
|
|
|
|
(version "3.0.16")
|
2014-04-16 17:46:42 +02:00
|
|
|
|
(source (origin
|
2019-11-02 21:10:40 +01:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://download.videolan.org/pub/videolan/vlc/"
|
|
|
|
|
(car (string-split version #\-))
|
|
|
|
|
"/vlc-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-06-24 23:40:27 +02:00
|
|
|
|
"1xhhjhwihkz74dag25r5fscvw1v2byy4c8qxaxsw29gncky3bbpz"))))
|
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)
|
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)
|
2021-03-09 09:40:14 +01:00
|
|
|
|
("dav1d" ,dav1d)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
("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)
|
2019-01-02 19:29:27 +01:00
|
|
|
|
("libmicrodns" ,libmicrodns)
|
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
|
|
|
|
("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)
|
2019-07-22 16:17:36 +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)
|
2019-01-02 19:30:23 +01:00
|
|
|
|
("protobuf" ,protobuf)
|
2014-04-16 17:46:42 +02:00
|
|
|
|
("python" ,python-wrapper)
|
2021-04-10 03:53:32 +02:00
|
|
|
|
("qtbase" ,qtbase-5)
|
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)
|
2020-10-10 06:53:33 +02:00
|
|
|
|
;; VLC is not yet compatible with SRT > 1.4.1.
|
|
|
|
|
("srt" ,srt-1.4.1)
|
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
|
|
|
|
("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
|
gnu: Remove more GCC < 7 workarounds.
* gnu/packages/abiword.scm (abiword)[arguments]: Do not pass "-std=c++11" to
the GCC command line.
* gnu/packages/aidc.scm (zbar)[arguments]: Likewise.
* gnu/packages/android.scm (android-libbase, android-libcutils,
android-libziparchive, fastboot)[arguments]: Likewise.
* gnu/packages/audio.scm (azr3, guitarix, suil)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bless)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (libtorrent-rasterbar)[arguments]: Likewise.
* gnu/packages/code.scm (rtags)[arguments]: Likewise.
* gnu/packages/coq.scm (coq-gappa)[arguments]: Likewise.
* gnu/packages/emulators.scm (dolphin-emu)[arguments]: Likewise.
* gnu/packages/engineering.scm (xyce-serial, xyce-parallel)[arguments]: Likewise.
* gnu/packages/gnupg.scm (pinentry-qt)[arguments]: Likewise.
* gnu/packages/gobby.scm (libnet6, obby)[arguments]: Likewise.
* gnu/packages/graph.scm (python-faiss)[arguments]: Likewise.
* gnu/packages/graphics.scm (povray)[arguments]: Likewise.
* gnu/packages/image-processing.scm (opencv, itk-snap)[arguments]: Likewise.
* gnu/packages/image.scm (freeimage)[arguments]: Likewise.
* gnu/packages/kodi.scm (crossguid)[arguments]: Likewise.
* gnu/packages/music.scm (amsynth, qmidiarp, qmidiroute, seq24)[arguments]: Likewise.
* gnu/packages/pdf.scm (python-poppler-qt5)[arguments]: Likewise.
* gnu/packages/sagemath.scm (lcalc)[arguments]: Likewise.
* gnu/packages/video.scm (vlc, mlt, v4l-utils)[arguments]: Likewise.
2019-10-20 13:31:19 +02:00
|
|
|
|
`("BUILDCC=gcc"
|
2014-04-16 17:46:42 +02:00
|
|
|
|
,(string-append "LDFLAGS=-Wl,-rpath -Wl,"
|
|
|
|
|
(assoc-ref %build-inputs "ffmpeg")
|
2019-11-02 21:10:40 +01:00
|
|
|
|
"/lib")) ;needed for the tests
|
2016-04-18 15:39:43 +02:00
|
|
|
|
|
|
|
|
|
#: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"))
|
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)
|
2019-11-02 21:10:40 +01:00
|
|
|
|
(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
|
2019-01-04 11:41:35 +01:00
|
|
|
|
streaming 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")
|
2020-02-18 18:14:40 +01:00
|
|
|
|
(version "1.4")
|
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
|
2020-02-18 18:14:40 +01:00
|
|
|
|
"0j5mflr0wnklxsvnpmxvk704hscyn2785hvvihj2i3a7b3anwnc2"))))
|
2014-04-17 18:57:46 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
;; FIXME: Add additional inputs once available.
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list pkg-config yasm))
|
2014-04-17 18:57:46 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("cdparanoia" ,cdparanoia)
|
2020-02-18 18:14:40 +01:00
|
|
|
|
("ffmpeg" ,ffmpeg)
|
2016-02-18 13:33:43 +01:00
|
|
|
|
("fontconfig" ,fontconfig)
|
2014-04-17 18:57:46 +02:00
|
|
|
|
("freetype" ,freetype)
|
2020-02-18 18:17:16 +01:00
|
|
|
|
("giflib" ,giflib)
|
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)
|
2020-02-18 18:17:53 +01:00
|
|
|
|
("libdvdnav" ,libdvdnav) ; ignored without libdvdread
|
|
|
|
|
("libdvdread" ,libdvdread) ; ignored without libdvdnav
|
gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo'.
* gnu/packages/abiword.scm (abiword)[inputs]: Change from LIBJPEG to
LIBJPEG-TURBO.
* gnu/packages/admin.scm (testdisk)[inputs]: Likewise.
* gnu/packages/algebra.scm (giac)[inputs]: Likewise.
* gnu/packages/animation.scm (synfig)[inputs]: Likewise.
* gnu/packages/astronomy.scm (gnuastro, celestia)[inputs]: Likewise.
* gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise.
* gnu/packages/cran.scm (r-jpeg, r-tiff, r-readbitmap)[inputs]: Likewise.
* gnu/packages/cups.scm (cups-filters, hplip)[inputs]: Likewise.
* gnu/packages/display-managers.scm (slim)[inputs]: Likewise.
* gnu/packages/ebook.scm (fbreader)[inputs]: Likewise.
* gnu/packages/emacs.scm (emacs)[inputs]: Likewise.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/fltk.scm (fltk, ntk)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontforge)[inputs]: Likewise.
* gnu/packages/freedesktop.scm (weston)[inputs]: Likewise.
* gnu/packages/game-development.scm (sfml, allegro, aseprite, python-pygame,
eureka, ioquake3)[inputs]: Likewise.
* gnu/packages/games.scm (adanaxisgpl, freedroidrpg, irrlicht, minetest,
fizmo, supertuxkart, gzdoom, xmoto, xonotic)[inputs]: Likewise.
* gnu/packages/gd.scm (gd, perl-gd)[inputs]: Likewise.
* gnu/packages/ghostscript.scm (lcms)[inputs]: Likewise.
(ghostscript)[inputs, native-inputs]: Likewise.
* gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise.
* gnu/packages/gnome.scm (libgnomeui, eog, tracker-miners, gthumb)[inputs]: Likewise.
* gnu/packages/gnunet.scm (libextractor)[inputs]: Likewise.
* gnu/packages/gnustep.scm (windowmaker)[inputs]: Likewise.
* gnu/packages/graphics.scm (blender, blender-2.79, openimageio,
openscenegraph, openscenegraph-3.4, povray, fgallery)[inputs]: Likewise.
* gnu/packages/graphviz.scm (graphviz)[inputs]: Likewise.
* gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Likewise.
* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Likewise.
* gnu/packages/image-processing.scm (dcmtk, mia, vtk, opencv, vips, nip2, vxl,
insight-toolkit)[inputs]: Likewise.
* gnu/packages/image-viewers.scm (gpicview, luminance-hdr)[inputs]: Likewise.
* gnu/packages/image.scm (jpegoptim, libtiff, leptonica, imlib2, freeimage,
vigra, libwebp, libmng, jasper, steghide, jp2a)[inputs]: Likewise.
* gnu/packages/imagemagick.scm (imagemagick, graphicsmagick)[inputs]: Likewise.
* gnu/packages/java.scm (icedtea-6, icedtea-7, openjdk9, openjdk11,
openjdk12)[inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (khtml)[inputs]: Likewise.
* gnu/packages/kodi.scm (kodi)[inputs]: Likewise.
* gnu/packages/machine-learning.scm (dlib, tensorflow)[inputs]: Likewise.
* gnu/packages/mate.scm (atril, eom)[inputs]: Likewise.
* gnu/packages/maths.scm (hdf4, hdf-java, hdf-eos2, netcdf)[inputs]: Likewise.
* gnu/packages/netpbm.scm (netpbm)[inputs]: Likewise.
* gnu/packages/pdf.scm (zathura-pdf-mupdf, podofo, mupdf, fbida)[inputs]: Likewise.
* gnu/packages/photo.scm (libraw, libpano13, enblend-enfuse, darktable, hugin,
rawtherapee)[inputs]: Likewise.
* gnu/packages/prolog.scm (swi-prolog)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-hdf4, python-pillow)[inputs]: Likewise.
* gnu/packages/qt.scm (qtbase, qtwebkit)[inputs]: Likewise.
* gnu/packages/rdesktop.scm (freerdp)[inputs]: Likewise.
* gnu/packages/scanner.scm (sane-backends, xsane)[inputs]: Likewise.
* gnu/packages/scheme.scm (racket)[inputs]: Likewise.
* gnu/packages/scribus.scm (scribus)[inputs]: Likewise.
* gnu/packages/sdl.scm (sdl-image)[propagated-inputs]: Likewise.
(guile-sdl)[native-inputs]: Likewise.
* gnu/packages/spice.scm (spice-gtk)[inputs]: Likewise.
* gnu/packages/statistics.scm (r-with-tests)[inputs]: Likewise.
* gnu/packages/tcl.scm (perl-tk)[inputs]: Likewise.
* gnu/packages/upnp.scm (readymedia)[inputs]: Likewise.
* gnu/packages/video.scm (mplayer, mpv, v4l-utils, motion)[inputs]: Likewise.
* gnu/packages/web-browsers.scm (dillo, links)[inputs]: Likewise.
* gnu/packages/web.scm (netsurf)[inputs]: Likewise.
* gnu/packages/webkit.scm (webkitgtk)[inputs]: Likewise.
* gnu/packages/wine.scm (wine)[inputs]: Likewise.
* gnu/packages/wv.scm (wv)[inputs]: Likewise.
* gnu/packages/wxwidgets.scm (wxwidgets, wxwidgets-2)[inputs]: Likewise.
* gnu/packages/xdisorg.scm (xscreensaver)[inputs]: Likewise.
* gnu/packages/xfce.scm (tumbler)[inputs]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[inputs]: Likewise.
* gnu/packages/xorg.scm (xpra)[inputs]: Likewise.
2020-01-17 19:27:01 +01:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2016-02-18 13:33:43 +01:00
|
|
|
|
("libmpeg2" ,libmpeg2)
|
2020-02-18 18:14:40 +01:00
|
|
|
|
("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)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
2020-02-18 18:14:40 +01:00
|
|
|
|
`(#:tests? #f ; no test target
|
2014-04-17 18:57:46 +02:00
|
|
|
|
#: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")))))))
|
2020-02-18 18:16:30 +01:00
|
|
|
|
(home-page "https://www.mplayerhq.hu")
|
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")
|
2021-11-02 10:12:45 +01:00
|
|
|
|
(version "0.34.0")
|
2015-03-19 23:46:21 +01:00
|
|
|
|
(source (origin
|
2018-11-29 21:56:16 +01:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 22:53:28 +02:00
|
|
|
|
(url "https://github.com/mpv-player/mpv")
|
2018-11-29 21:56:16 +01:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2015-03-19 23:46:21 +01:00
|
|
|
|
(sha256
|
2021-11-02 10:12:45 +01:00
|
|
|
|
(base32 "0kqckrgvpx42gdmnc644lpwbimwf1am256xd670w2b8sbrjv3bm9"))))
|
2015-03-19 23:46:21 +01:00
|
|
|
|
(build-system waf-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list perl ; for zsh completion file
|
|
|
|
|
pkg-config 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)
|
gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo'.
* gnu/packages/abiword.scm (abiword)[inputs]: Change from LIBJPEG to
LIBJPEG-TURBO.
* gnu/packages/admin.scm (testdisk)[inputs]: Likewise.
* gnu/packages/algebra.scm (giac)[inputs]: Likewise.
* gnu/packages/animation.scm (synfig)[inputs]: Likewise.
* gnu/packages/astronomy.scm (gnuastro, celestia)[inputs]: Likewise.
* gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise.
* gnu/packages/cran.scm (r-jpeg, r-tiff, r-readbitmap)[inputs]: Likewise.
* gnu/packages/cups.scm (cups-filters, hplip)[inputs]: Likewise.
* gnu/packages/display-managers.scm (slim)[inputs]: Likewise.
* gnu/packages/ebook.scm (fbreader)[inputs]: Likewise.
* gnu/packages/emacs.scm (emacs)[inputs]: Likewise.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/fltk.scm (fltk, ntk)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontforge)[inputs]: Likewise.
* gnu/packages/freedesktop.scm (weston)[inputs]: Likewise.
* gnu/packages/game-development.scm (sfml, allegro, aseprite, python-pygame,
eureka, ioquake3)[inputs]: Likewise.
* gnu/packages/games.scm (adanaxisgpl, freedroidrpg, irrlicht, minetest,
fizmo, supertuxkart, gzdoom, xmoto, xonotic)[inputs]: Likewise.
* gnu/packages/gd.scm (gd, perl-gd)[inputs]: Likewise.
* gnu/packages/ghostscript.scm (lcms)[inputs]: Likewise.
(ghostscript)[inputs, native-inputs]: Likewise.
* gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise.
* gnu/packages/gnome.scm (libgnomeui, eog, tracker-miners, gthumb)[inputs]: Likewise.
* gnu/packages/gnunet.scm (libextractor)[inputs]: Likewise.
* gnu/packages/gnustep.scm (windowmaker)[inputs]: Likewise.
* gnu/packages/graphics.scm (blender, blender-2.79, openimageio,
openscenegraph, openscenegraph-3.4, povray, fgallery)[inputs]: Likewise.
* gnu/packages/graphviz.scm (graphviz)[inputs]: Likewise.
* gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Likewise.
* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Likewise.
* gnu/packages/image-processing.scm (dcmtk, mia, vtk, opencv, vips, nip2, vxl,
insight-toolkit)[inputs]: Likewise.
* gnu/packages/image-viewers.scm (gpicview, luminance-hdr)[inputs]: Likewise.
* gnu/packages/image.scm (jpegoptim, libtiff, leptonica, imlib2, freeimage,
vigra, libwebp, libmng, jasper, steghide, jp2a)[inputs]: Likewise.
* gnu/packages/imagemagick.scm (imagemagick, graphicsmagick)[inputs]: Likewise.
* gnu/packages/java.scm (icedtea-6, icedtea-7, openjdk9, openjdk11,
openjdk12)[inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (khtml)[inputs]: Likewise.
* gnu/packages/kodi.scm (kodi)[inputs]: Likewise.
* gnu/packages/machine-learning.scm (dlib, tensorflow)[inputs]: Likewise.
* gnu/packages/mate.scm (atril, eom)[inputs]: Likewise.
* gnu/packages/maths.scm (hdf4, hdf-java, hdf-eos2, netcdf)[inputs]: Likewise.
* gnu/packages/netpbm.scm (netpbm)[inputs]: Likewise.
* gnu/packages/pdf.scm (zathura-pdf-mupdf, podofo, mupdf, fbida)[inputs]: Likewise.
* gnu/packages/photo.scm (libraw, libpano13, enblend-enfuse, darktable, hugin,
rawtherapee)[inputs]: Likewise.
* gnu/packages/prolog.scm (swi-prolog)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-hdf4, python-pillow)[inputs]: Likewise.
* gnu/packages/qt.scm (qtbase, qtwebkit)[inputs]: Likewise.
* gnu/packages/rdesktop.scm (freerdp)[inputs]: Likewise.
* gnu/packages/scanner.scm (sane-backends, xsane)[inputs]: Likewise.
* gnu/packages/scheme.scm (racket)[inputs]: Likewise.
* gnu/packages/scribus.scm (scribus)[inputs]: Likewise.
* gnu/packages/sdl.scm (sdl-image)[propagated-inputs]: Likewise.
(guile-sdl)[native-inputs]: Likewise.
* gnu/packages/spice.scm (spice-gtk)[inputs]: Likewise.
* gnu/packages/statistics.scm (r-with-tests)[inputs]: Likewise.
* gnu/packages/tcl.scm (perl-tk)[inputs]: Likewise.
* gnu/packages/upnp.scm (readymedia)[inputs]: Likewise.
* gnu/packages/video.scm (mplayer, mpv, v4l-utils, motion)[inputs]: Likewise.
* gnu/packages/web-browsers.scm (dillo, links)[inputs]: Likewise.
* gnu/packages/web.scm (netsurf)[inputs]: Likewise.
* gnu/packages/webkit.scm (webkitgtk)[inputs]: Likewise.
* gnu/packages/wine.scm (wine)[inputs]: Likewise.
* gnu/packages/wv.scm (wv)[inputs]: Likewise.
* gnu/packages/wxwidgets.scm (wxwidgets, wxwidgets-2)[inputs]: Likewise.
* gnu/packages/xdisorg.scm (xscreensaver)[inputs]: Likewise.
* gnu/packages/xfce.scm (tumbler)[inputs]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[inputs]: Likewise.
* gnu/packages/xorg.scm (xpra)[inputs]: Likewise.
2020-01-17 19:27:01 +01:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2015-03-19 23:46:21 +01:00
|
|
|
|
("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)
|
2021-11-02 10:12:45 +01:00
|
|
|
|
("yt-dlp" ,yt-dlp)
|
2015-03-19 23:46:21 +01:00
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2021-11-02 10:12:45 +01:00
|
|
|
|
(add-after 'unpack 'patch-paths
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((ytdl (assoc-ref inputs "yt-dlp")))
|
|
|
|
|
(substitute* "player/lua/ytdl_hook.lua"
|
|
|
|
|
(("\"yt-dlp\",")
|
|
|
|
|
(string-append "\"" ytdl "/bin/yt-dlp\","))))))
|
2020-06-23 22:23:56 +02:00
|
|
|
|
(add-before 'configure 'build-reproducibly
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Somewhere in the build system library dependencies are enumerated
|
|
|
|
|
;; and passed as linker flags, but the order in which they are added
|
|
|
|
|
;; varies. See <https://github.com/mpv-player/mpv/issues/7855>.
|
|
|
|
|
;; Set PYTHONHASHSEED as a workaround for deterministic results.
|
|
|
|
|
(setenv "PYTHONHASHSEED" "1")
|
|
|
|
|
#t))
|
2015-03-19 23:46:21 +01:00
|
|
|
|
(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)
|
2018-11-21 14:17:12 +01:00
|
|
|
|
(let ((waf (assoc-ref inputs "waf")))
|
|
|
|
|
(copy-file (string-append waf "/bin/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-dvdnav"
|
2017-02-09 11:15:05 +01:00
|
|
|
|
"--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
|
|
|
|
|
2021-11-28 14:24:41 +01:00
|
|
|
|
(define-public smplayer
|
|
|
|
|
(package
|
|
|
|
|
(name "smplayer")
|
|
|
|
|
(version "21.10.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://sourceforge/smplayer/SMPlayer/" version
|
|
|
|
|
"/smplayer-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"12nvcl0cfix1xay9hfi7856vg4lpv8y5b0a22212bsjbvl5g22rc"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list qttools))
|
2021-11-28 14:24:41 +01:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list bash-minimal qtbase-5 zlib mpv))
|
2021-11-28 14:24:41 +01:00
|
|
|
|
(arguments
|
2021-12-12 13:47:42 +01:00
|
|
|
|
(list #:tests? #false ; no tests
|
|
|
|
|
#:make-flags #~(list (string-append "PREFIX=" #$output)
|
|
|
|
|
(string-append "CC=" #+(cc-for-target))
|
|
|
|
|
;; A KLUDGE to turn off invoking lrelease on the
|
|
|
|
|
;; project for now, because it fails consistently
|
|
|
|
|
;; with "WARNING: Could not find qmake spec
|
|
|
|
|
;; 'default'". See below.
|
|
|
|
|
"LRELEASE=true")
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
;; Due to the above, we must run lrelease separately on each .ts file
|
|
|
|
|
;; (as opposed to running `lrelease-pro smplayer.pro` for the entire
|
|
|
|
|
;; project, as the Makefile does normally without the above kludge).
|
|
|
|
|
(add-after 'build 'compile-ts-files
|
|
|
|
|
(lambda _
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(invoke "lrelease" file))
|
|
|
|
|
(find-files "./" "\\.ts$"))))
|
|
|
|
|
(add-after 'install 'wrap-executable
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(mpv (assoc-ref inputs "mpv")))
|
|
|
|
|
(wrap-program (string-append out "/bin/smplayer")
|
|
|
|
|
`("PATH" ":" prefix
|
|
|
|
|
,(list (string-append mpv "/bin"))))))))))
|
2021-11-28 14:24:41 +01:00
|
|
|
|
(home-page "https://www.smplayer.info")
|
|
|
|
|
(synopsis "Complete front-end for MPlayer, a media player")
|
|
|
|
|
(description "SMPlayer is a graphical user interface (GUI) for
|
|
|
|
|
MPlayer, which is capable of playing almost all known video and audio
|
|
|
|
|
formats. Apart from providing access for the most common and useful
|
|
|
|
|
options of MPlayer, SMPlayer adds other interesting features like the
|
|
|
|
|
possibility to play Youtube videos, download subtitles, remember
|
|
|
|
|
the last played position, etc.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2016-07-07 01:58:17 +02:00
|
|
|
|
(define-public gnome-mpv
|
2019-09-25 16:50:04 +02:00
|
|
|
|
(deprecated-package "gnome-mpv" celluloid))
|
2016-07-07 01:58:17 +02:00
|
|
|
|
|
2019-12-20 10:03:33 +01:00
|
|
|
|
(define-public mpv-mpris
|
|
|
|
|
(package
|
|
|
|
|
(name "mpv-mpris")
|
2021-11-26 14:49:06 +01:00
|
|
|
|
(version "0.6")
|
2019-12-20 10:03:33 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/hoyon/mpv-mpris")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2021-11-26 14:49:06 +01:00
|
|
|
|
(base32 "03gldk149i2108w3ylyfmci77kdq4whdzfavh7hjviwyj534101r"))))
|
2020-04-01 09:17:47 +02:00
|
|
|
|
(build-system copy-build-system)
|
2019-12-20 10:03:33 +01:00
|
|
|
|
(arguments
|
2020-04-01 09:17:47 +02:00
|
|
|
|
'(#:install-plan
|
|
|
|
|
'(("mpris.so" "lib/"))
|
2019-12-20 10:03:33 +01:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2020-04-01 09:17:47 +02:00
|
|
|
|
(add-before 'install 'build
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "CC" (which "gcc"))
|
|
|
|
|
(invoke "make"))))))
|
2019-12-20 10:03:33 +01:00
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list pkg-config))
|
2019-12-20 10:03:33 +01:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list glib mpv))
|
2019-12-20 10:03:33 +01:00
|
|
|
|
(home-page "https://github.com/hoyon/mpv-mpris")
|
|
|
|
|
(synopsis "MPRIS plugin for mpv")
|
|
|
|
|
(description "This package provides an @dfn{MPRIS} (Media Player Remote
|
|
|
|
|
Interfacing Specification) plugin for the @code{mpv} media player. It implements
|
|
|
|
|
@code{org.mpris.MediaPlayer2} and @code{org.mpris.MediaPlayer2.Player} D-Bus
|
|
|
|
|
interfaces.
|
|
|
|
|
|
|
|
|
|
To load this plugin, specify the following option when starting mpv:
|
|
|
|
|
@code{--script $GUIX_PROFILE/lib/mpris.so} or link it into
|
|
|
|
|
@file{$HOME/.config/mpv/scripts}.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2014-06-26 14:16:07 +02:00
|
|
|
|
(define-public libvpx
|
|
|
|
|
(package
|
|
|
|
|
(name "libvpx")
|
2021-06-06 07:12:55 +02:00
|
|
|
|
(version "1.10.0")
|
2014-06-26 14:16:07 +02:00
|
|
|
|
(source (origin
|
2018-02-01 12:06:17 +01:00
|
|
|
|
(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
|
2021-06-06 07:12:55 +02:00
|
|
|
|
"1p4v6j1505n3gnvx3iksciyi818ymxpazj9fmdrchzbl9pfzg4qi"))
|
2019-02-09 17:15:13 +01: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"
|
2019-12-11 19:58:46 +01:00
|
|
|
|
"--disable-static"
|
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))))
|
2020-10-07 15:34:55 +02:00
|
|
|
|
|
|
|
|
|
;; XXX: The test suite wants to download 871 files from a cloud storage
|
|
|
|
|
;; service (see test/test-data.sha1). It is possible to specify a
|
|
|
|
|
;; custom directory, but there seems to be no tarball with all files.
|
|
|
|
|
#:tests? #f))
|
2014-06-26 14:16:07 +02:00
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list perl yasm))
|
2014-06-26 14:16:07 +02:00
|
|
|
|
(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")
|
2021-06-07 14:28:02 +02:00
|
|
|
|
(version "2021.06.06")
|
2014-07-03 22:21:53 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2020-10-28 19:35:06 +01:00
|
|
|
|
(uri (string-append "https://youtube-dl.org/downloads/latest/"
|
|
|
|
|
"youtube-dl-" version ".tar.gz"))
|
2014-07-03 22:21:53 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-06-07 14:28:02 +02:00
|
|
|
|
"1hqan9h55x9gfdakw554vic68w9gpvhblchwxlw265zxp56hxjrw"))
|
2020-11-11 06:15:02 +01:00
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Delete the pre-generated files, except for the man page
|
|
|
|
|
;; which requires 'pandoc' to build.
|
|
|
|
|
(for-each delete-file '("youtube-dl"
|
|
|
|
|
;;pandoc is needed to generate
|
|
|
|
|
;;"youtube-dl.1"
|
|
|
|
|
"youtube-dl.bash-completion"
|
|
|
|
|
"youtube-dl.fish"
|
|
|
|
|
"youtube-dl.zsh"))
|
|
|
|
|
#t))))
|
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
|
2020-09-16 11:53:05 +02:00
|
|
|
|
(add-after 'unpack 'default-to-the-ffmpeg-input
|
|
|
|
|
(lambda _
|
|
|
|
|
;; See <https://issues.guix.gnu.org/43418#5>.
|
|
|
|
|
;; ffmpeg is big but required to request free formats
|
|
|
|
|
;; from, e.g., YouTube so pull it in unconditionally.
|
|
|
|
|
;; Continue respecting the --ffmpeg-location argument.
|
|
|
|
|
(substitute* "youtube_dl/postprocessor/ffmpeg.py"
|
|
|
|
|
(("\\.get\\('ffmpeg_location'\\)" match)
|
|
|
|
|
(format #f "~a or '~a'" match (which "ffmpeg"))))
|
|
|
|
|
#t))
|
2020-11-11 06:15:02 +01:00
|
|
|
|
(add-before 'build 'build-generated-files
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Avoid the make targets that require pandoc.
|
|
|
|
|
(invoke "make"
|
|
|
|
|
"PYTHON=python"
|
|
|
|
|
"youtube-dl"
|
|
|
|
|
;;"youtube-dl.1" ; needs pandoc
|
|
|
|
|
"youtube-dl.bash-completion"
|
|
|
|
|
"youtube-dl.zsh"
|
|
|
|
|
"youtube-dl.fish")))
|
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/")))
|
2020-03-23 18:15:01 +01:00
|
|
|
|
#t)))
|
2020-03-23 18:15:02 +01:00
|
|
|
|
(add-after 'install 'install-completion
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(zsh (string-append out
|
|
|
|
|
"/share/zsh/site-functions")))
|
|
|
|
|
(mkdir-p zsh)
|
|
|
|
|
(copy-file "youtube-dl.zsh"
|
|
|
|
|
(string-append zsh "/_youtube-dl"))
|
2018-01-21 16:42:41 +01:00
|
|
|
|
#t))))))
|
2020-11-11 06:15:02 +01:00
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list zip))
|
2020-09-16 11:53:05 +02:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list ffmpeg))
|
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
|
|
|
|
|
2021-10-25 05:36:24 +02:00
|
|
|
|
(define-public yt-dlp
|
|
|
|
|
(package/inherit youtube-dl
|
|
|
|
|
(name "yt-dlp")
|
|
|
|
|
(version "2021.10.22")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/yt-dlp/yt-dlp/"
|
|
|
|
|
"releases/download/"
|
|
|
|
|
version "/yt-dlp.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0xh4cwmvx49pxn8x07wj2dy8ynj6xg8977l5493vv0l8zc27wp87"))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Delete the pre-generated files, except for the man page
|
|
|
|
|
;; which requires 'pandoc' to build.
|
|
|
|
|
(for-each delete-file '("yt-dlp"
|
|
|
|
|
;;pandoc is needed to generate
|
|
|
|
|
;;"yt-dlp.1"
|
|
|
|
|
"completions/bash/yt-dlp"
|
|
|
|
|
"completions/fish/yt-dlp.fish"
|
|
|
|
|
"completions/zsh/_yt-dlp"))
|
|
|
|
|
#t))))
|
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments youtube-dl)
|
|
|
|
|
((#:tests? _) #t)
|
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
|
|
|
|
;; See the comment for the corresponding phase in youtube-dl.
|
|
|
|
|
(replace 'default-to-the-ffmpeg-input
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "yt_dlp/postprocessor/ffmpeg.py"
|
|
|
|
|
(("\\.get_param\\('ffmpeg_location'\\)" match)
|
|
|
|
|
(format #f "~a or '~a'" match (which "ffmpeg"))))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'build-generated-files
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Avoid the yt-dlp.1 target, which requires pandoc.
|
|
|
|
|
(invoke "make" "PYTHON=python" "yt-dlp" "completions")))
|
|
|
|
|
(replace 'fix-the-data-directories
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((prefix (assoc-ref outputs "out")))
|
|
|
|
|
(substitute* "setup.py"
|
|
|
|
|
(("'etc/")
|
|
|
|
|
(string-append "'" prefix "/etc/"))
|
|
|
|
|
(("'share/")
|
|
|
|
|
(string-append "'" prefix "/share/"))))
|
|
|
|
|
#t))
|
|
|
|
|
(delete 'install-completion)
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
(invoke "pytest" "-k" "not download"))))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("python-mutagen" ,python-mutagen)
|
|
|
|
|
("python-pycryptodomex" ,python-pycryptodomex)
|
|
|
|
|
("python-websockets" ,python-websockets)
|
|
|
|
|
,@(package-inputs youtube-dl)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python-pytest" ,python-pytest)
|
|
|
|
|
,@(package-native-inputs youtube-dl)))
|
|
|
|
|
(description
|
|
|
|
|
"yt-dlp is a small command-line program to download videos from
|
|
|
|
|
YouTube.com and many more sites. It is a fork of youtube-dl with a
|
|
|
|
|
focus on adding new features while keeping up-to-date with the
|
|
|
|
|
original project.")
|
|
|
|
|
(home-page "https://github.com/yt-dlp/yt-dlp")))
|
|
|
|
|
|
2017-04-17 21:27:18 +02:00
|
|
|
|
(define-public youtube-dl-gui
|
|
|
|
|
(package
|
|
|
|
|
(name "youtube-dl-gui")
|
2021-06-26 20:05:09 +02:00
|
|
|
|
(version "0.4")
|
2017-04-17 21:27:18 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "Youtube-DLG" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-06-26 20:05:09 +02:00
|
|
|
|
"1bvq2wyn6az59vpdy04dh68fs8m2qzz948xhphibbcpwpcdk00cd"))))
|
2017-04-17 21:27:18 +02:00
|
|
|
|
(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")
|
2018-06-28 03:08:56 +02:00
|
|
|
|
"', 'share'")))
|
2019-07-02 23:12:41 +02:00
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'create-desktop-file
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(applications (string-append out "/share/applications")))
|
|
|
|
|
(mkdir-p applications)
|
|
|
|
|
(call-with-output-file
|
|
|
|
|
(string-append applications "/youtube-dl-gui.desktop")
|
|
|
|
|
(lambda (file)
|
|
|
|
|
(format
|
|
|
|
|
file
|
|
|
|
|
"[Desktop Entry]~@
|
|
|
|
|
Name=Youtube-dl GUI~@
|
|
|
|
|
Comment=Graphical interface to download video with youtube-dl~@
|
|
|
|
|
Exec=youtube-dl-gui~@
|
|
|
|
|
TryExec=youtube-dl-gui~@
|
|
|
|
|
Terminal=false~@
|
|
|
|
|
Icon=youtube-dl-gui~@
|
|
|
|
|
Type=Application~@
|
|
|
|
|
Categories=AudioVideo;Audio;Video;Network~%")))
|
|
|
|
|
#t))))))
|
2021-06-26 20:05:09 +02:00
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list gettext-minimal))
|
2017-04-17 21:27:18 +02:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python2-twodict python2-wxpython youtube-dl))
|
2017-04-17 21:27:18 +02:00
|
|
|
|
(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")
|
2021-11-27 15:56:37 +01:00
|
|
|
|
(version "0.4.1555")
|
2017-04-07 15:18:55 +02:00
|
|
|
|
(source (origin
|
2018-11-29 21:45:34 +01:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 22:53:28 +02:00
|
|
|
|
(url "https://github.com/soimort/you-get")
|
2018-11-29 21:45:34 +01:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-04-07 15:18:55 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-11-27 15:56:37 +01:00
|
|
|
|
"0gn86i6nfsw395r9a3i88nv2g08s5bgjps7w4qawb9gvk4h7zqap"))))
|
2017-04-07 15:18:55 +02:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list ffmpeg)) ; for multi-part and >=1080p videos
|
2017-12-23 21:18:46 +01:00
|
|
|
|
(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)
|
2021-07-16 16:50:56 +02:00
|
|
|
|
(let ((ffmpeg (search-input-file inputs "/bin/ffmpeg")))
|
2017-12-23 21:18:46 +01:00
|
|
|
|
(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)
|
2021-11-27 15:56:37 +01:00
|
|
|
|
(string-append prefix "'" ffmpeg "'")))))))
|
2017-12-23 21:18:46 +01:00
|
|
|
|
#: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")
|
2021-01-07 20:58:14 +01:00
|
|
|
|
(version "3.8.1")
|
2018-02-24 23:52:10 +01:00
|
|
|
|
(source (origin
|
2018-09-13 19:35:21 +02:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 22:53:28 +02:00
|
|
|
|
(url "https://github.com/trizen/youtube-viewer")
|
2018-09-13 19:35:21 +02:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2018-02-24 23:52:10 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-01-07 20:58:14 +01:00
|
|
|
|
"0xdybiihd66b79rbsawjhxs9snm78gld5ziz3gnp8vdcw0bshwz7"))))
|
2018-02-24 23:52:10 +01:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list perl-module-build))
|
2018-02-24 23:52:10 +01:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list perl-data-dump
|
|
|
|
|
perl-file-sharedir
|
|
|
|
|
perl-gtk2
|
|
|
|
|
perl-json
|
|
|
|
|
perl-json-xs
|
|
|
|
|
perl-libwww
|
|
|
|
|
perl-lwp-protocol-https
|
|
|
|
|
perl-lwp-useragent-cached
|
|
|
|
|
perl-memoize
|
|
|
|
|
perl-mozilla-ca
|
|
|
|
|
perl-term-readline-gnu
|
|
|
|
|
perl-unicode-linebreak
|
|
|
|
|
xdg-utils
|
|
|
|
|
;; Some videos play without youtube-dl, but others silently fail to.
|
|
|
|
|
youtube-dl))
|
2018-02-24 23:52:10 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build perl-build-system)
|
|
|
|
|
(guix build utils)
|
|
|
|
|
(srfi srfi-26))
|
2020-03-28 19:07:08 +01:00
|
|
|
|
;; gtk-2/3 variants are both installed by default but the gtk3 variant
|
|
|
|
|
;; is broken without perl-gtk3.
|
2020-03-26 11:01:50 +01:00
|
|
|
|
#:module-build-flags '("--gtk2")
|
2018-03-02 14:22:59 +01:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2019-06-17 03:02:34 +02:00
|
|
|
|
(add-after 'unpack 'refer-to-inputs
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "lib/WWW/YoutubeViewer.pm"
|
|
|
|
|
(("'youtube-dl'")
|
|
|
|
|
(format #f "'~a/bin/youtube-dl'"
|
|
|
|
|
(assoc-ref inputs "youtube-dl"))))
|
2019-12-14 04:40:15 +01:00
|
|
|
|
(substitute* '("bin/gtk2-youtube-viewer"
|
|
|
|
|
"bin/gtk3-youtube-viewer")
|
|
|
|
|
(("'xdg-open'")
|
|
|
|
|
(format #f "'~a/bin/xdg-open'"
|
|
|
|
|
(assoc-ref inputs "xdg-utils"))))
|
2019-06-17 03:02:34 +02:00
|
|
|
|
#t))
|
2019-01-05 04:51:13 +01:00
|
|
|
|
(add-after 'install 'install-desktop
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(sharedir (string-append out "/share")))
|
|
|
|
|
(install-file "share/gtk-youtube-viewer.desktop"
|
|
|
|
|
(string-append sharedir "/applications"))
|
|
|
|
|
(install-file "share/icons/gtk-youtube-viewer.png"
|
|
|
|
|
(string-append sharedir "/pixmaps"))
|
|
|
|
|
#t)))
|
2018-03-02 14:22:59 +01:00
|
|
|
|
(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
|
2020-11-11 13:10:37 +01:00
|
|
|
|
`(#:configure-flags '("--disable-bdjava-jar"
|
|
|
|
|
"--disable-static")
|
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))))))
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(native-inputs (list 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")
|
2019-11-08 00:12:43 +01:00
|
|
|
|
(version "6.0.2")
|
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/"
|
2019-02-14 03:47:04 +01:00
|
|
|
|
"libdvdread/" version "/"
|
|
|
|
|
"libdvdread-" version ".tar.bz2"))
|
2015-01-24 17:59:22 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-11-08 00:12:43 +01:00
|
|
|
|
"1c7yqqn67m3y3n7nfrgrnzz034zjaw5caijbwbfrq89v46ph257r"))))
|
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
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list pkg-config))
|
2018-01-04 16:25:44 +01:00
|
|
|
|
(propagated-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list 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
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list libdvdread libpng imagemagick libxml2 freetype))
|
2017-04-20 18:15:03 +02:00
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list pkg-config))
|
2017-04-20 18:15:03 +02:00
|
|
|
|
(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")
|
2019-11-08 00:12:35 +01:00
|
|
|
|
(version "6.0.1")
|
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/"
|
2019-11-08 00:12:19 +01:00
|
|
|
|
"libdvdnav/" version "/"
|
|
|
|
|
"libdvdnav-" version ".tar.bz2"))
|
2015-01-24 18:05:03 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-11-08 00:12:35 +01:00
|
|
|
|
"0cv7j8irsv1n2dadlnhr6i1b8pann2ah6xpxic41f04my6ba6rp5"))))
|
2015-01-24 18:05:03 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list pkg-config))
|
2015-01-24 18:05:03 +01:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list libdvdread))
|
2015-01-24 18:05:03 +01:00
|
|
|
|
(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")
|
2021-04-20 23:47:30 +02:00
|
|
|
|
(version "1.4.3")
|
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
|
2021-04-20 23:47:30 +02:00
|
|
|
|
"0y800y33spblb20s1lsjbaiybknmwwmmiczmjqx5s760blpwjg13"))))
|
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")
|
2021-03-19 16:56:03 +01:00
|
|
|
|
(version "0.2")
|
2015-02-07 23:17:39 +01:00
|
|
|
|
(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
|
2021-03-19 16:56:03 +01:00
|
|
|
|
"1ravl635x81fcai4h2xnsn926i69pafgr6zkghq6319iprkw8ffv"))))
|
2015-02-07 23:17:39 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2021-03-19 16:56:03 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'wrap-srt2vtt
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(version ,(let ((v (package-version guile-3.0)))
|
|
|
|
|
(string-append (car (string-split v #\.))
|
|
|
|
|
".0")))
|
|
|
|
|
(site (string-append out "/share/guile/site/" version))
|
|
|
|
|
(compiled (string-append
|
|
|
|
|
out "/lib/guile/" version
|
|
|
|
|
"/site-ccache")))
|
|
|
|
|
(wrap-program (string-append bin "/srt2vtt")
|
|
|
|
|
`("GUILE_LOAD_PATH" ":" prefix (,site))
|
|
|
|
|
`("GUILE_LOAD_COMPILED_PATH" ":" prefix (,compiled)))))))))
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list pkg-config))
|
2015-02-07 23:17:39 +01:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list guile-3.0))
|
2015-02-07 23:17:39 +01:00
|
|
|
|
(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")
|
2021-03-30 22:54:44 +02:00
|
|
|
|
(version "2.7.8")
|
2015-02-23 22:59:20 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2019-03-11 01:10:53 +01:00
|
|
|
|
"mirror://sourceforge/avidemux/avidemux/" version "/"
|
|
|
|
|
"avidemux_" version ".tar.gz"))
|
2015-02-23 22:59:20 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-03-30 22:54:44 +02:00
|
|
|
|
"00blv5455ry3bb86zyzk1xmq3rbqmbif62khc0kq3whza97l12k2"))
|
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
|
2019-11-27 21:30:53 +01:00
|
|
|
|
`(("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("python" ,python-wrapper)
|
|
|
|
|
("qttools" ,qttools)
|
|
|
|
|
("yasm" ,yasm)))
|
2015-02-23 22:59:20 +01:00
|
|
|
|
;; 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)
|
2020-11-08 17:50:26 +01:00
|
|
|
|
("libaom" ,libaom)
|
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)
|
|
|
|
|
("pulseaudio" ,pulseaudio)
|
2021-04-10 03:53:32 +02:00
|
|
|
|
("qtbase" ,qtbase-5)
|
2015-02-23 22:59:20 +01:00
|
|
|
|
("sqlite" ,sqlite)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
2019-03-24 22:46:01 +01:00
|
|
|
|
`(#:tests? #f ; no check target
|
2015-02-23 22:59:20 +01:00
|
|
|
|
#:phases
|
|
|
|
|
;; Make sure files inside the included ffmpeg tarball are
|
|
|
|
|
;; patch-shebanged.
|
2021-03-30 22:54:44 +02:00
|
|
|
|
(let ((ffmpeg "ffmpeg-4.2.4"))
|
2019-03-11 01:28:21 +01:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'patch-source-shebangs 'unpack-ffmpeg
|
|
|
|
|
(lambda _
|
|
|
|
|
(with-directory-excursion "avidemux_core/ffmpeg_package"
|
|
|
|
|
(invoke "tar" "xf" (string-append ffmpeg ".tar.bz2"))
|
|
|
|
|
(delete-file (string-append ffmpeg ".tar.bz2")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'patch-source-shebangs 'repack-ffmpeg
|
|
|
|
|
(lambda _
|
|
|
|
|
(with-directory-excursion "avidemux_core/ffmpeg_package"
|
|
|
|
|
(substitute* (string-append ffmpeg "/configure")
|
|
|
|
|
(("#! /bin/sh") (string-append "#!" (which "sh"))))
|
|
|
|
|
(invoke "tar" "cjf" (string-append ffmpeg ".tar.bz2") ffmpeg
|
|
|
|
|
;; avoid non-determinism in the archive
|
|
|
|
|
"--sort=name" "--mtime=@0"
|
|
|
|
|
"--owner=root:0" "--group=root:0")
|
|
|
|
|
(delete-file-recursively ffmpeg))
|
|
|
|
|
#t))
|
|
|
|
|
(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"))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(lib (string-append out "/lib"))
|
|
|
|
|
(top (getcwd))
|
|
|
|
|
(build_component
|
|
|
|
|
(lambda* (component srcdir #:optional (args '()))
|
|
|
|
|
(let ((builddir (string-append "build_" component)))
|
|
|
|
|
(mkdir builddir)
|
|
|
|
|
(with-directory-excursion builddir
|
|
|
|
|
(apply invoke "cmake"
|
|
|
|
|
"-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE"
|
|
|
|
|
(string-append "-DCMAKE_INSTALL_PREFIX=" out)
|
|
|
|
|
(string-append "-DCMAKE_INSTALL_RPATH=" lib)
|
|
|
|
|
(string-append "-DCMAKE_SHARED_LINKER_FLAGS="
|
|
|
|
|
"\"-Wl,-rpath=" lib "\"")
|
|
|
|
|
(string-append "-DAVIDEMUX_SOURCE_DIR=" top)
|
|
|
|
|
(string-append "../" srcdir)
|
|
|
|
|
"-DENABLE_QT5=True"
|
|
|
|
|
args)
|
|
|
|
|
(invoke "make" "-j"
|
|
|
|
|
(number->string (parallel-job-count)))
|
|
|
|
|
(invoke "make" "install"))))))
|
|
|
|
|
(mkdir out)
|
|
|
|
|
(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"))
|
|
|
|
|
#t)))
|
|
|
|
|
(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")
|
2021-05-30 14:19:30 +02:00
|
|
|
|
(version "53")
|
2015-03-21 23:09:11 +01:00
|
|
|
|
(source (origin
|
2018-11-29 21:45:53 +01:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 22:53:28 +02:00
|
|
|
|
(url "https://github.com/vapoursynth/vapoursynth")
|
2018-11-29 21:45:53 +01:00
|
|
|
|
(commit (string-append "R" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2015-03-21 23:09:11 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-05-30 14:19:30 +02:00
|
|
|
|
"0qcsfkpkry0cmvi60khjwvfz4fqhy23nqmn4pb9qrwll26sn9dcr"))))
|
2015-03-21 23:09:11 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2021-05-30 11:51:30 +02:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'wrap
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(site (string-append out "/lib/python"
|
|
|
|
|
,(version-major+minor
|
|
|
|
|
(package-version python))
|
|
|
|
|
"/site-packages")))
|
|
|
|
|
(wrap-program (string-append out "/bin/vspipe")
|
|
|
|
|
`("PYTHONPATH" ":" = (,site)))))))))
|
2015-03-21 23:09:11 +01:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("cython" ,python-cython)
|
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("yasm" ,yasm)))
|
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list ffmpeg libass python tesseract-ocr zimg))
|
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")
|
2020-02-14 11:47:22 +01:00
|
|
|
|
(version "1.3.7")
|
2015-03-06 11:50:40 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2019-12-25 11:31:40 +01:00
|
|
|
|
"http://downloads.xvid.com/downloads/xvidcore-"
|
2015-03-06 11:50:40 +01:00
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-02-14 11:47:22 +01:00
|
|
|
|
"1xyg3amgg27zf7188kss7y248s0xhh1vv8rrk0j9bcsd5nasxsmf"))))
|
2015-03-06 11:50:40 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(native-inputs (list yasm))
|
2015-03-06 11:50:40 +01:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
2016-02-21 09:56:50 +01:00
|
|
|
|
(modify-phases %standard-phases
|
2020-02-14 11:47:22 +01:00
|
|
|
|
(add-before 'configure 'pre-configure
|
2016-02-21 09:56:50 +01:00
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "build/generic")
|
|
|
|
|
(substitute* "configure"
|
2018-06-28 03:08:56 +02:00
|
|
|
|
(("#! /bin/sh") (string-append "#!" (which "sh"))))
|
|
|
|
|
#t)))
|
2020-02-14 11:47:22 +01:00
|
|
|
|
#:tests? #f)) ; no test suite
|
2015-03-06 11:50:40 +01:00
|
|
|
|
(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-10-17 10:24:07 +02:00
|
|
|
|
(package
|
|
|
|
|
(name "streamlink")
|
2021-02-09 17:43:50 +01:00
|
|
|
|
(version "2.0.0")
|
2018-10-17 10:24:07 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "streamlink" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-02-09 17:43:50 +01:00
|
|
|
|
"1nv2kj1k42a1b20ws8sdzlxk3wh1qz6pg5mxp75433b3c7lxksn0"))))
|
2018-10-17 10:24:07 +02:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(home-page "https://github.com/streamlink/streamlink")
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-freezegun python-pytest python-mock
|
|
|
|
|
python-requests-mock))
|
2018-10-17 10:24:07 +02:00
|
|
|
|
(propagated-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-pysocks
|
|
|
|
|
python-websocket-client
|
|
|
|
|
python-iso3166
|
|
|
|
|
python-iso639
|
|
|
|
|
python-isodate
|
|
|
|
|
python-pycryptodome
|
|
|
|
|
python-requests
|
|
|
|
|
python-urllib3))
|
2018-10-17 10:24:07 +02:00
|
|
|
|
(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-10-17 10:24:07 +02:00
|
|
|
|
(license license:bsd-2)))
|
2018-01-19 20:59:12 +01:00
|
|
|
|
|
2018-03-25 20:42:38 +02:00
|
|
|
|
(define-public twitchy
|
2019-02-25 19:38:54 +01:00
|
|
|
|
(let ((commit "9beb36d80b16662414129693e74fa3a2fd97554e")) ; 3.4 has no tag
|
2018-03-25 20:42:38 +02:00
|
|
|
|
(package
|
|
|
|
|
(name "twitchy")
|
2019-02-25 19:38:54 +01:00
|
|
|
|
(version (git-version "3.4" "1" commit))
|
2018-03-25 20:42:38 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 22:53:28 +02:00
|
|
|
|
(url "https://github.com/BasioMeusPuga/twitchy")
|
2018-03-25 20:42:38 +02:00
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-02-25 19:38:54 +01:00
|
|
|
|
"0di03h1j9ipp2bbnxxlxz07v87icyg2hmnsr4s7184z5ql8kpzr7"))))
|
2018-03-25 20:42:38 +02:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2019-02-25 19:38:54 +01:00
|
|
|
|
(add-after 'unpack 'patch-paths
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "twitchy/twitchy_play.py"
|
|
|
|
|
(("\"streamlink ")
|
|
|
|
|
(string-append "\"" (assoc-ref inputs "streamlink")
|
|
|
|
|
"/bin/streamlink ")))
|
|
|
|
|
#t))
|
2018-03-25 20:42:38 +02:00
|
|
|
|
(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")
|
2018-06-28 03:08:56 +02:00
|
|
|
|
"/bin"))
|
|
|
|
|
#t)))))
|
2018-03-25 20:42:38 +02:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-requests streamlink))
|
2018-03-25 20:42:38 +02:00
|
|
|
|
(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")
|
2021-11-16 20:12:02 +01:00
|
|
|
|
(version "7.2.0")
|
2021-07-06 20:36:26 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/mltframework/mlt")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2021-11-16 20:12:02 +01:00
|
|
|
|
(base32 "17d4gs46ca3n0qg6z69hl6mmllnqj2id8ccrv8fyz8c5zm55ghqm"))))
|
2021-07-06 20:36:25 +02:00
|
|
|
|
(build-system cmake-build-system)
|
2015-11-16 18:28:59 +01:00
|
|
|
|
(arguments
|
2021-07-06 20:36:26 +02:00
|
|
|
|
`(#:tests? #f ;requires "Kwalify"
|
2015-11-16 18:28:59 +01:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2021-07-06 20:36:25 +02:00
|
|
|
|
(add-before 'configure 'override-LDFLAGS
|
2019-02-17 21:23:17 +01:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2021-07-06 20:36:25 +02:00
|
|
|
|
(setenv "LDFLAGS"
|
|
|
|
|
(string-append
|
|
|
|
|
"-Wl,-rpath="
|
|
|
|
|
(assoc-ref outputs "out") "/lib")))))))
|
2015-11-16 18:28:59 +01:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list alsa-lib
|
|
|
|
|
`(,alsa-plugins "pulseaudio")
|
|
|
|
|
ffmpeg
|
|
|
|
|
fftw
|
|
|
|
|
frei0r-plugins
|
|
|
|
|
gdk-pixbuf
|
|
|
|
|
gtk+
|
|
|
|
|
libxml2
|
|
|
|
|
jack-1
|
|
|
|
|
ladspa
|
|
|
|
|
libebur128
|
|
|
|
|
libexif
|
|
|
|
|
libvorbis
|
|
|
|
|
rubberband
|
|
|
|
|
libsamplerate
|
|
|
|
|
pulseaudio
|
|
|
|
|
qtbase-5
|
|
|
|
|
qtsvg
|
|
|
|
|
rtaudio
|
|
|
|
|
sdl2
|
|
|
|
|
sdl2-image
|
|
|
|
|
sox
|
|
|
|
|
vidstab))
|
2015-11-16 18:28:59 +01:00
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list 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.")
|
2021-04-25 20:15:01 +02:00
|
|
|
|
(license license:lgpl2.1+)))
|
2015-12-17 19:36:42 +01:00
|
|
|
|
|
2021-07-06 20:36:26 +02:00
|
|
|
|
(define-public mlt-6
|
|
|
|
|
(package
|
|
|
|
|
(inherit mlt)
|
|
|
|
|
(name "mlt")
|
|
|
|
|
(version "6.26.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/mltframework/mlt")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1gz79xvs5jrzqhwhfk0dqdd3xiavnjp4q957h7nb02rij32byb39"))))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list (string-append "-DGTK2_GDKCONFIG_INCLUDE_DIR="
|
|
|
|
|
(assoc-ref %build-inputs "gtk+")
|
|
|
|
|
"/lib/gtk-2.0/include")
|
|
|
|
|
(string-append "-DGTK2_GLIBCONFIG_INCLUDE_DIR="
|
|
|
|
|
(assoc-ref %build-inputs "glib")
|
|
|
|
|
"/lib/glib-2.0/include"))
|
|
|
|
|
,@(package-arguments mlt)))
|
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(modify-inputs (package-inputs mlt)
|
|
|
|
|
(replace "gtk+" gtk+-2)))))
|
2021-07-06 20:36:26 +02:00
|
|
|
|
|
2016-01-20 04:11:16 +01:00
|
|
|
|
(define-public v4l-utils
|
|
|
|
|
(package
|
|
|
|
|
(name "v4l-utils")
|
2020-12-27 18:16:54 +01:00
|
|
|
|
(version "1.20.0")
|
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
|
2020-12-27 18:16:54 +01:00
|
|
|
|
"1xr66y6w422hil6s7n8d61a2vhwh4im8l267amf41jvw7xqihqcm"))))
|
2016-01-20 04:11:16 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2020-11-01 13:27:37 +01:00
|
|
|
|
;; Separate graphical tools in order to save almost 1 GiB on the closure
|
|
|
|
|
;; for the common case.
|
|
|
|
|
(outputs '("out" "gui"))
|
2016-01-20 04:11:16 +01:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags
|
2020-11-10 21:51:44 +01:00
|
|
|
|
(list "--disable-static"
|
|
|
|
|
(string-append "--with-udevdir="
|
2016-01-20 04:11:16 +01:00
|
|
|
|
(assoc-ref %outputs "out")
|
2020-11-01 13:27:37 +01:00
|
|
|
|
"/lib/udev"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'split
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(gui (assoc-ref outputs "gui")))
|
|
|
|
|
(mkdir-p (string-append gui "/bin"))
|
|
|
|
|
(mkdir-p (string-append gui "/share/man/man1"))
|
|
|
|
|
(mkdir-p (string-append gui "/share/applications"))
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (prog)
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (file)
|
|
|
|
|
(rename-file (string-append out file)
|
|
|
|
|
(string-append gui file)))
|
|
|
|
|
(list
|
|
|
|
|
(string-append "/bin/" prog)
|
|
|
|
|
(string-append "/share/man/man1/" prog ".1")
|
|
|
|
|
(string-append "/share/applications/" prog ".desktop"))))
|
|
|
|
|
'("qv4l2" "qvidcap"))
|
|
|
|
|
(copy-recursively (string-append out "/share/icons")
|
|
|
|
|
(string-append gui "/share/icons"))
|
|
|
|
|
(delete-file-recursively (string-append out "/share/icons"))
|
|
|
|
|
(rmdir (string-append out "/share/applications"))
|
|
|
|
|
#t))))))
|
2016-01-20 04:11:16 +01:00
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list perl pkg-config))
|
2016-01-20 04:11:16 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("glu" ,glu)
|
gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo'.
* gnu/packages/abiword.scm (abiword)[inputs]: Change from LIBJPEG to
LIBJPEG-TURBO.
* gnu/packages/admin.scm (testdisk)[inputs]: Likewise.
* gnu/packages/algebra.scm (giac)[inputs]: Likewise.
* gnu/packages/animation.scm (synfig)[inputs]: Likewise.
* gnu/packages/astronomy.scm (gnuastro, celestia)[inputs]: Likewise.
* gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise.
* gnu/packages/cran.scm (r-jpeg, r-tiff, r-readbitmap)[inputs]: Likewise.
* gnu/packages/cups.scm (cups-filters, hplip)[inputs]: Likewise.
* gnu/packages/display-managers.scm (slim)[inputs]: Likewise.
* gnu/packages/ebook.scm (fbreader)[inputs]: Likewise.
* gnu/packages/emacs.scm (emacs)[inputs]: Likewise.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/fltk.scm (fltk, ntk)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontforge)[inputs]: Likewise.
* gnu/packages/freedesktop.scm (weston)[inputs]: Likewise.
* gnu/packages/game-development.scm (sfml, allegro, aseprite, python-pygame,
eureka, ioquake3)[inputs]: Likewise.
* gnu/packages/games.scm (adanaxisgpl, freedroidrpg, irrlicht, minetest,
fizmo, supertuxkart, gzdoom, xmoto, xonotic)[inputs]: Likewise.
* gnu/packages/gd.scm (gd, perl-gd)[inputs]: Likewise.
* gnu/packages/ghostscript.scm (lcms)[inputs]: Likewise.
(ghostscript)[inputs, native-inputs]: Likewise.
* gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise.
* gnu/packages/gnome.scm (libgnomeui, eog, tracker-miners, gthumb)[inputs]: Likewise.
* gnu/packages/gnunet.scm (libextractor)[inputs]: Likewise.
* gnu/packages/gnustep.scm (windowmaker)[inputs]: Likewise.
* gnu/packages/graphics.scm (blender, blender-2.79, openimageio,
openscenegraph, openscenegraph-3.4, povray, fgallery)[inputs]: Likewise.
* gnu/packages/graphviz.scm (graphviz)[inputs]: Likewise.
* gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Likewise.
* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Likewise.
* gnu/packages/image-processing.scm (dcmtk, mia, vtk, opencv, vips, nip2, vxl,
insight-toolkit)[inputs]: Likewise.
* gnu/packages/image-viewers.scm (gpicview, luminance-hdr)[inputs]: Likewise.
* gnu/packages/image.scm (jpegoptim, libtiff, leptonica, imlib2, freeimage,
vigra, libwebp, libmng, jasper, steghide, jp2a)[inputs]: Likewise.
* gnu/packages/imagemagick.scm (imagemagick, graphicsmagick)[inputs]: Likewise.
* gnu/packages/java.scm (icedtea-6, icedtea-7, openjdk9, openjdk11,
openjdk12)[inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (khtml)[inputs]: Likewise.
* gnu/packages/kodi.scm (kodi)[inputs]: Likewise.
* gnu/packages/machine-learning.scm (dlib, tensorflow)[inputs]: Likewise.
* gnu/packages/mate.scm (atril, eom)[inputs]: Likewise.
* gnu/packages/maths.scm (hdf4, hdf-java, hdf-eos2, netcdf)[inputs]: Likewise.
* gnu/packages/netpbm.scm (netpbm)[inputs]: Likewise.
* gnu/packages/pdf.scm (zathura-pdf-mupdf, podofo, mupdf, fbida)[inputs]: Likewise.
* gnu/packages/photo.scm (libraw, libpano13, enblend-enfuse, darktable, hugin,
rawtherapee)[inputs]: Likewise.
* gnu/packages/prolog.scm (swi-prolog)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-hdf4, python-pillow)[inputs]: Likewise.
* gnu/packages/qt.scm (qtbase, qtwebkit)[inputs]: Likewise.
* gnu/packages/rdesktop.scm (freerdp)[inputs]: Likewise.
* gnu/packages/scanner.scm (sane-backends, xsane)[inputs]: Likewise.
* gnu/packages/scheme.scm (racket)[inputs]: Likewise.
* gnu/packages/scribus.scm (scribus)[inputs]: Likewise.
* gnu/packages/sdl.scm (sdl-image)[propagated-inputs]: Likewise.
(guile-sdl)[native-inputs]: Likewise.
* gnu/packages/spice.scm (spice-gtk)[inputs]: Likewise.
* gnu/packages/statistics.scm (r-with-tests)[inputs]: Likewise.
* gnu/packages/tcl.scm (perl-tk)[inputs]: Likewise.
* gnu/packages/upnp.scm (readymedia)[inputs]: Likewise.
* gnu/packages/video.scm (mplayer, mpv, v4l-utils, motion)[inputs]: Likewise.
* gnu/packages/web-browsers.scm (dillo, links)[inputs]: Likewise.
* gnu/packages/web.scm (netsurf)[inputs]: Likewise.
* gnu/packages/webkit.scm (webkitgtk)[inputs]: Likewise.
* gnu/packages/wine.scm (wine)[inputs]: Likewise.
* gnu/packages/wv.scm (wv)[inputs]: Likewise.
* gnu/packages/wxwidgets.scm (wxwidgets, wxwidgets-2)[inputs]: Likewise.
* gnu/packages/xdisorg.scm (xscreensaver)[inputs]: Likewise.
* gnu/packages/xfce.scm (tumbler)[inputs]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[inputs]: Likewise.
* gnu/packages/xorg.scm (xpra)[inputs]: Likewise.
2020-01-17 19:27:01 +01:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2016-01-20 04:11:16 +01:00
|
|
|
|
("libx11" ,libx11)
|
2021-04-10 03:53:32 +02:00
|
|
|
|
("qtbase" ,qtbase-5)
|
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")
|
2021-06-30 07:12:35 +02:00
|
|
|
|
(version "27.0.1")
|
2015-12-17 19:36:42 +01:00
|
|
|
|
(source (origin
|
2018-11-29 21:46:49 +01:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 22:53:28 +02:00
|
|
|
|
(url "https://github.com/obsproject/obs-studio")
|
2021-06-30 07:12:35 +02:00
|
|
|
|
(commit version)
|
|
|
|
|
(recursive? #t)))
|
2018-11-29 21:46:49 +01:00
|
|
|
|
(file-name (git-file-name name version))
|
2015-12-17 19:36:42 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-06-30 07:12:35 +02:00
|
|
|
|
"04fzsr9yizmxy0r7z2706crvnsnybpnv5kgfn77znknxxjacfhkn"))
|
2021-01-15 17:26:37 +01:00
|
|
|
|
(patches
|
|
|
|
|
(search-patches "obs-modules-location.patch"))))
|
2015-12-17 19:36:42 +01:00
|
|
|
|
(build-system cmake-build-system)
|
2016-07-12 16:45:13 +02:00
|
|
|
|
(arguments
|
2020-09-29 12:02:42 +02:00
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list (string-append "-DOBS_VERSION_OVERRIDE=" ,version)
|
2021-06-30 07:12:35 +02:00
|
|
|
|
"-DENABLE_UNIT_TESTS=TRUE"
|
|
|
|
|
;; Browser plugin requires cef, but it is not packaged yet.
|
|
|
|
|
;; <https://bitbucket.org/chromiumembedded/cef/src/master/>
|
|
|
|
|
"-DBUILD_BROWSER=FALSE")
|
2020-10-10 21:50:26 +02:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(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/obs")
|
|
|
|
|
`("QT_PLUGIN_PATH" ":" prefix (,plugin-path))))
|
|
|
|
|
#t)))))
|
2021-01-15 17:26:37 +01:00
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "OBS_PLUGINS_DIRECTORY")
|
|
|
|
|
(separator #f) ;single entry
|
|
|
|
|
(files '("lib/obs-plugins")))
|
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "OBS_PLUGINS_DATA_DIRECTORY")
|
|
|
|
|
(separator #f) ;single entry
|
|
|
|
|
(files '("share/obs/obs-plugins")))))
|
2015-12-17 19:36:42 +01:00
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list cmocka pkg-config))
|
2015-12-17 19:36:42 +01:00
|
|
|
|
(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)
|
2021-06-30 07:12:35 +02:00
|
|
|
|
("glib" ,glib)
|
2015-12-17 19:36:42 +01:00
|
|
|
|
("jack" ,jack-1)
|
|
|
|
|
("jansson" ,jansson)
|
|
|
|
|
("libx264" ,libx264)
|
|
|
|
|
("libxcomposite" ,libxcomposite)
|
2020-05-25 20:40:47 +02:00
|
|
|
|
("mbedtls" ,mbedtls-apache)
|
2015-12-17 19:36:42 +01:00
|
|
|
|
("mesa" ,mesa)
|
2021-06-30 07:12:35 +02:00
|
|
|
|
("pipewire" ,pipewire-0.3)
|
2015-12-17 19:36:42 +01:00
|
|
|
|
("pulseaudio" ,pulseaudio)
|
2021-04-10 03:53:32 +02:00
|
|
|
|
("qtbase" ,qtbase-5)
|
2019-09-22 23:38:30 +02:00
|
|
|
|
("qtsvg" ,qtsvg)
|
2016-06-16 04:36:09 +02:00
|
|
|
|
("qtx11extras" ,qtx11extras)
|
2021-12-19 13:10:10 +01:00
|
|
|
|
("qtwayland" ,qtwayland)
|
2020-09-29 11:08:34 +02:00
|
|
|
|
("speexdsp" ,speexdsp)
|
2016-01-20 04:11:35 +01:00
|
|
|
|
("v4l-utils" ,v4l-utils)
|
2021-06-30 07:12:35 +02:00
|
|
|
|
("wayland" ,wayland)
|
|
|
|
|
("wayland-protocols" ,wayland-protocols)
|
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")
|
|
|
|
|
(license license:gpl2+)))
|
2015-12-21 14:53:59 +01:00
|
|
|
|
|
2021-01-18 17:39:44 +01:00
|
|
|
|
(define-public obs-spectralizer
|
|
|
|
|
(package
|
|
|
|
|
(name "obs-spectralizer")
|
|
|
|
|
(version "1.3.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/univrsal/spectralizer")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2021-02-02 10:48:36 +01:00
|
|
|
|
|
|
|
|
|
;; Remove bundled Windows DLLs.
|
|
|
|
|
(snippet '(delete-file-recursively "fftw3"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
|
2021-01-18 17:39:44 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0q75cnyqydpvfda51zm9gxqj3wqr99ad0lxzjhw0ld67qvj1ag6i"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list "-DGLOBAL_INSTALLATION=ON" "-DUSE_CMAKE_LIBDIR=ON")))
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(inputs (list obs fftw))
|
2021-01-18 17:39:44 +01:00
|
|
|
|
(home-page "https://github.com/univrsal/spectralizer")
|
|
|
|
|
(synopsis "OBS plugin for audio visualization")
|
|
|
|
|
(description "This OBS plugins allows you to vizualize MPD and internal
|
|
|
|
|
OBS audio sources.")
|
|
|
|
|
(license license:gpl2)))
|
|
|
|
|
|
2021-02-18 23:34:25 +01:00
|
|
|
|
(define-public obs-websocket
|
|
|
|
|
(package
|
|
|
|
|
(name "obs-websocket")
|
|
|
|
|
(version "4.9.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/Palakis/obs-websocket")
|
|
|
|
|
(commit version)
|
|
|
|
|
(recursive? #t)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1r47861ma1s3998clahbnbc216wcf706b1ps514k5p28h511l5w0"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;no tests
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'remove-permission-change
|
|
|
|
|
(lambda* _
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
;; Remove lines that set writeable permissions on outputs.
|
|
|
|
|
(("set\\(CMAKE_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS") "")
|
|
|
|
|
(("OWNER_READ.*\\)") "")
|
|
|
|
|
(("PERMISSIONS") ")"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list obs qtbase-5))
|
2021-02-18 23:34:25 +01:00
|
|
|
|
(home-page "https://github.com/Palakis/obs-websocket")
|
|
|
|
|
(synopsis "OBS plugin for remote control via WebSockets")
|
|
|
|
|
(description "This OBS plugin allows you to establish a WebSocket channel
|
|
|
|
|
from within your running OBS instance so that you can control it remotely from
|
|
|
|
|
programs on your current machine or on other machines.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2021-01-18 17:27:43 +01:00
|
|
|
|
(define-public obs-wlrobs
|
|
|
|
|
(package
|
|
|
|
|
(name "obs-wlrobs")
|
|
|
|
|
(version "1.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method hg-fetch)
|
|
|
|
|
(uri (hg-reference
|
|
|
|
|
(url "https://hg.sr.ht/~scoopta/wlrobs")
|
|
|
|
|
(changeset (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1faiq2gdb7qis3m1hilm4pz8lkmkab75vzm608dbiazahhybf96p"))))
|
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list pkg-config))
|
2021-01-18 17:27:43 +01:00
|
|
|
|
(propagated-inputs `() )
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(inputs (list obs
|
|
|
|
|
`(,libx11 "out") wayland wayland-protocols))
|
2021-01-18 17:27:43 +01:00
|
|
|
|
(home-page "https://hg.sr.ht/~scoopta/wlrobs")
|
|
|
|
|
(synopsis "OBS plugin for Wayland (wlroots) screen capture")
|
|
|
|
|
(description
|
|
|
|
|
"This OBS plugin allows you to capture the screen on wlroots-based
|
|
|
|
|
Wayland compositors.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2015-12-21 14:53:59 +01:00
|
|
|
|
(define-public libvdpau
|
|
|
|
|
(package
|
|
|
|
|
(name "libvdpau")
|
2020-07-24 22:42:31 +02:00
|
|
|
|
(version "1.4")
|
2015-12-21 14:53:59 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-08-29 15:39:05 +02:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://gitlab.freedesktop.org/vdpau/libvdpau.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2015-12-21 14:53:59 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-07-24 22:42:31 +02:00
|
|
|
|
"1hc4mcrbr1yhfiy4zfd8wc2iiqbp90z6jswap0jia20vmyk5lqld"))))
|
2019-08-29 15:39:05 +02:00
|
|
|
|
(build-system meson-build-system)
|
2015-12-21 14:53:59 +01:00
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list pkg-config))
|
2015-12-21 14:53:59 +01:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list `(,libx11 "out") libxext 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")
|
2020-11-29 14:40:11 +01:00
|
|
|
|
(version "1.4")
|
2015-12-21 15:06:30 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2020-11-29 14:38:53 +01:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://gitlab.freedesktop.org/vdpau/vdpauinfo")
|
2020-11-29 14:40:11 +01:00
|
|
|
|
(commit version)))
|
2020-11-29 14:38:53 +01:00
|
|
|
|
(file-name (git-file-name name version))
|
2015-12-21 15:06:30 +01:00
|
|
|
|
(sha256
|
2020-11-29 14:40:11 +01:00
|
|
|
|
(base32 "0s84bavxr39w0r7zfaac7kpbfsg88hgymqyzcr0yvbj1yry3liz2"))))
|
2015-12-21 15:06:30 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2020-11-29 14:38:53 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'bootstrap
|
|
|
|
|
;; ./autogen.sh runs ./configure too soon.
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "autoreconf" "-fiv"))))))
|
2015-12-21 15:06:30 +01:00
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list autoconf automake libx11 pkg-config))
|
2015-12-21 15:06:30 +01:00
|
|
|
|
(propagated-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list libvdpau))
|
2015-12-21 15:06:30 +01:00
|
|
|
|
(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
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list libvdpau pkg-config))
|
2017-12-12 20:44:49 +01:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list libva mesa))
|
2017-12-12 20:44:49 +01:00
|
|
|
|
(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")
|
2021-11-23 15:07:56 +01:00
|
|
|
|
(version "0.4.0")
|
2016-04-17 17:36:43 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2021-11-23 15:07:56 +01:00
|
|
|
|
(uri (string-append "https://github.com/Enselic/"
|
|
|
|
|
name "/releases/download/v" version
|
|
|
|
|
"/recordmydesktop-" version ".tar.gz"))
|
2016-04-17 17:36:43 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-11-23 15:07:56 +01:00
|
|
|
|
"17kjgmkl45zma64a5dg1hyvnjkzk4vl8milgi6ic7hlsbmywpig7"))))
|
2016-04-17 17:36:43 +02:00
|
|
|
|
(build-system gnu-build-system)
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(inputs (list popt
|
|
|
|
|
zlib
|
|
|
|
|
libx11
|
|
|
|
|
libice
|
|
|
|
|
libsm
|
|
|
|
|
libxfixes
|
|
|
|
|
libxdamage
|
|
|
|
|
libxext
|
|
|
|
|
alsa-lib
|
|
|
|
|
libvorbis
|
|
|
|
|
libtheora))
|
2021-11-23 15:07:56 +01:00
|
|
|
|
(home-page "https://enselic.github.io/recordmydesktop/")
|
2016-04-17 17:36:43 +02:00
|
|
|
|
(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")
|
2020-07-18 21:46:29 +02:00
|
|
|
|
(version "0.4.2")
|
2017-07-10 17:25:26 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2018-11-29 21:47:14 +01:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 22:53:28 +02:00
|
|
|
|
(url "https://github.com/MaartenBaert/ssr")
|
2018-11-29 21:47:14 +01:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-07-10 17:25:26 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-07-18 21:46:29 +02:00
|
|
|
|
"1dzp5yzqlha65crzklx2qlan6ssw1diwzfpc4svd7gnr858q2292"))))
|
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
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list alsa-lib
|
|
|
|
|
ffmpeg
|
|
|
|
|
glu
|
|
|
|
|
jack-1
|
|
|
|
|
libxi
|
|
|
|
|
libxinerama
|
|
|
|
|
pulseaudio
|
|
|
|
|
qtbase-5
|
|
|
|
|
qtx11extras))
|
|
|
|
|
(native-inputs (list 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.
|
2020-01-19 00:17:00 +01:00
|
|
|
|
(home-page "https://www.maartenbaert.be/simplescreenrecorder/")
|
2017-07-10 17:25:26 +02:00
|
|
|
|
(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")
|
2019-03-10 14:02:20 +01:00
|
|
|
|
(version "0.4.5-401")
|
2016-07-29 23:01:51 +02:00
|
|
|
|
(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)
|
2019-09-23 00:11:13 +02:00
|
|
|
|
(arguments
|
|
|
|
|
;; libsmpeg fails to build with -std=c++11, which is the default with
|
|
|
|
|
;; GCC 7. Also, 'configure' does CXXFLAGS=$CFLAGS, hence this hack.
|
|
|
|
|
'(#:configure-flags '("CFLAGS=-O2 -g -std=c++03")))
|
2016-07-29 23:01:51 +02:00
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list autoconf automake))
|
2016-07-29 23:01:51 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("sdl" ,sdl2)))
|
2020-01-19 01:17:00 +01:00
|
|
|
|
(home-page "https://icculus.org/smpeg/")
|
2016-07-29 23:01:51 +02:00
|
|
|
|
(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
|
|
|
|
|
2019-03-10 14:02:20 +01:00
|
|
|
|
;; for btanks
|
|
|
|
|
(define-public libsmpeg-with-sdl1
|
|
|
|
|
(package (inherit libsmpeg)
|
|
|
|
|
(name "libsmpeg")
|
|
|
|
|
(version "0.4.5-399")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method svn-fetch)
|
|
|
|
|
(uri (svn-reference
|
|
|
|
|
(url "svn://svn.icculus.org/smpeg/trunk/")
|
|
|
|
|
(revision 399))) ; tagged release 0.4.5
|
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0jfi085rf3fa5xsn0vd3nqf32my8ph9c6a9445y7a8lrlz4dms64"))))
|
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list sdl))))
|
2019-03-10 14:02:20 +01:00
|
|
|
|
|
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
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list libgcrypt))
|
2016-09-09 21:52:24 +02:00
|
|
|
|
(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")
|
2020-07-24 00:49:51 +02:00
|
|
|
|
(version "0.11.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/"
|
2020-06-30 10:42:45 +02:00
|
|
|
|
version "/libaacs-" version ".tar.bz2"))
|
2016-09-09 21:52:25 +02:00
|
|
|
|
(sha256
|
2020-07-24 00:49:51 +02:00
|
|
|
|
(base32 "11skjqjlldmbjkyxdcz4fmcn6y4p95r1xagbcnjy4ndnzf0l723d"))))
|
2016-09-09 21:52:25 +02:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list libgcrypt))
|
2016-09-09 21:52:25 +02:00
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list bison flex))
|
2016-09-09 21:52:25 +02:00
|
|
|
|
(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
|
2018-11-29 21:56:32 +01:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 22:53:28 +02:00
|
|
|
|
(url "https://github.com/mps-youtube/mps-youtube")
|
2018-11-29 21:56:32 +01:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2016-11-04 20:23:02 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-11-29 21:56:32 +01:00
|
|
|
|
"1w1jhw9rg3dx7vp97cwrk5fymipkcy2wrbl1jaa38ivcjhqg596y"))))
|
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
|
2021-12-12 13:49:04 +01:00
|
|
|
|
'(#:tests? #f
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
;; Loading this as a library will create cache directories,
|
|
|
|
|
;; etc; which fails in the build container.
|
|
|
|
|
(delete 'sanity-check))))
|
2016-11-04 20:23:02 +01:00
|
|
|
|
(propagated-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-pafy python-pygobject)) ; For mpris2 support
|
2016-11-04 20:23:02 +01:00
|
|
|
|
(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")
|
2021-10-16 00:48:44 +02:00
|
|
|
|
(version "1.4.2")
|
2015-12-26 03:29:09 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2020-05-19 19:21:07 +02:00
|
|
|
|
(uri (string-append "https://github.com/HandBrake/HandBrake/"
|
|
|
|
|
"releases/download/" version "/"
|
|
|
|
|
"HandBrake-" version "-source.tar.bz2"))
|
2015-12-26 03:29:09 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-10-16 00:48:44 +02:00
|
|
|
|
"0qgvdpnjjvh9937cr0yry1lkz5fj6x9pz32fx7s80c9fvjvq33lb"))
|
2015-12-26 03:29:09 +01:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
2018-12-01 16:36:43 +01:00
|
|
|
|
;; Remove "contrib" and source not necessary for
|
|
|
|
|
;; building/running under a GNU environment.
|
2015-12-26 03:29:09 +01:00
|
|
|
|
'(begin
|
2018-12-01 16:36:43 +01:00
|
|
|
|
(for-each delete-file-recursively
|
2019-12-04 05:16:15 +01:00
|
|
|
|
'("contrib" "macosx" "win")) ; 540KiB, 11MiB, 5.9MiB resp.
|
2018-12-01 16:36:43 +01:00
|
|
|
|
(substitute* "make/include/main.defs"
|
|
|
|
|
;; Disable unconditional inclusion of "contrib" libraries
|
|
|
|
|
;; (ffmpeg, libvpx, libdvdread, libdvdnav, and libbluray),
|
|
|
|
|
;; which would lead to fetching and building of these
|
|
|
|
|
;; libraries. Use our own instead.
|
2021-10-16 00:48:44 +02:00
|
|
|
|
(("MODULES \\+= contrib") "# MODULES += contrib"))))))
|
2015-12-26 03:29:09 +01:00
|
|
|
|
(build-system glib-or-gtk-build-system)
|
|
|
|
|
(native-inputs
|
2019-12-04 05:16:15 +01:00
|
|
|
|
`(("automake" ,automake) ; GUI subpackage must be bootstrapped
|
2015-12-26 03:29:09 +01:00
|
|
|
|
("autoconf" ,autoconf)
|
|
|
|
|
("intltool" ,intltool)
|
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
2019-12-04 05:16:15 +01:00
|
|
|
|
("python" ,python-2))) ; For configuration
|
2015-12-26 03:29:09 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("bzip2" ,bzip2)
|
|
|
|
|
("dbus-glib" ,dbus-glib)
|
2018-12-01 16:36:43 +01:00
|
|
|
|
("ffmpeg" ,ffmpeg)
|
2015-12-26 03:29:09 +01:00
|
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("glib" ,glib)
|
|
|
|
|
("gstreamer" ,gstreamer)
|
|
|
|
|
("gst-plugins-base" ,gst-plugins-base)
|
|
|
|
|
("gtk+" ,gtk+)
|
2018-12-01 16:36:43 +01:00
|
|
|
|
("jansson" ,jansson)
|
2015-12-26 03:29:09 +01:00
|
|
|
|
("lame" ,lame)
|
|
|
|
|
("libass" ,libass)
|
|
|
|
|
("libbluray" ,libbluray)
|
2019-12-04 05:16:15 +01:00
|
|
|
|
("libdav1d" ,dav1d)
|
2015-12-26 03:29:09 +01:00
|
|
|
|
("libdvdnav" ,libdvdnav)
|
|
|
|
|
("libdvdread" ,libdvdread)
|
|
|
|
|
("libgudev" ,libgudev)
|
2021-09-23 04:05:22 +02:00
|
|
|
|
("libjpeg-turbo" ,libjpeg-turbo)
|
2015-12-26 03:29:09 +01:00
|
|
|
|
("libmpeg2" ,libmpeg2)
|
|
|
|
|
("libnotify" ,libnotify)
|
2019-12-04 05:16:15 +01:00
|
|
|
|
("libnuma" ,numactl)
|
2015-12-26 03:29:09 +01:00
|
|
|
|
("libogg" ,libogg)
|
2018-12-01 16:36:43 +01:00
|
|
|
|
("libopus" ,opus)
|
2015-12-26 03:29:09 +01:00
|
|
|
|
("libsamplerate" ,libsamplerate)
|
|
|
|
|
("libtheora" ,libtheora)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("libvpx" ,libvpx)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("libx264" ,libx264)
|
2019-01-23 06:33:21 +01:00
|
|
|
|
("speex" ,speex)
|
2015-12-26 03:29:09 +01:00
|
|
|
|
("x265" ,x265)
|
2021-09-23 04:05:22 +02:00
|
|
|
|
("zimg" ,zimg)
|
2015-12-26 03:29:09 +01:00
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;tests require Ruby and claim to be unsupported
|
2018-12-01 16:36:43 +01:00
|
|
|
|
#:configure-flags
|
2019-01-23 06:33:21 +01:00
|
|
|
|
(list "--disable-gtk-update-checks"
|
2019-12-04 05:16:15 +01:00
|
|
|
|
"--disable-nvenc"
|
2019-01-23 06:33:21 +01:00
|
|
|
|
(string-append "CPPFLAGS=-I"
|
2018-12-01 16:36:43 +01:00
|
|
|
|
(assoc-ref %build-inputs "libxml2")
|
|
|
|
|
"/include/libxml2")
|
|
|
|
|
"LDFLAGS=-lx265")
|
2015-12-26 03:29:09 +01:00
|
|
|
|
#: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"))
|
|
|
|
|
;; Patch the Makefile so that it doesn't bootstrap again.
|
|
|
|
|
(substitute* "gtk/module.rules"
|
2019-12-04 05:16:15 +01:00
|
|
|
|
((".*autoreconf.*") ""))
|
|
|
|
|
(with-directory-excursion "gtk"
|
|
|
|
|
(invoke "autoreconf" "-fiv"))))
|
|
|
|
|
(add-before 'configure 'patch-SHELL
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "gtk/po/Makefile.in.in"
|
2021-10-16 00:48:44 +02:00
|
|
|
|
(("SHELL = /bin/sh") "SHELL = @SHELL@"))))
|
2019-12-04 05:16:15 +01:00
|
|
|
|
(add-before 'configure 'relax-reqs
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "make/configure.py"
|
|
|
|
|
;; cmake is checked for so that it can be used to build
|
|
|
|
|
;; contrib/harfbuzz and contrib/x265, but we get these as
|
|
|
|
|
;; inputs, so don't abort if it's not found. Similarly, meson
|
|
|
|
|
;; and ninja are only needed for contrib/libdav1d, and nasm
|
|
|
|
|
;; only for libvpx
|
|
|
|
|
(("((cmake|meson|ninja|nasm) *=.*abort=)True" _ &)
|
2021-10-16 00:48:44 +02:00
|
|
|
|
(string-append & "False")))))
|
2015-12-26 03:29:09 +01:00
|
|
|
|
(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
|
2021-10-16 00:48:44 +02:00
|
|
|
|
(lambda _ (chdir "./build"))))))
|
2015-12-26 03:29:09 +01:00
|
|
|
|
(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.")
|
2018-12-01 16:36:43 +01:00
|
|
|
|
;; Some under GPLv2+, some under LGPLv2.1+, and portions under BSD3.
|
|
|
|
|
;; Combination under GPLv2. See LICENSE.
|
|
|
|
|
(license license:gpl2)))
|
2016-06-18 22:40:51 +02:00
|
|
|
|
|
2019-07-26 05:01:56 +02:00
|
|
|
|
(define-public intel-vaapi-driver
|
|
|
|
|
(package
|
|
|
|
|
(name "intel-vaapi-driver")
|
2020-06-03 05:33:02 +02:00
|
|
|
|
(version "2.4.1")
|
2019-07-26 05:01:56 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2020-06-03 05:33:02 +02:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/intel/intel-vaapi-driver")
|
|
|
|
|
(commit version)))
|
2019-07-26 05:01:56 +02:00
|
|
|
|
(sha256
|
2020-06-03 05:33:02 +02:00
|
|
|
|
(base32 "1cidki3av9wnkgwi7fklxbg3bh6kysf8w3fk2qadjr05a92mx3zp"))
|
|
|
|
|
(file-name (git-file-name name version))))
|
2019-07-26 05:01:56 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list autoconf automake libtool pkg-config))
|
2019-07-26 05:01:56 +02:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list libdrm libva libx11))
|
2019-07-26 05:01:56 +02:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'set-target-directory
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(setenv "LIBVA_DRIVERS_PATH" (string-append out "/lib/dri"))
|
|
|
|
|
#t))))))
|
|
|
|
|
;; XXX Because of <https://issues.guix.gnu.org/issue/22138>, we need to add
|
|
|
|
|
;; this to all VA-API back ends instead of once to libva.
|
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "LIBVA_DRIVERS_PATH")
|
|
|
|
|
(files '("lib/dri")))))
|
2019-07-30 06:27:21 +02:00
|
|
|
|
(supported-systems '("i686-linux" "x86_64-linux"))
|
2019-07-26 05:01:56 +02:00
|
|
|
|
(home-page "https://01.org/linuxmedia/vaapi")
|
|
|
|
|
(synopsis "VA-API video acceleration driver for Intel GEN Graphics devices")
|
|
|
|
|
(description
|
|
|
|
|
"This is the @acronym{VA-API, Video Acceleration API} back end required for
|
|
|
|
|
hardware-accelerated video processing on Intel GEN Graphics devices supported by
|
|
|
|
|
the i915 driver, such as integrated Intel HD Graphics. It provides access to
|
|
|
|
|
both hardware and shader functionality for faster encoding, decoding, and
|
|
|
|
|
post-processing of video formats like MPEG2, H.264/AVC, and VC-1.")
|
|
|
|
|
(license (list license:bsd-2 ; src/gen9_vp9_const_def.c
|
|
|
|
|
license:expat)))) ; the rest, excluding the test suite
|
|
|
|
|
|
2016-06-18 22:40:51 +02:00
|
|
|
|
(define-public openh264
|
|
|
|
|
(package
|
|
|
|
|
(name "openh264")
|
2020-06-02 03:48:31 +02:00
|
|
|
|
(version "2.1.1")
|
2016-06-18 22:40:51 +02:00
|
|
|
|
(source (origin
|
2020-05-08 23:25:21 +02:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/cisco/openh264")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2016-06-18 22:40:51 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-06-02 03:48:31 +02:00
|
|
|
|
"0ffav46pz3sbj92nipd62z03fibyqgclfq9w8lgr80s6za6zdk5s"))))
|
2016-06-18 22:40:51 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list nasm python))
|
2016-06-18 22:40:51 +02:00
|
|
|
|
(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))))
|
2020-01-18 20:35:10 +01:00
|
|
|
|
(home-page "https://www.openh264.org/")
|
2016-06-18 22:40:51 +02:00
|
|
|
|
(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"))
|
2019-07-18 16:31:14 +02:00
|
|
|
|
(patches (search-patches "libmp4v2-c++11.patch"))
|
2017-02-09 14:37:00 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0f438bimimsvxjbdp4vsr8hjw2nwggmhaxgcw07g2z361fkbj683"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(outputs '("out"
|
|
|
|
|
"static")) ; 3.7MiB .a file
|
|
|
|
|
(arguments
|
2021-11-20 23:08:43 +01:00
|
|
|
|
`(;; Build as C++2003 to avoid C++11 "narrowing conversion" errors.
|
|
|
|
|
#:configure-flags '("CXXFLAGS=-O2 -g -std=c++03")
|
|
|
|
|
|
|
|
|
|
#:phases
|
2017-02-09 14:37:00 +01:00
|
|
|
|
(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
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list help2man dejagnu))
|
2017-02-09 14:37:00 +01:00
|
|
|
|
(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")
|
2021-05-03 17:20:47 +02:00
|
|
|
|
(version "21.03")
|
2017-05-27 17:19:23 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://mediaarea.net/download/source/"
|
2020-05-21 23:32:19 +02:00
|
|
|
|
name "/" version "/"
|
|
|
|
|
name "_" version ".tar.xz"))
|
2017-05-27 17:19:23 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-05-03 17:20:47 +02:00
|
|
|
|
"1jm4mk539wf3crgpcddgwdixshwdzm37mkb5441lifhcz2mykdsn"))))
|
2017-05-27 17:19:23 +02:00
|
|
|
|
;; TODO add a Big Buck Bunny webm for tests.
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list autoconf automake libtool pkg-config))
|
2021-06-09 08:12:40 +02:00
|
|
|
|
(propagated-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list zlib tinyxml2 curl ; In Requires.private of libmediainfo.pc.
|
|
|
|
|
libzen))
|
2017-05-27 17:19:23 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f ; see above TODO
|
2021-06-09 08:12:40 +02:00
|
|
|
|
#:configure-flags
|
|
|
|
|
(list "--with-libcurl" "--with-libtinyxml2")
|
2017-05-27 17:19:23 +02:00
|
|
|
|
#: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")
|
2019-08-07 18:24:16 +02:00
|
|
|
|
#t)))))
|
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")
|
2021-05-03 17:21:03 +02:00
|
|
|
|
(version "21.03")
|
2017-05-27 17:42:46 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2019-01-21 22:42:48 +01:00
|
|
|
|
;; Warning: This source has proved unreliable 1 time at least.
|
|
|
|
|
;; Consider an alternate source or report upstream if this
|
|
|
|
|
;; happens again.
|
2017-05-27 17:42:46 +02:00
|
|
|
|
(uri (string-append "https://mediaarea.net/download/source/"
|
|
|
|
|
name "/" version "/"
|
2020-05-21 23:37:13 +02:00
|
|
|
|
name "_" version ".tar.xz"))
|
2017-05-27 17:42:46 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-05-03 17:21:03 +02:00
|
|
|
|
"07h2a1lbw5ak6c9bcn8qydchl0wpgk945rf9sfcqjyv05h5wll6y"))))
|
2017-05-27 17:42:46 +02:00
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list autoconf automake libtool pkg-config))
|
2021-06-09 08:12:40 +02:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list libmediainfo))
|
2017-05-27 17:42:46 +02:00
|
|
|
|
(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")
|
2019-01-21 22:42:48 +01:00
|
|
|
|
#t)))))
|
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
|
|
|
|
|
2020-10-25 01:54:47 +02:00
|
|
|
|
(define-public atomicparsley
|
|
|
|
|
(package
|
|
|
|
|
(name "atomicparsley")
|
|
|
|
|
(version "20200701.154658.b0d6223")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/wez/atomicparsley")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1kym2l5y34nmbrrlkfmxsf1cwrvch64kb34jp0hpa0b89idbhwqh"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;; no tests included
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'set-cmake-version
|
|
|
|
|
(lambda* _
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
;; At the time of writing, Guix has CMake at 3.16, but
|
|
|
|
|
;; AtomicParsley uses 3.17. This brings the required CMake
|
|
|
|
|
;; version down to what Guix can afford.
|
|
|
|
|
(("VERSION 3.17") "VERSION 3.16"))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin")))
|
|
|
|
|
(install-file "AtomicParsley" bin))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list zlib))
|
2020-10-25 01:54:47 +02:00
|
|
|
|
(synopsis "Metadata editor for MPEG-4 files")
|
|
|
|
|
(description "AtomicParsley is a lightweight command line program for
|
|
|
|
|
reading, parsing and setting metadata into MPEG-4 files, in particular,
|
|
|
|
|
iTunes-style metadata.")
|
|
|
|
|
(home-page "https://github.com/wez/atomicparsley")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2017-06-03 20:28:38 +02:00
|
|
|
|
(define-public livemedia-utils
|
|
|
|
|
(package
|
|
|
|
|
(name "livemedia-utils")
|
2020-11-20 13:31:40 +01:00
|
|
|
|
(version "2020.11.19")
|
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
|
2020-11-20 13:31:40 +01:00
|
|
|
|
"16w6yxdbmjdhvffnrb752dn4llf3l0wb00dgdkyia0vqsv2qqyn7"))))
|
2017-06-03 20:28:38 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2020-11-17 02:31:05 +01:00
|
|
|
|
`(#:tests? #f ; no tests
|
|
|
|
|
#:make-flags (list (string-append "CC=" ,(cc-for-target))
|
|
|
|
|
(string-append "CXX=" ,(cxx-for-target))
|
2017-06-03 20:28:38 +02:00
|
|
|
|
(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"))))))
|
2020-11-17 02:30:53 +01:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list openssl))
|
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")
|
2019-12-25 11:04:28 +01:00
|
|
|
|
(version "1.3.3")
|
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
|
2019-12-25 11:04:28 +01:00
|
|
|
|
"04h1l3vrkrdsrvkgzcr51adk10g6hxcxvgjphyyxz718ry5rkd82"))))
|
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
|
2018-11-29 21:56:51 +01:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 22:53:28 +02:00
|
|
|
|
(url "https://github.com/FFMS/ffms2")
|
2018-11-29 21:56:51 +01:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-10-20 18:42:15 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-11-29 21:56:51 +01:00
|
|
|
|
"0dkz5b3gxq5p4xz0qqg6l2sigszrlsinz3skyf0ln4wf3zrvf8m5"))))
|
2017-10-20 18:42:15 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags
|
|
|
|
|
(list "--enable-avresample")))
|
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list zlib))
|
2017-10-20 18:42:15 +02:00
|
|
|
|
(propagated-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list ffmpeg))
|
2017-10-20 18:42:15 +02:00
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list pkg-config))
|
2017-10-20 18:42:15 +02:00
|
|
|
|
(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
|
2018-08-03 13:52:13 +02:00
|
|
|
|
"11b83qazc8h0iidyj1rprnnjdivj1lpphvpa08y53n42bfa36pn5"))
|
2018-11-25 20:33:13 +01:00
|
|
|
|
(patches (search-patches "aegisub-icu59-include-unistr.patch"
|
2020-04-10 17:15:32 +02:00
|
|
|
|
"aegisub-make43.patch"
|
2018-11-25 20:33:13 +01:00
|
|
|
|
"aegisub-boost68.patch"))))
|
2017-10-20 18:46:15 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list "--disable-update-checker"
|
|
|
|
|
"--without-portaudio"
|
|
|
|
|
"--without-openal"
|
2018-08-03 13:52:13 +02:00
|
|
|
|
"--without-oss"
|
|
|
|
|
"CXXFLAGS=-DU_USING_ICU_NAMESPACE=1")
|
2017-10-20 18:46:15 +02:00
|
|
|
|
;; tests require busted, a lua package we don't have yet
|
|
|
|
|
#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'fix-ldflags
|
|
|
|
|
(lambda _
|
2018-08-03 13:52:13 +02:00
|
|
|
|
(setenv "LDFLAGS" "-pthread")
|
2019-02-11 12:53:05 +01:00
|
|
|
|
#t))
|
|
|
|
|
(add-after 'unpack 'fix-boost-headers
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute*
|
|
|
|
|
'("src/subtitles_provider_libass.cpp"
|
|
|
|
|
"src/colour_button.cpp"
|
|
|
|
|
"src/video_provider_dummy.cpp"
|
|
|
|
|
"./src/video_frame.cpp")
|
|
|
|
|
(("#include <boost/gil/gil_all.hpp>")
|
|
|
|
|
"#include <boost/gil.hpp>"))
|
|
|
|
|
#t)))))
|
2017-10-20 18:46:15 +02:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list boost
|
|
|
|
|
ffms2
|
|
|
|
|
fftw
|
|
|
|
|
hunspell
|
|
|
|
|
mesa
|
|
|
|
|
libass
|
|
|
|
|
alsa-lib
|
|
|
|
|
pulseaudio
|
|
|
|
|
libx11
|
|
|
|
|
freetype
|
|
|
|
|
wxwidgets-gtk2))
|
2017-10-20 18:46:15 +02:00
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list intltool desktop-file-utils pkg-config))
|
2017-10-20 18:46:15 +02:00
|
|
|
|
(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
|
|
|
|
|
|
2020-11-22 14:38:27 +01:00
|
|
|
|
(define-public pitivi
|
|
|
|
|
;; Pitivi switched to a non-semantic versioning scheme close before 1.0
|
|
|
|
|
(let ((latest-semver "0.999.0")
|
2021-09-12 00:37:36 +02:00
|
|
|
|
(%version "2021.05.0"))
|
2020-11-22 14:38:27 +01:00
|
|
|
|
(package
|
|
|
|
|
(name "pitivi")
|
|
|
|
|
(version (string-append latest-semver "-" %version))
|
2021-03-02 17:52:47 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://gitlab.gnome.org/GNOME/pitivi.git")
|
|
|
|
|
(commit %version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2021-11-26 01:02:36 +01:00
|
|
|
|
(patches (search-patches "pitivi-fix-build-with-meson-0.60.patch"))
|
2021-03-02 17:52:47 +01:00
|
|
|
|
(sha256
|
2021-09-12 00:37:36 +02:00
|
|
|
|
(base32 "08x2fs2bak1fbmkvjijgx1dsawispv91bpv5j5gkqbv5dfgf7wah"))))
|
2020-11-22 14:38:27 +01:00
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list glib
|
|
|
|
|
gst-editing-services
|
|
|
|
|
gstreamer
|
|
|
|
|
gst-plugins-base
|
|
|
|
|
gst-plugins-good
|
|
|
|
|
(gst-plugins/selection gst-plugins-bad #:plugins
|
|
|
|
|
'("debugutils" "transcode")
|
|
|
|
|
#:configure-flags
|
|
|
|
|
'("-Dintrospection=enabled"))
|
|
|
|
|
gst-libav
|
|
|
|
|
gsound
|
|
|
|
|
gtk+
|
|
|
|
|
librsvg
|
|
|
|
|
libpeas
|
|
|
|
|
libnotify
|
|
|
|
|
pango
|
|
|
|
|
python-gst
|
|
|
|
|
python-numpy
|
|
|
|
|
python-matplotlib
|
|
|
|
|
python-pycairo
|
|
|
|
|
python-pygobject))
|
2017-10-16 07:41:50 +02:00
|
|
|
|
(native-inputs
|
2020-11-22 14:38:27 +01:00
|
|
|
|
`(("gettext" ,gettext-minimal)
|
|
|
|
|
("glib:bin" ,glib "bin")
|
|
|
|
|
("itstool" ,itstool)
|
2017-10-16 07:41:50 +02:00
|
|
|
|
("pkg-config" ,pkg-config)))
|
2020-11-22 14:38:27 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:glib-or-gtk? #t
|
2021-11-24 22:12:11 +01:00
|
|
|
|
;; Pitivi is not yet compatible with Meson 0.60:
|
|
|
|
|
;; https://gitlab.gnome.org/GNOME/pitivi/-/issues/2593
|
|
|
|
|
#:meson ,meson-0.59
|
2020-11-22 14:38:27 +01:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'glib-or-gtk-wrap 'wrap-other-dependencies
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((prog (string-append (assoc-ref outputs "out")
|
|
|
|
|
"/bin/pitivi")))
|
|
|
|
|
(wrap-program prog
|
gnu: Adjust package collection to Wrap using GUIX_PYTHONPATH.
This change was automated using:
$ git ls-files | grep .scm | \
xargs sed 's/(getenv "PYTHONPATH")/(getenv "GUIX_PYTHONPATH")/' -i
$ git ls-files | grep .scm | \
xargs sed 's/`("PYTHONPATH"/`("GUIX_PYTHONPATH"/' -i
* gnu/packages/admin.scm (nmap):
(dstat): Wrap using GUIX_PYTHONPATH.
* gnu/packages/audio.scm (jack-2):
(carla): Likewise.
* gnu/packages/benchmark.scm (fio): Likewise.
* gnu/packages/bioinformatics.scm (couger): Likewise.
(gess, find-circ, filtlong, nanopolish): Likewise.
* gnu/packages/cdrom.scm (cdemu-client): Likewise.
* gnu/packages/chemistry.scm (avogadro): Likewise.
* gnu/packages/connman.scm (econnman): Likewise.
* gnu/packages/cups.scm (hplip): Likewise.
* gnu/packages/debug.scm (scanmem): Likewise.
* gnu/packages/display-managers.scm (lightdm): Likewise.
* gnu/packages/ebook.scm (cozy): Likewise.
* gnu/packages/education.scm (anki): Likewise.
* gnu/packages/engineering.scm (kicad, volk, freecad): Likewise.
* gnu/packages/game-development.scm (renpy): Likewise.
* gnu/packages/games.scm (roguebox-adventures)
(seahorse-adventures, kajongg): Likewise.
* gnu/packages/gimp.scm (gimp, glimpse): Likewise.
* gnu/packages/glib.scm (itstool): Likewise.
* gnu/packages/gnome.scm (gnome-music, gtg, rhythmbox): Likewise.
(eolie, d-feet, gedit, caribou, gnome-shell, authenticator)
(gnome-todo, orca, passwordsafe, terminator, setzer)
(libratbag, komikku): Likewise.
* gnu/packages/gps.scm (gpsd): Likewise.
* gnu/packages/gtk.scm (gtk-doc): Likewise.
* gnu/packages/ibus.scm (ibus, ibus-libpinyin, ibus-anthy)
(ibus-libhangul): Likewise.
* gnu/packages/inkscape.scm (inkscape-1.0): Likewise.
* gnu/packages/linux.scm (bcc): Likewise.
* gnu/packages/mail.scm (notifymuch): Likewise.
* gnu/packages/maths.scm (units): Likewise.
* gnu/packages/music.scm (solfege): Likewise.
* gnu/packages/networking.scm (blueman): Likewise.
* gnu/packages/patchutils.scm (patchwork): Likewise.
* gnu/packages/photo.scm (rapid-photo-downloader, entangle): Likewise.
* gnu/packages/plotutils.scm (asymptote): Likewise.
* gnu/packages/presentation.scm (presentty): Likewise.
* gnu/packages/screen.scm (byobu): Likewise.
* gnu/packages/storage.scm (ceph): Likewise.
* gnu/packages/syndication.scm (liferea): Likewise.
* gnu/packages/task-management.scm (blanket): Likewise.
* gnu/packages/text-editors.scm (manuskript): Likewise.
* gnu/packages/version-control.scm (gitless, cgit, git-when-merged)
(git-imerge): Likewise.
* gnu/packages/video.scm (pitivi): Likewise.
* gnu/packages/virtualization.scm (criu): Likewise.
* gnu/packages/xfce.scm (catfish): Likewise.
2021-01-27 23:33:13 +01:00
|
|
|
|
`("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")))
|
2020-11-22 14:38:27 +01:00
|
|
|
|
`("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
|
|
|
|
|
;; We've only added inputs for what Pitivi deems either
|
|
|
|
|
;; necessary or optional. Let the user's packages take
|
|
|
|
|
;; precedence in case they have e.g. the full gst-plugins-bad.
|
|
|
|
|
`("GST_PLUGIN_SYSTEM_PATH" suffix
|
2021-09-12 00:37:36 +02:00
|
|
|
|
(,(getenv "GST_PLUGIN_SYSTEM_PATH"))))))))))
|
2020-11-22 14:38:27 +01:00
|
|
|
|
(home-page "http://www.pitivi.org")
|
|
|
|
|
(synopsis "Video editor based on GStreamer Editing Services")
|
|
|
|
|
(description "Pitivi is a video editor built upon the GStreamer Editing
|
|
|
|
|
Services. It aims to be an intuitive and flexible application that can appeal
|
|
|
|
|
to newbies and professionals alike.")
|
|
|
|
|
(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
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list pkg-config doxygen))
|
2017-10-20 20:32:12 +02:00
|
|
|
|
(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")
|
2019-12-10 21:03:28 +01:00
|
|
|
|
(version "1.7.0")
|
2017-10-29 13:16:05 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://files.dyne.org/frei0r/"
|
|
|
|
|
"frei0r-plugins-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-12-10 21:03:28 +01:00
|
|
|
|
"0fjji3060r4fwr7vn91lwfzl80lg3my9lkp94kbyw8xwz7qgh7qv"))))
|
2017-10-29 13:16:05 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2019-12-10 21:03:28 +01:00
|
|
|
|
(add-after 'unpack 'patch-Makefile
|
2017-10-29 13:16:05 +01:00
|
|
|
|
(lambda _
|
2019-12-10 21:03:28 +01:00
|
|
|
|
;; XXX: The 1.7.0 Makefile looks for files that have slightly different
|
|
|
|
|
;; names in the tarball. Try removing this for future versions.
|
|
|
|
|
(substitute* "Makefile.in"
|
|
|
|
|
(("README\\.md ChangeLog TODO AUTHORS")
|
|
|
|
|
"README.txt ChangeLog.txt TODO.txt AUTHORS.txt"))
|
|
|
|
|
#t)))))
|
2018-06-21 19:13:30 +02:00
|
|
|
|
;; TODO: opencv for additional face detection filters.
|
2017-10-29 13:16:05 +01:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list gavl cairo))
|
2017-10-29 13:16:05 +01:00
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list pkg-config))
|
2017-10-29 13:16:05 +01:00
|
|
|
|
(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")
|
2021-01-18 18:57:11 +01:00
|
|
|
|
(version "4.3.2")
|
2018-01-20 00:37:05 +01:00
|
|
|
|
(home-page "https://motion-project.github.io/")
|
|
|
|
|
(source (origin
|
2018-10-31 19:19:29 +01:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 22:53:28 +02:00
|
|
|
|
(url "https://github.com/Motion-Project/motion")
|
2018-10-31 19:19:29 +01:00
|
|
|
|
(commit (string-append "release-" version))))
|
2018-01-20 00:37:05 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-01-18 18:57:11 +01:00
|
|
|
|
"09xs815jsivcilpmnrx2jkcxirj4lg5kp99fkr0p2sdxw03myi95"))
|
2018-10-31 19:19:29 +01:00
|
|
|
|
(file-name (git-file-name name version))))
|
2018-01-20 00:37:05 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-02-22 16:43:10 +01:00
|
|
|
|
`(("autoconf" ,autoconf)
|
2018-01-20 00:37:05 +01:00
|
|
|
|
("automake" ,automake)
|
2018-10-31 19:22:50 +01:00
|
|
|
|
("gettext" ,gettext-minimal)
|
2018-01-20 00:37:05 +01:00
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo'.
* gnu/packages/abiword.scm (abiword)[inputs]: Change from LIBJPEG to
LIBJPEG-TURBO.
* gnu/packages/admin.scm (testdisk)[inputs]: Likewise.
* gnu/packages/algebra.scm (giac)[inputs]: Likewise.
* gnu/packages/animation.scm (synfig)[inputs]: Likewise.
* gnu/packages/astronomy.scm (gnuastro, celestia)[inputs]: Likewise.
* gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise.
* gnu/packages/cran.scm (r-jpeg, r-tiff, r-readbitmap)[inputs]: Likewise.
* gnu/packages/cups.scm (cups-filters, hplip)[inputs]: Likewise.
* gnu/packages/display-managers.scm (slim)[inputs]: Likewise.
* gnu/packages/ebook.scm (fbreader)[inputs]: Likewise.
* gnu/packages/emacs.scm (emacs)[inputs]: Likewise.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/fltk.scm (fltk, ntk)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontforge)[inputs]: Likewise.
* gnu/packages/freedesktop.scm (weston)[inputs]: Likewise.
* gnu/packages/game-development.scm (sfml, allegro, aseprite, python-pygame,
eureka, ioquake3)[inputs]: Likewise.
* gnu/packages/games.scm (adanaxisgpl, freedroidrpg, irrlicht, minetest,
fizmo, supertuxkart, gzdoom, xmoto, xonotic)[inputs]: Likewise.
* gnu/packages/gd.scm (gd, perl-gd)[inputs]: Likewise.
* gnu/packages/ghostscript.scm (lcms)[inputs]: Likewise.
(ghostscript)[inputs, native-inputs]: Likewise.
* gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise.
* gnu/packages/gnome.scm (libgnomeui, eog, tracker-miners, gthumb)[inputs]: Likewise.
* gnu/packages/gnunet.scm (libextractor)[inputs]: Likewise.
* gnu/packages/gnustep.scm (windowmaker)[inputs]: Likewise.
* gnu/packages/graphics.scm (blender, blender-2.79, openimageio,
openscenegraph, openscenegraph-3.4, povray, fgallery)[inputs]: Likewise.
* gnu/packages/graphviz.scm (graphviz)[inputs]: Likewise.
* gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Likewise.
* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Likewise.
* gnu/packages/image-processing.scm (dcmtk, mia, vtk, opencv, vips, nip2, vxl,
insight-toolkit)[inputs]: Likewise.
* gnu/packages/image-viewers.scm (gpicview, luminance-hdr)[inputs]: Likewise.
* gnu/packages/image.scm (jpegoptim, libtiff, leptonica, imlib2, freeimage,
vigra, libwebp, libmng, jasper, steghide, jp2a)[inputs]: Likewise.
* gnu/packages/imagemagick.scm (imagemagick, graphicsmagick)[inputs]: Likewise.
* gnu/packages/java.scm (icedtea-6, icedtea-7, openjdk9, openjdk11,
openjdk12)[inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (khtml)[inputs]: Likewise.
* gnu/packages/kodi.scm (kodi)[inputs]: Likewise.
* gnu/packages/machine-learning.scm (dlib, tensorflow)[inputs]: Likewise.
* gnu/packages/mate.scm (atril, eom)[inputs]: Likewise.
* gnu/packages/maths.scm (hdf4, hdf-java, hdf-eos2, netcdf)[inputs]: Likewise.
* gnu/packages/netpbm.scm (netpbm)[inputs]: Likewise.
* gnu/packages/pdf.scm (zathura-pdf-mupdf, podofo, mupdf, fbida)[inputs]: Likewise.
* gnu/packages/photo.scm (libraw, libpano13, enblend-enfuse, darktable, hugin,
rawtherapee)[inputs]: Likewise.
* gnu/packages/prolog.scm (swi-prolog)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-hdf4, python-pillow)[inputs]: Likewise.
* gnu/packages/qt.scm (qtbase, qtwebkit)[inputs]: Likewise.
* gnu/packages/rdesktop.scm (freerdp)[inputs]: Likewise.
* gnu/packages/scanner.scm (sane-backends, xsane)[inputs]: Likewise.
* gnu/packages/scheme.scm (racket)[inputs]: Likewise.
* gnu/packages/scribus.scm (scribus)[inputs]: Likewise.
* gnu/packages/sdl.scm (sdl-image)[propagated-inputs]: Likewise.
(guile-sdl)[native-inputs]: Likewise.
* gnu/packages/spice.scm (spice-gtk)[inputs]: Likewise.
* gnu/packages/statistics.scm (r-with-tests)[inputs]: Likewise.
* gnu/packages/tcl.scm (perl-tk)[inputs]: Likewise.
* gnu/packages/upnp.scm (readymedia)[inputs]: Likewise.
* gnu/packages/video.scm (mplayer, mpv, v4l-utils, motion)[inputs]: Likewise.
* gnu/packages/web-browsers.scm (dillo, links)[inputs]: Likewise.
* gnu/packages/web.scm (netsurf)[inputs]: Likewise.
* gnu/packages/webkit.scm (webkitgtk)[inputs]: Likewise.
* gnu/packages/wine.scm (wine)[inputs]: Likewise.
* gnu/packages/wv.scm (wv)[inputs]: Likewise.
* gnu/packages/wxwidgets.scm (wxwidgets, wxwidgets-2)[inputs]: Likewise.
* gnu/packages/xdisorg.scm (xscreensaver)[inputs]: Likewise.
* gnu/packages/xfce.scm (tumbler)[inputs]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[inputs]: Likewise.
* gnu/packages/xorg.scm (xpra)[inputs]: Likewise.
2020-01-17 19:27:01 +01:00
|
|
|
|
`(("libjpeg" ,libjpeg-turbo)
|
2020-06-23 00:13:10 +02:00
|
|
|
|
("ffmpeg" ,ffmpeg)
|
2018-10-31 19:01:05 +01:00
|
|
|
|
("libmicrohttpd" ,libmicrohttpd)
|
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 _
|
2021-01-18 18:57:11 +01:00
|
|
|
|
(patch-shebang "scripts/version.sh")
|
2018-01-20 00:37:05 +01:00
|
|
|
|
(invoke "autoreconf" "-vfi"))))
|
|
|
|
|
#:configure-flags '("--sysconfdir=/etc")
|
|
|
|
|
#:make-flags (list (string-append "sysconfdir="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/etc"))
|
|
|
|
|
|
2019-02-17 20:45:26 +01:00
|
|
|
|
#:tests? #f)) ; no 'check' target
|
2018-01-20 00:37:05 +01:00
|
|
|
|
(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
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 22:53:28 +02:00
|
|
|
|
(url "https://github.com/alexanderwink/subdl")
|
2018-04-01 17:15:02 +02:00
|
|
|
|
(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")))))))
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(inputs (list python))
|
2018-04-01 17:15:02 +02:00
|
|
|
|
(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
|
2018-11-29 16:37:41 +01:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 22:53:28 +02:00
|
|
|
|
(url "https://github.com/l-smash/l-smash")
|
2018-11-29 16:37:41 +01:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2018-04-25 13:12:24 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-11-29 16:37:41 +01:00
|
|
|
|
"0rcq9727im6kd8da8b7kzzbzxdldvmh5nsljj9pvr4m3lj484b02"))))
|
2018-04-25 13:12:24 +02:00
|
|
|
|
(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
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list which))
|
2018-04-25 13:12:24 +02:00
|
|
|
|
(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)))
|
2018-08-06 07:48:24 +02:00
|
|
|
|
|
|
|
|
|
(define-public vidstab
|
2019-08-21 22:46:50 +02:00
|
|
|
|
(let ((commit "aeabc8daa7904f9edf7441a11f293965a5ef53b8")
|
|
|
|
|
(revision "0"))
|
|
|
|
|
(package
|
|
|
|
|
(name "vidstab")
|
|
|
|
|
(version (git-version "1.1.0" revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 22:53:28 +02:00
|
|
|
|
(url "https://github.com/georgmartius/vid.stab")
|
2019-08-21 22:46:50 +02:00
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"042iy0f3khwzr68djzvqgn301sy21ljvkf52rnc2c73q7ircnzzn"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f)) ; tests are not run as part of standard build process
|
|
|
|
|
(home-page "http://public.hronopik.de/vid.stab/")
|
|
|
|
|
(synopsis "Video stabilization library")
|
|
|
|
|
(description "Vidstab is a video stabilization library which can be used
|
2018-08-06 07:48:24 +02:00
|
|
|
|
with FFmpeg. A video acquired using a hand-held camera or a camera mounted on a
|
|
|
|
|
vehicle typically suffers from undesirable shakes and jitters. Activities such
|
|
|
|
|
as surfing, skiing, riding and walking while shooting videos are especially
|
|
|
|
|
prone to erratic camera shakes. Vidstab targets these video contents to help
|
|
|
|
|
create smoother and stable videos.")
|
2019-08-21 22:46:50 +02:00
|
|
|
|
(license license:gpl2+))))
|
2017-06-29 05:05:24 +02:00
|
|
|
|
|
|
|
|
|
(define-public libopenshot
|
|
|
|
|
(package
|
|
|
|
|
(name "libopenshot")
|
2021-10-22 21:13:06 +02:00
|
|
|
|
(version "0.2.7")
|
2017-06-29 05:05:24 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/OpenShot/libopenshot")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-10-22 21:13:06 +02:00
|
|
|
|
"0i9bsn8gklm1mvj60l3d3xrxdgy8svpxjfqcwsr308j5zjn30pv8"))
|
2017-06-29 05:05:24 +02:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet '(begin
|
|
|
|
|
;; Allow overriding of the python installation dir
|
2021-10-22 21:13:06 +02:00
|
|
|
|
(substitute* "bindings/python/CMakeLists.txt"
|
2017-06-29 05:05:24 +02:00
|
|
|
|
(("(SET\\(PYTHON_MODULE_PATH.*)\\)" _ set)
|
|
|
|
|
(string-append set " CACHE PATH "
|
|
|
|
|
"\"Python bindings directory\")")))
|
2019-03-03 16:30:33 +01:00
|
|
|
|
(delete-file-recursively "thirdparty")
|
2019-04-08 12:52:39 +02:00
|
|
|
|
#t))))
|
2017-06-29 05:05:24 +02:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("python" ,python)
|
|
|
|
|
("swig" ,swig)
|
|
|
|
|
("unittest++" ,unittest-cpp)))
|
2021-10-22 21:13:06 +02:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list alsa-lib zlib))
|
2017-06-29 05:05:24 +02:00
|
|
|
|
(propagated-inputs ;all referenced in installed headers
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list cppzmq
|
|
|
|
|
ffmpeg
|
|
|
|
|
imagemagick
|
|
|
|
|
jsoncpp
|
|
|
|
|
libopenshot-audio
|
|
|
|
|
qtbase-5
|
|
|
|
|
qtmultimedia
|
|
|
|
|
zeromq))
|
2017-06-29 05:05:24 +02:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list (string-append "-DPYTHON_MODULE_PATH:PATH=" %output "/lib/python"
|
|
|
|
|
,(version-major+minor (package-version python))
|
|
|
|
|
"/site-packages")
|
|
|
|
|
"-DUSE_SYSTEM_JSONCPP:BOOL=ON")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'set-vars
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(setenv "LIBOPENSHOT_AUDIO_DIR"
|
|
|
|
|
(assoc-ref inputs "libopenshot-audio"))
|
|
|
|
|
(setenv "ZMQDIR"
|
|
|
|
|
(assoc-ref inputs "zeromq"))
|
|
|
|
|
(setenv "UNITTEST_DIR"
|
2021-07-16 16:01:49 +02:00
|
|
|
|
(search-input-directory inputs
|
|
|
|
|
"include/UnitTest++")))))))
|
2017-06-29 05:05:24 +02:00
|
|
|
|
(home-page "https://openshot.org")
|
|
|
|
|
(synopsis "Video-editing, animation, and playback library")
|
|
|
|
|
(description "OpenShot Library (libopenshot) is a powerful C++ video
|
|
|
|
|
editing library with a multi-threaded and feature rich video editing
|
|
|
|
|
API. It includes bindings for Python, Ruby, and other languages.")
|
|
|
|
|
(license license:lgpl3+)))
|
2017-06-29 05:05:53 +02:00
|
|
|
|
|
|
|
|
|
(define-public openshot
|
|
|
|
|
(package
|
|
|
|
|
(name "openshot")
|
2021-10-22 21:14:24 +02:00
|
|
|
|
(version "2.6.1")
|
2017-06-29 05:05:53 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/OpenShot/openshot-qt")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-10-22 21:14:24 +02:00
|
|
|
|
"0pa8iwl217503bjlqg2zlrw5lxyq5hvxrf5apxrh3843hj1w1myv"))
|
2019-04-08 18:55:07 +02:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
2020-04-01 21:15:22 +02:00
|
|
|
|
;; TODO: Unbundle jquery and others from src/timeline/media
|
2019-04-08 18:55:07 +02:00
|
|
|
|
(delete-file-recursively "src/images/fonts") #t))))
|
2017-06-29 05:05:53 +02:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list ffmpeg
|
|
|
|
|
font-dejavu
|
|
|
|
|
libopenshot
|
|
|
|
|
python
|
|
|
|
|
python-pyqt
|
|
|
|
|
python-pyzmq
|
|
|
|
|
python-requests
|
|
|
|
|
qtsvg))
|
2017-06-29 05:05:53 +02:00
|
|
|
|
(arguments
|
2020-04-01 21:15:50 +02:00
|
|
|
|
`(#:modules ((guix build python-build-system)
|
2019-04-08 12:54:15 +02:00
|
|
|
|
(guix build qt-utils)
|
|
|
|
|
(guix build utils))
|
|
|
|
|
#:imported-modules (,@%python-build-system-modules
|
|
|
|
|
(guix build qt-utils))
|
2017-06-29 05:05:53 +02:00
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(delete 'build) ;install phase does all the work
|
2020-04-01 21:15:50 +02:00
|
|
|
|
(replace 'check
|
2021-10-22 21:14:24 +02:00
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
(setenv "QT_QPA_PLATFORM" "offscreen")
|
|
|
|
|
(invoke "python" "src/tests/query_tests.py"))))
|
2019-04-08 18:55:07 +02:00
|
|
|
|
(add-after 'unpack 'patch-font-location
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
2021-06-03 08:49:18 +02:00
|
|
|
|
(let ((font (assoc-ref inputs "font-dejavu")))
|
2019-04-08 18:55:07 +02:00
|
|
|
|
(substitute* "src/classes/app.py"
|
|
|
|
|
(("info.IMAGES_PATH") (string-append "\"" font "\""))
|
2021-06-03 08:49:18 +02:00
|
|
|
|
(("fonts") "share/fonts/truetype")
|
|
|
|
|
(("[A-Za-z_-]+.ttf") "DejaVuSans.ttf")))
|
2019-04-08 18:55:07 +02:00
|
|
|
|
#t))
|
2021-10-22 21:14:24 +02:00
|
|
|
|
;; https://github.com/OpenShot/openshot-qt/issues/4502
|
|
|
|
|
(add-before 'ensure-no-mtimes-pre-1980 'fix-symbolic-link
|
|
|
|
|
(lambda _
|
|
|
|
|
(delete-file "images/Humanity/actions/custom/razor_line_with_razor.png")
|
|
|
|
|
(symlink "../../../../src/timeline/media/images/razor_line_with_razor.png"
|
|
|
|
|
"images/Humanity/actions/custom/razor_line_with_razor.png")))
|
2017-06-29 05:05:53 +02:00
|
|
|
|
(add-before 'install 'set-tmp-home
|
|
|
|
|
(lambda _
|
|
|
|
|
;; src/classes/info.py "needs" to create several
|
|
|
|
|
;; directories in $HOME when loaded during build
|
|
|
|
|
(setenv "HOME" "/tmp")
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'wrap-program
|
2020-12-25 23:02:18 +01:00
|
|
|
|
(lambda* (#:key outputs inputs #:allow-other-keys)
|
2019-04-08 12:54:15 +02:00
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
2020-12-25 23:02:18 +01:00
|
|
|
|
(wrap-qt-program "openshot-qt"
|
|
|
|
|
#:output out #:inputs inputs))
|
2019-04-08 12:54:15 +02:00
|
|
|
|
#t)))))
|
2020-04-01 21:15:22 +02:00
|
|
|
|
(home-page "https://www.openshot.org/")
|
2017-06-29 05:05:53 +02:00
|
|
|
|
(synopsis "Video editor")
|
|
|
|
|
(description "OpenShot takes your videos, photos, and music files and
|
|
|
|
|
helps you create the film you have always dreamed of. Easily add sub-titles,
|
|
|
|
|
transitions, and effects and then export your film to many common formats.")
|
|
|
|
|
(license license:gpl3+)))
|
2018-12-11 20:33:30 +01:00
|
|
|
|
|
2021-04-25 20:17:24 +02:00
|
|
|
|
(define-public shotcut
|
|
|
|
|
(package
|
|
|
|
|
(name "shotcut")
|
2021-12-25 18:02:58 +01:00
|
|
|
|
(version "21.12.24")
|
2021-04-25 20:17:24 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/mltframework/shotcut")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2021-12-25 18:02:58 +01:00
|
|
|
|
(base32 "1l27dqiyi3af0v155w62ib9xcmqyjj2yzs83aqhcrz5pb3i3j18r"))))
|
2021-04-25 20:17:24 +02:00
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(arguments
|
2021-12-18 19:12:26 +01:00
|
|
|
|
`(#:tests? #f ;there are no tests
|
2021-04-25 20:17:24 +02:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2021-12-18 19:12:26 +01:00
|
|
|
|
(add-after 'unpack 'patch-executable-paths
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
;; Shotcut expects ffmpeg and melt executables in the shotcut
|
|
|
|
|
;; directory. Use full store paths.
|
|
|
|
|
(let* ((ffmpeg (assoc-ref inputs "ffmpeg"))
|
|
|
|
|
(mlt (assoc-ref inputs "mlt")))
|
|
|
|
|
(substitute* "src/jobs/ffmpegjob.cpp"
|
|
|
|
|
(("\"ffmpeg\"") (string-append "\"" ffmpeg "/bin/ffmpeg\"")))
|
|
|
|
|
(substitute* "src/jobs/meltjob.cpp"
|
|
|
|
|
(("\"melt\"") (string-append "\"" mlt "/bin/melt\""))
|
|
|
|
|
(("\"melt-7\"") (string-append "\"" mlt "/bin/melt-7\""))))))
|
2021-04-25 20:17:24 +02:00
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out")))
|
|
|
|
|
(invoke "qmake"
|
|
|
|
|
(string-append "PREFIX=" out)
|
|
|
|
|
"QMAKE_LRELEASE=lrelease"
|
|
|
|
|
"QMAKE_LUPDATE=lupdate"
|
|
|
|
|
"shotcut.pro"))))
|
|
|
|
|
(add-after 'install 'wrap-executable
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(frei0r (assoc-ref inputs "frei0r-plugins"))
|
|
|
|
|
(ffmpeg (assoc-ref inputs "ffmpeg"))
|
|
|
|
|
(jack (assoc-ref inputs "jack"))
|
|
|
|
|
(sdl2 (assoc-ref inputs "sdl2")))
|
|
|
|
|
(wrap-program (string-append out "/bin/shotcut")
|
|
|
|
|
`("PATH" ":" prefix
|
|
|
|
|
,(list (string-append ffmpeg "/bin")))
|
|
|
|
|
`("LD_LIBRARY_PATH" ":" prefix
|
|
|
|
|
,(list (string-append jack "/lib" ":" sdl2 "/lib")))
|
|
|
|
|
`("FREI0R_PATH" ":" =
|
|
|
|
|
(,(string-append frei0r "/lib/frei0r-1/")))
|
|
|
|
|
`("MLT_PREFIX" ":" =
|
2021-07-06 20:36:27 +02:00
|
|
|
|
(,(assoc-ref inputs "mlt"))))))))))
|
2021-04-25 20:17:24 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
2021-12-26 09:11:21 +01:00
|
|
|
|
("python-wrapper" ,python-wrapper)
|
2021-04-25 20:17:24 +02:00
|
|
|
|
("qttools" ,qttools)))
|
|
|
|
|
(inputs
|
2021-12-26 09:11:21 +01:00
|
|
|
|
(list bash-minimal
|
|
|
|
|
ffmpeg
|
2021-12-13 17:18:24 +01:00
|
|
|
|
frei0r-plugins
|
|
|
|
|
jack-1
|
|
|
|
|
ladspa
|
|
|
|
|
lame
|
|
|
|
|
libvpx
|
|
|
|
|
libx264
|
|
|
|
|
mlt
|
|
|
|
|
pulseaudio
|
|
|
|
|
qtbase-5
|
|
|
|
|
qtdeclarative
|
|
|
|
|
qtgraphicaleffects
|
|
|
|
|
qtmultimedia
|
|
|
|
|
qtquickcontrols
|
|
|
|
|
qtquickcontrols2
|
|
|
|
|
qtsvg
|
|
|
|
|
qtwebkit
|
|
|
|
|
qtwebsockets
|
|
|
|
|
qtx11extras
|
|
|
|
|
sdl2))
|
2021-04-25 20:17:24 +02:00
|
|
|
|
(home-page "https://www.shotcut.org/")
|
|
|
|
|
(synopsis "Video editor built on the MLT framework")
|
|
|
|
|
(description
|
|
|
|
|
"Shotcut is a video editor built on the MLT framework. Features include
|
|
|
|
|
a wide range of formats through @code{ffmpeg}, 4k resolution support, webcam
|
|
|
|
|
and audio capture, network stream playback, and many more.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2018-12-11 20:33:30 +01:00
|
|
|
|
(define-public dav1d
|
|
|
|
|
(package
|
|
|
|
|
(name "dav1d")
|
2021-09-14 21:01:32 +02:00
|
|
|
|
(version "0.9.2")
|
2018-12-11 20:33:30 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2020-11-25 20:31:53 +01:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://code.videolan.org/videolan/dav1d.git")
|
|
|
|
|
(commit version)))
|
2020-11-26 01:06:32 +01:00
|
|
|
|
(file-name (git-file-name name version))
|
2018-12-11 20:33:30 +01:00
|
|
|
|
(sha256
|
2021-09-14 21:01:32 +02:00
|
|
|
|
(base32 "0bkps488h9s15ylvkm4fmfywgrpbw570glawpnv6khpq9n223dzl"))))
|
2018-12-11 20:33:30 +01:00
|
|
|
|
(build-system meson-build-system)
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(native-inputs (list nasm))
|
2018-12-11 20:33:30 +01:00
|
|
|
|
(home-page "https://code.videolan.org/videolan/dav1d")
|
|
|
|
|
(synopsis "AV1 decoder")
|
|
|
|
|
(description "dav1d is a new AV1 cross-platform decoder, and focused on
|
|
|
|
|
speed and correctness.")
|
|
|
|
|
(license license:bsd-2)))
|
2019-01-10 08:38:32 +01:00
|
|
|
|
|
|
|
|
|
(define-public wlstream
|
|
|
|
|
(let ((commit "182076a94562b128c3a97ecc53cc68905ea86838")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(package
|
|
|
|
|
(name "wlstream")
|
|
|
|
|
(version (git-version "0.0" revision commit))
|
|
|
|
|
(source
|
2019-01-10 08:52:42 +01:00
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 22:53:28 +02:00
|
|
|
|
(url "https://github.com/atomnuker/wlstream")
|
2019-01-10 08:52:42 +01:00
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"01qbcgfl3g9kfwn1jf1z9pdj3bvf5lmg71d1vwkcllc2az24bjqp"))))
|
2019-01-10 08:38:32 +01:00
|
|
|
|
(build-system meson-build-system)
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(native-inputs (list libdrm pkg-config))
|
|
|
|
|
(inputs (list ffmpeg pulseaudio wayland wayland-protocols))
|
2019-01-10 08:38:32 +01:00
|
|
|
|
(home-page "https://github.com/atomnuker/wlstream")
|
|
|
|
|
(synopsis "Screen capture tool for Wayland sessions")
|
|
|
|
|
(description "Wlstream is a screen capture tool for recording audio and
|
|
|
|
|
video from a Wayland session.")
|
|
|
|
|
(license license:lgpl2.1+))))
|
2019-03-16 16:11:24 +01:00
|
|
|
|
|
|
|
|
|
(define-public gaupol
|
|
|
|
|
(package
|
|
|
|
|
(name "gaupol")
|
2021-01-03 01:36:44 +01:00
|
|
|
|
(version "1.9")
|
2019-03-16 16:11:24 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/otsaloma/gaupol/")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-01-03 01:36:44 +01:00
|
|
|
|
"1mmjg8nwhif2hmmp8i11643izwzdf839brqdai3ksfg0qkh8rnxk"))))
|
2019-03-16 16:11:24 +01:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("gettext" ,gettext-minimal)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list python-pygobject
|
|
|
|
|
gtk+
|
|
|
|
|
python-pycairo ; Required or else clicking on a subtitle line fails.
|
|
|
|
|
python-chardet ; Optional: Character encoding detection.
|
|
|
|
|
gtkspell3 ; Optional: Inline spell-checking.
|
|
|
|
|
iso-codes ; Optional: Translations.
|
|
|
|
|
gstreamer
|
|
|
|
|
gst-libav
|
|
|
|
|
gst-plugins-base
|
|
|
|
|
gst-plugins-good
|
|
|
|
|
gst-plugins-bad
|
|
|
|
|
gst-plugins-ugly))
|
2019-03-16 16:11:24 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; Tests seem to require networking.
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2021-12-12 13:49:47 +01:00
|
|
|
|
(add-after 'unpack 'disable-builtin-byte-compilation
|
|
|
|
|
(lambda _
|
|
|
|
|
;; The setup.py script attempts to compile bytecode and fails.
|
|
|
|
|
;; We compile bytecode in a separate phase, so just disable it.
|
|
|
|
|
(substitute* "setup.py"
|
|
|
|
|
(("distutils\\.util\\.byte_compile\\(.*")
|
|
|
|
|
""))))
|
2019-03-16 16:11:24 +01:00
|
|
|
|
;; gaupol's setup.py script does not support one of the Python build
|
|
|
|
|
;; system's default flags, "--single-version-externally-managed".
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(invoke "python" "setup.py" "install"
|
|
|
|
|
(string-append "--prefix=" (assoc-ref outputs "out"))
|
|
|
|
|
"--root=/")))
|
|
|
|
|
(add-after 'install 'wrap-gaupol
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
|
|
|
|
|
(gi-typelib-path (getenv "GI_TYPELIB_PATH")))
|
|
|
|
|
(wrap-program (string-append out "/bin/gaupol")
|
|
|
|
|
`("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
|
2021-12-12 13:49:47 +01:00
|
|
|
|
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))))
|
2019-03-16 16:11:24 +01:00
|
|
|
|
(add-after 'unpack 'patch-data-dir
|
|
|
|
|
;; Fix some path variables that setup.py seems to garble.
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(substitute* "setup.py"
|
|
|
|
|
(("DATA_DIR = \\{!r\\}\"\\.format\\(data_dir\\)")
|
|
|
|
|
(string-append "DATA_DIR = '" out "/share/gaupol'\""))
|
|
|
|
|
(("LOCALE_DIR = \\{!r\\}\"\\.format\\(locale_dir\\)")
|
2021-12-12 13:49:47 +01:00
|
|
|
|
(string-append "LOCALE_DIR = '" out "/share/locale'\"")))))))))
|
2019-03-16 16:11:24 +01:00
|
|
|
|
(synopsis "Editor for text-based subtitles")
|
|
|
|
|
(description
|
|
|
|
|
"Gaupol supports multiple subtitle file formats and provides means of
|
|
|
|
|
creating subtitles, editing texts and timing subtitles to match video. The
|
|
|
|
|
user interface features a builtin video player and is designed with attention
|
|
|
|
|
to convenience of translating and batch processing of multiple documents.")
|
|
|
|
|
(home-page "https://otsaloma.io/gaupol/")
|
|
|
|
|
(license license:gpl3+)))
|
2019-12-14 14:34:55 +01:00
|
|
|
|
|
|
|
|
|
(define-public theorafile
|
|
|
|
|
(let ((commit "404b14d7602b5918d117eaa64e8aa6601ede8593"))
|
|
|
|
|
(package
|
|
|
|
|
(name "theorafile")
|
|
|
|
|
(version (git-version "0.0.0" "1" commit))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 22:53:28 +02:00
|
|
|
|
(url "https://github.com/FNA-XNA/Theorafile")
|
2019-12-14 14:34:55 +01:00
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "128c3pjzqbgrj020glm5jd6ss18vl19471lj615w2brjwb7c1f0z"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:make-flags '("CC=gcc")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "CC" "gcc")
|
|
|
|
|
(invoke "make" "test")))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(install-file "libtheorafile.so" (string-append out "/lib"))
|
|
|
|
|
(install-file "theorafile.h" (string-append out "/include")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
;; For tests.
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list sdl2))
|
2019-12-14 14:34:55 +01:00
|
|
|
|
(home-page "https://github.com/FNA-XNA/Theorafile")
|
|
|
|
|
(synopsis "Ogg Theora Video Decoder Library")
|
|
|
|
|
(description "Theorafile is a library for quickly and easily decoding Ogg
|
|
|
|
|
Theora videos. Theorafile was written to be used for FNA's VideoPlayer.")
|
|
|
|
|
(license license:zlib))))
|
2019-12-24 00:05:36 +01:00
|
|
|
|
|
|
|
|
|
(define-public dvdbackup
|
|
|
|
|
(package
|
|
|
|
|
(name "dvdbackup")
|
|
|
|
|
(version "0.4.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/dvdbackup/dvdbackup/"
|
|
|
|
|
"dvdbackup-" version "/"
|
|
|
|
|
"dvdbackup-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1rl3h7waqja8blmbpmwy01q9fgr5r0c32b8dy3pbf59bp3xmd37g"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list libdvdcss libdvdread))
|
2019-12-24 00:05:36 +01:00
|
|
|
|
(home-page "http://dvdbackup.sourceforge.net")
|
|
|
|
|
(synopsis "DVD video ripper")
|
|
|
|
|
(description
|
|
|
|
|
"A simple command line tool to backup video from a DVD. Decrypts the
|
|
|
|
|
DVD using @command{libdvdcss}, but does @strong{not} demux, remux,
|
|
|
|
|
transcode or reformat the videos in any way, producing perfect backups.")
|
|
|
|
|
(license license:gpl3+)))
|
2020-02-18 20:57:38 +01:00
|
|
|
|
|
|
|
|
|
(define-public svt-av1
|
|
|
|
|
(package
|
|
|
|
|
(name "svt-av1")
|
2021-05-12 22:40:49 +02:00
|
|
|
|
(version "0.8.7")
|
2020-09-10 19:10:04 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2021-03-26 07:30:47 +01:00
|
|
|
|
(url "https://gitlab.com/AOMediaCodec/SVT-AV1.git")
|
2020-09-10 19:10:04 +02:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2021-05-12 22:40:49 +02:00
|
|
|
|
(base32 "1xlxb6kn6hqz9dxz0nd905m4i2mwjwq1330rbabwzmg4b66cdslg"))))
|
2020-02-18 20:57:38 +01:00
|
|
|
|
(build-system cmake-build-system)
|
2020-12-25 01:14:10 +01:00
|
|
|
|
;; SVT-AV1 only supports 64-bit Intel-compatible CPUs.
|
|
|
|
|
(supported-systems '("x86_64-linux"))
|
2020-02-18 20:57:38 +01:00
|
|
|
|
(arguments
|
|
|
|
|
;; The test suite tries to download test data and git clone a 3rd-party
|
|
|
|
|
;; fork of libaom. Skip it.
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'install-documentation
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref %outputs "out"))
|
|
|
|
|
(doc (string-append out "/share/doc/svt-av1-" ,version)))
|
|
|
|
|
(copy-recursively "../source/Docs" doc)
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list yasm))
|
2020-02-18 20:57:38 +01:00
|
|
|
|
(synopsis "AV1 video codec")
|
|
|
|
|
(description "SVT-AV1 is an AV1 codec implementation. The encoder is a
|
|
|
|
|
work-in-progress, aiming to support video-on-demand and live streaming
|
|
|
|
|
applications. It only supports Intel-compatible CPUs (x86).")
|
2021-03-26 07:30:47 +01:00
|
|
|
|
(home-page "https://gitlab.com/AOMediaCodec/SVT-AV1")
|
2020-02-18 20:57:38 +01:00
|
|
|
|
(license license:bsd-2)))
|
2020-04-22 11:02:43 +02:00
|
|
|
|
|
2020-12-25 01:14:58 +01:00
|
|
|
|
(define-public svt-vp9
|
|
|
|
|
(package
|
|
|
|
|
(name "svt-vp9")
|
|
|
|
|
(version "0.3.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/OpenVisualCloud/SVT-VP9")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1ypdiw4cq22llvm8jyszxdq6r1aydkj80dsxjarjn5b7c1f2q3ar"))))
|
2021-03-09 08:47:40 +01:00
|
|
|
|
;; SVT-VP9 only supports 64-bit Intel-compatible CPUs.
|
2020-12-25 01:14:58 +01:00
|
|
|
|
(supported-systems '("x86_64-linux"))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; No test suite
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'install-documentation
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref %outputs "out"))
|
|
|
|
|
(doc (string-append out "/share/doc/" ,name "-" ,version)))
|
|
|
|
|
(copy-recursively "../source/Docs" doc)
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list yasm))
|
2020-12-25 01:14:58 +01:00
|
|
|
|
(home-page "https://github.com/OpenVisualCloud/SVT-VP9")
|
|
|
|
|
(synopsis "VP9 video encoder")
|
|
|
|
|
(description "SVT-VP9 is a VP9 video encoder implementation. It is focused
|
|
|
|
|
on supporting video-on-demand and live encoding on Intel Xeon processors.")
|
2020-02-18 20:57:38 +01:00
|
|
|
|
(license license:bsd-2)))
|
2020-04-22 11:02:43 +02:00
|
|
|
|
|
|
|
|
|
(define-public w-scan
|
|
|
|
|
(package
|
|
|
|
|
(name "w-scan")
|
|
|
|
|
(version "20170107")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.gen2vdr.de/wirbel/w_scan/w_scan-"
|
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1zkgnj2sfvckix360wwk1v5s43g69snm45m0drnzyv7hgf5g7q1q"))))
|
|
|
|
|
(build-system gnu-build-system)
|
2021-10-04 17:04:19 +02:00
|
|
|
|
(arguments
|
2021-11-25 15:24:36 +01:00
|
|
|
|
`(#:configure-flags '("CFLAGS=-O2 -g -fcommon")))
|
2020-04-22 11:02:43 +02:00
|
|
|
|
(synopsis "Scan ATSC/DVB-C/DVB-S/DVB-T channels")
|
|
|
|
|
(description
|
|
|
|
|
"This is a small command line utility used to perform frequency scans for
|
|
|
|
|
DVB and ATSC transmissions without initial tuning data. It can print the
|
|
|
|
|
result in several formats:
|
|
|
|
|
@itemize
|
|
|
|
|
@item VDR channels.conf,
|
|
|
|
|
@item czap/tzap/xine/mplayer channels.conf,
|
|
|
|
|
@item Gstreamer dvbsrc plugin,
|
|
|
|
|
@item VLC xspf playlist,
|
|
|
|
|
@item XML,
|
|
|
|
|
@item initial tuning data for scan or dvbv5-scan.
|
|
|
|
|
@end itemize\n")
|
|
|
|
|
(home-page "https://www.gen2vdr.de/wirbel/w_scan/index2.html")
|
|
|
|
|
(license license:gpl2+)))
|
2020-04-02 20:10:40 +02:00
|
|
|
|
|
|
|
|
|
(define-public rav1e
|
|
|
|
|
(package
|
|
|
|
|
(name "rav1e")
|
2021-06-03 04:30:19 +02:00
|
|
|
|
(version "0.4.1")
|
2020-04-02 20:10:40 +02:00
|
|
|
|
(source
|
2021-06-03 04:30:19 +02:00
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (crate-uri "rav1e" version))
|
|
|
|
|
(file-name
|
|
|
|
|
(string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"00rjil6qbrwfxhhlq9yvidxm0gp9qdbywhf5zvkj85lykbhyff09"))))
|
2020-04-02 20:10:40 +02:00
|
|
|
|
(build-system cargo-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:cargo-inputs
|
2020-12-06 08:59:33 +01:00
|
|
|
|
(("rust-aom-sys" ,rust-aom-sys-0.2)
|
2021-06-03 04:30:19 +02:00
|
|
|
|
("rust-arbitrary" ,rust-arbitrary-0.4)
|
2020-07-12 14:04:46 +02:00
|
|
|
|
("rust-arg-enum-proc-macro" ,rust-arg-enum-proc-macro-0.3)
|
|
|
|
|
("rust-arrayvec" ,rust-arrayvec-0.5)
|
2021-06-03 04:30:19 +02:00
|
|
|
|
("rust-av-metrics" ,rust-av-metrics-0.6)
|
2020-07-12 14:04:46 +02:00
|
|
|
|
("rust-backtrace" ,rust-backtrace-0.3)
|
2021-06-03 04:30:19 +02:00
|
|
|
|
("rust-bitstream-io" ,rust-bitstream-io-1)
|
2020-09-14 19:35:28 +02:00
|
|
|
|
("rust-byteorder" ,rust-byteorder-1)
|
2021-06-03 04:30:19 +02:00
|
|
|
|
("rust-cfg-if" ,rust-cfg-if-1)
|
2020-07-12 14:04:46 +02:00
|
|
|
|
("rust-clap" ,rust-clap-2)
|
2021-06-03 04:30:19 +02:00
|
|
|
|
("rust-console" ,rust-console-0.14)
|
|
|
|
|
("rust-crossbeam" ,rust-crossbeam-0.8)
|
2020-07-12 14:04:46 +02:00
|
|
|
|
("rust-dav1d-sys" ,rust-dav1d-sys-0.3)
|
2020-07-12 14:00:08 +02:00
|
|
|
|
("rust-fern" ,rust-fern-0.6)
|
|
|
|
|
("rust-image" ,rust-image-0.23)
|
2020-07-12 14:04:46 +02:00
|
|
|
|
("rust-interpolate-name" ,rust-interpolate-name-0.2)
|
2021-06-03 04:30:19 +02:00
|
|
|
|
("rust-itertools" ,rust-itertools-0.10)
|
2020-07-12 14:04:46 +02:00
|
|
|
|
("rust-ivf" ,rust-ivf-0.1)
|
|
|
|
|
("rust-libc" ,rust-libc-0.2)
|
2021-06-03 04:30:19 +02:00
|
|
|
|
("rust-libfuzzer-sys" ,rust-libfuzzer-sys-0.3)
|
2020-04-02 20:10:40 +02:00
|
|
|
|
("rust-log" ,rust-log-0.4)
|
2020-12-06 08:59:33 +01:00
|
|
|
|
("rust-nasm-rs" ,rust-nasm-rs-0.2)
|
2021-06-03 04:30:19 +02:00
|
|
|
|
("rust-noop-proc-macro" ,rust-noop-proc-macro-0.3)
|
2020-07-12 14:04:46 +02:00
|
|
|
|
("rust-num-derive" ,rust-num-derive-0.3)
|
|
|
|
|
("rust-num-traits" ,rust-num-traits-0.2)
|
2021-06-03 04:30:19 +02:00
|
|
|
|
("rust-paste" ,rust-paste-1)
|
|
|
|
|
("rust-rand" ,rust-rand-0.8)
|
|
|
|
|
("rust-rand-chacha" ,rust-rand-chacha-0.3)
|
2020-07-12 14:04:46 +02:00
|
|
|
|
("rust-rayon" ,rust-rayon-1)
|
2021-06-03 04:30:19 +02:00
|
|
|
|
("rust-regex" ,rust-regex-1)
|
2020-07-12 14:04:46 +02:00
|
|
|
|
("rust-rust-hawktracer" ,rust-rust-hawktracer-0.7)
|
2021-06-03 04:30:19 +02:00
|
|
|
|
("rust-rustc-version" ,rust-rustc-version-0.3)
|
2020-07-12 14:04:46 +02:00
|
|
|
|
("rust-scan-fmt" ,rust-scan-fmt-0.2)
|
2020-07-21 09:37:53 +02:00
|
|
|
|
("rust-serde" ,rust-serde-1)
|
2021-06-03 04:30:19 +02:00
|
|
|
|
("rust-signal-hook" ,rust-signal-hook-0.3)
|
2020-07-12 14:04:46 +02:00
|
|
|
|
("rust-simd-helpers" ,rust-simd-helpers-0.1)
|
2020-09-14 19:46:19 +02:00
|
|
|
|
("rust-thiserror" ,rust-thiserror-1)
|
2020-07-12 14:04:46 +02:00
|
|
|
|
("rust-toml" ,rust-toml-0.5)
|
2021-06-03 04:30:19 +02:00
|
|
|
|
("rust-v-frame" ,rust-v-frame-0.2)
|
2021-02-05 23:31:48 +01:00
|
|
|
|
("rust-vergen" ,rust-vergen-3)
|
2021-06-03 04:30:19 +02:00
|
|
|
|
("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
|
|
|
|
|
("rust-y4m" ,rust-y4m-0.7))
|
2020-04-02 20:10:40 +02:00
|
|
|
|
#:cargo-development-inputs
|
2020-07-12 14:00:08 +02:00
|
|
|
|
(("rust-assert-cmd" ,rust-assert-cmd-1)
|
2021-06-03 04:30:19 +02:00
|
|
|
|
("rust-cc" ,rust-cc-1)
|
2020-07-12 14:00:08 +02:00
|
|
|
|
("rust-criterion" ,rust-criterion-0.3)
|
2020-07-12 14:04:46 +02:00
|
|
|
|
("rust-interpolate-name" ,rust-interpolate-name-0.2)
|
|
|
|
|
("rust-pretty-assertions" ,rust-pretty-assertions-0.6)
|
2021-06-03 04:30:19 +02:00
|
|
|
|
("rust-rand" ,rust-rand-0.8)
|
|
|
|
|
("rust-rand-chacha" ,rust-rand-chacha-0.3)
|
|
|
|
|
("rust-semver" ,rust-semver-0.11))
|
2020-04-02 20:10:40 +02:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(invoke "cargo" "cinstall" "--release"
|
|
|
|
|
(string-append "--prefix=" out))))))))
|
|
|
|
|
(native-inputs
|
2021-06-03 04:30:19 +02:00
|
|
|
|
`(("cargo-c" ,rust-cargo-c)
|
|
|
|
|
("nasm" ,nasm)))
|
2020-04-02 20:10:40 +02:00
|
|
|
|
(home-page "https://github.com/xiph/rav1e/")
|
2021-06-03 04:30:19 +02:00
|
|
|
|
(synopsis "Fast and safe AV1 encoder")
|
|
|
|
|
(description "@code{rav1e} is an AV1 video encoder. It is designed to
|
|
|
|
|
eventually cover all use cases, though in its current form it is most suitable
|
|
|
|
|
for cases where libaom (the reference encoder) is too slow.")
|
2020-04-02 20:10:40 +02:00
|
|
|
|
(license license:bsd-2)))
|
2020-04-27 10:40:00 +02:00
|
|
|
|
|
|
|
|
|
(define-public peek
|
|
|
|
|
(package
|
|
|
|
|
(name "peek")
|
|
|
|
|
(version "1.5.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 22:53:28 +02:00
|
|
|
|
(url "https://github.com/phw/peek")
|
2020-04-27 10:40:00 +02:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1xwlfizga6hvjqq127py8vabaphsny928ar7mwqj9cyqfl6fx41x"))))
|
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(arguments '(#:glib-or-gtk? #t))
|
|
|
|
|
(inputs
|
2021-10-21 17:09:29 +02:00
|
|
|
|
`(("gtk+" ,gtk+)
|
|
|
|
|
("python" ,python-wrapper)))
|
2020-04-27 10:40:00 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
|
|
|
|
|
("gettext" ,gettext-minimal)
|
|
|
|
|
("glib:bin" ,glib "bin") ; for glib-compile-resources
|
|
|
|
|
("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("vala" ,vala)))
|
|
|
|
|
(home-page "https://github.com/phw/peek")
|
|
|
|
|
(synopsis "Simple animated GIF screen recorder")
|
|
|
|
|
(description
|
|
|
|
|
"Peek makes it easy to create short screencasts of a screen area. It was
|
|
|
|
|
built for the specific use case of recording screen areas, e.g. for easily
|
|
|
|
|
showing UI features of your own apps or for showing a bug in bug reports.
|
|
|
|
|
With Peek, you simply place the Peek window over the area you want to record
|
|
|
|
|
and press \"Record\". Peek is optimized for generating animated GIFs, but you
|
|
|
|
|
can also directly record to WebM or MP4 if you prefer.")
|
|
|
|
|
(license license:gpl3+)))
|
2020-04-16 22:55:28 +02:00
|
|
|
|
|
|
|
|
|
(define-public wf-recorder
|
|
|
|
|
(package
|
|
|
|
|
(name "wf-recorder")
|
|
|
|
|
(version "0.2.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 22:53:28 +02:00
|
|
|
|
(url "https://github.com/ammen99/wf-recorder")
|
2020-04-16 22:55:28 +02:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1cw6kpcbl33wh95pvy32xrsrm6kkk1awccr3phyh885xjs3b3iim"))))
|
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list pkg-config))
|
2020-04-16 22:55:28 +02:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list ffmpeg pulseaudio wayland wayland-protocols libx264))
|
2020-04-16 22:55:28 +02:00
|
|
|
|
(home-page "https://github.com/ammen99/wf-recorder")
|
|
|
|
|
(synopsis "Screen recorder for wlroots-based compositors")
|
|
|
|
|
(description
|
|
|
|
|
"@code{wf-recorder} is a utility program for screen recording of
|
|
|
|
|
wlroots-based compositors. More specifically, those that support
|
|
|
|
|
@code{wlr-screencopy-v1} and @code{xdg-output}.")
|
|
|
|
|
(license license:expat)))
|
2020-06-16 23:57:33 +02:00
|
|
|
|
|
|
|
|
|
(define-public guvcview
|
|
|
|
|
(package
|
|
|
|
|
(name "guvcview")
|
|
|
|
|
(version "2.0.6")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/guvcview/source/guvcview-"
|
|
|
|
|
"src-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"11byyfpkcik7wvf2qic77zjamfr2rhji97dpj1gy2fg1bvpiqf4m"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
;; There are no tests and "make check" would fail on an intltool error.
|
|
|
|
|
'(#:tests? #f))
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list pkg-config intltool))
|
2020-06-16 23:57:33 +02:00
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list gtk+
|
|
|
|
|
eudev
|
|
|
|
|
libusb
|
|
|
|
|
v4l-utils ;libv4l2
|
|
|
|
|
ffmpeg ;libavcodec, libavutil
|
|
|
|
|
sdl2
|
|
|
|
|
gsl
|
|
|
|
|
portaudio
|
|
|
|
|
alsa-lib))
|
2020-06-16 23:57:33 +02:00
|
|
|
|
(home-page "http://guvcview.sourceforge.net/")
|
|
|
|
|
(synopsis "Control your webcam and capture videos and images")
|
|
|
|
|
(description
|
|
|
|
|
"GTK+ UVC Viewer (guvcview) is a graphical application to control a
|
|
|
|
|
webcam accessible with Video4Linux (V4L2) and to capture videos and images.
|
|
|
|
|
It provides control over precise settings of the webcam such as exposure,
|
|
|
|
|
brightness, contrast, and frame rate.")
|
|
|
|
|
|
|
|
|
|
;; 'COPYING' is GPLv3 but source headers say GPLv2+.
|
|
|
|
|
(license license:gpl2+)))
|
2020-06-30 20:07:05 +02:00
|
|
|
|
|
|
|
|
|
(define-public get-iplayer
|
|
|
|
|
(package
|
|
|
|
|
(name "get-iplayer")
|
2021-03-07 14:14:28 +01:00
|
|
|
|
(version "3.27")
|
2020-06-30 20:07:05 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/get-iplayer/get_iplayer")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2021-03-07 14:14:28 +01:00
|
|
|
|
(base32 "077y31gg020wjpx5pcivqgkqawcjxh5kjnvq97x2gd7i3wwc30qi"))))
|
2020-06-30 20:07:05 +02:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(arguments
|
2021-03-07 14:14:28 +01:00
|
|
|
|
`(#:tests? #f ; no tests
|
2020-06-30 20:07:05 +02:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(delete 'build)
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(man (string-append out "/share/man/man1")))
|
|
|
|
|
(install-file "get_iplayer" bin)
|
|
|
|
|
(install-file "get_iplayer.cgi" bin)
|
|
|
|
|
(install-file "get_iplayer.1" man))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'wrap-program
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(perllib (string-append out "/lib/perl5/site_perl/"
|
|
|
|
|
,(package-version perl))))
|
|
|
|
|
(wrap-program (string-append out "/bin/get_iplayer")
|
|
|
|
|
`("PERL5LIB" ":"
|
|
|
|
|
prefix (,(string-append perllib ":" (getenv "PERL5LIB")))))
|
|
|
|
|
(wrap-program (string-append out "/bin/get_iplayer.cgi")
|
|
|
|
|
`("PERL5LIB" ":"
|
|
|
|
|
prefix (,(string-append perllib ":" (getenv "PERL5LIB")))))
|
|
|
|
|
#t))))))
|
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list perl-mojolicious perl-lwp-protocol-https perl-xml-libxml))
|
2020-06-30 20:07:05 +02:00
|
|
|
|
(home-page "https://github.com/get-iplayer/get_iplayer")
|
|
|
|
|
(synopsis "Download or stream available BBC iPlayer TV and radio programmes")
|
|
|
|
|
(description "@code{get_iplayer} lists, searches and records BBC iPlayer
|
|
|
|
|
TV/Radio, BBC Podcast programmes. Other third-party plugins may be available.
|
|
|
|
|
@code{get_iplayer} has three modes: recording a complete programme for later
|
|
|
|
|
playback, streaming a programme directly to a playback application, such as
|
|
|
|
|
mplayer; and as a @dfn{Personal Video Recorder} (PVR), subscribing to search
|
|
|
|
|
terms and recording programmes automatically. It can also stream or record live
|
|
|
|
|
BBC iPlayer output.")
|
|
|
|
|
(license license:gpl3+)))
|
2020-08-06 11:35:01 +02:00
|
|
|
|
|
|
|
|
|
(define-public ogmtools
|
|
|
|
|
(package
|
|
|
|
|
(name "ogmtools")
|
|
|
|
|
(version "1.5")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.bunkus.org/videotools/ogmtools/ogmtools-"
|
|
|
|
|
version
|
|
|
|
|
".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1spx81p5wf59ksl3r3gvf78d77sh7gj8a6lw773iv67bphfivmn8"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list libvorbis libdvdread))
|
2020-08-06 11:35:01 +02:00
|
|
|
|
(synopsis "Information, extraction or creation for OGG media streams")
|
|
|
|
|
(description
|
|
|
|
|
"These tools allow information about (@code{ogminfo}) or extraction from
|
|
|
|
|
\(@code{ogmdemux}) or creation of (@code{ogmmerge}) OGG media streams. It
|
|
|
|
|
includes @code{dvdxchap} tool for extracting chapter information from DVD.")
|
|
|
|
|
(license license:gpl2)
|
|
|
|
|
(home-page "https://www.bunkus.org/videotools/ogmtools/")))
|
2020-11-05 21:01:46 +01:00
|
|
|
|
|
|
|
|
|
(define-public libcaption
|
|
|
|
|
(package
|
|
|
|
|
(name "libcaption")
|
|
|
|
|
(version "0.7")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/szatmary/libcaption")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"16mhw8wpl7wdjj4n7rd1c294p1r8r322plj7z91crla5aah726rq"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; Cannot figure out how to run the unit tests
|
|
|
|
|
#:configure-flags '("-DENABLE_RE2C=ON")))
|
|
|
|
|
(native-inputs
|
2021-12-13 17:18:24 +01:00
|
|
|
|
(list re2c))
|
2020-11-05 21:01:46 +01:00
|
|
|
|
(synopsis "CEA608 / CEA708 closed-caption codec")
|
|
|
|
|
(description "Libcaption creates and parses closed-caption data,
|
|
|
|
|
providing an encoder / decoder for the EIA608 and CEA708 closed-caption
|
|
|
|
|
standards.
|
|
|
|
|
|
|
|
|
|
608 support is currently limited to encoding and decoding the necessary control
|
|
|
|
|
and preamble codes as well as support for the Basic North American, Special
|
|
|
|
|
North American and Extended Western European character sets.
|
|
|
|
|
|
|
|
|
|
708 support is limited to encoding the 608 data in NTSC field 1 user data type
|
|
|
|
|
structure.
|
|
|
|
|
|
|
|
|
|
In addition, utility functions to create h.264 SEI (Supplementary enhancement
|
|
|
|
|
information) NALUs (Network Abstraction Layer Unit) for inclusion into an h.264
|
|
|
|
|
elementary stream are provided.")
|
|
|
|
|
(home-page "https://github.com/szatmary/libcaption")
|
|
|
|
|
(license license:expat)))
|
2021-12-17 16:07:20 +01:00
|
|
|
|
|
|
|
|
|
(define-public video-contact-sheet
|
|
|
|
|
(package
|
|
|
|
|
(name "video-contact-sheet")
|
|
|
|
|
(version "1.13.4")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://p.outlyer.net/vcs/files/vcs-" version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0jsl93r0rnybjcipqbww5hwsr9ln6kz1qnf32qfxdvhfw52n27fw"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:make-flags
|
|
|
|
|
#~(list (string-append "prefix=" #$output))
|
|
|
|
|
#:phases
|
2021-12-19 23:31:49 +01:00
|
|
|
|
#~(modify-phases %standard-phases
|
2021-12-17 16:07:20 +01:00
|
|
|
|
(delete 'configure)
|
|
|
|
|
(delete 'build)
|
|
|
|
|
(delete 'check)
|
|
|
|
|
(add-after 'install 'wrap-program
|
2021-12-19 23:31:49 +01:00
|
|
|
|
(lambda _
|
|
|
|
|
(wrap-program (string-append #$output "/bin/vcs")
|
|
|
|
|
`("PATH" ":" prefix
|
|
|
|
|
,(map (lambda (dir)
|
|
|
|
|
(string-append dir "/bin"))
|
|
|
|
|
(list #$(this-package-input "ffmpeg")
|
|
|
|
|
#$(this-package-input "imagemagick"))))))))))
|
2021-12-17 16:07:20 +01:00
|
|
|
|
(inputs
|
|
|
|
|
(list bash-minimal ffmpeg imagemagick))
|
2021-12-17 16:20:17 +01:00
|
|
|
|
(synopsis "Create contact sheets (preview images) from videos")
|
|
|
|
|
(description "@acronym{VCS, Video Contact Sheet} is a Bash script meant to
|
|
|
|
|
create video contact sheets (previews) of videos. Any video supported by
|
|
|
|
|
MPlayer and FFmpeg can be used. A note of warning: Unlike most similar tools
|
|
|
|
|
VCS, by default, makes screenshots the same size as the video, see the manual
|
|
|
|
|
for details on how to change this.")
|
2021-12-17 16:07:20 +01:00
|
|
|
|
(home-page "http://p.outlyer.net/vcs/")
|
|
|
|
|
(license license:lgpl2.1+)))
|