zita-resampler: 1.8.0 -> 1.11.2
This commit is contained in:
parent
4a948ca091
commit
45e224b8d7
@ -4,13 +4,13 @@
|
||||
fetchurl,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "zita-resampler";
|
||||
version = "1.8.0";
|
||||
version = "1.11.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pname}-${version}.tar.bz2";
|
||||
sha256 = "sha256-5XRPI8VN0Vs/eDpoe9h57uKmkKRUWhW0nEzwN6pGSqI=";
|
||||
url = "https://kokkinizita.linuxaudio.org/linuxaudio/downloads/zita-resampler-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-qlxU5pYGmvJvPx/tSpYxE8wSN83f1XrlhCq8sazVSSw=";
|
||||
};
|
||||
|
||||
makeFlags = [
|
||||
@ -21,24 +21,17 @@ stdenv.mkDerivation rec {
|
||||
postPatch =
|
||||
''
|
||||
cd source
|
||||
substituteInPlace Makefile \
|
||||
--replace 'ldconfig' ""
|
||||
''
|
||||
+ lib.optionalString (!stdenv.hostPlatform.isx86_64) ''
|
||||
substituteInPlace Makefile \
|
||||
--replace '-DENABLE_SSE2' ""
|
||||
--replace-fail '-DENABLE_SSE2' ""
|
||||
'';
|
||||
|
||||
fixupPhase = ''
|
||||
ln -s $out/lib/libzita-resampler.so.$version $out/lib/libzita-resampler.so.1
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Resample library by Fons Adriaensen";
|
||||
version = version;
|
||||
homepage = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/index.html";
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = [ lib.maintainers.magnetophon ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user