summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2023-01-13 11:48:21 -0600
committerDudemanguy <random342@airmail.cc>2023-01-15 16:46:11 +0000
commit3858a8102bdeb40120dc1a426db38d84e8f39afd (patch)
tree7828cf65fde6007f466f35cb753d8c4da6a69d2d /wscript
parent7b09bf7ffc1a927e4d45eb0407ec7024bff2f4d5 (diff)
downloadmpv-3858a8102bdeb40120dc1a426db38d84e8f39afd.tar.bz2
mpv-3858a8102bdeb40120dc1a426db38d84e8f39afd.tar.xz
build: officially deprecate waf
While the waf build has served us well for many years, it's time to officially consider it deprecated. The meson build was added fully with the intention to eventually replace waf and its current state is more than good enough to do that. Let's start the deprecation period now to give users a heads up to switch before we remove waf for good.
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/wscript b/wscript
index ab7ded7f8b..470501d062 100644
--- a/wscript
+++ b/wscript
@@ -1063,6 +1063,8 @@ def configure(ctx):
ctx.env.LINKFLAGS += ['-rdynamic']
ctx.store_dependencies_lists()
+ from waflib import Logs
+ Logs.error("WARNING: Building mpv with waf is deprecated and will be removed the future! It is recommended to switch to meson as soon as possible.")
def __write_version__(ctx):
ctx.env.VERSIONH_ST = '--versionh="%s"'