mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
42 lines
862 B
Nix
42 lines
862 B
Nix
{ mkDerivation
|
|
, lib
|
|
, extra-cmake-modules
|
|
, kdoctools
|
|
, wrapQtAppsHook
|
|
, qtdeclarative
|
|
, qtgraphicaleffects
|
|
, qtquickcontrols2
|
|
, kirigami2
|
|
, kpurpose
|
|
, gst_all_1
|
|
, pcre
|
|
}:
|
|
|
|
let
|
|
gst = with gst_all_1; [ gstreamer gst-libav gst-plugins-base gst-plugins-good gst-plugins-bad ];
|
|
|
|
in
|
|
mkDerivation {
|
|
pname = "kamoso";
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapQtAppsHook ];
|
|
buildInputs = [ pcre ] ++ gst;
|
|
propagatedBuildInputs = [
|
|
qtdeclarative
|
|
qtgraphicaleffects
|
|
qtquickcontrols2
|
|
kirigami2
|
|
kpurpose
|
|
];
|
|
|
|
cmakeFlags = [
|
|
"-DOpenGL_GL_PREFERENCE=GLVND"
|
|
"-DGSTREAMER_VIDEO_INCLUDE_DIR=${gst_all_1.gst-plugins-base.dev}/include/gstreamer-1.0"
|
|
];
|
|
|
|
qtWrapperArgs = [
|
|
"--prefix GST_PLUGIN_PATH : ${lib.makeSearchPath "lib/gstreamer-1.0" gst}"
|
|
];
|
|
|
|
meta.license = with lib.licenses; [ lgpl21Only gpl3Only ];
|
|
}
|