tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
gst-plugins-ugly 0.x: fix Darwin build
Spencer Whitt
11 years ago
b2589bb0
3001119d
+5
-3
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
gstreamer
legacy
gst-plugins-ugly
default.nix
+5
-3
pkgs/development/libraries/gstreamer/legacy/gst-plugins-ugly/default.nix
···
1
1
{ fetchurl, stdenv, pkgconfig, glib, gstreamer, gst_plugins_base
2
2
-
, libmad, libdvdread, libmpeg2, libcdio, a52dec, x264, orc }:
2
2
+
, libmad, libdvdread, libmpeg2, libcdio, a52dec, x264, orc, libintlOrEmpty }:
3
3
4
4
stdenv.mkDerivation rec {
5
5
name = "gst-plugins-ugly-0.10.19";
···
13
13
};
14
14
15
15
buildInputs =
16
16
-
[ pkgconfig glib gstreamer gst_plugins_base libmad libdvdread a52dec x264 orc ];
16
16
+
[ pkgconfig glib gstreamer gst_plugins_base libmad libdvdread a52dec x264 orc ] ++ libintlOrEmpty;
17
17
+
18
18
+
NIX_LDFLAGS = if stdenv.isDarwin then "-lintl" else null;
17
19
18
20
enableParallelBuilding = true;
19
21
···
23
25
description = "‘Ugly’ (potentially patent-encumbered) plug-ins for GStreamer";
24
26
25
27
maintainers = [stdenv.lib.maintainers.raskin];
26
26
-
platforms = stdenv.lib.platforms.linux;
28
28
+
platforms = stdenv.lib.platforms.unix;
27
29
28
30
license = stdenv.lib.licenses.lgpl2Plus;
29
31
};