anvil-editor: init at 0.4
[NixPkgs.git] / pkgs / development / libraries / nvidia-vaapi-driver / 0001-hardcode-install_dir.patch
blob05de63806fb0f063bd00e931a852fce35d9f8722
1 From 4e8bd61c216969615a492043092bd8298dcd1410 Mon Sep 17 00:00:00 2001
2 From: Nick Cao <nickcao@nichi.co>
3 Date: Mon, 6 Nov 2023 09:33:45 -0500
4 Subject: [PATCH] hardcode install_dir
6 partially revert https://github.com/elFarto/nvidia-vaapi-driver/commit/60ab79608ae35bd929d3e1387d226547d18e6bed
7 ---
8 meson.build | 3 +--
9 1 file changed, 1 insertion(+), 2 deletions(-)
11 diff --git a/meson.build b/meson.build
12 index 990c2b2..f5e63d7 100644
13 --- a/meson.build
14 +++ b/meson.build
15 @@ -71,7 +71,6 @@ if gst_codecs_deps.found()
16 endif
18 nvidia_incdir = include_directories('nvidia-include')
19 -nvidia_install_dir = libva_deps.get_variable(pkgconfig: 'driverdir')
21 shared_library(
22 'nvidia_drv_video',
23 @@ -80,7 +79,7 @@ shared_library(
24 dependencies: deps,
25 include_directories: nvidia_incdir,
26 install: true,
27 - install_dir: nvidia_install_dir,
28 + install_dir: get_option('libdir') / 'dri',
29 gnu_symbol_visibility: 'hidden',
32 --
33 2.42.0