gstreamer: make tests run, but disable, also cleanup
This commit is contained in:
parent
1cb596748f
commit
50556b50b7
@ -17,23 +17,22 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ perl bison flex ];
|
||||
propagatedBuildInputs = [ glib libxml2 ];
|
||||
|
||||
patchPhase = ''
|
||||
# See https://trac.macports.org/ticket/40783 for explanation of patch
|
||||
patches = stdenv.lib.optional stdenv.isDarwin ./darwin.patch;
|
||||
|
||||
postPatch = ''
|
||||
sed -i -e 's/^ /\t/' docs/gst/Makefile.in docs/libs/Makefile.in docs/plugins/Makefile.in
|
||||
''
|
||||
+ stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
# Applying this patch manually to avoid a rebuild on Linux. Feel free to refactor later
|
||||
# See https://trac.macports.org/ticket/40783 for explanation of patch
|
||||
patch -p1 < ${./darwin.patch}
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--disable-examples"
|
||||
"--enable-failing-tests"
|
||||
"--localstatedir=/var"
|
||||
"--disable-gtk-doc"
|
||||
"--disable-docbook"
|
||||
];
|
||||
|
||||
doCheck = false; # fails. 2 tests crash
|
||||
|
||||
postInstall = ''
|
||||
# Hm, apparently --disable-gtk-doc is ignored...
|
||||
rm -rf $out/share/gtk-doc
|
||||
|
Loading…
Reference in New Issue
Block a user