Skip to content

Commit

Permalink
Merge pull request #2159 from lethalman/gst-no-faac
Browse files Browse the repository at this point in the history
gst-plugins-bad: disable faac by default because it's unfree
  • Loading branch information
bluescreen303 committed Apr 9, 2014
2 parents 29c0d00 + 3010e63 commit fccf059
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 fccf059

Please sign in to comment.