From 97d1c952c8397895390b42148b2ba4c59faa71fc Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Fri, 22 Jan 2021 15:11:49 +0100 Subject: [PATCH] vapoursynthPlugins.beziercurve: r2 -> r3 This also switches to meson as the build system. --- plugins/beziercurve/default.nix | 29 +++++------------------------ 1 file changed, 5 insertions(+), 24 deletions(-) diff --git a/plugins/beziercurve/default.nix b/plugins/beziercurve/default.nix index 02b5938..6230fce 100644 --- a/plugins/beziercurve/default.nix +++ b/plugins/beziercurve/default.nix @@ -1,38 +1,19 @@ -{ stdenv, fetchFromGitHub, vapoursynth }: +{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, vapoursynth }: -let - ext = stdenv.targetPlatform.extensions.sharedLibrary; -in stdenv.mkDerivation rec { +stdenv.mkDerivation rec { pname = "vapoursynth-beziercurve"; - version = "r2"; + version = "r3"; src = fetchFromGitHub { owner = "kewenyu"; repo = "VapourSynth-BezierCurve"; rev = version; - sha256 = "0c96gqa3f2wrm2d22q9qwqq3mk8jir7dl4chxqb2kpcjv4wh3xjg"; + sha256 = "1513ndj7sxwihyxx6x9ciyd8jhw9vs6lhzw7fpl7cz7fdj49wwi6"; }; + nativeBuildInputs = [ meson ninja pkg-config ]; buildInputs = [ vapoursynth ]; - patchPhase = '' - substituteInPlace VapourSynth-BezierCurve/BezierCurve.h \ - --replace '