summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2019-01-18 10:41:36 +0000
committerJan Beich <jbeich@FreeBSD.org>2019-01-18 10:41:36 +0000
commit21f1e7651fe0493b849e831d93337f112b034f13 (patch)
tree64b7ea13bfd787c44bf579cc4935389fafc2788c
parent- Add LICENSE_FILE (diff)
multimedia/libva-intel-driver: unbreak libva + WAYLAND=off after r490613
Dependency wayland-client found: NO (tried pkgconfig and cmake) Dependency libva-wayland found: NO (tried pkgconfig and cmake) meson.build:94:2: ERROR: Unknown variable "wl_scanner". PR: 235039 Reported by: jakub_lach@mailplus.pl
-rw-r--r--multimedia/libva-intel-driver/files/patch-meson.build18
1 files changed, 18 insertions, 0 deletions
diff --git a/multimedia/libva-intel-driver/files/patch-meson.build b/multimedia/libva-intel-driver/files/patch-meson.build
new file mode 100644
index 000000000000..1cf3ea0e2b7f
--- /dev/null
+++ b/multimedia/libva-intel-driver/files/patch-meson.build
@@ -0,0 +1,18 @@
+Properly check if wayland can be used
+
+Dependency wayland-client found: NO (tried pkgconfig and cmake)
+Dependency libva-wayland found: NO (tried pkgconfig and cmake)
+
+meson.build:94:2: ERROR: Unknown variable "wl_scanner".
+
+--- meson.build.orig 2018-12-10 01:56:28 UTC
++++ meson.build
+@@ -91,7 +91,7 @@ if get_option('with_wayland') != 'no'
+ version : libva_version,
+ required : get_option('with_wayland') == 'yes')
+
+- WITH_WAYLAND = wl_scanner.found() and libva_wayland_dep.found()
++ WITH_WAYLAND = wayland_client_dep.found() and libva_wayland_dep.found()
+ endif
+
+ subdir('src')