mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
qctools: init at 1.3.1
This commit is contained in:
parent
830a7417cc
commit
05b064b5de
40
pkgs/applications/video/qctools/default.nix
Normal file
40
pkgs/applications/video/qctools/default.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{ lib, stdenv, fetchurl, qmake, wrapQtAppsHook, ffmpeg, qtmultimedia, qwt }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "qctools";
|
||||
version = "1.3.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://mediaarea.net/download/source/${pname}/${version}/${pname}_${version}.tar.xz";
|
||||
hash = "sha256-ClF8KiVjV2JTCjz/ueioojhiHZf8UW9WONaJrIx4Npo=";
|
||||
};
|
||||
|
||||
sourceRoot = "${pname}/Project/QtCreator";
|
||||
|
||||
nativeBuildInputs = [ qmake wrapQtAppsHook ];
|
||||
|
||||
buildInputs = [ ffmpeg qtmultimedia qwt ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dt $out/bin qctools-cli/qcli qctools-gui/QCTools
|
||||
cd ../GNU/GUI
|
||||
install -Dm644 qctools.desktop $out/share/applications/qctools.desktop
|
||||
install -Dm644 qctools.metainfo.xml $out/share/metainfo/qctools.metainfo.xml
|
||||
cd ../../../Source/Resource
|
||||
install -Dm 0644 Logo.png $out/share/icons/hicolor/256x256/apps/qctools.png
|
||||
install -Dm 0644 Logo.png $out/share/pixmaps/qctools.png
|
||||
cd ../../Project/QtCreator
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Audiovisual analytics and filtering of video files";
|
||||
homepage = "https://mediaarea.net/QCTools";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ orivej ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -34690,6 +34690,8 @@ with pkgs;
|
||||
|
||||
qcomicbook = libsForQt5.callPackage ../applications/graphics/qcomicbook { };
|
||||
|
||||
qctools = libsForQt5.callPackage ../applications/video/qctools { };
|
||||
|
||||
qelectrotech = libsForQt5.callPackage ../applications/misc/qelectrotech { };
|
||||
|
||||
eiskaltdcpp = libsForQt5.callPackage ../applications/networking/p2p/eiskaltdcpp { };
|
||||
|
Loading…
Reference in New Issue
Block a user