diff options
author | Akatsuki Rui | 2022-11-11 01:50:30 +0800 |
---|---|---|
committer | Akatsuki Rui | 2022-11-11 01:50:30 +0800 |
commit | c38aa5852171d9d3c767e44dabb5673d577249c3 (patch) | |
tree | 924a9ab0052fe02548a74148b0ca58cc9116c5d7 | |
parent | cfc1057fe2d1c83b34a16c7ccff7e82c51fe21ce (diff) | |
download | aur-c38aa5852171d9d3c767e44dabb5673d577249c3.tar.gz |
0.2.17.r1.gb47baf3
-rw-r--r-- | PKGBUILD | 9 | ||||
-rw-r--r-- | mpv-handler.install | 2 |
2 files changed, 4 insertions, 7 deletions
@@ -2,14 +2,14 @@ _pkgname="mpv-handler" pkgname="mpv-handler-git" -pkgver=0.2.13.r0.g1ef30ab -pkgrel=3 +pkgver=0.2.17.r1.gb47baf3 +pkgrel=1 pkgdesc="Play website videos and songs with mpv & youtube-dl." arch=("x86_64") depends=("mpv") optdepends=( + "yt-dlp: ytdl-hook support" "youtube-dl: ytdl-hook support" - "yt-dlp: alternatives ytdl-hook support" ) makedepends=("cargo" "git") install="mpv-handler.install" @@ -17,7 +17,7 @@ url="https://github.com/akiirui/mpv-handler/" license=("MIT") provides=("mpv-handler") conflicts=("mpv-handler") -source=("git+https://github.com/akiirui/mpv-handler.git") +source=("git+https://github.com/akiirui/mpv-handler.git#branch=dev") b2sums=('SKIP') epoch=1 @@ -37,7 +37,6 @@ package() { cd "$srcdir/$_pkgname" install -Dm755 "target/release/mpv-handler" "$pkgdir/usr/bin/mpv-handler" - install -Dm644 "share/config.toml" "$pkgdir/etc/mpv-handler/config.toml" install -Dm644 "share/linux/mpv-handler.desktop" "$pkgdir/usr/share/applications/mpv-handler.desktop" install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" diff --git a/mpv-handler.install b/mpv-handler.install index c1b15488d9b7..9962b680208b 100644 --- a/mpv-handler.install +++ b/mpv-handler.install @@ -9,8 +9,6 @@ note() { post_install() { note "Don't forget install youtube-dl or yt-dlp for mpv ytdl-hook support" - note "The upstream mpv uses yt-dlp by default, But not yet released" - note "If you want to use yt-dlp, you need to set \"script-opts=ytdl_hook-ytdl_path=yt-dlp\" in mpv.conf" } post_upgrade() { |