[vlc-commits] [Git][videolan/vlc][master] 2 commits: Adds snap plug to grant access to ~/.config/aacs
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Tue May 2 14:29:42 UTC 2023
Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC
Commits:
ac35048b by Baa at 2023-05-02T14:12:48+00:00
Adds snap plug to grant access to ~/.config/aacs
- - - - -
dbab5e78 by Baa at 2023-05-02T14:12:48+00:00
Create symlink to aacs dir for Bluray playback
- - - - -
2 changed files:
- extras/package/snap/snapcraft.yaml
- extras/package/snap/vlc-snap-wrapper.sh
Changes:
=====================================
extras/package/snap/snapcraft.yaml
=====================================
@@ -11,6 +11,11 @@ description: |
NOTE. This snap contains an untested daily build of VLC
confinement: strict
compression: lzo
+plugs:
+ dot-config-aacs:
+ interface: personal-files
+ read:
+ - $HOME/.config/aacs
apps:
vlc:
@@ -37,6 +42,7 @@ apps:
- audio-record
- jack1
- avahi-control
+ - dot-config-aacs
slots:
- mpris
=====================================
extras/package/snap/vlc-snap-wrapper.sh
=====================================
@@ -34,4 +34,9 @@ export KF5_LIBEXEC_DIR=$SNAP/usr/lib/$ARCH/libexec/kf5
# set QML2 import path for Qt UI
export QML2_IMPORT_PATH="$QML2_IMPORT_PATH:$SNAP/usr/lib/x86_64-linux-gnu/qt5/qml/"
+# Link the aacs directory from $HOME #28017
+if [ ! -L "$HOME/.config/aacs" ]; then
+ ln -s $SNAP_REAL_HOME/.config/aacs $HOME/.config/aacs
+fi
+
exec $SNAP/usr/bin/vlc --config=$SNAP_USER_COMMON/vlcrc "$@"
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/7f00b321d438d8cf4f55bb7dd880e7ba5febd1e3...dbab5e78b8b8d5b021c0a47ea2661468e56562ec
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/7f00b321d438d8cf4f55bb7dd880e7ba5febd1e3...dbab5e78b8b8d5b021c0a47ea2661468e56562ec
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list