3
0
Fork 0
forked from mirrors/nixpkgs

k3b: fix audio cd ripping

This commit is contained in:
Pascal Wittmann 2014-12-14 16:07:37 +01:00
parent 3d74b38101
commit db44486377

View file

@ -1,6 +1,6 @@
{ stdenv, fetchurl, cmake, qt4, perl, shared_mime_info, libvorbis, taglib
{ stdenv, fetchurl, makeWrapper, cmake, qt4, perl, shared_mime_info, libvorbis, taglib
, flac, libsamplerate, libdvdread, lame, libsndfile, libmad, gettext
, transcode, cdrdao, dvdplusrwtools, vcdimager
, transcode, cdrdao, dvdplusrwtools, vcdimager, cdparanoia
, kdelibs, kdemultimedia, automoc4, phonon, libkcddb ? null
}:
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
flac libsamplerate libdvdread lame libsndfile
libmad gettext stdenv.gcc.libc
kdelibs kdemultimedia automoc4 phonon
libkcddb
libkcddb makeWrapper cdparanoia
];
enableParallelBuilding = true;
@ -26,6 +26,11 @@ stdenv.mkDerivation rec {
# eMovix, growisofs, mkisofs, normalize, readcd, transcode, vcdxbuild,
# vcdxminfo, and vcdxrip
propagatedUserEnvPkgs = [ transcode dvdplusrwtools cdrdao vcdimager ];
postInstall = ''
wrapProgram $out/bin/k3b \
--prefix LD_LIBRARY_PATH ":" "${cdparanoia}/lib"
'';
meta = with stdenv.lib; {
description = "CD/DVD Burning Application for KDE";