2013-09-22 10:22:00 -04:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
|
2015-02-05 23:05:41 -05:00
|
|
|
;;; Copyright © 2014 John Darrington <jmd@gnu.org>
|
2015-02-05 03:09:53 -05:00
|
|
|
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
|
2015-02-05 23:05:41 -05:00
|
|
|
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
|
2013-09-22 10:22:00 -04: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 gstreamer)
|
2015-04-10 09:01:10 -04:00
|
|
|
#:use-module ((guix licenses) #:select (lgpl2.0+ bsd-2 bsd-3 gpl2+))
|
2013-09-22 10:22:00 -04:00
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix download)
|
|
|
|
#:use-module (guix build-system gnu)
|
2013-10-30 17:06:57 -04:00
|
|
|
#:use-module (gnu packages)
|
gnu: gst-plugins-good: Add more inputs and remove unneeded ones.
* gnu/packages/gstreamer.scm (gst-plugins-good): Move gst-plugins-base
from 'native-inputs' to 'inputs'.
[inputs]: Add aalib, jack, libavc1394, libcaca, libdv, libiec61833,
libshout, libsoup, libvpx, orc, taglib and wavpack. Remove glib,
gstreamer, libogg, libx11, libxext, libxv, and zlib.
[arguments]: Remove.
2015-04-07 02:49:05 -04:00
|
|
|
#:use-module (gnu packages audio)
|
2013-09-22 10:22:00 -04:00
|
|
|
#:use-module (gnu packages bison)
|
2015-02-05 04:18:20 -05:00
|
|
|
#:use-module (gnu packages cdrom)
|
2014-11-18 15:29:04 -05:00
|
|
|
#:use-module (gnu packages compression)
|
2013-09-22 10:22:00 -04:00
|
|
|
#:use-module (gnu packages flex)
|
|
|
|
#:use-module (gnu packages glib)
|
gnu: gst-plugins-good: Add more inputs and remove unneeded ones.
* gnu/packages/gstreamer.scm (gst-plugins-good): Move gst-plugins-base
from 'native-inputs' to 'inputs'.
[inputs]: Add aalib, jack, libavc1394, libcaca, libdv, libiec61833,
libshout, libsoup, libvpx, orc, taglib and wavpack. Remove glib,
gstreamer, libogg, libx11, libxext, libxv, and zlib.
[arguments]: Remove.
2015-04-07 02:49:05 -04:00
|
|
|
#:use-module (gnu packages gnome)
|
2014-11-18 15:29:04 -05:00
|
|
|
#:use-module (gnu packages gtk)
|
gnu: gst-plugins-good: Enable more plugins
* gnu/packages/gstreamer.scm (gst-plugins-good): New inputs:
cairo, gdk-pixbuf, flac, speex, libogg, libx11, zlib, libpng, libjpeg,
libXext, libxv, pulseaudio.
2014-11-19 09:15:30 -05:00
|
|
|
#:use-module (gnu packages image)
|
2014-11-18 15:29:04 -05:00
|
|
|
#:use-module (gnu packages linux)
|
gnu: gst-plugins-good: Add more inputs and remove unneeded ones.
* gnu/packages/gstreamer.scm (gst-plugins-good): Move gst-plugins-base
from 'native-inputs' to 'inputs'.
[inputs]: Add aalib, jack, libavc1394, libcaca, libdv, libiec61833,
libshout, libsoup, libvpx, orc, taglib and wavpack. Remove glib,
gstreamer, libogg, libx11, libxext, libxv, and zlib.
[arguments]: Remove.
2015-04-07 02:49:05 -04:00
|
|
|
#:use-module (gnu packages mp3)
|
2013-09-22 10:22:00 -04:00
|
|
|
#:use-module (gnu packages perl)
|
gnu: gst-plugins-good: Enable more plugins
* gnu/packages/gstreamer.scm (gst-plugins-good): New inputs:
cairo, gdk-pixbuf, flac, speex, libogg, libx11, zlib, libpng, libjpeg,
libXext, libxv, pulseaudio.
2014-11-19 09:15:30 -05:00
|
|
|
#:use-module (gnu packages pulseaudio)
|
2015-04-13 12:09:10 -04:00
|
|
|
#:use-module (gnu packages video)
|
2014-11-18 15:29:04 -05:00
|
|
|
#:use-module (gnu packages xorg)
|
|
|
|
#:use-module (gnu packages xiph)
|
2013-09-22 10:22:00 -04:00
|
|
|
#:use-module (gnu packages pkg-config)
|
2013-10-30 17:06:57 -04:00
|
|
|
#:use-module (gnu packages python)
|
2015-04-10 09:01:10 -04:00
|
|
|
#:use-module (gnu packages yasm)
|
2013-10-30 17:06:57 -04:00
|
|
|
#:use-module (gnu packages xml))
|
2013-09-22 10:22:00 -04:00
|
|
|
|
2015-02-05 03:09:53 -05:00
|
|
|
(define-public orc
|
|
|
|
(package
|
|
|
|
(name "orc")
|
|
|
|
(version "0.4.23")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://gstreamer.freedesktop.org/data/src/"
|
|
|
|
"orc/orc-" version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1ryz1gfgrxcj806cakcblxf0bcwq8p2mw8k86fs3f5wlwayawzkn"))))
|
|
|
|
(build-system gnu-build-system)
|
2015-02-05 23:05:41 -05:00
|
|
|
(arguments `(#:phases
|
|
|
|
(alist-cons-before
|
|
|
|
'check 'disable-faulty-test
|
|
|
|
(lambda _
|
|
|
|
;; XXX Disable the 'test-limits' and 'exec_opcodes_sys'
|
|
|
|
;; tests, which fail on some machines. See:
|
|
|
|
;; https://bugzilla.gnome.org/show_bug.cgi?id=735273
|
|
|
|
(substitute* '("testsuite/test-limits.c"
|
|
|
|
"testsuite/exec_opcodes_sys.c")
|
|
|
|
(("if \\(error\\) return 1;")
|
|
|
|
"if (error) return 77;")))
|
|
|
|
%standard-phases)))
|
2015-02-05 03:09:53 -05:00
|
|
|
(home-page "http://code.entropywave.com/orc/")
|
|
|
|
(synopsis "Oil runtime compiler")
|
|
|
|
(description
|
|
|
|
"Orc is a just-in-time compiler implemented as a library and set of
|
|
|
|
associated tools for compiling and executing simple programs that operate on
|
|
|
|
arrays of data.")
|
|
|
|
;; The source code implementing the Marsenne Twister algorithm is licensed
|
|
|
|
;; under the 3-clause BSD license, the rest is under 2-clause BSD license.
|
|
|
|
(license (list bsd-2 bsd-3))))
|
|
|
|
|
2013-09-22 10:22:00 -04:00
|
|
|
(define-public gstreamer
|
|
|
|
(package
|
|
|
|
(name "gstreamer")
|
2015-02-05 03:29:22 -05:00
|
|
|
(version "1.4.5")
|
2013-09-22 10:22:00 -04:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-"
|
|
|
|
version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2015-02-05 03:29:22 -05:00
|
|
|
"1bmhbhak6i5wmmb6w86jyyv8lax4gdq983la4lk4a0krz6kim020"))))
|
2013-09-22 10:22:00 -04:00
|
|
|
(build-system gnu-build-system)
|
2015-04-03 23:33:14 -04:00
|
|
|
(outputs '("out" "doc"))
|
|
|
|
(arguments
|
|
|
|
`(#:make-flags '("CC=gcc") ; for g-ir-scanner.
|
|
|
|
#:configure-flags
|
|
|
|
(list (string-append "--with-html-dir="
|
|
|
|
(assoc-ref %outputs "doc")
|
|
|
|
"/share/gtk-doc/html"))))
|
2015-02-05 03:29:22 -05:00
|
|
|
(propagated-inputs `(("glib" ,glib))) ; required by gstreamer-1.0.pc.
|
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 06:01:56 -05:00
|
|
|
(native-inputs
|
2013-09-22 10:22:00 -04:00
|
|
|
`(("bison" ,bison)
|
|
|
|
("flex" ,flex)
|
gnu: glib: Add "bin" output.
Fixes <http://bugs.gnu.org/17853>.
* gnu/packages/glib.scm (glib)[outputs]: Add "bin".
(gobject-introspection)[native-inputs]: New field.
* gnu/packages/avahi.scm (avahi)[native-inputs]: Add glib:bin.
* gnu/packages/gnome.scm (brasero, libgnome-keyring, evince,
gsettings-desktop-schemas, libnotify, gtkglext): Likewise.
* gnu/packages/gstreamer.scm (gstreamer, gst-plugins-base,
gst-plugins-base-0.10): Likewise.
* gnu/packages/gtk.scm (atk, pango, gdk-pixbuf, gtk+-2, gtk+):
Likewise.
* gnu/packages/linux.scm (udev): Likewise.
* gnu/packages/pdf.scm (poppler): Likewise.
2014-06-30 12:05:57 -04:00
|
|
|
("glib" ,glib "bin")
|
2015-04-03 23:14:31 -04:00
|
|
|
("gobject-introspection" ,gobject-introspection)
|
2013-09-22 10:22:00 -04:00
|
|
|
("perl" ,perl)
|
|
|
|
("pkg-config" ,pkg-config)
|
2013-09-22 10:41:29 -04:00
|
|
|
("python-wrapper" ,python-wrapper)))
|
2015-06-24 11:02:32 -04:00
|
|
|
(native-search-paths
|
|
|
|
(list (search-path-specification
|
|
|
|
(variable "GST_PLUGIN_SYSTEM_PATH")
|
|
|
|
(files '("lib/gstreamer-1.0")))))
|
2013-09-22 10:22:00 -04:00
|
|
|
(home-page "http://gstreamer.freedesktop.org/")
|
2014-02-10 17:00:37 -05:00
|
|
|
(synopsis "Multimedia library")
|
2013-09-22 10:22:00 -04:00
|
|
|
(description
|
|
|
|
"GStreamer is a library for constructing graphs of media-handling
|
|
|
|
components. The applications it supports range from simple Ogg/Vorbis
|
gnu packages: Clean up synopses and descriptions.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/bittorrent.scm,
gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/databases.scm, gnu/packages/enchant.scm,
gnu/packages/firmware.scm, gnu/packages/fonts.scm,
gnu/packages/freedesktop.scm, gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gsasl.scm,
gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm,
gnu/packages/haskell.scm, gnu/packages/language.scm,
gnu/packages/lesstif.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/llvm.scm, gnu/packages/maths.scm,
gnu/packages/mcrypt.scm, gnu/packages/mit-krb5.scm, gnu/packages/mp3.scm,
gnu/packages/ncdu.scm, gnu/packages/networking.scm, gnu/packages/ntp.scm,
gnu/packages/ocaml.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/pretty-print.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm,
gnu/packages/rdesktop.scm, gnu/packages/rdf.scm, gnu/packages/ruby.scm,
gnu/packages/slang.scm, gnu/packages/slim.scm, gnu/packages/telephony.scm,
gnu/packages/tls.scm, gnu/packages/tmux.scm, gnu/packages/tre.scm,
gnu/packages/unrtf.scm, gnu/packages/version-control.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wget.scm,
gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xiph.scm:
Fix typos. Trim long lines. Add missing periods in the end of sentences.
Use double spaces between sentences. Remove trailing whitespaces.
2015-07-17 08:16:07 -04:00
|
|
|
playback, audio/video streaming to complex audio mixing and video
|
|
|
|
non-linear editing.
|
2013-09-22 10:22:00 -04:00
|
|
|
|
|
|
|
Applications can take advantage of advances in codec and filter technology
|
|
|
|
transparently. Developers can add new codecs and filters by writing a
|
|
|
|
simple plugin with a clean, generic interface.
|
|
|
|
|
|
|
|
This package provides the core library and elements.")
|
|
|
|
(license lgpl2.0+)))
|
2013-09-22 11:25:12 -04:00
|
|
|
|
|
|
|
(define-public gst-plugins-base
|
|
|
|
(package
|
|
|
|
(name "gst-plugins-base")
|
2015-02-05 04:18:20 -05:00
|
|
|
(version "1.4.5")
|
2013-09-22 11:25:12 -04:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-"
|
|
|
|
version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2015-02-05 04:18:20 -05:00
|
|
|
"07ampnfa6p41s0lhia62l9h8bdx3c7vxvdz93pbx64m3wycq3gbp"))))
|
2013-09-22 11:25:12 -04:00
|
|
|
(build-system gnu-build-system)
|
2015-04-04 00:30:25 -04:00
|
|
|
(outputs '("out" "doc"))
|
2015-04-04 00:05:10 -04:00
|
|
|
(propagated-inputs
|
|
|
|
`(("gstreamer" ,gstreamer))) ; required by gstreamer-plugins-base-1.0.pc
|
2013-09-22 11:25:12 -04:00
|
|
|
(inputs
|
2015-02-05 04:18:20 -05:00
|
|
|
`(("cdparanoia" ,cdparanoia)
|
|
|
|
("orc" ,orc)
|
2014-11-18 15:29:04 -05:00
|
|
|
("pango" ,pango)
|
|
|
|
("libogg" ,libogg)
|
|
|
|
("libtheora" ,libtheora)
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
("libx11" ,libx11)
|
|
|
|
("zlib" ,zlib)
|
|
|
|
("libXext" ,libxext)
|
|
|
|
("libxv" ,libxv)
|
2015-04-04 00:05:10 -04:00
|
|
|
("alsa-lib" ,alsa-lib)))
|
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 06:01:56 -05:00
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)
|
gnu: glib: Add "bin" output.
Fixes <http://bugs.gnu.org/17853>.
* gnu/packages/glib.scm (glib)[outputs]: Add "bin".
(gobject-introspection)[native-inputs]: New field.
* gnu/packages/avahi.scm (avahi)[native-inputs]: Add glib:bin.
* gnu/packages/gnome.scm (brasero, libgnome-keyring, evince,
gsettings-desktop-schemas, libnotify, gtkglext): Likewise.
* gnu/packages/gstreamer.scm (gstreamer, gst-plugins-base,
gst-plugins-base-0.10): Likewise.
* gnu/packages/gtk.scm (atk, pango, gdk-pixbuf, gtk+-2, gtk+):
Likewise.
* gnu/packages/linux.scm (udev): Likewise.
* gnu/packages/pdf.scm (poppler): Likewise.
2014-06-30 12:05:57 -04:00
|
|
|
("glib" ,glib "bin")
|
2015-04-04 00:39:31 -04:00
|
|
|
("gobject-introspection" ,gobject-introspection)
|
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 06:01:56 -05:00
|
|
|
("python-wrapper" ,python-wrapper)))
|
2013-09-22 11:25:12 -04:00
|
|
|
(arguments
|
2015-04-04 00:30:25 -04:00
|
|
|
`(#:configure-flags
|
|
|
|
(list (string-append "--with-html-dir="
|
|
|
|
(assoc-ref %outputs "doc")
|
|
|
|
"/share/gtk-doc/html"))
|
|
|
|
#:phases
|
2015-02-05 04:18:20 -05:00
|
|
|
(alist-cons-before
|
2015-04-04 00:39:31 -04:00
|
|
|
'configure 'patch
|
2015-02-05 04:18:20 -05:00
|
|
|
(lambda _
|
|
|
|
(substitute* "tests/check/libs/pbutils.c"
|
2015-04-04 00:39:31 -04:00
|
|
|
(("/bin/sh") (which "sh")))
|
|
|
|
;; for g-ir-scanner.
|
|
|
|
(setenv "CC" "gcc"))
|
2015-02-05 04:18:20 -05:00
|
|
|
%standard-phases)))
|
2013-09-22 11:25:12 -04:00
|
|
|
(home-page "http://gstreamer.freedesktop.org/")
|
|
|
|
(synopsis
|
2014-11-18 15:29:04 -05:00
|
|
|
"Plugins for the GStreamer multimedia library")
|
|
|
|
(description "This package provides an essential exemplary set of plug-ins
|
|
|
|
for the GStreamer multimedia library.")
|
|
|
|
(license lgpl2.0+)))
|
2013-09-22 11:25:12 -04:00
|
|
|
|
|
|
|
|
2014-11-18 15:29:04 -05:00
|
|
|
(define-public gst-plugins-good
|
|
|
|
(package
|
|
|
|
(name "gst-plugins-good")
|
2015-02-05 04:32:30 -05:00
|
|
|
(version "1.4.5")
|
2014-11-18 15:29:04 -05:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
gnu packages: Clean up synopses and descriptions.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/bittorrent.scm,
gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/databases.scm, gnu/packages/enchant.scm,
gnu/packages/firmware.scm, gnu/packages/fonts.scm,
gnu/packages/freedesktop.scm, gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gsasl.scm,
gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm,
gnu/packages/haskell.scm, gnu/packages/language.scm,
gnu/packages/lesstif.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/llvm.scm, gnu/packages/maths.scm,
gnu/packages/mcrypt.scm, gnu/packages/mit-krb5.scm, gnu/packages/mp3.scm,
gnu/packages/ncdu.scm, gnu/packages/networking.scm, gnu/packages/ntp.scm,
gnu/packages/ocaml.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/pretty-print.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm,
gnu/packages/rdesktop.scm, gnu/packages/rdf.scm, gnu/packages/ruby.scm,
gnu/packages/slang.scm, gnu/packages/slim.scm, gnu/packages/telephony.scm,
gnu/packages/tls.scm, gnu/packages/tmux.scm, gnu/packages/tre.scm,
gnu/packages/unrtf.scm, gnu/packages/version-control.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wget.scm,
gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xiph.scm:
Fix typos. Trim long lines. Add missing periods in the end of sentences.
Use double spaces between sentences. Remove trailing whitespaces.
2015-07-17 08:16:07 -04:00
|
|
|
(uri (string-append
|
gnu: gst-plugins-good: Enable more plugins
* gnu/packages/gstreamer.scm (gst-plugins-good): New inputs:
cairo, gdk-pixbuf, flac, speex, libogg, libx11, zlib, libpng, libjpeg,
libXext, libxv, pulseaudio.
2014-11-19 09:15:30 -05:00
|
|
|
"http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-"
|
|
|
|
version ".tar.xz"))
|
2014-11-18 15:29:04 -05:00
|
|
|
(sha256
|
|
|
|
(base32
|
2015-02-05 04:32:30 -05:00
|
|
|
"0hg6qzdpib9nwn3hdxv0d4rvivi1c4bmxsq2a9hqmamwyzrvbcbr"))))
|
2014-11-18 15:29:04 -05:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs
|
gnu: gst-plugins-good: Add more inputs and remove unneeded ones.
* gnu/packages/gstreamer.scm (gst-plugins-good): Move gst-plugins-base
from 'native-inputs' to 'inputs'.
[inputs]: Add aalib, jack, libavc1394, libcaca, libdv, libiec61833,
libshout, libsoup, libvpx, orc, taglib and wavpack. Remove glib,
gstreamer, libogg, libx11, libxext, libxv, and zlib.
[arguments]: Remove.
2015-04-07 02:49:05 -04:00
|
|
|
`(("aalib" ,aalib)
|
gnu: gst-plugins-good: Enable more plugins
* gnu/packages/gstreamer.scm (gst-plugins-good): New inputs:
cairo, gdk-pixbuf, flac, speex, libogg, libx11, zlib, libpng, libjpeg,
libXext, libxv, pulseaudio.
2014-11-19 09:15:30 -05:00
|
|
|
("cairo" ,cairo)
|
|
|
|
("flac" ,flac)
|
gnu: gst-plugins-good: Add more inputs and remove unneeded ones.
* gnu/packages/gstreamer.scm (gst-plugins-good): Move gst-plugins-base
from 'native-inputs' to 'inputs'.
[inputs]: Add aalib, jack, libavc1394, libcaca, libdv, libiec61833,
libshout, libsoup, libvpx, orc, taglib and wavpack. Remove glib,
gstreamer, libogg, libx11, libxext, libxv, and zlib.
[arguments]: Remove.
2015-04-07 02:49:05 -04:00
|
|
|
("gdk-pixbuf" ,gdk-pixbuf)
|
|
|
|
("gst-plugins-base" ,gst-plugins-base)
|
|
|
|
("jack" ,jack-2)
|
|
|
|
("libavc1394" ,libavc1394)
|
|
|
|
("libcaca" ,libcaca)
|
|
|
|
("libdv" ,libdv)
|
|
|
|
("libiec61883" ,libiec61883)
|
gnu: gst-plugins-good: Enable more plugins
* gnu/packages/gstreamer.scm (gst-plugins-good): New inputs:
cairo, gdk-pixbuf, flac, speex, libogg, libx11, zlib, libpng, libjpeg,
libXext, libxv, pulseaudio.
2014-11-19 09:15:30 -05:00
|
|
|
("libjpeg" ,libjpeg)
|
gnu: gst-plugins-good: Add more inputs and remove unneeded ones.
* gnu/packages/gstreamer.scm (gst-plugins-good): Move gst-plugins-base
from 'native-inputs' to 'inputs'.
[inputs]: Add aalib, jack, libavc1394, libcaca, libdv, libiec61833,
libshout, libsoup, libvpx, orc, taglib and wavpack. Remove glib,
gstreamer, libogg, libx11, libxext, libxv, and zlib.
[arguments]: Remove.
2015-04-07 02:49:05 -04:00
|
|
|
("libpng" ,libpng)
|
|
|
|
("libshout" ,libshout)
|
|
|
|
("libsoup" ,libsoup)
|
|
|
|
("libvpx" ,libvpx)
|
|
|
|
("orc" ,orc)
|
gnu: gst-plugins-good: Enable more plugins
* gnu/packages/gstreamer.scm (gst-plugins-good): New inputs:
cairo, gdk-pixbuf, flac, speex, libogg, libx11, zlib, libpng, libjpeg,
libXext, libxv, pulseaudio.
2014-11-19 09:15:30 -05:00
|
|
|
("pulseaudio" ,pulseaudio)
|
gnu: gst-plugins-good: Add more inputs and remove unneeded ones.
* gnu/packages/gstreamer.scm (gst-plugins-good): Move gst-plugins-base
from 'native-inputs' to 'inputs'.
[inputs]: Add aalib, jack, libavc1394, libcaca, libdv, libiec61833,
libshout, libsoup, libvpx, orc, taglib and wavpack. Remove glib,
gstreamer, libogg, libx11, libxext, libxv, and zlib.
[arguments]: Remove.
2015-04-07 02:49:05 -04:00
|
|
|
("speex" ,speex)
|
|
|
|
("taglib" ,taglib)
|
|
|
|
("wavpack" ,wavpack)))
|
2014-11-18 15:29:04 -05:00
|
|
|
(native-inputs
|
gnu: gst-plugins-good: Add more inputs and remove unneeded ones.
* gnu/packages/gstreamer.scm (gst-plugins-good): Move gst-plugins-base
from 'native-inputs' to 'inputs'.
[inputs]: Add aalib, jack, libavc1394, libcaca, libdv, libiec61833,
libshout, libsoup, libvpx, orc, taglib and wavpack. Remove glib,
gstreamer, libogg, libx11, libxext, libxv, and zlib.
[arguments]: Remove.
2015-04-07 02:49:05 -04:00
|
|
|
`(("glib:bin" ,glib "bin")
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
("python-wrapper" ,python-wrapper)))
|
2015-06-23 22:15:19 -04:00
|
|
|
(arguments
|
|
|
|
`(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after
|
|
|
|
'unpack 'disable-failing-rtprtx-tests
|
|
|
|
(lambda _
|
|
|
|
;; Disable rtprtx tests that frequently fail.
|
|
|
|
;; XXX FIXME: Try removing this for version > 1.4.5.
|
|
|
|
(substitute* "tests/check/elements/rtprtx.c"
|
|
|
|
(("tcase_add_test \\(tc_chain,\
|
|
|
|
(test_rtxsender_max_size_packets|test_rtxreceive_data_reconstruction)\\);" all)
|
|
|
|
(string-append "/* " all " */")))
|
|
|
|
#t)))))
|
2014-11-18 15:29:04 -05:00
|
|
|
(home-page "http://gstreamer.freedesktop.org/")
|
|
|
|
(synopsis
|
|
|
|
"Plugins for the GStreamer multimedia library")
|
|
|
|
(description "GStreamer Good Plug-ins is a set of plug-ins for the
|
|
|
|
GStreamer multimedia library. This set contains those plug-ins which the
|
|
|
|
developers consider to have good quality code and correct functionality.")
|
2013-09-22 11:25:12 -04:00
|
|
|
(license lgpl2.0+)))
|
2013-10-30 17:58:39 -04:00
|
|
|
|
2015-07-07 02:36:18 -04:00
|
|
|
(define-public gst-plugins-ugly
|
|
|
|
(package
|
|
|
|
(name "gst-plugins-ugly")
|
|
|
|
(version "1.4.5")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://gstreamer.freedesktop.org/src/"
|
|
|
|
name "/" name "-" version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0rwhljn3f8mp2pfchzfcx4pvps1546dndw9mr56lz50qyqffimaw"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs
|
|
|
|
`(("gst-plugins-base" ,gst-plugins-base)
|
|
|
|
("liba52" ,liba52)
|
|
|
|
("libmad" ,libmad)
|
|
|
|
("lame" ,lame)
|
|
|
|
("libcdio" ,libcdio)
|
|
|
|
("twolame" ,twolame)
|
|
|
|
("libmpeg2" ,libmpeg2)
|
|
|
|
("libdvdread" ,libdvdread)
|
|
|
|
("libx264" ,libx264)
|
|
|
|
;; TODO:
|
|
|
|
;; * opencore-amr (for the AMR-NB decoder and encoder and the
|
|
|
|
;; AMR-WB decoder) <http://sourceforge.net/projects/opencore-amr/>
|
|
|
|
("orc" ,orc)))
|
|
|
|
(native-inputs
|
|
|
|
`(("glib:bin" ,glib "bin")
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
("python-wrapper" ,python-wrapper)))
|
|
|
|
(home-page "http://gstreamer.freedesktop.org/")
|
gnu packages: Clean up synopses and descriptions.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/bittorrent.scm,
gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/databases.scm, gnu/packages/enchant.scm,
gnu/packages/firmware.scm, gnu/packages/fonts.scm,
gnu/packages/freedesktop.scm, gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gsasl.scm,
gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm,
gnu/packages/haskell.scm, gnu/packages/language.scm,
gnu/packages/lesstif.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/llvm.scm, gnu/packages/maths.scm,
gnu/packages/mcrypt.scm, gnu/packages/mit-krb5.scm, gnu/packages/mp3.scm,
gnu/packages/ncdu.scm, gnu/packages/networking.scm, gnu/packages/ntp.scm,
gnu/packages/ocaml.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/pretty-print.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm,
gnu/packages/rdesktop.scm, gnu/packages/rdf.scm, gnu/packages/ruby.scm,
gnu/packages/slang.scm, gnu/packages/slim.scm, gnu/packages/telephony.scm,
gnu/packages/tls.scm, gnu/packages/tmux.scm, gnu/packages/tre.scm,
gnu/packages/unrtf.scm, gnu/packages/version-control.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wget.scm,
gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xiph.scm:
Fix typos. Trim long lines. Add missing periods in the end of sentences.
Use double spaces between sentences. Remove trailing whitespaces.
2015-07-17 08:16:07 -04:00
|
|
|
(synopsis "GStreamer plugins from the \"ugly\" set")
|
2015-07-07 02:36:18 -04:00
|
|
|
(description "GStreamer Ugly Plug-ins. This set contains those plug-ins
|
|
|
|
which the developers consider to have good quality code but that might pose
|
|
|
|
distribution problems in some jurisdictions, e.g. due to patent threats.")
|
|
|
|
(license lgpl2.0+)))
|
|
|
|
|
2015-04-10 09:01:10 -04:00
|
|
|
(define-public gst-libav
|
|
|
|
(package
|
|
|
|
(name "gst-libav")
|
|
|
|
(version "1.4.5")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"http://gstreamer.freedesktop.org/src/" name "/"
|
|
|
|
name "-" version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1g7vg9amh3cc3nmc415h6g2rqxqi4wgwqi08hxfbpwq48ri64p30"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
2015-04-17 09:54:11 -04:00
|
|
|
'(#:configure-flags '("--with-system-libav")
|
|
|
|
#:phases
|
2015-04-10 09:01:10 -04:00
|
|
|
(modify-phases %standard-phases
|
2015-04-13 09:07:01 -04:00
|
|
|
(add-before 'configure 'patch-/bin/sh
|
2015-04-10 09:01:10 -04:00
|
|
|
(lambda _
|
|
|
|
(substitute* "gst-libs/ext/libav/configure"
|
|
|
|
(("#! /bin/sh")
|
|
|
|
(string-append "#! "(which "sh")))))))))
|
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)
|
2015-04-13 12:09:10 -04:00
|
|
|
("python" ,python)))
|
2015-04-10 09:01:10 -04:00
|
|
|
(inputs
|
|
|
|
`(("gst-plugins-base" ,gst-plugins-base)
|
2015-04-13 12:09:10 -04:00
|
|
|
("ffmpeg" ,ffmpeg)
|
2015-04-10 09:01:10 -04:00
|
|
|
("orc" ,orc)
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
(home-page "http://gstreamer.freedesktop.org/")
|
|
|
|
(synopsis "Plugins for the GStreamer multimedia library")
|
|
|
|
(description
|
|
|
|
"This GStreamer plugin supports a large number of audio and video
|
|
|
|
compression formats through the use of the libav library.")
|
|
|
|
(license gpl2+)))
|