gnaural: reinit at 20110606

http://gnaural.sourceforge.net/
This commit is contained in:
Emery Hemingway 2021-05-26 18:59:26 +02:00 committed by ehmry
parent 564f9b1da4
commit bd683bb1ef
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ lib, stdenv, fetchurl, pkg-config, libsndfile, portaudio, gtk2 }:
stdenv.mkDerivation rec {
pname = "gnaural";
version = "20110606";
src = fetchurl {
url = "mirror://sourceforge/${pname}/${pname}_${version}.tar.xz";
hash = "sha256-0a09DUMfHEIGYuIYSBGJalBiIHIgejr/KVDXCFgKBb8=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gtk2 libsndfile portaudio ];
postInstall = ''
mkdir -p $out/share/applications
substitute \
$out/share/gnome/apps/Multimedia/gnaural.desktop \
$out/share/applications/gnaural.desktop \
--replace \
"/usr/share/gnaural/pixmaps/gnaural-icon.png" \
"$out/share/gnaural/pixmaps/gnaural-icon.png" \
rm -rf $out/share/gnome
'';
meta = with lib; {
description = "Programmable auditory binaural-beat synthesizer";
homepage = "http://gnaural.sourceforge.net/";
maintainers = with maintainers; [ ehmry ];
license = with licenses; [ gpl2Only ];
};
}

View file

@ -24016,6 +24016,8 @@ in
gmu = callPackage ../applications/audio/gmu { };
gnaural = callPackage ../applications/audio/gnaural { };
gnome_mplayer = callPackage ../applications/video/gnome-mplayer { };
gnumeric = callPackage ../applications/office/gnumeric { };