2015-11-22 14:49:21 +01:00
|
|
|
{ stdenv, fetchurl, makeWrapper, SDL , alsaLib, gtk, libjack2, ladspaH
|
|
|
|
, ladspaPlugins, libsamplerate, libsndfile, pkgconfig, libpulseaudio, lame }:
|
2012-03-24 19:59:26 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "mhwaveedit-${version}";
|
2013-12-21 03:05:17 +01:00
|
|
|
version = "1.4.23";
|
2012-03-24 19:59:26 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.gna.org/mhwaveedit/${name}.tar.bz2";
|
2013-12-21 03:05:17 +01:00
|
|
|
sha256 = "010rk4mr631s440q9cfgdxx2avgzysr9aq52diwdlbq9cddifli3";
|
2012-03-24 19:59:26 +01:00
|
|
|
};
|
|
|
|
|
2015-11-22 14:49:21 +01:00
|
|
|
buildInputs = [ SDL alsaLib gtk libjack2 ladspaH libsamplerate libsndfile
|
|
|
|
pkgconfig libpulseaudio makeWrapper ];
|
2012-03-24 19:59:26 +01:00
|
|
|
|
|
|
|
configureFlags = "--with-default-ladspa-path=${ladspaPlugins}/lib/ladspa";
|
|
|
|
|
2015-11-22 14:49:21 +01:00
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/mhwaveedit \
|
|
|
|
--prefix PATH : ${lame}/bin/
|
|
|
|
'';
|
|
|
|
|
2012-03-24 19:59:26 +01:00
|
|
|
meta = with stdenv.lib; {
|
2015-11-22 14:49:21 +01:00
|
|
|
description = "Graphical program for editing, playing and recording sound files";
|
2012-03-24 19:59:26 +01:00
|
|
|
homepage = https://gna.org/projects/mhwaveedit;
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
};
|
|
|
|
}
|