Skip to content

Commit

Permalink
gst-plugins-bad: disable faac by default because it's unfree
Browse files Browse the repository at this point in the history
A lot of packages are not built in hydra due to gst-plugins-bad
being unfree. Make faac dependency optional.
  • Loading branch information
Luca Bruno committed Apr 8, 2014
1 parent 296dd89 commit 3010e63
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions pkgs/development/libraries/gstreamer/bad/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
{ stdenv, fetchurl, pkgconfig, python, gst-plugins-base, orc
, faac, faad2, libass, libkate, libmms
, faacSupport ? false, faac ? null
, faad2, libass, libkate, libmms
, libmodplug, mpeg2dec, mpg123
, openjpeg, libopus, librsvg
, timidity, libvdpau, wayland
, libwebp, xvidcore, gnutls
}:

assert faacSupport -> faac != null;

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

Expand All @@ -32,10 +35,10 @@ stdenv.mkDerivation rec {

buildInputs = [
gst-plugins-base orc
faac faad2 libass libkate libmms
faad2 libass libkate libmms
libmodplug mpeg2dec mpg123
openjpeg libopus librsvg
timidity libvdpau wayland
libwebp xvidcore gnutls
];
] ++ stdenv.lib.optional faacSupport faac;
}

0 comments on commit 3010e63

Please sign in to comment.