gstreamer: fix on Darwin
This commit is contained in:
parent
bc7c7b2b09
commit
c214bc9aee
|
@ -2,17 +2,18 @@
|
|||
, pkgconfig, gettext, gobjectIntrospection
|
||||
, bison, flex, python3, glib, makeWrapper
|
||||
, libcap,libunwind, darwin
|
||||
, lib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gstreamer-1.14.0";
|
||||
|
||||
meta = {
|
||||
meta = with lib ;{
|
||||
description = "Open source multimedia framework";
|
||||
homepage = https://gstreamer.freedesktop.org;
|
||||
license = stdenv.lib.licenses.lgpl2Plus;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ stdenv.lib.maintainers.ttuegel ];
|
||||
license = licenses.lgpl2Plus;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ ttuegel matthewbauer ];
|
||||
};
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -34,7 +35,9 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [
|
||||
meson ninja pkgconfig gettext bison flex python3 makeWrapper gobjectIntrospection
|
||||
];
|
||||
buildInputs = [ libcap libunwind ] ++ stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.CoreServices;
|
||||
buildInputs =
|
||||
lib.optionals stdenv.isLinux [ libcap libunwind ]
|
||||
++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.CoreServices;
|
||||
|
||||
propagatedBuildInputs = [ glib ];
|
||||
|
||||
|
|
Loading…
Reference in New Issue