ea9e8f8344
Otherwise it fails to launch with qrc:/views/CameraPage.qml:15:1: module "org.kde.prison.scanner" is not installed
54 lines
898 B
Nix
54 lines
898 B
Nix
{ lib
|
|
, mkDerivation
|
|
, cmake
|
|
, extra-cmake-modules
|
|
, kcoreaddons
|
|
, ki18n
|
|
, kirigami2
|
|
, mauikit
|
|
, mauikit-filebrowsing
|
|
, prison
|
|
, qtgraphicaleffects
|
|
, qtmultimedia
|
|
, qtquickcontrols2
|
|
, gst_all_1
|
|
}:
|
|
|
|
mkDerivation {
|
|
pname = "booth";
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
extra-cmake-modules
|
|
];
|
|
|
|
buildInputs = [
|
|
kcoreaddons
|
|
ki18n
|
|
kirigami2
|
|
mauikit
|
|
mauikit-filebrowsing
|
|
prison
|
|
qtgraphicaleffects
|
|
qtmultimedia
|
|
qtquickcontrols2
|
|
] ++ (with gst_all_1; [
|
|
gst-plugins-bad
|
|
gst-plugins-base
|
|
gst-plugins-good
|
|
gstreamer
|
|
]);
|
|
|
|
preFixup = ''
|
|
qtWrapperArgs+=(
|
|
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
|
|
)
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Camera application";
|
|
homepage = "https://invent.kde.org/maui/booth";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ milahu ];
|
|
};
|
|
}
|