Skip to content
Merged

Fixes #1526

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/lock.yml
Original file line number Diff line number Diff line change
@@ -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 }}
43 changes: 42 additions & 1 deletion com.valvesoftware.Steam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down
5 changes: 4 additions & 1 deletion steam_wrapper/steam_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down Expand Up @@ -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):])

Expand Down