mpv-player / mpv-build

🔨 Helper scripts to compile mpv on Linux
http://mpv.io
404 stars 104 forks source link

configure/build: add meson support #183

Closed Dudemanguy closed 2 years ago

Dudemanguy commented 2 years ago

Basically this just bolts on the ability to build with meson instead of waf. Waf is still the default though. One limitation, for now, is that it requires a very new meson (git master right now, it will be 0.63+ in a future release) for the prefer_static option which makes this build reasonable in the first place. Hopefully the interface is OK, I figured the easy thing would just to make users pass meson before any other argument if they wanted to use the meson build.

Dudemanguy commented 2 years ago

Now works by using an environment variable (BUILDSYSTEM) instead of passing an additional argument.