Merge pull request #7155 from spwhitt/rtmpdump
rtmpdump: build on Darwin
This commit is contained in:
commit
a6f5518a8c
|
@ -22,7 +22,8 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
makeFlags = [ ''prefix=$(out)'' ]
|
makeFlags = [ ''prefix=$(out)'' ]
|
||||||
++ optional gnutlsSupport "CRYPTO=GNUTLS"
|
++ optional gnutlsSupport "CRYPTO=GNUTLS"
|
||||||
++ optional opensslSupport "CRYPTO=OPENSSL";
|
++ optional opensslSupport "CRYPTO=OPENSSL"
|
||||||
|
++ optional stdenv.isDarwin "CC=clang SYS=darwin";
|
||||||
|
|
||||||
buildInputs = [ zlib ]
|
buildInputs = [ zlib ]
|
||||||
++ optional gnutlsSupport gnutls
|
++ optional gnutlsSupport gnutls
|
||||||
|
@ -32,7 +33,7 @@ stdenv.mkDerivation rec {
|
||||||
description = "Toolkit for RTMP streams";
|
description = "Toolkit for RTMP streams";
|
||||||
homepage = http://rtmpdump.mplayerhq.hu/;
|
homepage = http://rtmpdump.mplayerhq.hu/;
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
maintainers = with maintainers; [ codyopel viric ];
|
maintainers = with maintainers; [ codyopel viric ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue