1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-04-19 07:53:34 +02:00

Update sdlmame ebuild

Ebuild taken from overlay jorgicio.
This commit is contained in:
2019-10-19 13:15:19 +02:00
parent b9bf7b7dd3
commit 1b5aa96af8
3 changed files with 83 additions and 41 deletions

View File

@@ -0,0 +1,27 @@
--- ./scripts/src/osd/sdl_cfg.lua.orig 2017-04-18 11:55:38.584123253 +0100
+++ ./scripts/src/osd/sdl_cfg.lua 2017-04-18 16:12:46.455489734 +0100
@@ -116,14 +116,16 @@
configuration { }
elseif _OPTIONS["targetos"]=="linux" then
- if _OPTIONS["QT_HOME"]~=nil then
- buildoptions {
- "-I" .. backtick(_OPTIONS["QT_HOME"] .. "/bin/qmake -query QT_INSTALL_HEADERS"),
- }
- else
- buildoptions {
- backtick(pkgconfigcmd() .. " --cflags Qt5Widgets"),
- }
+ if _OPTIONS["USE_QTDEBUG"]=="1" then
+ if _OPTIONS["QT_HOME"]~=nil then
+ buildoptions {
+ "-I" .. backtick(_OPTIONS["QT_HOME"] .. "/bin/qmake -query QT_INSTALL_HEADERS"),
+ }
+ else
+ buildoptions {
+ backtick(pkgconfigcmd() .. " --cflags Qt5Widgets"),
+ }
+ end
end
elseif _OPTIONS["targetos"]=="macosx" then
defines {