YUZU: trying to add buildcommands for QT5

This commit is contained in:
XargonWan 2022-08-30 22:14:52 +02:00
parent 0996a7bf08
commit 47e4bc5ad2

View file

@ -106,7 +106,7 @@ modules:
cleanup: ['*']
# pcsx2-qt needs QT6, maybe others, here until every qt emulator will support qt6 (not yuzu atm)
# from: https://github.com/flathub/org.profex_xrd.Profex
# from: https://github.com/flathub/org.profex_xrd.Profex
- name: qt6-core5compat
buildsystem: cmake-ninja
builddir: true
@ -515,6 +515,7 @@ modules:
x-checker-data:
type: git
tag-pattern: ^n([\d.]+)$
- name: yuzu
buildsystem: cmake-ninja
builddir: true
@ -534,6 +535,10 @@ modules:
TITLEBARFORMATIDLE: yuzu {}
TITLEBARFORMATRUNNING: yuzu {} | {}
LDFLAGS: -L/app/lib -Wl,-z,relro,-z,now -Wl,--as-needed
build-commands:
- |
find_package(Qt6 REQUIRED COMPONENTS Core5Compat)
target_link_libraries(mytarget PRIVATE Qt6::Core5Compat)
cleanup:
- /share/man
- /share/pixmaps