2013-09-22 16:22:00 +02:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
|
2015-02-06 05:05:41 +01:00
|
|
|
;;; Copyright © 2014 John Darrington <jmd@gnu.org>
|
2015-02-05 09:09:53 +01:00
|
|
|
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
|
2015-02-06 05:05:41 +01:00
|
|
|
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
|
2013-09-22 16:22:00 +02: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 15:01:10 +02:00
|
|
|
#:use-module ((guix licenses) #:select (lgpl2.0+ bsd-2 bsd-3 gpl2+))
|
2013-09-22 16:22:00 +02:00
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix download)
|
|
|
|
#:use-module (guix build-system gnu)
|
2013-10-30 22:06:57 +01: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 08:49:05 +02:00
|
|
|
#:use-module (gnu packages audio)
|
2013-09-22 16:22:00 +02:00
|
|
|
#:use-module (gnu packages bison)
|
2015-02-05 10:18:20 +01:00
|
|
|
#:use-module (gnu packages cdrom)
|
2014-11-18 21:29:04 +01:00
|
|
|
#:use-module (gnu packages compression)
|
2013-09-22 16:22:00 +02: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 08:49:05 +02:00
|
|
|
#:use-module (gnu packages gnome)
|
2014-11-18 21:29:04 +01: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 15:15:30 +01:00
|
|
|
#:use-module (gnu packages image)
|
2014-11-18 21:29:04 +01: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 08:49:05 +02:00
|
|
|
#:use-module (gnu packages mp3)
|
2013-09-22 16:22:00 +02: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 15:15:30 +01:00
|
|
|
#:use-module (gnu packages pulseaudio)
|
2015-04-13 18:09:10 +02:00
|
|
|
#:use-module (gnu packages video)
|
2014-11-18 21:29:04 +01:00
|
|
|
#:use-module (gnu packages xorg)
|
|
|
|
#:use-module (gnu packages xiph)
|
2013-09-22 16:22:00 +02:00
|
|
|
#:use-module (gnu packages pkg-config)
|
2013-10-30 22:06:57 +01:00
|
|
|
#:use-module (gnu packages python)
|
2015-04-10 15:01:10 +02:00
|
|
|
#:use-module (gnu packages yasm)
|
2013-10-30 22:06:57 +01:00
|
|
|
#:use-module (gnu packages xml))
|
2013-09-22 16:22:00 +02:00
|
|
|
|
2015-02-05 09:09:53 +01: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-06 05:05:41 +01: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 09:09:53 +01: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 16:22:00 +02:00
|
|
|
(define-public gstreamer
|
|
|
|
(package
|
|
|
|
(name "gstreamer")
|
2015-02-05 09:29:22 +01:00
|
|
|
(version "1.4.5")
|
2013-09-22 16:22:00 +02:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-"
|
|
|
|
version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2015-02-05 09:29:22 +01:00
|
|
|
"1bmhbhak6i5wmmb6w86jyyv8lax4gdq983la4lk4a0krz6kim020"))))
|
2013-09-22 16:22:00 +02:00
|
|
|
(build-system gnu-build-system)
|
2015-04-04 05:33:14 +02: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 09:29:22 +01: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 12:01:56 +01:00
|
|
|
(native-inputs
|
2013-09-22 16:22:00 +02: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 18:05:57 +02:00
|
|
|
("glib" ,glib "bin")
|
2015-04-04 05:14:31 +02:00
|
|
|
("gobject-introspection" ,gobject-introspection)
|
2013-09-22 16:22:00 +02:00
|
|
|
("perl" ,perl)
|
|
|
|
("pkg-config" ,pkg-config)
|
2013-09-22 16:41:29 +02:00
|
|
|
("python-wrapper" ,python-wrapper)))
|
2013-09-22 16:22:00 +02:00
|
|
|
(home-page "http://gstreamer.freedesktop.org/")
|
2014-02-10 23:00:37 +01:00
|
|
|
(synopsis "Multimedia library")
|
2013-09-22 16:22:00 +02:00
|
|
|
(description
|
|
|
|
"GStreamer is a library for constructing graphs of media-handling
|
|
|
|
components. The applications it supports range from simple Ogg/Vorbis
|
|
|
|
playback, audio/video streaming to complex audio (mixing) and video
|
2014-07-02 11:42:17 +02:00
|
|
|
(non-linear editing) processing.
|
2013-09-22 16:22:00 +02: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 17:25:12 +02:00
|
|
|
|
2013-10-30 22:06:57 +01:00
|
|
|
(define-public gstreamer-0.10
|
|
|
|
(package (inherit gstreamer)
|
|
|
|
(version "0.10.36")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-"
|
|
|
|
version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1nkid1n2l3rrlmq5qrf5yy06grrkwjh3yxl5g0w58w0pih8allci"))
|
|
|
|
(patches
|
|
|
|
(list (search-patch "gstreamer-0.10-bison3.patch")
|
|
|
|
(search-patch "gstreamer-0.10-silly-test.patch")))))
|
2013-10-30 22:57:52 +01:00
|
|
|
(propagated-inputs
|
|
|
|
`(("libxml2" ,libxml2)))
|
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
|
|
|
(inputs `(("glib" ,glib)))
|
|
|
|
(native-inputs
|
2013-10-30 22:06:57 +01:00
|
|
|
`(("bison" ,bison)
|
|
|
|
("flex" ,flex)
|
|
|
|
("perl" ,perl)
|
|
|
|
("pkg-config" ,pkg-config)
|
2014-07-02 11:42:17 +02:00
|
|
|
("glib" ,glib "bin")
|
2013-10-30 22:06:57 +01:00
|
|
|
("python" ,python-2)))))
|
|
|
|
|
2014-11-18 21:29:04 +01:00
|
|
|
|
2013-09-22 17:25:12 +02:00
|
|
|
(define-public gst-plugins-base
|
|
|
|
(package
|
|
|
|
(name "gst-plugins-base")
|
2015-02-05 10:18:20 +01:00
|
|
|
(version "1.4.5")
|
2013-09-22 17:25:12 +02: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 10:18:20 +01:00
|
|
|
"07ampnfa6p41s0lhia62l9h8bdx3c7vxvdz93pbx64m3wycq3gbp"))))
|
2013-09-22 17:25:12 +02:00
|
|
|
(build-system gnu-build-system)
|
2015-04-04 06:30:25 +02:00
|
|
|
(outputs '("out" "doc"))
|
2015-04-04 06:05:10 +02:00
|
|
|
(propagated-inputs
|
|
|
|
`(("gstreamer" ,gstreamer))) ; required by gstreamer-plugins-base-1.0.pc
|
2013-09-22 17:25:12 +02:00
|
|
|
(inputs
|
2015-02-05 10:18:20 +01:00
|
|
|
`(("cdparanoia" ,cdparanoia)
|
|
|
|
("orc" ,orc)
|
2014-11-18 21:29:04 +01:00
|
|
|
("pango" ,pango)
|
|
|
|
("libogg" ,libogg)
|
|
|
|
("libtheora" ,libtheora)
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
("libx11" ,libx11)
|
|
|
|
("zlib" ,zlib)
|
|
|
|
("libXext" ,libxext)
|
|
|
|
("libxv" ,libxv)
|
2015-04-04 06:05:10 +02: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 12:01:56 +01: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 18:05:57 +02:00
|
|
|
("glib" ,glib "bin")
|
2015-04-04 06:39:31 +02: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 12:01:56 +01:00
|
|
|
("python-wrapper" ,python-wrapper)))
|
2013-09-22 17:25:12 +02:00
|
|
|
(arguments
|
2015-04-04 06:30:25 +02:00
|
|
|
`(#:configure-flags
|
|
|
|
(list (string-append "--with-html-dir="
|
|
|
|
(assoc-ref %outputs "doc")
|
|
|
|
"/share/gtk-doc/html"))
|
|
|
|
#:phases
|
2015-02-05 10:18:20 +01:00
|
|
|
(alist-cons-before
|
2015-04-04 06:39:31 +02:00
|
|
|
'configure 'patch
|
2015-02-05 10:18:20 +01:00
|
|
|
(lambda _
|
|
|
|
(substitute* "tests/check/libs/pbutils.c"
|
2015-04-04 06:39:31 +02:00
|
|
|
(("/bin/sh") (which "sh")))
|
|
|
|
;; for g-ir-scanner.
|
|
|
|
(setenv "CC" "gcc"))
|
2015-02-05 10:18:20 +01:00
|
|
|
%standard-phases)))
|
2013-09-22 17:25:12 +02:00
|
|
|
(home-page "http://gstreamer.freedesktop.org/")
|
|
|
|
(synopsis
|
2014-11-18 21:29:04 +01: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 17:25:12 +02:00
|
|
|
|
|
|
|
|
2014-11-18 21:29:04 +01:00
|
|
|
(define-public gst-plugins-good
|
|
|
|
(package
|
|
|
|
(name "gst-plugins-good")
|
2015-02-05 10:32:30 +01:00
|
|
|
(version "1.4.5")
|
2014-11-18 21:29:04 +01:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
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 15:15:30 +01:00
|
|
|
(uri (string-append
|
|
|
|
"http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-"
|
|
|
|
version ".tar.xz"))
|
2014-11-18 21:29:04 +01:00
|
|
|
(sha256
|
|
|
|
(base32
|
2015-02-05 10:32:30 +01:00
|
|
|
"0hg6qzdpib9nwn3hdxv0d4rvivi1c4bmxsq2a9hqmamwyzrvbcbr"))))
|
2014-11-18 21:29:04 +01: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 08:49:05 +02: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 15:15:30 +01: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 08:49:05 +02: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 15:15:30 +01: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 08:49:05 +02: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 15:15:30 +01: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 08:49:05 +02:00
|
|
|
("speex" ,speex)
|
|
|
|
("taglib" ,taglib)
|
|
|
|
("wavpack" ,wavpack)))
|
2014-11-18 21:29:04 +01: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 08:49:05 +02:00
|
|
|
`(("glib:bin" ,glib "bin")
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
("python-wrapper" ,python-wrapper)))
|
2014-11-18 21:29:04 +01: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 17:25:12 +02:00
|
|
|
(license lgpl2.0+)))
|
2013-10-30 22:58:39 +01:00
|
|
|
|
2015-04-10 15:01:10 +02: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 15:54:11 +02:00
|
|
|
'(#:configure-flags '("--with-system-libav")
|
|
|
|
#:phases
|
2015-04-10 15:01:10 +02:00
|
|
|
(modify-phases %standard-phases
|
2015-04-13 15:07:01 +02:00
|
|
|
(add-before 'configure 'patch-/bin/sh
|
2015-04-10 15:01:10 +02:00
|
|
|
(lambda _
|
|
|
|
(substitute* "gst-libs/ext/libav/configure"
|
|
|
|
(("#! /bin/sh")
|
|
|
|
(string-append "#! "(which "sh")))))))))
|
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)
|
2015-04-13 18:09:10 +02:00
|
|
|
("python" ,python)))
|
2015-04-10 15:01:10 +02:00
|
|
|
(inputs
|
|
|
|
`(("gst-plugins-base" ,gst-plugins-base)
|
2015-04-13 18:09:10 +02:00
|
|
|
("ffmpeg" ,ffmpeg)
|
2015-04-10 15:01:10 +02: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+)))
|
|
|
|
|
2013-10-30 22:58:39 +01:00
|
|
|
(define-public gst-plugins-base-0.10
|
|
|
|
(package (inherit gst-plugins-base)
|
|
|
|
(version "0.10.36")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2014-11-18 21:29:04 +01:00
|
|
|
(uri (string-append
|
|
|
|
"http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-"
|
|
|
|
version ".tar.xz"))
|
2013-10-30 22:58:39 +01:00
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0jp6hjlra98cnkal4n6bdmr577q8mcyp3c08s3a02c4hjhw5rr0z"))))
|
|
|
|
(inputs
|
|
|
|
`(("glib" ,glib)
|
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
|
|
|
("gstreamer" ,gstreamer-0.10)))
|
|
|
|
(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 18:05:57 +02:00
|
|
|
("glib" ,glib "bin")
|
|
|
|
("python" ,python-2)))))
|