From f6a2238fdeef56ca4270015bb9b9f2bc25ef24a0 Mon Sep 17 00:00:00 2001 From: John McQuah Date: Sun, 5 Mar 2023 23:22:42 -0500 Subject: [PATCH] mpv: adopted --- mpv/.footprint | 6 ------ mpv/.signature | 6 +++--- mpv/Pkgfile | 5 ++++- mpv/README | 6 +++--- 4 files changed, 10 insertions(+), 13 deletions(-) diff --git a/mpv/.footprint b/mpv/.footprint index b59d8e25e..91381969e 100644 --- a/mpv/.footprint +++ b/mpv/.footprint @@ -7,9 +7,6 @@ drwxr-xr-x root/root usr/bin/ drwxr-xr-x root/root usr/share/ drwxr-xr-x root/root usr/share/applications/ -rw-r--r-- root/root usr/share/applications/mpv.desktop -drwxr-xr-x root/root usr/share/bash-completion/ -drwxr-xr-x root/root usr/share/bash-completion/completions/ --rw-r--r-- root/root usr/share/bash-completion/completions/mpv drwxr-xr-x root/root usr/share/doc/ drwxr-xr-x root/root usr/share/doc/mpv/ -rw-r--r-- root/root usr/share/doc/mpv/input.conf @@ -38,6 +35,3 @@ drwxr-xr-x root/root usr/share/icons/hicolor/symbolic/apps/ -rw-r--r-- root/root usr/share/icons/hicolor/symbolic/apps/mpv-symbolic.svg drwxr-xr-x root/root usr/share/metainfo/ -rw-r--r-- root/root usr/share/metainfo/mpv.metainfo.xml -drwxr-xr-x root/root usr/share/zsh/ -drwxr-xr-x root/root usr/share/zsh/site-functions/ --rw-r--r-- root/root usr/share/zsh/site-functions/_mpv diff --git a/mpv/.signature b/mpv/.signature index 45c3cdd7f..76cabea15 100644 --- a/mpv/.signature +++ b/mpv/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF3zFOvA02yj87SwyCXGmEu4GLHwcwlDizqihTrlvNjKwli1M3yjIBTd9CWtuLpP7v7Hio4PlEX7E0fNg4E/0MRgc= -SHA256 (Pkgfile) = 17388ac59c89a0345040d02c3a216ee8865bc46a919cc5b65a5da668c3a93995 -SHA256 (.footprint) = 7b618425e174a11bfbe920d45e584211150b692f5a17f09839ab2ff8e7ce4d03 +RWSagIOpLGJF35sg1vbeTMP/kB8CJOvWoPcqMkmq5IFCFc9zFzDfsU/5yfga2rUW1hsxheGf7BTrOR/qOxCThkmHJ4UCZfjnjQA= +SHA256 (Pkgfile) = 4c1048a749d4af624f2127f5e1457f2b86d32118371bbc30fc13834d8b3268a2 +SHA256 (.footprint) = 1709a179b634a9452b3dbb3295faa4a0cca2bfb05bc2eb1a4b4ca47397d4e133 SHA256 (mpv-0.35.1.tar.gz) = 41df981b7b84e33a2ef4478aaf81d6f4f5c8b9cd2c0d337ac142fc20b387d1a9 diff --git a/mpv/Pkgfile b/mpv/Pkgfile index e856f88e0..fb67ca068 100644 --- a/mpv/Pkgfile +++ b/mpv/Pkgfile @@ -1,6 +1,6 @@ # Description: General Purpose video player based on MPlayer and mplayer2 # URL: https://mpv.io/ -# Maintainer: Danny Rawlins, crux at romster dot me +# Maintainer: John McQuah, jmcquah at disroot dot org # Depends on: ffmpeg libass libplacebo util-linux xorg-libxscrnsaver # Optional: docutils youtube-dl libquvi libdvdnav libbluray libcdio-paranoia libsdl2 libvdpau rubberband xorg-libxpresent @@ -23,4 +23,7 @@ build() { meson compile -C build DESTDIR=$PKG meson install -C build + + prt-get isinst bash-completion || rm -rf $PKG/usr/share/bash-completion + prt-get isinst zsh || rm -rf $PKG/usr/share/zsh } diff --git a/mpv/README b/mpv/README index e085baad0..c661176ae 100644 --- a/mpv/README +++ b/mpv/README @@ -3,7 +3,7 @@ NOTES For optical audio/dvd/blu-ray playback you need to install "libcdio-paranoia libdvdnav libbluray", respectively. -For nvidia hardware decoding x.264 support you need to install -"ffnvcodec-headers", then either force rebuild ffmpeg or compile ffmpeg. - To use Vulkan API add "--vo=gpu --gpu-api=vulkan" to mpv. + +To take advantage of shell completions, install either zsh +or bash-completion before building mpv.