Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Lypheo/vs-placebo
Browse files Browse the repository at this point in the history
  • Loading branch information
Lypheo committed May 19, 2020
2 parents 9eafad0 + fca7b49 commit 5a3a40e
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
project('vs-placebo', ['c', 'cpp'],
default_options: ['buildtype=release', 'b_ndebug=if-release', 'c_std=c99', 'cpp_std=c++11'],
meson_version: '>=0.46.0',
version: '1.0'
version: '1.2'
)

cc = meson.get_compiler('c')

placebo = cc.find_library('placebo', required: true)
vapoursynth_dep = dependency('vapoursynth').partial_dependency(includes: true, compile_args: true)

sources = ['vs-placebo.c', 'deband.c', 'tonemap.c', 'resample.c']

p2p = static_library('p2p', ['libp2p/p2p_api.cpp', 'libp2p/v210.cpp'], pic: true)

shared_module('vs_placebo', sources, dependencies: [placebo], link_with: [p2p], name_prefix: 'lib')
shared_module('vs_placebo', sources,
dependencies: [placebo, vapoursynth_dep],
link_with: [p2p],
name_prefix: 'lib',
install_dir : join_paths(vapoursynth_dep.get_pkgconfig_variable('libdir'), 'vapoursynth'),
install: true
)

0 comments on commit 5a3a40e

Please sign in to comment.