summaryrefslogtreecommitdiffstats
path: root/ci/build-tumbleweed.sh
diff options
context:
space:
mode:
authorLaserEyess <lasereyess@users.noreply.github.com>2022-11-12 09:27:07 -0500
committerDudemanguy <random342@airmail.cc>2023-07-23 19:55:51 +0000
commitf2cce5f38f4031bf1a4b4919ec90e4e8f8c66a77 (patch)
treec5c7f21eb2e1556265655d166ea0bee258376d5b /ci/build-tumbleweed.sh
parent60a263246e03d23c894ae0ef6bbfa29a5f1855dc (diff)
downloadmpv-f2cce5f38f4031bf1a4b4919ec90e4e8f8c66a77.tar.bz2
mpv-f2cce5f38f4031bf1a4b4919ec90e4e8f8c66a77.tar.xz
waf: remove waf as a build system
Remove waf entirely in favor of meson as the only supported build system. Waf was officially deprecated in 0.36.0, and has not been preferred over meson since 0.35.0.
Diffstat (limited to 'ci/build-tumbleweed.sh')
-rwxr-xr-xci/build-tumbleweed.sh44
1 files changed, 13 insertions, 31 deletions
diff --git a/ci/build-tumbleweed.sh b/ci/build-tumbleweed.sh
index 11a13f597c..6dd7f608d7 100755
--- a/ci/build-tumbleweed.sh
+++ b/ci/build-tumbleweed.sh
@@ -1,34 +1,16 @@
#!/bin/sh
set -e
-if [ "$1" = "meson" ]; then
- meson setup build \
- -Dcdda=enabled \
- -Ddvbin=enabled \
- -Ddvdnav=enabled \
- -Dlibarchive=enabled \
- -Dlibmpv=true \
- -Dmanpage-build=enabled \
- -Dpipewire=enabled \
- -Dshaderc=enabled \
- -Dtests=true \
- -Dvulkan=enabled
- meson compile -C build
- ./build/mpv -v --no-config
-fi
-
-if [ "$1" = "waf" ]; then
- python3 ./waf configure \
- --out=build_waf \
- --enable-cdda \
- --enable-dvbin \
- --enable-dvdnav \
- --enable-libarchive \
- --enable-libmpv-shared \
- --enable-manpage-build \
- --enable-pipewire \
- --enable-shaderc \
- --enable-vulkan
- python3 ./waf build
- ./build_waf/mpv -v --no-config
-fi
+meson setup build \
+ -Dcdda=enabled \
+ -Ddvbin=enabled \
+ -Ddvdnav=enabled \
+ -Dlibarchive=enabled \
+ -Dlibmpv=true \
+ -Dmanpage-build=enabled \
+ -Dpipewire=enabled \
+ -Dshaderc=enabled \
+ -Dtests=true \
+ -Dvulkan=enabled
+meson compile -C build
+./build/mpv -v --no-config