Initial Yuzu support

This commit is contained in:
XargonWan 2022-04-07 00:30:42 +09:00
parent e63236092a
commit 14c44e6496

View file

@ -455,24 +455,24 @@ modules:
cleanup: cleanup:
- /share/man - /share/man
- /share/pixmaps - /share/pixmaps
post-install: # post-install:
- install -Dm755 ../yuzu-launcher.sh /app/bin/yuzu-launcher # - install -Dm755 ../yuzu-launcher.sh /app/bin/yuzu-launcher
- >- # - >-
# install -Dm644 ../org.yuzu_emu.yuzu.metainfo.xml # install -Dm644 ../org.yuzu_emu.yuzu.metainfo.xml
# /app/share/appdata/org.yuzu_emu.yuzu.metainfo.xml # /app/share/appdata/org.yuzu_emu.yuzu.metainfo.xml
- desktop-file-install --dir=/app/share/applications ../dist/yuzu.desktop # - desktop-file-install --dir=/app/share/applications ../dist/yuzu.desktop
- >- # - >-
desktop-file-edit --set-key StartupWMClass --set-value yuzu --set-key # desktop-file-edit --set-key StartupWMClass --set-value yuzu --set-key
Exec --set-value yuzu-launcher /app/share/applications/yuzu.desktop # Exec --set-value yuzu-launcher /app/share/applications/yuzu.desktop
- >- # - >-
install -Dm644 ../dist/yuzu.svg # install -Dm644 ../dist/yuzu.svg
/app/share/icons/hicolor/scalable/apps/yuzu.svg # /app/share/icons/hicolor/scalable/apps/yuzu.svg
- >- # - >-
mv /app/share/mime/packages/yuzu.xml # mv /app/share/mime/packages/yuzu.xml
/app/share/mime/packages/org.yuzu_emu.yuzu.xml # /app/share/mime/packages/org.yuzu_emu.yuzu.xml
- >- # - >-
sed 's/yuzu/org.yuzu_emu.yuzu/g' -i # sed 's/yuzu/org.yuzu_emu.yuzu/g' -i
/app/share/mime/packages/org.yuzu_emu.yuzu.xml # /app/share/mime/packages/org.yuzu_emu.yuzu.xml
sources: sources:
- type: git - type: git
url: https://github.com/yuzu-emu/yuzu-mainline.git url: https://github.com/yuzu-emu/yuzu-mainline.git
@ -484,10 +484,10 @@ modules:
tag-pattern: ^(mainline-0-\d+)$ tag-pattern: ^(mainline-0-\d+)$
#- type: file #- type: file
# path: org.yuzu_emu.yuzu.metainfo.xml # path: org.yuzu_emu.yuzu.metainfo.xml
- type: file #- type: file
path: yuzu-launcher.sh # path: yuzu-launcher.sh
- type: file #- type: file
path: compatibility_list.json # path: compatibility_list.json #is it needed?
# Yuzu - END # Yuzu - END