mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-07 06:11:36 +00:00
Fix deprecated meson commands
This commit is contained in:
parent
67deecde31
commit
02d17592b2
2
.github/workflows/codeql-analysis.yml
vendored
2
.github/workflows/codeql-analysis.yml
vendored
@ -39,7 +39,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
mkdir -p $GITHUB_WORKSPACE/build
|
mkdir -p $GITHUB_WORKSPACE/build
|
||||||
cd $GITHUB_WORKSPACE/build
|
cd $GITHUB_WORKSPACE/build
|
||||||
meson .. -Dman=false -Defi_binary=false -Dplugin_uefi_capsule_splash=false --prefix=$GITHUB_WORKSPACE/dist
|
meson setup .. -Dman=false -Defi_binary=false -Dplugin_uefi_capsule_splash=false --prefix=$GITHUB_WORKSPACE/dist
|
||||||
ninja
|
ninja
|
||||||
|
|
||||||
- name: Perform CodeQL Analysis
|
- name: Perform CodeQL Analysis
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
meson ../ \
|
meson setup ../ \
|
||||||
-Dauto_features=disabled \
|
-Dauto_features=disabled \
|
||||||
-Dbash_completion=false \
|
-Dbash_completion=false \
|
||||||
-Dcompat_cli=false \
|
-Dcompat_cli=false \
|
||||||
|
@ -12,7 +12,7 @@ if [ ! -f /usr/share/mingw/toolchain-mingw64.meson ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# try to keep this and ../contrib/ci/build_windows.sh in sync as much as makes sense
|
# try to keep this and ../contrib/ci/build_windows.sh in sync as much as makes sense
|
||||||
meson .. \
|
meson setup .. \
|
||||||
--cross-file=/usr/share/mingw/toolchain-mingw64.meson \
|
--cross-file=/usr/share/mingw/toolchain-mingw64.meson \
|
||||||
--cross-file=../contrib/mingw64.cross \
|
--cross-file=../contrib/mingw64.cross \
|
||||||
--prefix=/ \
|
--prefix=/ \
|
||||||
|
@ -3,7 +3,7 @@ set -e
|
|||||||
set -x
|
set -x
|
||||||
|
|
||||||
mkdir -p build-macos && cd build-macos
|
mkdir -p build-macos && cd build-macos
|
||||||
meson .. \
|
meson setup .. \
|
||||||
-Dbuild=standalone \
|
-Dbuild=standalone \
|
||||||
-Dsoup_session_compat=false \
|
-Dsoup_session_compat=false \
|
||||||
-Dgusb:docs=false \
|
-Dgusb:docs=false \
|
||||||
|
@ -33,7 +33,7 @@ rm -rf $DESTDIR $build
|
|||||||
|
|
||||||
# try to keep this and ../contrib/build-windows.sh in sync as much as makes sense
|
# try to keep this and ../contrib/build-windows.sh in sync as much as makes sense
|
||||||
mkdir -p $build $DESTDIR && cd $build
|
mkdir -p $build $DESTDIR && cd $build
|
||||||
meson .. \
|
meson setup .. \
|
||||||
--cross-file=/usr/share/mingw/toolchain-mingw64.meson \
|
--cross-file=/usr/share/mingw/toolchain-mingw64.meson \
|
||||||
--cross-file=../contrib/mingw64.cross \
|
--cross-file=../contrib/mingw64.cross \
|
||||||
--prefix=/ \
|
--prefix=/ \
|
||||||
|
@ -9,7 +9,7 @@ set -x
|
|||||||
rm -rf build
|
rm -rf build
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
cd build
|
cd build
|
||||||
meson .. \
|
meson setup .. \
|
||||||
--werror \
|
--werror \
|
||||||
-Dplugin_uefi_capsule=disabled \
|
-Dplugin_uefi_capsule=disabled \
|
||||||
-Dplugin_dell=disabled \
|
-Dplugin_dell=disabled \
|
||||||
|
@ -14,7 +14,7 @@ rm -rf build
|
|||||||
mkdir -p build
|
mkdir -p build
|
||||||
cp contrib/ci/s390x_cross.txt build/
|
cp contrib/ci/s390x_cross.txt build/
|
||||||
cd build
|
cd build
|
||||||
meson .. \
|
meson setup .. \
|
||||||
--cross-file s390x_cross.txt \
|
--cross-file s390x_cross.txt \
|
||||||
--werror \
|
--werror \
|
||||||
-Dplugin_flashrom=disabled \
|
-Dplugin_flashrom=disabled \
|
||||||
|
@ -16,7 +16,7 @@ if [ "$QUBES" = "true" ]; then
|
|||||||
QUBES_MACRO=(--define "qubes_packages 1")
|
QUBES_MACRO=(--define "qubes_packages 1")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
meson .. \
|
meson setup .. \
|
||||||
-Ddocs=disabled \
|
-Ddocs=disabled \
|
||||||
-Dman=true \
|
-Dman=true \
|
||||||
-Dtests=true \
|
-Dtests=true \
|
||||||
|
Loading…
Reference in New Issue
Block a user