summary refs log tree commit diff
diff options
context:
space:
mode:
authormisuzu <bakalolka@gmail.com>2022-06-16 20:54:55 +0300
committermisuzu <bakalolka@gmail.com>2022-06-16 20:54:55 +0300
commit4c031799bfc6ce97837c307ccbda3ff5aa6efc70 (patch)
tree3d0c50a512161da0841180e5649cee3f834cb010
parent6616de389ed55fba6eeba60377fc04732d5a207c (diff)
downloadnixpkgs-4c031799bfc6ce97837c307ccbda3ff5aa6efc70.tar
nixpkgs-4c031799bfc6ce97837c307ccbda3ff5aa6efc70.tar.gz
nixpkgs-4c031799bfc6ce97837c307ccbda3ff5aa6efc70.tar.bz2
nixpkgs-4c031799bfc6ce97837c307ccbda3ff5aa6efc70.tar.lz
nixpkgs-4c031799bfc6ce97837c307ccbda3ff5aa6efc70.tar.xz
nixpkgs-4c031799bfc6ce97837c307ccbda3ff5aa6efc70.tar.zst
nixpkgs-4c031799bfc6ce97837c307ccbda3ff5aa6efc70.zip
live555: 2022.02.07 -> 2022.06.16
-rw-r--r--pkgs/development/libraries/live555/default.nix33
1 files 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;
   };
 }