diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml new file mode 100644 index 00000000..033bc4f9 --- /dev/null +++ b/.github/workflows/lock.yml @@ -0,0 +1,28 @@ +name: Lock closed issues and PRs + +on: + issues: + types: [closed] + pull_request: + types: [closed] + +permissions: + issues: write + pull-requests: write +jobs: + lock: + runs-on: ubuntu-latest + steps: + - name: Lock issue + if: github.event_name == 'issues' + run: | + gh issue lock ${{ github.event.issue.number }} --reason resolved || true + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Lock pull request + if: github.event_name == 'pull_request' + run: | + gh pr lock ${{ github.event.pull_request.number }} --reason resolved || true + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/com.valvesoftware.Steam.yml b/com.valvesoftware.Steam.yml index cced96e5..2190eb5d 100644 --- a/com.valvesoftware.Steam.yml +++ b/com.valvesoftware.Steam.yml @@ -24,18 +24,24 @@ finish-args: - --socket=pulseaudio - --share=network - --own-name=com.steampowered.* - - --talk-name=org.gnome.SettingsDaemon.MediaKeys # Wine uses UDisks2 to enumerate disk drives - --system-talk-name=org.freedesktop.UDisks2 - --talk-name=org.kde.StatusNotifierWatcher - --system-talk-name=org.freedesktop.UPower - --talk-name=org.freedesktop.ScreenSaver + - --talk-name=org.gnome.SessionManager - --talk-name=org.freedesktop.PowerManagement - --talk-name=org.freedesktop.Notifications - --filesystem=xdg-music:ro - --filesystem=xdg-pictures:ro - --filesystem=xdg-run/app/com.discordapp.Discord:create - --filesystem=xdg-run/pipewire-0:ro + - --filesystem=xdg-config/MangoHud:ro + - --filesystem=/run/udev:ro + - --filesystem=xdg-run/speech-dispatcher:ro + - --filesystem=/mnt + - --filesystem=/media + - --filesystem=/run/media - --device=all - --allow=multiarch - --allow=devel @@ -176,6 +182,41 @@ modules: - python3-requirements.json + - name: dotconf + cleanup: + - "*" + sources: + - type: archive + url: https://github.com/williamh/dotconf/archive/refs/tags/v1.3.tar.gz + sha256: 7f1ecf40de1ad002a065a321582ed34f8c14242309c3547ad59710ae3c805653 + - type: script + commands: + - autoreconf -fiv + dest-filename: autogen.sh + + - name: libspeechd + config-opts: + - --disable-python + - --with-systemdsystemunitdir='' + - --disable-rpath + - --disable-static + - --with-kali=no + - --with-baratinoo=no + - --with-ibmtts=no + - --with-voxin=no + - --without-oss + sources: + - type: archive + url: https://github.com/brailcom/speechd/releases/download/0.12.0/speech-dispatcher-0.12.0.tar.gz + sha256: e1dd0bfa24b8338545e165451330adf51c4c0dca862b1b67e76fba5142dbbb74 + cleanup: + - /bin + - /etc + - /libexec + - /lib/speech-dispatcher + - /share/sounds/speech-dispatcher + - /share/speech-dispatcher + - name: steam_wrapper buildsystem: simple sources: diff --git a/steam_wrapper/steam_wrapper.py b/steam_wrapper/steam_wrapper.py index f6049c46..aaf86a61 100644 --- a/steam_wrapper/steam_wrapper.py +++ b/steam_wrapper/steam_wrapper.py @@ -302,7 +302,8 @@ def _get_host_xdg_mounts(xdg_name: str, flatpak_info): filesystem_path = filesystem.rsplit(":", 1)[0] path_seq = os.path.normpath(filesystem_path).split(os.path.sep) if path_seq[0] == xdg_name: - dirs.add(os.path.join(*path_seq[1:])) + subpath = path_seq[1:] + dirs.add(os.path.join(*subpath) if subpath else "") return dirs @@ -424,6 +425,8 @@ def check_extensions(flatpak_info): # For each installed .GL. extension, check for its .GL32. counterpart GL_EXT_PREFIX = "org.freedesktop.Platform.GL" for ext_id in installed_ext_ids: + if ".Debug" in ext_id: + continue if ext_id.startswith(f"{GL_EXT_PREFIX}."): compat_ids.append(f"{GL_EXT_PREFIX}32" + ext_id[len(GL_EXT_PREFIX):])