mirror of
https://github.com/luzifer-aur/obs-studio-browser.git
synced 2024-12-20 16:21:17 +00:00
Add mitigation for v31.x build error
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
a05c9bcbdc
commit
930d976f90
1 changed files with 3 additions and 0 deletions
3
PKGBUILD
3
PKGBUILD
|
@ -71,6 +71,9 @@ prepare() {
|
|||
}
|
||||
|
||||
build() {
|
||||
# Mitigate `error: ‘sample_fmts’ is deprecated` in v31.x
|
||||
export CFLAGS+=" -Wno-error=deprecated-declarations"
|
||||
|
||||
cmake -B build -S $pkgname \
|
||||
-DFFnvcodec_INCLUDE_DIR="nv-codec-headers-12.1.14.0/include/" \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
|
|
Loading…
Reference in a new issue