Skip to content

Instantly share code, notes, and snippets.

@Zer0xFF
Created March 6, 2022 12:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Zer0xFF/c0e3187a94cad177941d03fa9b42a4c2 to your computer and use it in GitHub Desktop.
Save Zer0xFF/c0e3187a94cad177941d03fa9b42a4c2 to your computer and use it in GitHub Desktop.

tmp workaround

cd deps/Dependencies
git submodule add https://github.com/flathub/shared-modules.git
sudo apt update
sudo apt install flatpak flatpak-builder
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
# sudo flatpak install flathub org.kde.Sdk//5.15
# sudo flatpak install flathub org.kde.Platform//5.15
sudo flatpak-builder --install-deps-from=flathub --install out org.purei.play.yaml
flatpak run org.purei.play
app-id: org.purei.play
runtime: org.kde.Platform
runtime-version: '5.15'
sdk: org.kde.Sdk
command: Play
finish-args:
- --share=ipc
- --share=network
- --socket=wayland
- --socket=fallback-x11
- --filesystem=host
- --device=all
- --socket=pulseaudio
modules:
- "deps/Dependencies/shared-modules/glu/glu-9.json"
- "deps/Dependencies/shared-modules/glew/glew.json"
- name: openal
buildsystem: cmake-ninja
builddir: true
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DALSOFT_REQUIRE_PULSEAUDIO=ON
- -DALSOFT_BACKEND_PIPEWIRE=off
cleanup:
- /bin
- /include
- /lib/pkgconfig
- /share
sources:
- type: git
url: https://github.com/kcat/openal-soft.git
- name: evdev,
config-opts:
- --disable-static
cleanup:
- /bin
- /include
- /lib/pkgconfig
- /lib/*.la
- /share/man
sources:
- type: archive
url: https://freedesktop.org/software/libevdev/libevdev-1.5.7.tar.xz
sha256: a1e59e37a2f0d397ffd7e83b73af0e638db83b8dd08902ef0f651a21cc1dd422
- name: Play!
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
sources:
- type: dir
path: .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment