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 ];
|
buildInputs = [ perl bison flex ];
|
||||||
propagatedBuildInputs = [ glib libxml2 ];
|
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
|
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 = [
|
configureFlags = [
|
||||||
"--disable-examples"
|
"--disable-examples"
|
||||||
"--enable-failing-tests"
|
|
||||||
"--localstatedir=/var"
|
"--localstatedir=/var"
|
||||||
"--disable-gtk-doc"
|
"--disable-gtk-doc"
|
||||||
"--disable-docbook"
|
"--disable-docbook"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
doCheck = false; # fails. 2 tests crash
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
# Hm, apparently --disable-gtk-doc is ignored...
|
# Hm, apparently --disable-gtk-doc is ignored...
|
||||||
rm -rf $out/share/gtk-doc
|
rm -rf $out/share/gtk-doc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user