From 32df6234604cb0720ab1acb8af24be3ecb98a2b0 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sat, 29 Apr 2023 15:33:48 +0200 Subject: opus: switch to meson build system --- extra/opus/build | 14 ++++++++------ extra/opus/depends | 1 + 2 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 extra/opus/depends (limited to 'extra/opus') 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 -- cgit v1.2.3