summaryrefslogtreecommitdiff
path: root/graphics/gimp3-app/files/patch-meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gimp3-app/files/patch-meson.build')
-rw-r--r--graphics/gimp3-app/files/patch-meson.build30
1 files changed, 30 insertions, 0 deletions
diff --git a/graphics/gimp3-app/files/patch-meson.build b/graphics/gimp3-app/files/patch-meson.build
new file mode 100644
index 000000000000..aaace2316a23
--- /dev/null
+++ b/graphics/gimp3-app/files/patch-meson.build
@@ -0,0 +1,30 @@
+--- meson.build.orig 2025-10-05 17:14:02 UTC
++++ meson.build
+@@ -168,7 +168,8 @@ platform_linux = (
+ message('Host os: ' + host_os)
+
+ platform_linux = (
+- host_os.contains('linux')
++ host_os.contains('linux') or
++ host_os.contains('bsd')
+ )
+
+ platform_windows = (
+@@ -1127,7 +1128,7 @@ if have_lua
+ if have_lua
+ have_lua_lgi = false
+
+- foreach lua_bin : [ 'luajit', 'lua5.1', 'lua-5.1', 'lua' ]
++ foreach lua_bin : [ 'luajit', 'lua51', 'lua-5.1', 'lua' ]
+ lua = find_program(lua_bin, required: false)
+
+ if lua.found() and meson.can_run_host_binaries()
+@@ -1166,7 +1167,7 @@ if have_lua
+ if is_supported_lua
+ have_lua_lgi = run_command(lua, '-e',
+ '''
+- local lgi = require 'lgi'
++ local lgi = require("lgi")
+ ''',
+ check: false).returncode() == 0
+ endif