Timo Aaltonen pushed to branch debian-unstable at X Strike Force / lib / mesa
Commits:
-
06408f21
by Simon McVittie at 2025-08-28T20:02:50+01:00
1 changed file:
Changes:
... | ... | @@ -7,7 +7,8 @@ |
7 | 7 | #
|
8 | 8 | # If the JSON manifest describing a Vulkan driver contains for example
|
9 | 9 | # "library_path": "/usr/lib/x86_64-linux-gnu/libvulkan_lvp.so"
|
10 | -# then replace it with
|
|
10 | +# "library_arch": "64"
|
|
11 | +# then replace it with just
|
|
11 | 12 | # "library_path": "libvulkan_lvp.so"
|
12 | 13 | # to get the same content for each architecture, and rename from for example
|
13 | 14 | # "lvp_icd.x86_64.json"
|
... | ... | @@ -28,6 +29,7 @@ for file in "$DESTDIR"/usr/share/vulkan/icd.d/*.*.json; do |
28 | 29 | if grep -q 'library_path.*/usr/lib/'"${DEB_HOST_MULTIARCH}"'/lib[^/"]*\.so' "${file}"; then
|
29 | 30 | replacement="${file%.*.json}.json"
|
30 | 31 | sed -E -e '/library_path/ s,/usr/lib/'"${DEB_HOST_MULTIARCH}"'/(lib[^/"]*\.so),\1,' \
|
32 | + -e '/library_arch/d' \
|
|
31 | 33 | < "${file}" > "${replacement}"
|
32 | 34 | diff -s -u "${file}" "${replacement}" || true
|
33 | 35 | rm "${file}"
|