praat: 6.4.48 -> 6.4.62, use strictDeps (#487512)
This commit is contained in:
@@ -7,28 +7,34 @@
|
||||
pkg-config,
|
||||
stdenv,
|
||||
wrapGAppsHook3,
|
||||
libjack2,
|
||||
iconConvTools,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "praat";
|
||||
version = "6.4.48";
|
||||
version = "6.4.62";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "praat";
|
||||
repo = "praat.github.io";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-OxogOY86SclLMv+Tp4skXIuz9RrWdNGY7oGhySJ9scI=";
|
||||
hash = "sha256-AyjCbTKPj3OemJCr3aTAtQhwnXFTA/EGcbBwARMIiWU=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
wrapGAppsHook3
|
||||
iconConvTools
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
alsa-lib
|
||||
gtk3
|
||||
libpulseaudio
|
||||
libjack2
|
||||
];
|
||||
|
||||
makeFlags = [
|
||||
@@ -38,7 +44,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
|
||||
cp makefiles/makefile.defs.linux.pulse-gcc makefile.defs
|
||||
cp makefiles/makefile.defs.linux.pulse-gcc.${
|
||||
if stdenv.hostPlatform.isLittleEndian then "LE" else "BE"
|
||||
} makefile.defs
|
||||
|
||||
runHook postConfigure
|
||||
'';
|
||||
@@ -48,9 +56,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
install -Dt $out/bin praat
|
||||
install -Dm444 main/praat.desktop -t $out/share/applications
|
||||
install -Dm444 main/praat-32.ico $out/share/icons/hicolor/32x32/apps/praat.ico
|
||||
install -Dm444 main/praat-256.ico $out/share/icons/hicolor/256x256/apps/praat.ico
|
||||
install -Dm444 main/praat-480.png $out/share/icons/hicolor/480x480/apps/praat.png
|
||||
icoFileToHiColorTheme main/praat.ico praat $out
|
||||
install -Dm444 main/praat-480.svg $out/share/icons/hicolor/scalable/apps/praat.svg
|
||||
|
||||
runHook postInstall
|
||||
|
||||
Reference in New Issue
Block a user