live555: fixup after accidental merge, close #10624
Use a URL that works (checked md5 was the same) but use a stronger hash.
This commit is contained in:
parent
1962484d15
commit
53c60a0ce4
@ -1,21 +1,24 @@
|
|||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
# 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
|
||||||
|
version = "2015.10.12";
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "live555-${version}";
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
src = fetchurl { # the upstream doesn't provide a stable URL
|
||||||
name = "live555-2015.10.12";
|
url = "mirror://sourceforge/slackbuildsdirectlinks/live.${version}.tar.gz";
|
||||||
|
sha256 = "05qwws4hda4x3l4ym22k55cc9j07w7g5vj3r18dancgf0fla40j4";
|
||||||
src = fetchurl {
|
|
||||||
url = "http://www.live555.com/liveMedia/public/live.2015.10.12.tar.gz";
|
|
||||||
md5 = "bcbe18f0b4eb65ee0157333684d6c551";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [];
|
postPatch = "sed 's,/bin/rm,rm,g' -i genMakefiles";
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
sed \
|
sed \
|
||||||
-e 's/$(INCLUDES) -I. -O2 -DSOCKLEN_T/$(INCLUDES) -I. -O2 -I. -fPIC -DRTSPCLIENT_SYNCHRONOUS_INTERFACE=1 -DSOCKLEN_T/g' \
|
-e 's/$(INCLUDES) -I. -O2 -DSOCKLEN_T/$(INCLUDES) -I. -O2 -I. -fPIC -DRTSPCLIENT_SYNCHRONOUS_INTERFACE=1 -DSOCKLEN_T/g' \
|
||||||
-i config.linux
|
-i config.linux
|
||||||
|
|
||||||
./genMakefiles linux
|
./genMakefiles linux
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user