Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / misc / moonlight-qt / darwin.diff
blob0c137fa0774c29b06befb70d28b7afbb919e363a
1 --- a/app/app.pro 2023-06-24 19:10:00.653377668 +0800
2 +++ b/app/app.pro 2023-06-24 19:20:06.632188299 +0800
3 @@ -49,19 +49,8 @@
4 INCLUDEPATH += $$PWD/../libs/windows/include
5 LIBS += ws2_32.lib winmm.lib dxva2.lib ole32.lib gdi32.lib user32.lib d3d9.lib dwmapi.lib dbghelp.lib
7 -macx {
8 - INCLUDEPATH += $$PWD/../libs/mac/include
9 - INCLUDEPATH += $$PWD/../libs/mac/Frameworks/SDL2.framework/Versions/A/Headers
10 - INCLUDEPATH += $$PWD/../libs/mac/Frameworks/SDL2_ttf.framework/Versions/A/Headers
11 - LIBS += -L$$PWD/../libs/mac/lib -F$$PWD/../libs/mac/Frameworks
13 - # QMake doesn't handle framework-style includes correctly on its own
14 - QMAKE_CFLAGS += -F$$PWD/../libs/mac/Frameworks
15 - QMAKE_CXXFLAGS += -F$$PWD/../libs/mac/Frameworks
16 - QMAKE_OBJECTIVE_CFLAGS += -F$$PWD/../libs/mac/Frameworks
19 -unix:!macx {
20 +unix {
21 CONFIG += link_pkgconfig
22 PKGCONFIG += openssl sdl2 SDL2_ttf opus
24 @@ -120,13 +109,12 @@
25 CONFIG += soundio discord-rpc
27 macx {
28 - LIBS += -lssl -lcrypto -lavcodec.60 -lavutil.58 -lopus -framework SDL2 -framework SDL2_ttf
29 LIBS += -lobjc -framework VideoToolbox -framework AVFoundation -framework CoreVideo -framework CoreGraphics -framework CoreMedia -framework AppKit -framework Metal
31 # For libsoundio
32 LIBS += -framework CoreAudio -framework AudioUnit
34 - CONFIG += ffmpeg soundio discord-rpc
35 + CONFIG += ffmpeg soundio
38 SOURCES += \