yuview: init at 2.12.1

LeixB 52221374 05c062a1

+63
+45
pkgs/applications/video/yuview/default.nix
···
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , qmake 5 + , wrapQtAppsHook 6 + }: 7 + 8 + stdenv.mkDerivation rec { 9 + pname = "yuview"; 10 + version = "2.12.1"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "IENT"; 14 + repo = "YUView"; 15 + rev = "v${version}"; 16 + sha256 = "sha256-BQnlq6TBxGbwqn6lAZGBo4+2HeXdFYL33LKqKSXMvdY="; 17 + }; 18 + 19 + nativeBuildInputs = [ qmake wrapQtAppsHook ]; 20 + 21 + patches = [ ./disable_version_check.patch ]; 22 + 23 + enableParallelBuilding = true; 24 + 25 + meta = with lib; { 26 + homepage = "https://ient.github.io/YUView"; 27 + description = "YUV Viewer and Analysis Tool"; 28 + longDescription = '' 29 + YUView is a Qt based YUV player with an advanced analytic toolset for 30 + Linux, Windows and Mac. At its core, YUView is a powerful YUV player that 31 + can open and show almost any YUV format. With its simple interface it is 32 + easy to navigate through sequences and inspect details and a side by side 33 + and comparison view can help to spot differences between two sequences. A 34 + sophisticated statistics renderer can overlay the video with supplemental 35 + information. More features include playlists, support for visual tests and 36 + presentations, support of compressed formats (through libde265 and 37 + FFmpeg), support for raw RGB files as well as image files and image 38 + sequences, and many more. Further information can be found in the YUV help 39 + in the application itself or in our wiki. 40 + ''; 41 + license = licenses.gpl3Plus; 42 + maintainers = with maintainers; [ leixb ]; 43 + platforms = platforms.unix; 44 + }; 45 + }
+15
pkgs/applications/video/yuview/disable_version_check.patch
···
··· 1 + diff --git a/YUViewLib/src/common/Typedef.h b/YUViewLib/src/common/Typedef.h 2 + --- a/YUViewLib/src/common/Typedef.h 3 + +++ b/YUViewLib/src/common/Typedef.h 4 + @@ -212,12 +212,7 @@ private: 5 + #define YUVIEW_VERSION "Unknown" 6 + #endif 7 + 8 + -#ifndef YUVIEW_HASH 9 + #define VERSION_CHECK 0 10 + -#define YUVIEW_HASH 0 11 + -#else 12 + -#define VERSION_CHECK 1 13 + -#endif 14 + 15 + #define MAX_RECENT_FILES 10
+2
pkgs/top-level/all-packages.nix
··· 30181 30182 ytmdl = callPackage ../tools/misc/ytmdl { }; 30183 30184 zam-plugins = callPackage ../applications/audio/zam-plugins { }; 30185 30186 zammad = callPackage ../applications/networking/misc/zammad { };
··· 30181 30182 ytmdl = callPackage ../tools/misc/ytmdl { }; 30183 30184 + yuview = libsForQt5.yuview; 30185 + 30186 zam-plugins = callPackage ../applications/audio/zam-plugins { }; 30187 30188 zammad = callPackage ../applications/networking/misc/zammad { };
+1
pkgs/top-level/qt5-packages.nix
··· 226 227 soundkonverter = callPackage ../applications/audio/soundkonverter {}; 228 229 })))
··· 226 227 soundkonverter = callPackage ../applications/audio/soundkonverter {}; 228 229 + yuview = callPackage ../applications/video/yuview { }; 230 })))