live555: 2024.03.08 -> 2024.04.14

This commit is contained in:
Anderson Torres 2024-04-19 18:02:15 -03:00
parent 45a89f4ea3
commit 2a6bc86a37

View File

@ -1,15 +1,16 @@
{ lib {
, darwin lib,
, fetchurl darwin,
, fetchpatch fetchpatch,
, openssl fetchurl,
, stdenv openssl,
, vlc stdenv,
vlc,
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "live555"; pname = "live555";
version = "2024.03.08"; version = "2024.04.14";
src = fetchurl { src = fetchurl {
urls = [ urls = [
@ -18,7 +19,7 @@ stdenv.mkDerivation (finalAttrs: {
"https://download.videolan.org/contrib/live555/live.${finalAttrs.version}.tar.gz" "https://download.videolan.org/contrib/live555/live.${finalAttrs.version}.tar.gz"
"mirror://sourceforge/slackbuildsdirectlinks/live.${finalAttrs.version}.tar.gz" "mirror://sourceforge/slackbuildsdirectlinks/live.${finalAttrs.version}.tar.gz"
]; ];
hash = "sha256-wWUC4EbxxfK+OxXiyNbNMGObVMZOqb+8jTG078pnDeU="; hash = "sha256-mR5rKGKtTwMq3p+xAAGdo0DNNnIe4KHladLPlnhVhNY=";
}; };
patches = [ patches = [
@ -60,11 +61,13 @@ stdenv.mkDerivation (finalAttrs: {
''; '';
configurePhase = let configurePhase = let
platform = if stdenv.isLinux platform =
then "linux" if stdenv.isLinux then
else if stdenv.isDarwin "linux"
then "macosx-catalina" else if stdenv.isDarwin then
else throw "Unsupported platform: ${stdenv.hostPlatform.system}"; "macosx-catalina"
else
throw "Unsupported platform: ${stdenv.hostPlatform.system}";
in '' in ''
runHook preConfigure runHook preConfigure