diff options
author | Niklas Haas <git@haasn.dev> | 2022-02-03 16:14:27 +0100 |
---|---|---|
committer | Niklas Haas <github-daiK1o@haasn.dev> | 2022-02-03 18:22:14 +0100 |
commit | a2b147abc6e8dbf70f6823158e61db6ac4c511e5 (patch) | |
tree | a0e4b59014c4db828d69a17c474b59262d8d6371 /meson.build | |
parent | c25129339dc0ff57a21140b29357bdf181882fee (diff) | |
download | mpv-a2b147abc6e8dbf70f6823158e61db6ac4c511e5.tar.bz2 mpv-a2b147abc6e8dbf70f6823158e61db6ac4c511e5.tar.xz |
build: rename libplacebo version check
Rename from "libplacebo-v4" to "libplacebo-next" to more closely capture
the intent, since this will become libplacebo v5 eventually (tm).
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meson.build b/meson.build index 468a048eab..2312fb00f4 100644 --- a/meson.build +++ b/meson.build @@ -969,7 +969,7 @@ if jpeg.found() features += 'jpeg' endif -libplacebo_v4 = false +libplacebo_next = false libplacebo = dependency('libplacebo', version: '>=3.104.0', required: get_option('libplacebo')) if libplacebo.found() dependencies += libplacebo @@ -978,8 +978,8 @@ if libplacebo.found() 'video/out/placebo/utils.c') pl_api_ver = libplacebo.version().split('.')[1] if pl_api_ver.version_compare('>=190') - features += 'libplacebo-v4' - libplacebo_v4 = true + features += 'libplacebo-next' + libplacebo_next = true message('libplacebo v4.190+ found! Enabling vo_gpu_next.') sources += files('video/out/vo_gpu_next.c', 'video/out/gpu_next/context.c') @@ -1754,7 +1754,7 @@ conf_data.set10('HAVE_LIBARCHIVE', libarchive.found()) conf_data.set10('HAVE_LIBAVDEVICE', libavdevice.found()) conf_data.set10('HAVE_LIBDL', libdl) conf_data.set10('HAVE_LIBBLURAY', libbluray.found()) -conf_data.set10('HAVE_LIBPLACEBO_V4', libplacebo_v4) +conf_data.set10('HAVE_LIBPLACEBO_NEXT', libplacebo_next) conf_data.set10('HAVE_LINUX_FSTATFS', linux_fstatfs) conf_data.set10('HAVE_LUA', lua['use']) conf_data.set10('HAVE_MACOS_10_11_FEATURES', macos_10_11_features.allowed()) |