cctv-viewer: init at 0.1.9-unstable-2025-06-13 (#433424)

This commit is contained in:
Wolfgang Walther
2025-08-16 08:26:29 +00:00
committed by GitHub
2 changed files with 70 additions and 0 deletions
+6
View File
@@ -25024,6 +25024,12 @@
matrix = "@tensor5:matrix.org";
name = "Nicola Squartini";
};
teohz = {
email = "gitstuff@teohz.com";
github = "teohz";
githubId = 77596774;
name = "Teohz";
};
teozkr = {
email = "teo@nullable.se";
github = "nightkr";
+64
View File
@@ -0,0 +1,64 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
pkg-config,
qt5,
ffmpeg,
gtest,
libva,
}:
stdenv.mkDerivation {
pname = "cctv-viewer";
version = "0.1.9-unstable-2025-06-13";
src = fetchFromGitHub {
owner = "iEvgeny";
repo = "cctv-viewer";
rev = "8a8fff2612ae2123b8be156c954a29706383b480";
hash = "sha256-Euw9S+iONAEENkFwo169x/+pcyeTXLe8wb70KKjv3bE=";
fetchSubmodules = true;
};
cmakeFlags = [
"-DBUILD_TESTS=OFF"
];
nativeBuildInputs = [
cmake
pkg-config
qt5.wrapQtAppsHook
qt5.qttools
gtest
];
buildInputs = [
qt5.qtbase
qt5.qtquickcontrols2
qt5.qtsvg
qt5.qtmultimedia
qt5.qtgraphicaleffects
ffmpeg
libva
];
installPhase = ''
runHook preInstall
install -D cctv-viewer --target-directory=$out/bin
install -Dm644 $src/cctv-viewer.desktop --target-directory=$out/share/applications
install -Dm644 $src/images/cctv-viewer.svg --target-directory=$out/share/icons/hicolor/scalable/apps
runHook postInstall
'';
meta = {
description = "Viewer and mounter for video streams";
homepage = "https://cctv-viewer.org";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ teohz ];
platforms = lib.platforms.linux;
};
}