summaryrefslogtreecommitdiff
path: root/graphics/gimp3-app/files/patch-meson.build
blob: aaace2316a23b8caa1f92586bcc46cdb1af4d46b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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