mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-15 21:22:40 +00:00
Mac deployment
- Use the SDL2 framework wholesale instead of manually extracting dylib and headers - Run install_name_tool on the remaining dylibs so they use the correct load path - Add generate-dmg.sh for creating packaged Mac builds
This commit is contained in:
+3
-3
@@ -37,8 +37,8 @@ win32 {
|
||||
LIBS += ws2_32.lib winmm.lib dxva2.lib ole32.lib
|
||||
}
|
||||
macx {
|
||||
INCLUDEPATH += $$PWD/../libs/mac/include
|
||||
LIBS += -L$$PWD/../libs/mac/lib
|
||||
INCLUDEPATH += $$PWD/../libs/mac/include $$PWD/../libs/mac/Frameworks/SDL2.framework/Versions/A/Headers
|
||||
LIBS += -L$$PWD/../libs/mac/lib -F$$PWD/../libs/mac/Frameworks
|
||||
}
|
||||
|
||||
unix:!macx {
|
||||
@@ -60,7 +60,7 @@ win32 {
|
||||
CONFIG += ffmpeg
|
||||
}
|
||||
macx {
|
||||
LIBS += -lssl -lcrypto -lSDL2 -lavcodec.58 -lavutil.56
|
||||
LIBS += -lssl -lcrypto -lavcodec.58 -lavutil.56 -framework SDL2
|
||||
LIBS += -lobjc -framework VideoToolbox -framework AVFoundation -framework CoreVideo -framework CoreGraphics -framework CoreMedia -framework AppKit
|
||||
CONFIG += ffmpeg
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user