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