mirror of
https://github.com/tadeokondrak/vs-overlay
synced 2024-11-04 16:22:29 +01:00
e94a197efe
vapoursynthPlugins.addgrain: init at r7 vapoursynthPlugins.autocrop: init at 0.1 vapoursynthPlugins.beziercurve: init at r2 vapoursynthPlugins.bifrost: init at 2.2 vapoursynthPlugins.bilateral: init at r3 vapoursynthPlugins.bm3d: init at r8 vapoursynthPlugins.continuityfixer: init at 6.1 vapoursynthPlugins.descale: init at r2 vapoursynthPlugins.eedi2: init at r7.1 vapoursynthPlugins.eedi3m: init at r4 vapoursynthPlugins.f3kdb: init at 2.0.0-1 vapoursynthPlugins.ffms2: init as alias vapoursynthPlugins.fmtconv: init at r20 vapoursynthPlugins.knlmeanscl: init at 1.1.1 vapoursynthPlugins.lsmashsource: init at unstable-2017-08-12 vapoursynthPlugins.nnedi3: init at 11 vapoursynthPlugins.retinex: init at r4 vapoursynthPlugins.sangnom: init at r41 vapoursynthPlugins.tcanny: init at r12 vapoursynthPlugins.tnlmeans: init at unstable-2015-02-25 vapoursynthPlugins.wwxd: init at 1.0
37 lines
1,006 B
Nix
37 lines
1,006 B
Nix
{ stdenv, fetchFromGitHub, pkg-config, vapoursynth }:
|
|
|
|
let
|
|
ext = stdenv.targetPlatform.extensions.sharedLibrary;
|
|
in stdenv.mkDerivation rec {
|
|
pname = "vapoursynth-wwxd";
|
|
version = "1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dubhater";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "01197hxrmm9az7mbm8jrjslm8pg9pzzvrcz9c5ki8dajgmmz9hym";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ vapoursynth ];
|
|
|
|
buildPhase = ''
|
|
gcc -o libwwxd${ext} -fPIC -shared -O2 -Wall -Wextra -Wno-unused-parameter \
|
|
$(pkg-config --cflags vapoursynth) \
|
|
src/wwxd.c src/detection.c
|
|
'';
|
|
|
|
installPhase = ''
|
|
install -D libwwxd${ext} $out/lib/vapoursynth/libwwxd${ext}
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Xvid-like scene change detection for VapourSynth";
|
|
homepage = https://github.com/dubhater/vapoursynth-wwxd;
|
|
license = licenses.unfree; # no license
|
|
maintainers = with maintainers; [ tadeokondrak ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|