mhwaveedit: fix mp3 support, closes #11203
This commit is contained in:
parent
ac40e749c8
commit
712d9f1e76
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, fetchurl, SDL , alsaLib, gtk, libjack2, ladspaH
|
{ stdenv, fetchurl, makeWrapper, SDL , alsaLib, gtk, libjack2, ladspaH
|
||||||
, ladspaPlugins, libsamplerate, libsndfile, pkgconfig, libpulseaudio }:
|
, ladspaPlugins, libsamplerate, libsndfile, pkgconfig, libpulseaudio, lame }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "mhwaveedit-${version}";
|
name = "mhwaveedit-${version}";
|
||||||
|
@ -10,15 +10,18 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "010rk4mr631s440q9cfgdxx2avgzysr9aq52diwdlbq9cddifli3";
|
sha256 = "010rk4mr631s440q9cfgdxx2avgzysr9aq52diwdlbq9cddifli3";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
buildInputs = [ SDL alsaLib gtk libjack2 ladspaH libsamplerate libsndfile
|
||||||
[ SDL alsaLib gtk libjack2 ladspaH libsamplerate libsndfile
|
pkgconfig libpulseaudio makeWrapper ];
|
||||||
pkgconfig libpulseaudio
|
|
||||||
];
|
|
||||||
|
|
||||||
configureFlags = "--with-default-ladspa-path=${ladspaPlugins}/lib/ladspa";
|
configureFlags = "--with-default-ladspa-path=${ladspaPlugins}/lib/ladspa";
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram $out/bin/mhwaveedit \
|
||||||
|
--prefix PATH : ${lame}/bin/
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "graphical program for editing, playing and recording sound files";
|
description = "Graphical program for editing, playing and recording sound files";
|
||||||
homepage = https://gna.org/projects/mhwaveedit;
|
homepage = https://gna.org/projects/mhwaveedit;
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
|
|
Loading…
Reference in New Issue