2016-04-21 18:00:51 +02:00
|
|
|
name: args:
|
|
|
|
|
2017-02-26 13:49:15 +01:00
|
|
|
{ kdeApp, cmake, extra-cmake-modules, gettext, kdoctools }:
|
2016-04-21 18:00:51 +02:00
|
|
|
|
|
|
|
kdeApp (args // {
|
|
|
|
sname = "kde-l10n-${name}";
|
|
|
|
name = "kde-l10n-${name}-qt5";
|
|
|
|
|
|
|
|
outputs = [ "out" ];
|
|
|
|
|
|
|
|
nativeBuildInputs =
|
2017-02-26 13:49:15 +01:00
|
|
|
[ cmake extra-cmake-modules gettext kdoctools ]
|
2016-04-21 18:00:51 +02:00
|
|
|
++ (args.nativeBuildInputs or []);
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
sed -e 's/add_subdirectory(4)//' -i CMakeLists.txt
|
|
|
|
${args.preConfigure or ""}
|
|
|
|
'';
|
|
|
|
|
|
|
|
preFixup = ''
|
|
|
|
propagatedBuildInputs=
|
|
|
|
propagatedNativeBuildInputs=
|
|
|
|
'';
|
|
|
|
})
|