Update ignore and better defaults for mpv

Add access to GPU ids (amdgpu) for hwaccel in mpv, and
better defaults for user_config.

Update gitnore and debian/control
This commit is contained in:
Jose Maldonado aka Yukiteru 2023-09-10 23:14:50 -04:00 committed by Alex
parent b9fb4b72d2
commit 4aaa9379a1
3 changed files with 10 additions and 2 deletions

6
.gitignore vendored
View File

@ -9,6 +9,12 @@ debian/hardened
debian/.debhelper debian/.debhelper
debian/*.debhelper debian/*.debhelper
# Debian build packages
debian/apparmor.d.substvars
debian/apparmor.d/
debian/debhelper-build-stamp
debian/files
# Binaries for programs and plugins # Binaries for programs and plugins
*.exe *.exe
*.exe~ *.exe~

View File

@ -41,6 +41,8 @@ profile mpv @{exec_path} {
@{bin}/youtube-dl rPx, @{bin}/youtube-dl rPx,
@{bin}/yt-dlp rPx, @{bin}/yt-dlp rPx,
/usr/share/libdrm/{,**} r,
/etc/mpv/* r, /etc/mpv/* r,
/etc/samba/smb.conf r, /etc/samba/smb.conf r,
@ -54,7 +56,7 @@ profile mpv @{exec_path} {
owner @{user_videos_dirs}/{,**} rw, owner @{user_videos_dirs}/{,**} rw,
owner @{user_config_dirs}/mpv/ rw, owner @{user_config_dirs}/mpv/ rw,
owner @{user_config_dirs}/mpv/* rw, owner @{user_config_dirs}/mpv/{,**} rw,
/tmp/ r, /tmp/ r,
owner /tmp/mpsyt-input* rw, owner /tmp/mpsyt-input* rw,

2
debian/control vendored
View File

@ -16,4 +16,4 @@ Rules-Requires-Root: no
Package: apparmor.d Package: apparmor.d
Architecture: all Architecture: all
Depends: apparmor-profiles Depends: apparmor-profiles
Description: Full set of AppArmor profiles (~ 1400 profiles) Description: Full set of AppArmor profiles (~ 1500 profiles)