From fe667695f5ac6c61412f73f8c073397cb31fd829 Mon Sep 17 00:00:00 2001 From: Alex James Date: Thu, 28 Nov 2024 01:55:37 -0600 Subject: [PATCH 1/4] =?UTF-8?q?vapoursynth-bestsource:=206=20=E2=86=92=201?= =?UTF-8?q?1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changelog: https://github.com/vapoursynth/bestsource/releases/tag/R11 --- pkgs/by-name/va/vapoursynth-bestsource/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/va/vapoursynth-bestsource/package.nix b/pkgs/by-name/va/vapoursynth-bestsource/package.nix index 843baf11eaa2..db4623d88ff0 100644 --- a/pkgs/by-name/va/vapoursynth-bestsource/package.nix +++ b/pkgs/by-name/va/vapoursynth-bestsource/package.nix @@ -13,7 +13,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "vapoursynth-bestsource"; - version = "6"; + version = "11"; outputs = [ "out" @@ -25,7 +25,7 @@ stdenv.mkDerivation (finalAttrs: { owner = "vapoursynth"; repo = "bestsource"; tag = "R${finalAttrs.version}"; - hash = "sha256-ICkdIomlkHUdK6kMeui45fvUn4OMxSrP8svB2IN+GCg="; + hash = "sha256-/hRjo7MQhm/ANUC38p9btOO5ek4Q6IaeKtcSbTzD3BQ="; }; nativeBuildInputs = [ From 3d81d6ba8d997e318e7df02e55e2653d1639b1f9 Mon Sep 17 00:00:00 2001 From: Alex James Date: Thu, 28 Nov 2024 01:59:39 -0600 Subject: [PATCH 2/4] vapoursynth-bestsource: remove cmake from `buildInputs` This doesn't seem to be needed for the build to succeed. --- pkgs/by-name/va/vapoursynth-bestsource/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/va/vapoursynth-bestsource/package.nix b/pkgs/by-name/va/vapoursynth-bestsource/package.nix index db4623d88ff0..2a79c16d77ef 100644 --- a/pkgs/by-name/va/vapoursynth-bestsource/package.nix +++ b/pkgs/by-name/va/vapoursynth-bestsource/package.nix @@ -4,7 +4,6 @@ fetchFromGitHub, meson, ninja, - cmake, pkg-config, vapoursynth, ffmpeg, @@ -31,7 +30,6 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ meson ninja - cmake pkg-config ]; From 635d6d7a4a3d91ab9189a2f9f9d46f4e099675ab Mon Sep 17 00:00:00 2001 From: Alex James Date: Sun, 19 Jan 2025 22:46:55 -0600 Subject: [PATCH 3/4] vapoursynth-bestsource: depend on ffmpeg with Little CMS2 support https://github.com/vapoursynth/bestsource?tab=readme-ov-file#known-issues-and-limitations --- pkgs/by-name/va/vapoursynth-bestsource/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/va/vapoursynth-bestsource/package.nix b/pkgs/by-name/va/vapoursynth-bestsource/package.nix index 2a79c16d77ef..a2bdd21365d4 100644 --- a/pkgs/by-name/va/vapoursynth-bestsource/package.nix +++ b/pkgs/by-name/va/vapoursynth-bestsource/package.nix @@ -35,7 +35,7 @@ stdenv.mkDerivation (finalAttrs: { buildInputs = [ vapoursynth - ffmpeg + (ffmpeg.override { withLcms2 = true; }) xxHash ]; From 7256dc7bc3ddd09328df073ccb432528633ae9bb Mon Sep 17 00:00:00 2001 From: Alex James Date: Sun, 18 May 2025 17:09:11 -0500 Subject: [PATCH 4/4] vapoursynth-bestsource: set `passthru.updateScript` --- pkgs/by-name/va/vapoursynth-bestsource/package.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/by-name/va/vapoursynth-bestsource/package.nix b/pkgs/by-name/va/vapoursynth-bestsource/package.nix index a2bdd21365d4..965f7aa071a3 100644 --- a/pkgs/by-name/va/vapoursynth-bestsource/package.nix +++ b/pkgs/by-name/va/vapoursynth-bestsource/package.nix @@ -8,6 +8,7 @@ vapoursynth, ffmpeg, xxHash, + gitUpdater, }: stdenv.mkDerivation (finalAttrs: { @@ -44,6 +45,11 @@ stdenv.mkDerivation (finalAttrs: { --replace-fail "vapoursynth_dep.get_variable(pkgconfig: 'libdir')" "get_option('libdir')" ''; + passthru.updateScript = gitUpdater { + rev-prefix = "R"; + ignoredVersions = "*-RC*"; + }; + meta = { description = "Wrapper library around FFmpeg that ensures sample and frame accurate access to audio and video"; homepage = "https://github.com/vapoursynth/bestsource";