vapoursynthPlugins.akarin: init at 0.94

pull/10/head
sshiroi 2022-09-08 10:11:45 +00:00
parent aafbba855e
commit b6963edee0
2 changed files with 30 additions and 0 deletions

View File

@ -9,6 +9,7 @@ let
in
{
vapoursynthPlugins = prev.recurseIntoAttrs {
akarin = prev.callPackage ./plugins/akarin { };
adaptivegrain = prev.callPackage ./plugins/adaptivegrain { };
addgrain = prev.callPackage ./plugins/addgrain { };
autocrop = prev.callPackage ./plugins/autocrop { };

View File

@ -0,0 +1,29 @@
{ lib, stdenv, fetchFromGitHub, meson, pkg-config, ninja, vapoursynth, llvmPackages_13, libxml2 }:
stdenv.mkDerivation rec {
pname = "akarin";
version = "0.94";
src = fetchFromGitHub {
owner = "AkarinVS";
repo = "vapoursynth-plugin";
rev = "v${version}";
sha256 = "sha256-oExdp3L4Jf13NUxV/sfX7Ff4gWzy1SMOKBxKDyFnAss=";
};
nativeBuildInputs = [ meson pkg-config ninja ];
buildInputs = [ vapoursynth llvmPackages_13.llvm libxml2 ];
postPatch = ''
substituteInPlace meson.build \
--replace "vapoursynth_dep.get_pkgconfig_variable('libdir')" "get_option('libdir')"
'';
meta = with lib; {
description = "AkarinVS's vapoursynth-plugin";
homepage = "https://github.com/AkarinVS/vapoursynth-plugin";
license = licenses.lgpl3;
maintainers = with maintainers; [ ];
platforms = platforms.all;
};
}