summaryrefslogtreecommitdiff
path: root/benchmarks/mangohud/files/patch-src_meson.build
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2020-08-24 11:20:18 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2020-08-24 11:20:18 +0000
commitcb006f26ecaca1503319278aef5a7e306f8b11f8 (patch)
treead8f423f55487da1abc5196378614d04d56158eb /benchmarks/mangohud/files/patch-src_meson.build
parentwww/miniflux: Remove stale patch, causing patch failure (diff)
MangoHud is a Vulkan/OpenGL overlay for monitoring FPS, temperatures,
CPU/GPU load, and more. WWW: https://github.com/flightlessmango/MangoHud
Notes
Notes: svn path=/head/; revision=546066
Diffstat (limited to 'benchmarks/mangohud/files/patch-src_meson.build')
-rw-r--r--benchmarks/mangohud/files/patch-src_meson.build29
1 files changed, 29 insertions, 0 deletions
diff --git a/benchmarks/mangohud/files/patch-src_meson.build b/benchmarks/mangohud/files/patch-src_meson.build
new file mode 100644
index 000000000000..2a87d1c1eef4
--- /dev/null
+++ b/benchmarks/mangohud/files/patch-src_meson.build
@@ -0,0 +1,29 @@
+--- src/meson.build.orig 2020-08-16 16:54:20 UTC
++++ src/meson.build
+@@ -3,7 +3,7 @@ glslang = find_program('glslangValidator')
+ # Needs prefix for configure_file()
+ if get_option('append_libdir_mangohud')
+ libdir_mangohud = join_paths(get_option('libdir'), 'mangohud')
+- ld_libdir_mangohud = get_option('prefix') + '/\$LIB/mangohud/'
++ ld_libdir_mangohud = get_option('prefix') + '/lib/mangohud/'
+ else
+ libdir_mangohud = get_option('libdir')
+ ld_libdir_mangohud = get_option('prefix') + '/\$LIB/'
+@@ -141,7 +141,7 @@ vklayer_mesa_overlay = shared_library(
+ dep_dl,
+ dep_rt,
+ dep_pthread,
+- dep_vulkan],
++ dep_inotify],
+ include_directories : [inc_common],
+ link_args : link_args,
+ install_dir : libdir_mangohud,
+@@ -187,7 +187,7 @@ configure_file(input : '../bin/mangohud.in',
+ if get_option('include_doc')
+ install_data(
+ files('../bin/MangoHud.conf'),
+- install_dir : join_paths(get_option('datadir'), 'doc', 'mangohud'),
++ install_dir : join_paths(get_option('datadir'), 'examples', 'mangohud'),
+ rename : ['MangoHud.conf.example']
+ )
+ endif