2017-01-31 19:12:15 +01:00
|
|
|
{
|
|
|
|
kdeApp, lib, kdeWrapper,
|
2017-02-26 13:49:15 +01:00
|
|
|
extra-cmake-modules, kdoctools,
|
2017-01-31 19:12:15 +01:00
|
|
|
kglobalaccel, kxmlgui, kcoreaddons, kdelibs4support,
|
|
|
|
plasma-framework, libpulseaudio, alsaLib, libcanberra_kde
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
unwrapped =
|
|
|
|
kdeApp {
|
|
|
|
name = "kmix";
|
|
|
|
meta = {
|
|
|
|
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ];
|
|
|
|
maintainers = [ lib.maintainers.rongcuid ];
|
|
|
|
};
|
2017-02-26 13:49:15 +01:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
2017-01-31 19:12:15 +01:00
|
|
|
buildInputs = [ libpulseaudio alsaLib libcanberra_kde ];
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
kglobalaccel kxmlgui kcoreaddons kdelibs4support
|
|
|
|
plasma-framework
|
|
|
|
];
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DKMIX_KF5_BUILD=1"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
in
|
|
|
|
kdeWrapper {
|
|
|
|
inherit unwrapped;
|
|
|
|
targets = [ "bin/kmix" ];
|
|
|
|
}
|