From 4c031799bfc6ce97837c307ccbda3ff5aa6efc70 Mon Sep 17 00:00:00 2001 From: misuzu Date: Thu, 16 Jun 2022 20:54:55 +0300 Subject: live555: 2022.02.07 -> 2022.06.16 --- pkgs/development/libraries/live555/default.nix | 33 ++++++++++---------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/pkgs/development/libraries/live555/default.nix b/pkgs/development/libraries/live555/default.nix index 851f52fe4ab..f212adb03be 100644 --- a/pkgs/development/libraries/live555/default.nix +++ b/pkgs/development/libraries/live555/default.nix @@ -10,7 +10,7 @@ stdenv.mkDerivation rec { pname = "live555"; - version = "2022.02.07"; + version = "2022.06.16"; src = fetchurl { urls = [ @@ -18,7 +18,7 @@ stdenv.mkDerivation rec { "https://download.videolan.org/contrib/live555/live.${version}.tar.gz" "mirror://sourceforge/slackbuildsdirectlinks/live.${version}.tar.gz" ]; - sha256 = "sha256-bwwfinHOtQa8v5abArSww2l7ThXa623LqYcsh0XOksY="; + sha256 = "sha256-84OUQw++RNqH3sAY4S6yXRJXZY+5T0VdTIUqELuVdV0="; }; nativeBuildInputs = lib.optional stdenv.isDarwin darwin.cctools; @@ -42,27 +42,21 @@ stdenv.mkDerivation rec { configurePhase = '' runHook preConfigure - ./genMakefiles ${{ - x86_64-darwin = "macosx-catalina"; - i686-linux = "linux"; - x86_64-linux = "linux-64bit"; - aarch64-linux = "linux-64bit"; - }.${stdenv.hostPlatform.system} or (throw "Unsupported platform ${stdenv.hostPlatform.system}")} + ./genMakefiles ${ + if stdenv.isLinux then + "linux" + else if stdenv.isDarwin then + "macosx-catalina" + else + throw "Unsupported platform ${stdenv.hostPlatform.system}"} runHook postConfigure ''; - installPhase = '' - runHook preInstall - - for dir in BasicUsageEnvironment groupsock liveMedia UsageEnvironment; do - install -dm755 $out/{bin,lib,include/$dir} - install -m644 $dir/*.a "$out/lib" - install -m644 $dir/include/*.h* "$out/include/$dir" - done - - runHook postInstall - ''; + makeFlags = [ + "DESTDIR=${placeholder "out"}" + "PREFIX=" + ]; enableParallelBuilding = true; @@ -77,6 +71,5 @@ stdenv.mkDerivation rec { license = licenses.lgpl21Plus; maintainers = with maintainers; [ AndersonTorres ]; platforms = platforms.unix; - broken = stdenv.hostPlatform.isAarch64; }; } -- cgit 1.4.1