Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <mart@leio.tech>2022-09-19 23:04:05 +0300
committerArun Raghavan <arun@arunraghavan.net>2022-09-20 00:39:14 +0300
commit4928a2badf237e99763964bbf3c940d4be9df7d6 (patch)
treed91c8839659398fc45bbe675e32e2a9e7a86aea8 /meson.build
parentf19af9f7607d32d96925e6aab55fc8129c14a4a1 (diff)
dav1ddec: Require dav1d 1.0.0 in meson
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/698 raised the dependency via bumping the dav1d rust crate used, but didn't add a requirement at meson level, thus with automatic or enabled option for dav1d it would pass with an older failure, but then during compilation phase fail with: --- stderr thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: PkgConfig(`"pkg-config" "--libs" "--cflags" "dav1d" "dav1d >= 1.0.0"` did not exit successfully: exit status: 1 error: could not find system library 'dav1d' required by the 'dav1d-sys' crate --- stderr Package dependency requirement 'dav1d >= 1.0.0' could not be satisfied. Package 'dav1d' has version '0.8.2', required version is '>= 1.0.0' )', /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/dav1d-sys-0.5.0/build.rs:80:10 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace warning: build failed, waiting for other jobs to finish...
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 4f6487e97..89c69f54c 100644
--- a/meson.build
+++ b/meson.build
@@ -77,7 +77,7 @@ if dependency('pangocairo', required : get_option('closedcaption')).found()
plugins += {'gst-plugin-closedcaption' : 'libgstrsclosedcaption',}
endif
-if dependency('dav1d', required : get_option('dav1d')).found()
+if dependency('dav1d', version : '>= 1.0.0', required : get_option('dav1d')).found()
plugins += {'gst-plugin-dav1d' : 'libgstrsdav1d'}
endif