Remove kdeWrapper

This commit is contained in:
Thomas Tuegel
2017-06-18 08:43:39 -05:00
parent 945758f960
commit be7b7d908f
44 changed files with 665 additions and 987 deletions
+31 -32
View File
@@ -1,4 +1,4 @@
{ mkDerivation, lib, kdeWrapper, extra-cmake-modules
{ mkDerivation, lib, wrapGAppsHook, extra-cmake-modules
, qtwebkit
, libkcddb, kcmutils, kdoctools, kfilemetadata, knewstuff, knotifyconfig, solid, kxmlgui
, flac, lame, libmad, libmpcdec, libvorbis
@@ -7,35 +7,34 @@
, ffmpeg, libmusicbrainz2, normalize, sox, transcode
}:
let
unwrapped =
mkDerivation {
name = "k3b";
meta = with lib; {
license = with licenses; [ gpl2Plus ];
maintainers = with maintainers; [ sander phreedom ];
platforms = platforms.linux;
};
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
propagatedBuildInputs = [
# qt
qtwebkit
# kde
libkcddb kcmutils kfilemetadata knewstuff knotifyconfig solid kxmlgui
# formats
flac lame libmad libmpcdec libvorbis
# sound utilities
libsamplerate libsndfile taglib
# cd/dvd
cdparanoia libdvdcss libdvdread
# others
ffmpeg libmusicbrainz2
];
enableParallelBuilding = true;
};
in kdeWrapper {
inherit unwrapped;
targets = [ "bin/k3b" ];
paths = [ cdrdao cdrtools dvdplusrwtools libburn normalize sox transcode vcdimager ];
mkDerivation {
name = "k3b";
meta = with lib; {
license = with licenses; [ gpl2Plus ];
maintainers = with maintainers; [ sander phreedom ];
platforms = platforms.linux;
};
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
propagatedBuildInputs = [
# qt
qtwebkit
# kde
libkcddb kcmutils kfilemetadata knewstuff knotifyconfig solid kxmlgui
# formats
flac lame libmad libmpcdec libvorbis
# sound utilities
libsamplerate libsndfile taglib
# cd/dvd
cdparanoia libdvdcss libdvdread
# others
ffmpeg libmusicbrainz2
];
preFixup =
let k3bPath = lib.makeBinPath [
cdrdao cdrtools dvdplusrwtools libburn normalize sox transcode
vcdimager
];
in ''
gappsWrapperArgs+=(--prefix PATH : "${k3bPath}")
'';
}