Flatpak: more flatpak

This commit is contained in:
XargonWan 2022-03-22 09:22:11 +01:00
parent ce578eeff3
commit e4533245bc
2 changed files with 119 additions and 63 deletions

View file

@ -17,6 +17,7 @@ finish-args:
- --talk-name=org.freedesktop.ScreenSaver - --talk-name=org.freedesktop.ScreenSaver
- --talk-name=org.freedesktop.PowerManagement.Inhibit - --talk-name=org.freedesktop.PowerManagement.Inhibit
- --talk-name=org.freedesktop.login1 - --talk-name=org.freedesktop.login1
#- --env=PATH=/app/bin:/usr/bin
modules: modules:
@ -33,6 +34,8 @@ modules:
- name: retroarch - name: retroarch
buildsystem: simple buildsystem: simple
build-commands: build-commands:
- ls -l
- pwd
- unappimage ./RetroArch-Linux-x86_64.AppImage - unappimage ./RetroArch-Linux-x86_64.AppImage
- mv ./squashfs-root/usr /app/usr - mv ./squashfs-root/usr /app/usr
- ln -s /app/usr/bin/retroarch /app/bin/retroarch - ln -s /app/usr/bin/retroarch /app/bin/retroarch
@ -42,6 +45,21 @@ modules:
- type: archive - type: archive
url: https://buildbot.libretro.com/stable/1.10.1/linux/x86_64/RetroArch.7z url: https://buildbot.libretro.com/stable/1.10.1/linux/x86_64/RetroArch.7z
sha256: 0ab48b247fd7ce05d9532f28b706f35a1c96da67b826a9a312d66b86b9dd8f39 sha256: 0ab48b247fd7ce05d9532f28b706f35a1c96da67b826a9a312d66b86b9dd8f39
- name: retroarch-assets
builsystem: simple
#no-autogen: true
make-install-args:
- PREFIX=/app
post-install:
- mkdir -p /app/config/retroarch/assets/
- mv -f ./* /app/config/retroarch/assets/
#- rm -f Automatic/README.md
cleanup: ['*']
sources:
- type: archive
url: https://github.com/libretro/retroarch-assets/archive/948def88f11c8c62f85f606a1cd8f5a1bbad671b.zip
sha256: d7b2d79d6809521f73818117575f49b706a913cfc61822582d1f12a697944791
# needed for reatroarch # needed for reatroarch
- name: libusb - name: libusb
@ -67,7 +85,7 @@ modules:
- name: retroarch-cores - name: retroarch-cores
buildsystem: simple buildsystem: simple
build-commands: build-commands:
- install -Dm755 ./RetroArch-Linux-x86_64.AppImage.home/.config/retroarch/cores/* -t /app/retroarch/emulators/cores/ - install -Dm755 ./RetroArch-Linux-x86_64.AppImage.home/.config/retroarch/cores/* -t /var/config/retroarch/cores
cleanup: cleanup:
- RetroArch_cores.7z - RetroArch_cores.7z
sources: sources:
@ -75,69 +93,102 @@ modules:
url: https://buildbot.libretro.com/stable/1.10.1/linux/x86_64/RetroArch_cores.7z url: https://buildbot.libretro.com/stable/1.10.1/linux/x86_64/RetroArch_cores.7z
sha256: 3467de291c0849947993a535b0f32e7c211878dcaf6a37a9f864cf50cbe824fd sha256: 3467de291c0849947993a535b0f32e7c211878dcaf6a37a9f864cf50cbe824fd
# - name: template # - name: template
# builsystem: simple # builsystem: simple
# build-commands: # build-commands:
# - # -
# cleanup: ['*'] # cleanup: ['*']
# sources: # sources:
# - type: # - type:
# url: # url:
# sha256: # sha256:
# - name: yuzu # - name: yuzu
# builsystem: simple # builsystem: simple
# build-commands: # build-commands:
# - unappimage ./yuzu*.AppImage # - unappimage ./yuzu*.AppImage
# - ls ./squashfs-root/ # - ls ./squashfs-root/
# - mv ./squashfs-root/ /app/retrodeck/emulators/yuzu/ # - mv ./squashfs-root/ /app/retrodeck/emulators/yuzu/
# TODO: see how are the files and implement, edit the yuzu.sh script # TODO: see how are the files and implement, edit the yuzu.sh script
# cleanup: ['*'] # cleanup: ['*']
# sources: # sources:
# - type: file # - type: archive
# url: https://github.com/yuzu-emu/yuzu-mainline/releases/download/mainline-0-957/yuzu-20220320-1ce8136c7.AppImage # url: https://github.com/yuzu-emu/yuzu-mainline/releases/download/mainline-0-957/yuzu-20220320-1ce8136c7.AppImage
# sha256: 000b7f09aa562a1f844697ded35618cef3189f339a207759e11295f31589a40d # sha256: 000b7f09aa562a1f844697ded35618cef3189f339a207759e11295f31589a40d
# - name: ryujinx # - name: ryujinx
# - name: xemu # - name: xemu
# - name: rpcs3 # - name: rpcs3
# - name: vita3k # - name: vita3k
# - name: 351elec-emulationstation ## Needed for 351elec-emulationstation
# build commands: #- name: autoconf-2.13
# - mv 351elec-emulationstation /app/emulationstation # builsystem: simple
# - install -Dm755 patches/Splash.h -t /app/emulationstation/es-core/src/ # config-opts:
# - install -Dm755 patches/GuiMenu.cpp -t /app/emulationstation/es-app/src/guis/ # - --program-suffix=-2.13
# - cd /app/emulationstation # cleanup:
# - cmake -DENABLE_EMUELEC=1 -DGLES2=0 -DDISABLE_KODI=1 -DENABLE_FILEMANAGER=0 -DCEC=0 -DRG552=1 # - '*'
# - make -j$(nproc) # sources:
# - ln -s emulationstation /app/usr/bin/emulationstation # - type: archive
## make-args: # url: https://ftp.gnu.org/gnu/autoconf/autoconf-2.13.tar.gz
## - -DENABLE_EMUELEC=1 # sha256: f0611136bee505811e9ca11ca7ac188ef5323a8e2ef19cffd3edb3cf08fd791e
## - -DGLES2=0 #
## - -DDISABLE_KODI=1 - name: freeimage
## - -DENABLE_FILEMANAGER=0 no-autogen: true
## - -DCEC=0 build-options:
## - -DRG552=1 #C++17 is not supported
## cleanup: ['*'] cxxflags: -std=c++14
# sources: make-args:
# - type: git - DESTDIR=/app
# url: https://github.com/351ELEC/351elec-emulationstation.git sources:
# branch: 6b704cfa1161090de4ca1b5ec343ebab2060e7fc - type: archive
# - type: dir url: http://downloads.sourceforge.net/freeimage/FreeImage3180.zip
# path: patches sha256: f41379682f9ada94ea7b34fe86bf9ee00935a3147be41b6569c9605a53e438fd
- type: shell
# - name: art-book-next commands:
# builsystem: simple - sed -i 's|-o root -g root ||' ./Makefile.gnu
# build-commands: - sed -i 's|/usr|/app|' ./Makefile.gnu
# - install -Dm755 art-book-next -t /app/emulationstation/themes/art-book-next
# cleanup: ['*']
# sources:
# - type: git
# url: https://github.com/anthonycaccese/es-theme-art-book-next.git
# branch: eaf73a4eefde22791681c7f430a238fb324bdeaf
# TODO 351elec-es-packages batocera-config batocera-scraper batocera-settings runemu.py setsettings.py #- name: 351elec-emulationstation
# buildsystem: simple
# build-commands:
# - install -Dm755 Splash.h -t /app/emulationstation/es-core/src/
# - install -Dm755 GuiMenu.cpp -t /app/emulationstation/es-app/src/guis/
# - cd /app/emulationstation
# - cmake -DENABLE_EMUELEC=1 -DGLES2=0 -DDISABLE_KODI=1 -DENABLE_FILEMANAGER=0 -DCEC=0 -DRG552=1
# - make -j$(nproc)
# - ln -s emulationstation /app/usr/bin/emulationstation
## make-args:
## - -DENABLE_EMUELEC=1
## - -DGLES2=0
## - -DDISABLE_KODI=1
## - -DENABLE_FILEMANAGER=0
## - -DCEC=0
## - -DRG552=1
## cleanup: ['*']
# sources:
# - type: git
# url: https://github.com/351ELEC/351elec-emulationstation.git
# branch: 6b704cfa1161090de4ca1b5ec343ebab2060e7fc
# #- type: file
# # url: https://github.com/351ELEC/351elec-emulationstation/archive/6b704cfa1161090de4ca1b5ec343ebab2060e7fc.zip
# # sha256: 5d659033da662bf85d5986609e4d92c55e3c1c4a4c79e2461350134f509c47ac
# - type: file
# path: patches/Splash.h
# - type: file
# path: patches/GuiMenu.cpp
# - name: art-book-next
# builsystem: simple
# build-commands:
# - install -Dm755 art-book-next -t /app/emulationstation/themes/art-book-next
# cleanup: ['*']
# sources:
# - type: git
# url: https://github.com/anthonycaccese/es-theme-art-book-next.git
# branch: eaf73a4eefde22791681c7f430a238fb324bdeaf
# TODO 351elec-es-packages batocera-config batocera-scraper batocera-settings runemu.py setsettings.py
- name: retrodeck - name: retrodeck
buildsystem: simple buildsystem: simple
@ -255,6 +306,9 @@ modules:
- install -Dm755 es_* -t /app/emulationstation - install -Dm755 es_* -t /app/emulationstation
- rm -f /var/config/retroarch/retroarch.cfg
- mv retroarch.cfg /var/config/retroarch/retroarch.cfg
# move other files (check old install script) # move other files (check old install script)
sources: sources:
- type: file - type: file
@ -267,4 +321,6 @@ modules:
path: es_settings.cfg path: es_settings.cfg
- type: file - type: file
path: es_input.cfg path: es_input.cfg
- type: file
path: retroarch.cfg
# create desktop entry # create desktop entry

View file

@ -9,8 +9,8 @@ ai_service_url = "http://localhost:4404/"
all_users_control_menu = "false" all_users_control_menu = "false"
apply_cheats_after_load = "false" apply_cheats_after_load = "false"
apply_cheats_after_toggle = "false" apply_cheats_after_toggle = "false"
aspect_ratio_index = "21" aspect_ratio_index = "0"
assets_directory = "/usr/share/retroarch/assets" assets_directory = "/app/config/retroarch/assets/"
audio_block_frames = "0" audio_block_frames = "0"
audio_device = "" audio_device = ""
audio_driver = "pulse" audio_driver = "pulse"
@ -2786,7 +2786,7 @@ location_driver = "null"
log_dir = "~/.config/retroarch/logs" log_dir = "~/.config/retroarch/logs"
log_to_file = "false" log_to_file = "false"
log_to_file_timestamp = "false" log_to_file_timestamp = "false"
log_verbosity = "false" log_verbosity = "true"
materialui_auto_rotate_nav_bar = "true" materialui_auto_rotate_nav_bar = "true"
materialui_dual_thumbnail_list_view_enable = "true" materialui_dual_thumbnail_list_view_enable = "true"
materialui_icons_enable = "true" materialui_icons_enable = "true"