diff --git a/pkgs/applications/maui/booth.nix b/pkgs/applications/maui/booth.nix new file mode 100644 index 00000000000..0f753832ad1 --- /dev/null +++ b/pkgs/applications/maui/booth.nix @@ -0,0 +1,52 @@ +{ lib +, mkDerivation +, cmake +, extra-cmake-modules +, kcoreaddons +, ki18n +, kirigami2 +, mauikit +, mauikit-filebrowsing +, qtgraphicaleffects +, qtmultimedia +, qtquickcontrols2 +, gst_all_1 +}: + +mkDerivation { + pname = "booth"; + + nativeBuildInputs = [ + cmake + extra-cmake-modules + ]; + + buildInputs = [ + kcoreaddons + ki18n + kirigami2 + mauikit + mauikit-filebrowsing + 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 ]; + }; +} diff --git a/pkgs/applications/maui/default.nix b/pkgs/applications/maui/default.nix index 9a241d17787..edb6837deaa 100644 --- a/pkgs/applications/maui/default.nix +++ b/pkgs/applications/maui/default.nix @@ -70,6 +70,7 @@ let mauiman = callPackage ./mauiman.nix { }; # applications + booth = callPackage ./booth.nix { }; buho = callPackage ./buho.nix { }; clip = callPackage ./clip.nix { }; communicator = callPackage ./communicator.nix { };