mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
libcanberra: fix darwin build (#47634)
This commit is contained in:
parent
9ac7893042
commit
aeee761aba
2 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
{ stdenv, lib, fetchurl, fetchpatch, pkgconfig, libtool
|
||||
, gtk ? null
|
||||
, libpulseaudio, gst_all_1, libvorbis, libcap
|
||||
, CoreServices
|
||||
, withAlsa ? stdenv.isLinux, alsaLib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -15,6 +16,7 @@ stdenv.mkDerivation rec {
|
|||
buildInputs = [
|
||||
libpulseaudio libvorbis gtk
|
||||
] ++ (with gst_all_1; [ gstreamer gst-plugins-base ])
|
||||
++ lib.optional stdenv.isDarwin CoreServices
|
||||
++ lib.optional stdenv.isLinux libcap
|
||||
++ lib.optional withAlsa alsaLib;
|
||||
|
||||
|
|
|
@ -10254,7 +10254,9 @@ with pkgs;
|
|||
inherit (xorg) libX11 libXext;
|
||||
};
|
||||
|
||||
libcanberra = callPackage ../development/libraries/libcanberra { };
|
||||
libcanberra = callPackage ../development/libraries/libcanberra {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
||||
};
|
||||
libcanberra-gtk3 = pkgs.libcanberra.override {
|
||||
gtk = gtk3;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue