svp: 4.5.210-2 -> 4.6.263 (#344152)

This commit is contained in:
Peder Bergebakken Sundt 2024-09-25 10:30:51 +02:00 committed by GitHub
commit 23ac40eb6f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 46 additions and 31 deletions

View File

@ -1,7 +1,7 @@
{ lib
, mpv-unwrapped
, ocl-icd
, ...
{
lib,
mpv-unwrapped,
ocl-icd,
}:
mpv-unwrapped.wrapper {

View File

@ -1,25 +1,26 @@
{ stdenv
, buildFHSEnv
, writeShellScriptBin
, fetchurl
, callPackage
, makeDesktopItem
, copyDesktopItems
, ffmpeg
, glibc
, jq
, lib
, libmediainfo
, libsForQt5
, libusb1
, ocl-icd
, p7zip
, patchelf
, socat
, vapoursynth
, xdg-utils
, xorg
, zenity
{
stdenv,
buildFHSEnv,
writeShellScriptBin,
fetchurl,
callPackage,
makeDesktopItem,
copyDesktopItems,
ffmpeg,
glibc,
jq,
lib,
libmediainfo,
libsForQt5,
libusb1,
ocl-icd,
p7zip,
patchelf,
socat,
vapoursynth,
xdg-utils,
xorg,
zenity,
}:
let
mpvForSVP = callPackage ./mpv.nix { };
@ -60,13 +61,16 @@ let
svp-dist = stdenv.mkDerivation rec {
pname = "svp-dist";
version = "4.5.210-2";
version = "4.6.263";
src = fetchurl {
url = "https://www.svp-team.com/files/svp4-linux.${version}.tar.bz2";
hash = "sha256-dY9uQ9jzTHiN2XSnOrXtHD11IIJW6t9BUzGGQFfZ+yg=";
sha256 = "sha256-HyRDVFHVmTan/Si3QjGQpC3za30way10d0Hk79oXG98=";
};
nativeBuildInputs = [ p7zip patchelf ];
nativeBuildInputs = [
p7zip
patchelf
];
dontFixup = true;
unpackPhase = ''
@ -129,14 +133,25 @@ stdenv.mkDerivation {
desktopName = "SVP 4 Linux";
genericName = "Real time frame interpolation";
icon = "svp-manager4";
categories = [ "AudioVideo" "Player" "Video" ];
mimeTypes = [ "video/x-msvideo" "video/x-matroska" "video/webm" "video/mpeg" "video/mp4" ];
categories = [
"AudioVideo"
"Player"
"Video"
];
mimeTypes = [
"video/x-msvideo"
"video/x-matroska"
"video/webm"
"video/mpeg"
"video/mp4"
];
terminal = false;
startupNotify = true;
})
];
meta = with lib; {
mainProgram = "SVPManager";
description = "SmoothVideo Project 4 (SVP4) converts any video to 60 fps (and even higher) and performs this in real time right in your favorite video player";
homepage = "https://www.svp-team.com/wiki/SVP:Linux";
platforms = [ "x86_64-linux" ];