live555: 2018.02.28 -> 2018.10.17
This commit is contained in:
parent
773e8d07bc
commit
fb81d629ac
@ -1,15 +1,13 @@
|
|||||||
{ stdenv, fetchurl, lib, darwin }:
|
{ stdenv, fetchurl, lib, darwin }:
|
||||||
|
|
||||||
# Based on https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD
|
# Based on https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
version = "2018.02.28";
|
|
||||||
in
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
name = "live555-${version}";
|
name = "live555-${version}";
|
||||||
|
version = "2018.10.17";
|
||||||
|
|
||||||
src = fetchurl { # the upstream doesn't provide a stable URL
|
src = fetchurl { # the upstream doesn't provide a stable URL
|
||||||
url = "mirror://sourceforge/slackbuildsdirectlinks/live.${version}.tar.gz";
|
url = "mirror://sourceforge/slackbuildsdirectlinks/live.${version}.tar.gz";
|
||||||
sha256 = "0zi47asv1qmb09g321m02q684i3c90vci0mgkdh1mlmx2rbg1d1d";
|
sha256 = "1s69ipvdc6ldscp0cr1zpsll8xc3qcagr95nl84x7b1rbg4xjs3w";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -23,24 +21,34 @@ stdenv.mkDerivation {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
|
runHook preConfigure
|
||||||
|
|
||||||
./genMakefiles ${{
|
./genMakefiles ${{
|
||||||
x86_64-darwin = "macosx";
|
x86_64-darwin = "macosx";
|
||||||
i686-linux = "linux";
|
i686-linux = "linux";
|
||||||
x86_64-linux = "linux-64bit";
|
x86_64-linux = "linux-64bit";
|
||||||
aarch64-linux = "linux-64bit";
|
aarch64-linux = "linux-64bit";
|
||||||
}.${stdenv.hostPlatform.system}}
|
}.${stdenv.hostPlatform.system}}
|
||||||
|
|
||||||
|
runHook postConfigure
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
for dir in BasicUsageEnvironment groupsock liveMedia UsageEnvironment; do
|
for dir in BasicUsageEnvironment groupsock liveMedia UsageEnvironment; do
|
||||||
install -dm755 $out/{bin,lib,include/$dir}
|
install -dm755 $out/{bin,lib,include/$dir}
|
||||||
install -m644 $dir/*.a "$out/lib"
|
install -m644 $dir/*.a "$out/lib"
|
||||||
install -m644 $dir/include/*.h* "$out/include/$dir"
|
install -m644 $dir/include/*.h* "$out/include/$dir"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = lib.optional stdenv.isDarwin darwin.cctools;
|
nativeBuildInputs = lib.optional stdenv.isDarwin darwin.cctools;
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Set of C++ libraries for multimedia streaming, using open standard protocols (RTP/RTCP, RTSP, SIP)";
|
description = "Set of C++ libraries for multimedia streaming, using open standard protocols (RTP/RTCP, RTSP, SIP)";
|
||||||
homepage = http://www.live555.com/liveMedia/;
|
homepage = http://www.live555.com/liveMedia/;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user