aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2023-04-29 15:33:48 +0200
committerCem Keylan <cem@ckyln.com>2023-04-29 15:33:48 +0200
commit32df6234604cb0720ab1acb8af24be3ecb98a2b0 (patch)
tree933307afdc95231fd7f7e0b34b0feaf7c2a4f5f8
parent147bc693fe8f690ee3824a3bf492d66f09143a37 (diff)
downloadrepository-32df6234604cb0720ab1acb8af24be3ecb98a2b0.tar.gz
opus: switch to meson build system
-rwxr-xr-xextra/opus/build14
-rw-r--r--extra/opus/depends1
2 files changed, 9 insertions, 6 deletions
diff --git a/extra/opus/build b/extra/opus/build
index 23f46765..4ca5268b 100755
--- a/extra/opus/build
+++ b/extra/opus/build
@@ -1,9 +1,11 @@
#!/bin/sh -e
-./configure \
- --prefix=/usr \
- --enable-custom-modes \
- --enable-float-approx
+export DESTDIR="$1"
-make
-make DESTDIR="$1" install
+cl-meson \
+ -Dcustom-modes=true \
+ -Dfloat-api=true \
+ . output
+
+ninja -C output
+ninja -C output install
diff --git a/extra/opus/depends b/extra/opus/depends
new file mode 100644
index 00000000..36f6fe6c
--- /dev/null
+++ b/extra/opus/depends
@@ -0,0 +1 @@
+meson make