ffms: fix vapoursynth plugin on darwin (#359262)
This commit is contained in:
commit
8e9dfecc09
@ -1,10 +1,11 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, autoreconfHook
|
||||
, pkg-config
|
||||
, ffmpeg
|
||||
, zlib
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
autoreconfHook,
|
||||
pkg-config,
|
||||
ffmpeg,
|
||||
zlib,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -38,7 +39,7 @@ stdenv.mkDerivation rec {
|
||||
# https://github.com/FFMS/ffms2#avisynth-and-vapoursynth-plugin
|
||||
postInstall = ''
|
||||
mkdir $out/lib/vapoursynth
|
||||
ln -s $out/lib/libffms2.so $out/lib/vapoursynth/libffms2.so
|
||||
ln -s $out/lib/libffms2${stdenv.hostPlatform.extensions.sharedLibrary} $out/lib/vapoursynth/libffms2${stdenv.hostPlatform.extensions.sharedLibrary}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
@ -46,7 +47,7 @@ stdenv.mkDerivation rec {
|
||||
description = "FFmpeg based source library for easy frame accurate access";
|
||||
mainProgram = "ffmsindex";
|
||||
license = licenses.mit;
|
||||
maintainers = [ ];
|
||||
maintainers = with maintainers; [ wegank ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user