gst-libav: Switch to meson build system

This commit is contained in:
Bastian Köcher 2018-03-31 23:17:11 +02:00
parent 42d3b5c846
commit 2a80d83f59
1 changed files with 4 additions and 7 deletions

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, pkgconfig, python, yasm { stdenv, fetchurl, meson, ninja, pkgconfig
, gst-plugins-base, orc, bzip2 , python, yasm, gst-plugins-base, orc, bzip2
, withSystemLibav ? true, libav ? null , gettext, withSystemLibav ? true, libav ? null
}: }:
# Note that since gst-libav-1.6, libav is actually ffmpeg. See # Note that since gst-libav-1.6, libav is actually ffmpeg. See
@ -24,11 +24,8 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
configureFlags = stdenv.lib.optionalString withSystemLibav
"--with-system-libav";
nativeBuildInputs = with stdenv.lib; nativeBuildInputs = with stdenv.lib;
[ pkgconfig python ] [ meson ninja gettext pkgconfig python ]
++ optional (!withSystemLibav) yasm ++ optional (!withSystemLibav) yasm
; ;