diff --git a/AddGrain/AddGrain.cpp b/AddGrain/AddGrain.cpp index 0efeee7..3239d29 100644 --- a/AddGrain/AddGrain.cpp +++ b/AddGrain/AddGrain.cpp @@ -378,7 +378,7 @@ static void VS_CC addgrainCreate(const VSMap* in, VSMap* out, [[maybe_unused]] v // Init VS_EXTERNAL_API(void) VapourSynthPluginInit2(VSPlugin* plugin, const VSPLUGINAPI* vspapi) { - vspapi->configPlugin("com.holywu.addgrain", "grain", "Random noise film grain generator", VS_MAKE_VERSION(9, 0), VAPOURSYNTH_API_VERSION, 0, plugin); + vspapi->configPlugin("com.holywu.addgrain", "grain", "Random noise film grain generator", VS_MAKE_VERSION(10, 0), VAPOURSYNTH_API_VERSION, 0, plugin); vspapi->registerFunction("Add", "clip:vnode;" "var:float:opt;" diff --git a/meson.build b/meson.build index b192a29..bd5ea8a 100644 --- a/meson.build +++ b/meson.build @@ -2,7 +2,7 @@ project('AddGrain', 'cpp', default_options: ['buildtype=release', 'warning_level=2', 'b_lto=true', 'b_ndebug=if-release', 'cpp_std=c++17'], license: 'GPL-3.0-or-later', meson_version: '>=0.51.0', - version: '9' + version: '10' ) cxx = meson.get_compiler('cpp') @@ -17,7 +17,7 @@ if gcc_syntax vapoursynth_dep = dependency('vapoursynth', version: '>=55').partial_dependency(compile_args: true, includes: true) install_dir = vapoursynth_dep.get_variable(pkgconfig: 'libdir') / 'vapoursynth' else - vapoursynth_dep = dependency('', required: false) + vapoursynth_dep = [] install_dir = get_option('libdir') / 'vapoursynth' endif