Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
43da333
gstreamer: Update to version 0.11.92.
aszlig Aug 7, 2012
6c1aa81
gst-plugins: Update packages to 0.11.92 as well.
aszlig Aug 7, 2012
6c64b01
gst-ffmpeg: Update to version 0.11.92.
aszlig Aug 7, 2012
335b3f7
gst-ffmpeg: Use libav instead of ffmpeg.
aszlig Aug 7, 2012
bfc2d97
libav: Update to version 0.8.3.
aszlig Aug 7, 2012
846f30a
gstreamer: Add python to build dependencies.
aszlig Aug 7, 2012
419e6c0
gst-python: Remove package and all references.
aszlig Aug 7, 2012
3c0f23d
pygobject: Update to version 3.0.4.
aszlig Aug 7, 2012
21ef8f2
transmageddon: New package, as it uses pygobject.
aszlig Aug 7, 2012
fb6063b
gst-ffmpeg: Rename to gst-libav.
aszlig Aug 22, 2012
b09b93c
gst-libav: Switch to the tarball instead of git.
aszlig Aug 22, 2012
b934d68
gstreamer: Update all modules to version 0.11.93.
aszlig Aug 22, 2012
01d8420
gstreamer: Update to new upstream version 1.0.3.
aszlig Dec 3, 2012
be3a216
gst-plugins: Update all plugins to version v1.0.3.
aszlig Dec 3, 2012
b8396cf
gst-libav: Update to upstream version 1.0.3.
aszlig Dec 3, 2012
b936e85
gst-ffpmeg -> gst-libav
jcumming Mar 1, 2013
4990ae1
gst-libav no longer supports using the system ffmpeg.
jcumming Mar 1, 2013
8c815fc
merge my gstreamer updates with gstreamer-1.0 branch
jcumming Mar 1, 2013
ebdc791
Merge remote-tracking branch 'upstream/master' into gstreamer-1.0
jcumming Mar 5, 2013
be72215
update gst plugin path to match any gstreamer version.
jcumming Mar 5, 2013
f14d9e2
gst_python goes away. Create modules for gst-0.10 stuff, and setup ph…
jcumming Mar 5, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pkgs/applications/audio/mopidy/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchgit, pythonPackages, pygobject, gst_python
{ stdenv, fetchgit, pythonPackages, pygobject
, gst_plugins_good, gst_plugins_base
}:

Expand Down Expand Up @@ -28,8 +28,8 @@ pythonPackages.buildPythonPackage rec {
postInstall = ''
for p in $out/bin/mopidy $out/bin/mopidy-scan; do
wrapProgram $p \
--prefix GST_PLUGIN_PATH : ${gst_plugins_good}/lib/gstreamer-0.10 \
--prefix GST_PLUGIN_PATH : ${gst_plugins_base}/lib/gstreamer-0.10
--prefix GST_PLUGIN_PATH : ${gst_plugins_good}/lib/gstreamer-* \
--prefix GST_PLUGIN_PATH : ${gst_plugins_base}/lib/gstreamer-*
done
'';

Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/audio/mopidy/git.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchgit, pythonPackages, pygobject, gst_python
{ stdenv, fetchgit, pythonPackages, pygobject
, gst_plugins_good, gst_plugins_base
}:

Expand Down Expand Up @@ -28,8 +28,8 @@ pythonPackages.buildPythonPackage rec {
postInstall = ''
for p in $out/bin/mopidy $out/bin/mopidy-scan; do
wrapProgram $p \
--prefix GST_PLUGIN_PATH : ${gst_plugins_good}/lib/gstreamer-0.10 \
--prefix GST_PLUGIN_PATH : ${gst_plugins_base}/lib/gstreamer-0.10
--prefix GST_PLUGIN_PATH : ${gst_plugins_good}/lib/gstreamer-* \
--prefix GST_PLUGIN_PATH : ${gst_plugins_base}/lib/gstreamer-*
done
'';

Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/networking/browsers/uzbl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ rec {
--prefix GST_PLUGIN_PATH : ${a.webkit.gstreamer}/lib/gstreamer-* \
--prefix GST_PLUGIN_PATH : ${a.webkit.gst_plugins_base}/lib/gstreamer-* \
--prefix GST_PLUGIN_PATH : ${a.webkit.gst_plugins_good}/lib/gstreamer-* \
--prefix GST_PLUGIN_PATH : ${a.webkit.gst_ffmpeg}/lib/gstreamer-* \
--prefix GST_PLUGIN_PATH : ${a.webkit.gst_libav}/lib/gstreamer-* \
--prefix GIO_EXTRA_MODULES : ${a.glib_networking}/lib/gio/modules
'';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{stdenv, fetchurl, zlib, openssl, libre, librem, pkgconfig
, cairo, mpg123, gstreamer, gst_ffmpeg, gst_plugins_base, gst_plugins_bad
, cairo, mpg123, gstreamer, gst_libav, gst_plugins_base, gst_plugins_bad
, gst_plugins_good, alsaLib, SDL, libv4l, celt, libsndfile, srtp, ffmpeg
, gsm, speex, portaudio, spandsp, libuuid
}:
Expand All @@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "3ac15b3d3cf17b2417ba871e7eaaaf41ab10cb30b900adcee357d5e91ea033e7";
};
buildInputs = [zlib openssl libre librem pkgconfig
cairo mpg123 gstreamer gst_ffmpeg gst_plugins_base gst_plugins_bad gst_plugins_good
cairo mpg123 gstreamer gst_libav gst_plugins_base gst_plugins_bad gst_plugins_good
alsaLib SDL libv4l celt libsndfile srtp ffmpeg gsm speex portaudio spandsp libuuid
];
makeFlags = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ let
libXt xproto libXext xextproto libX11 gtkspell aspell
scrnsaverproto pycrypto pythonDBus pythonSexy
docutils pyasn1 farstream gst_plugins_bad gstreamer
gst_ffmpeg gst_python
gst_libav
];
in
rec {
Expand Down Expand Up @@ -38,7 +38,7 @@ rec {
sed -e 's^'"$i"'^'"$out/bin-wrapped/$name"'^' -i "$out/bin/$name"
sed -e "2aexport LD_LIBRARY_PATH=\"\$LD_LIBRARY_PATH\''${LD_LIBRARY_PATH:+:}${a.gtkspell}/lib:${a.gtkspell}/lib64\"" -i "$out/bin/gajim"
sed -e "2aexport NIX_LDFLAGS=\"\$NIX_LDFLAGS -L${a.gtkspell}/lib -L${a.gtkspell}/lib64\"" -i "$out/bin/gajim"
sed -e "2aexport GST_PLUGIN_PATH=\"\$GST_PLUGIN_PATH''${GST_PLUGIN_PATH:+:}$(echo ${a.gst_plugins_bad}/lib/gstreamer-*):$(echo ${a.gst_ffmpeg}/lib/gstreamer-*):$(echo ${a.farstream}/lib/gstreamer-*)\"" -i "$out/bin/gajim"
sed -e "2aexport GST_PLUGIN_PATH=\"\$GST_PLUGIN_PATH''${GST_PLUGIN_PATH:+:}$(echo ${a.gst_plugins_bad}/lib/gstreamer-*):$(echo ${a.gst_libav}/lib/gstreamer-*):$(echo ${a.farstream}/lib/gstreamer-*)\"" -i "$out/bin/gajim"
done
'') ["wrapBinContentsPython"];

Expand Down
12 changes: 6 additions & 6 deletions pkgs/applications/video/gnash/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ stdenv, fetchurl
, SDL, SDL_mixer, gstreamer, gst_plugins_base, gst_plugins_good
, gst_ffmpeg, speex
, gst_libav, speex
, libogg, libxml2, libjpeg, mesa, libpng, libungif, libtool
, boost, freetype, agg, dbus, curl, pkgconfig, gettext
, glib, gtk, gtkglext, x11, ming, dejagnu, python, perl
Expand Down Expand Up @@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
# XXX: KDE is supported as well so we could make it available optionally.
buildInputs = [
gettext x11 SDL SDL_mixer gstreamer gst_plugins_base gst_plugins_good
gst_ffmpeg speex libtool
gst_libav speex libtool
libogg libxml2 libjpeg mesa libpng libungif boost freetype agg
dbus curl pkgconfig glib gtk gtkglext
xulrunner
Expand All @@ -65,9 +65,9 @@ stdenv.mkDerivation rec {
--enable-gui=gtk"

# In `libmedia', Gnash compiles with "-I$gst_plugins_base/include",
# whereas it really needs "-I$gst_plugins_base/include/gstreamer-0.10".
# whereas it really needs "-I$gst_plugins_base/include/gstreamer-*".
# Work around this using GCC's $CPATH variable.
export CPATH="${gst_plugins_base}/include/gstreamer-0.10:${gst_plugins_good}/include/gstreamer-0.10"
export CPATH="${gst_plugins_base}/include/gstreamer-*:${gst_plugins_good}/include/gstreamer-*"
echo "\$CPATH set to \`$CPATH'"

echo "\$GST_PLUGIN_PATH set to \`$GST_PLUGIN_PATH'"
Expand All @@ -84,12 +84,12 @@ stdenv.mkDerivation rec {
make install-plugins

# Wrap programs so the find the GStreamer plug-ins they need
# (e.g., gst-ffmpeg is needed to watch movies such as YouTube's).
# (e.g., gst-libav is needed to watch movies such as YouTube's).
for prog in "$out/bin/"*
do
wrapProgram "$prog" --prefix \
GST_PLUGIN_PATH ":" \
"${gst_plugins_base}/lib/gstreamer-0.10:${gst_plugins_good}/lib/gstreamer-0.10:${gst_ffmpeg}/lib/gstreamer-0.10"
"${gst_plugins_base}/lib/gstreamer-*:${gst_plugins_good}/lib/gstreamer-*:${gst_libav}/lib/gstreamer-*"
done
'';

Expand Down
29 changes: 29 additions & 0 deletions pkgs/applications/video/transmageddon/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{ stdenv, fetchgit, autoconf, automake, libtool, makeWrapper
, python, pygobject, intltool }:

stdenv.mkDerivation rec {
name = "transmageddon-0.22";

preConfigure = "autoreconf -vfi";

src = fetchgit {
url = git://git.gnome.org/transmageddon;
rev = "8b1eedadae484b3fb6599d27ff4cbe9ec5e3a3b9";
sha256 = "97567a3e26e54d10f28374b514fdee5d87776d185b56c6b74c1eb0dae11bc5a8";
};

pythonPath = [ pygobject ];

postInstall = ''
wrapProgram "$out/bin/transmageddon" \
--set PYTHONPATH $(toPythonPath "${pygobject}"):$PYTHONPATH
'';

buildInputs = [ autoconf automake libtool makeWrapper intltool python ];

meta = {
homepage = http://www.linuxrising.org;
license = stdenv.lib.licenses.lgpl21;
description = "A video transcoder using GStreamer";
};
}
4 changes: 2 additions & 2 deletions pkgs/development/libraries/farsight2/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, libnice, pkgconfig, python, gstreamer, gst_plugins_base
, pygobject, gst_python, gupnp_igd }:
, pygobject, gupnp_igd }:

stdenv.mkDerivation rec {
name = "farsight2-0.0.31";
Expand All @@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "16qz4x14rdycm4nrn5wx6k2y22fzrazsbmihrxdwafx9cyf23kjm";
};

buildInputs = [ libnice python pygobject gst_python gupnp_igd ];
buildInputs = [ libnice python pygobject gupnp_igd ];

buildNativeInputs = [ pkgconfig ];

Expand Down
8 changes: 3 additions & 5 deletions pkgs/development/libraries/farstream/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, libnice, pkgconfig, python, gstreamer, gst_plugins_base
, pygobject, gst_python, gupnp_igd
, gst_plugins_good, gst_plugins_bad, gst_ffmpeg
, pygobject, gupnp_igd
, gst_plugins_good, gst_plugins_bad, gst_libav
}:

stdenv.mkDerivation rec {
Expand All @@ -14,9 +14,7 @@ stdenv.mkDerivation rec {

buildNativeInputs = [ pkgconfig ];

propagatedBuildInputs = [ gstreamer gst_plugins_base gst_python
gst_plugins_good gst_plugins_bad gst_ffmpeg
];
propagatedBuildInputs = [ gstreamer gst_plugins_base gst_plugins_good gst_plugins_bad gst_libav ];

meta = {
homepage = http://www.freedesktop.org/wiki/Software/Farstream;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@

# XXX: after gstream-1.0, this package became gst-libav. We're keeping this
# around for phonon.

{ fetchurl, stdenv, pkgconfig, gst_plugins_base, bzip2, yasm
, useInternalFfmpeg ? false, ffmpeg ? null }:

stdenv.mkDerivation rec {
name = "gst-ffmpeg-0.10.12";
name = "gst-ffmpeg-0.10.13";

src = fetchurl {
urls = [
"http://gstreamer.freedesktop.org/src/gst-ffmpeg/${name}.tar.bz2"
"mirror://gentoo/distfiles/${name}.tar.bz2"
];
sha256 = "0fyppl8q18g71jd2r0mbiqk8hhrdxq43dglma06mxyjb5c80fxxi";
sha256 = "0qmvgwcfybci78sd73mhvm4bsb7l0xsk9yljrgik80g011ds1z3n";
};

# Upstream strongly recommends against using --with-system-ffmpeg,
Expand Down
34 changes: 34 additions & 0 deletions pkgs/development/libraries/gstreamer/gst-libav/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{ fetchurl, stdenv, autoconf, automake, libtool, pkgconfig
, gst_plugins_base, bzip2, yasm
, useInternalLibAV ? false, libav ? null }:

stdenv.mkDerivation rec {
name = "gst-libav-${version}";
version = "1.0.5";

src = fetchurl {
urls = [
"${meta.homepage}/src/gst-libav/${name}.tar.xz"
"mirror://gentoo/distfiles/${name}.tar.xz"
];
sha256 = "1m9jzga9ahml3dnfm7syz6mglmysqpbkkyr48kka9cwna1kbxy5f";
};

preConfigure = "autoreconf -vfi";

# Upstream strongly recommends against using --with-system-libav,
# but we do it anyway because we're so hardcore (and we don't want
# multiple copies of libav).
configureFlags = stdenv.lib.optionalString (!useInternalLibAV) "--with-system-libav";
enableParallelBuilding = true;

buildInputs =
[ autoconf automake libtool pkgconfig bzip2 gst_plugins_base ]
++ (if useInternalLibAV then [ yasm ] else [ libav ]);

meta = {
homepage = http://gstreamer.freedesktop.org;
description = "GStreamer's plug-in using LibAV";
license = "GPLv2+";
};
}
30 changes: 30 additions & 0 deletions pkgs/development/libraries/gstreamer/gst-plugins-bad/0.10.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{ fetchurl, stdenv, pkgconfig, glib, gstreamer, gst_plugins_base
, libdvdnav, libdvdread }:

stdenv.mkDerivation rec {
name = "gst-plugins-bad-0.10.36";

src = fetchurl {
urls = [
"${meta.homepage}/src/gst-plugins-bad/${name}.tar.xz"
"mirror://gentoo/distfiles/${name}.tar.xz"
];
sha256 = "0si79dsdx06w6p48v1c5ifbjhq26p4jn8swi18ni8x6j5yd5p3rf";
};

buildInputs =
[ pkgconfig glib gstreamer gst_plugins_base libdvdnav libdvdread ];

enableParallelBuilding = true;

meta = {
homepage = http://gstreamer.freedesktop.org;

description = "‘Bad’ (potentially low quality) plug-ins for GStreamer";

maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;

license = "LGPLv2+";
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
, libdvdnav, libdvdread }:

stdenv.mkDerivation rec {
name = "gst-plugins-bad-0.10.22";
name = "gst-plugins-bad-1.0.5";

src = fetchurl {
urls = [
"${meta.homepage}/src/gst-plugins-bad/${name}.tar.bz2"
"mirror://gentoo/distfiles/${name}.tar.bz2"
"${meta.homepage}/src/gst-plugins-bad/${name}.tar.xz"
"mirror://gentoo/distfiles/${name}.tar.xz"
];
sha256 = "030728gf0zjg62yng4qy9yapaffbvkziawa28rk0gspz8cpi1xyq";
sha256 = "0si79dsdx06w6p48v1c5ifbjhq26p4jn8swi18ni8x6j5yd5p3rf";
};

buildInputs =
Expand Down
46 changes: 46 additions & 0 deletions pkgs/development/libraries/gstreamer/gst-plugins-base/0.10.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{ fetchurl, stdenv, pkgconfig, python, gstreamer
, xlibs, alsaLib, cdparanoia, libogg
, libtheora, libvorbis, freetype, pango
, liboil, glib
, # Whether to build no plugins that have external dependencies
# (except the ALSA plugin).
minimalDeps ? false
}:

stdenv.mkDerivation rec {
name = "gst-plugins-base-0.10.36";

src = fetchurl {
urls = [
"${meta.homepage}/src/gst-plugins-base/${name}.tar.xz"
"mirror://gentoo/distfiles/${name}.tar.xz"
];
sha256 = "0jp6hjlra98cnkal4n6bdmr577q8mcyp3c08s3a02c4hjhw5rr0z";
};

patchPhase = ''
sed -i 's@/bin/echo@echo@g' configure
sed -i -e 's/^ /\t/' docs/{libs,plugins}/Makefile.in
'';

# TODO : v4l, libvisual
buildInputs =
[ pkgconfig glib alsaLib ]
++ stdenv.lib.optionals (!minimalDeps)
[ xlibs.xlibs xlibs.libXv cdparanoia libogg libtheora libvorbis
freetype pango liboil
];

propagatedBuildInputs = [ gstreamer ];

postInstall = "rm -rf $out/share/gtk-doc";

meta = {
homepage = http://gstreamer.freedesktop.org;

description = "Base plug-ins for GStreamer";

license = "LGPLv2+";
};
}

Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
}:

stdenv.mkDerivation rec {
name = "gst-plugins-base-0.10.36";
name = "gst-plugins-base-1.0.5";

src = fetchurl {
urls = [
"${meta.homepage}/src/gst-plugins-base/${name}.tar.xz"
"mirror://gentoo/distfiles/${name}.tar.xz"
];
sha256 = "0jp6hjlra98cnkal4n6bdmr577q8mcyp3c08s3a02c4hjhw5rr0z";
sha256 = "0wvigpblsarbxfv1ms34qza4yasqj18fwqf8268qgwwyp44nxkip";
};

patchPhase = ''
Expand Down
38 changes: 38 additions & 0 deletions pkgs/development/libraries/gstreamer/gst-plugins-good/0.10.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{ fetchurl, stdenv, pkgconfig, gst_plugins_base, aalib, cairo
, flac, libjpeg, zlib, speex, libpng, libdv, libcaca
, libiec61883, libavc1394, taglib, pulseaudio
, glib, gstreamer, bzip2
}:

stdenv.mkDerivation rec {
name = "gst-plugins-good-0.10.31";

src = fetchurl {
urls = [
"${meta.homepage}/src/gst-plugins-good/${name}.tar.xz"
"mirror://gentoo/distfiles/${name}.tar.xz"
];
sha256 = "0r1b54yixn8v2l1dlwmgpkr0v2a6a21id5njp9vgh58agim47a3p";
};

configureFlags = "--disable-oss";

buildInputs =
[ pkgconfig glib gstreamer gst_plugins_base libavc1394 libiec61883
aalib libcaca cairo libdv flac libjpeg libpng pulseaudio speex
taglib bzip2
];

enableParallelBuilding = true;

meta = {
homepage = http://gstreamer.freedesktop.org;

description = "`Good' plug-ins for GStreamer";

maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;

license = "LGPLv2+";
};
}
Loading