mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 04:31:52 +00:00
yuview: init at 2.12.1
This commit is contained in:
parent
05c062a1c6
commit
52221374e5
45
pkgs/applications/video/yuview/default.nix
Normal file
45
pkgs/applications/video/yuview/default.nix
Normal file
|
@ -0,0 +1,45 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, qmake
|
||||
, wrapQtAppsHook
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "yuview";
|
||||
version = "2.12.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "IENT";
|
||||
repo = "YUView";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-BQnlq6TBxGbwqn6lAZGBo4+2HeXdFYL33LKqKSXMvdY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ qmake wrapQtAppsHook ];
|
||||
|
||||
patches = [ ./disable_version_check.patch ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://ient.github.io/YUView";
|
||||
description = "YUV Viewer and Analysis Tool";
|
||||
longDescription = ''
|
||||
YUView is a Qt based YUV player with an advanced analytic toolset for
|
||||
Linux, Windows and Mac. At its core, YUView is a powerful YUV player that
|
||||
can open and show almost any YUV format. With its simple interface it is
|
||||
easy to navigate through sequences and inspect details and a side by side
|
||||
and comparison view can help to spot differences between two sequences. A
|
||||
sophisticated statistics renderer can overlay the video with supplemental
|
||||
information. More features include playlists, support for visual tests and
|
||||
presentations, support of compressed formats (through libde265 and
|
||||
FFmpeg), support for raw RGB files as well as image files and image
|
||||
sequences, and many more. Further information can be found in the YUV help
|
||||
in the application itself or in our wiki.
|
||||
'';
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ leixb ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
15
pkgs/applications/video/yuview/disable_version_check.patch
Normal file
15
pkgs/applications/video/yuview/disable_version_check.patch
Normal file
|
@ -0,0 +1,15 @@
|
|||
diff --git a/YUViewLib/src/common/Typedef.h b/YUViewLib/src/common/Typedef.h
|
||||
--- a/YUViewLib/src/common/Typedef.h
|
||||
+++ b/YUViewLib/src/common/Typedef.h
|
||||
@@ -212,12 +212,7 @@ private:
|
||||
#define YUVIEW_VERSION "Unknown"
|
||||
#endif
|
||||
|
||||
-#ifndef YUVIEW_HASH
|
||||
#define VERSION_CHECK 0
|
||||
-#define YUVIEW_HASH 0
|
||||
-#else
|
||||
-#define VERSION_CHECK 1
|
||||
-#endif
|
||||
|
||||
#define MAX_RECENT_FILES 10
|
|
@ -30181,6 +30181,8 @@ with pkgs;
|
|||
|
||||
ytmdl = callPackage ../tools/misc/ytmdl { };
|
||||
|
||||
yuview = libsForQt5.yuview;
|
||||
|
||||
zam-plugins = callPackage ../applications/audio/zam-plugins { };
|
||||
|
||||
zammad = callPackage ../applications/networking/misc/zammad { };
|
||||
|
|
|
@ -226,4 +226,5 @@ in (kdeFrameworks // plasmaMobileGear // plasma5 // plasma5.thirdParty // kdeGea
|
|||
|
||||
soundkonverter = callPackage ../applications/audio/soundkonverter {};
|
||||
|
||||
yuview = callPackage ../applications/video/yuview { };
|
||||
})))
|
||||
|
|
Loading…
Reference in a new issue