1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-01-06 13:54:23 +01:00
Files
gryf-overlay/games-emulation/sdlmame/files/sdlmame-0.184-qt.patch
gryf 1b5aa96af8 Update sdlmame ebuild
Ebuild taken from overlay jorgicio.
2019-10-19 13:15:25 +02:00

28 lines
830 B
Diff

--- ./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 {