lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

gst-plugins-bad 1.x: fix Darwin build

+15 -4
+15 -4
pkgs/development/libraries/gstreamer/bad/default.nix
··· 5 5 , openjpeg, libopus, librsvg 6 6 , wildmidi, fluidsynth, libvdpau, wayland 7 7 , libwebp, xvidcore, gnutls 8 - , mesa 8 + , mesa, libintlOrEmpty 9 9 }: 10 10 11 11 assert faacSupport -> faac != null; 12 12 13 + let 14 + inherit (stdenv.lib) optional optionalString; 15 + in 13 16 stdenv.mkDerivation rec { 14 17 name = "gst-plugins-bad-1.4.5"; 15 18 ··· 23 26 a real live maintainer, or some actual wide use. 24 27 ''; 25 28 license = licenses.lgpl2Plus; 26 - platforms = platforms.linux; 29 + platforms = platforms.unix; 27 30 maintainers = with maintainers; [ iyzsong ]; 28 31 }; 29 32 ··· 39 42 faad2 libass libkate libmms 40 43 libmodplug mpeg2dec mpg123 41 44 openjpeg libopus librsvg 42 - wildmidi fluidsynth libvdpau wayland 45 + fluidsynth libvdpau 43 46 libwebp xvidcore gnutls mesa 44 - ] ++ stdenv.lib.optional faacSupport faac; 47 + ] 48 + ++ libintlOrEmpty 49 + ++ optional faacSupport faac 50 + ++ optional stdenv.isLinux wayland 51 + # wildmidi requires apple's OpenAL 52 + # TODO: package apple's OpenAL, fix wildmidi, include on Darwin 53 + ++ optional (!stdenv.isDarwin) wildmidi; 54 + 55 + LDFLAGS = optionalString stdenv.isDarwin "-lintl"; 45 56 }