Compare commits
2 commits
c9f83c8eae
...
71eede556b
Author | SHA1 | Date | |
---|---|---|---|
71eede556b | |||
a721ebd9c1 |
2 changed files with 5 additions and 6 deletions
|
@ -16,7 +16,7 @@ WORKDIR /src
|
|||
# carla-git (TODO: Remove temporary workaround)
|
||||
RUN git clone https://aur.archlinux.org/carla-git.git && \
|
||||
cd carla-git && sed -i 's/$_name.git/$_name.git#commit=a580473fbca5b1a14af45518e4d4fbfeabef8b6e/' PKGBUILD && \
|
||||
makepkg --noconfirm -sci
|
||||
sudo pacman -Rdd --noconfirm carla && makepkg --noconfirm -sci
|
||||
|
||||
# libaudec
|
||||
RUN git clone https://aur.archlinux.org/libaudec.git && \
|
||||
|
@ -52,6 +52,7 @@ RUN sudo rm -rf /src
|
|||
RUN sudo dbus-uuidgen --ensure
|
||||
|
||||
LABEL net.typeblog.dobu.desktop_file_path=/usr/share/applications/org.zrythm.Zrythm.desktop
|
||||
LABEL net.typeblog.dobu.x11_required=true
|
||||
|
||||
# A dbus daemon is required for Zrythm
|
||||
# It does not have to share the host one though; launching any random dbus daemon would work
|
||||
|
|
|
@ -57,13 +57,11 @@ if is_in_array "$1" "${DISPLAY_SERVER_APP_ALLOWLIST[@]}"; then
|
|||
|
||||
WAYLAND_SRC="${XDG_RUNTIME_DIR}/${WAYLAND_DISPLAY}"
|
||||
|
||||
if [ -z "$DISPLAY" ]; then
|
||||
# TODO: Maybe we can just ignore Xorg in these cases
|
||||
die "$$DISPLAY must be set for apps granted full Wayland / Xorg access"
|
||||
if [ ! -z "$DISPLAY" ]; then
|
||||
XORG_SRC="/tmp/.X11-unix/X${DISPLAY/:/}"
|
||||
fi
|
||||
XORG_SRC="/tmp/.X11-unix/X${DISPLAY/:/}"
|
||||
|
||||
if [ ! -S "${XORG_SRC}" ] || [ ! -S "${WAYLAND_SRC}" ]; then
|
||||
if [ ! -S "${XORG_SRC}" ] && [ ! -S "${WAYLAND_SRC}" ]; then
|
||||
die "Wayland / Xorg sockets do not exist"
|
||||
fi
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue