aports/community/mpv-mpris/APKBUILD
Hugo Osvaldo Barrera 54e7740293 community/mpv-mpris: remove unnecessary depends
This plugin is loaded by mpv at runtime, but doesn't strictly depend on
mpv. In particular, it can be used by alternative builds of mpv.
2024-12-25 18:59:05 +00:00

39 lines
749 B
Text

# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=mpv-mpris
pkgver=1.1
pkgrel=1
pkgdesc="MPRIS plugin for mpv"
url="https://github.com/hoyon/mpv-mpris"
arch="all"
license="MIT"
makedepends="glib-dev mpv-dev"
checkdepends="
mpv
playerctl
sound-theme-freedesktop
bash
dbus
xvfb-run
xauth
jq
socat
gawk
"
source="$pkgname-$pkgver.tar.gz::https://github.com/hoyon/mpv-mpris/archive/$pkgver.tar.gz"
build() {
make
}
check() {
make test
}
package() {
install -Dm 0644 mpris.so "$pkgdir"/etc/mpv/scripts/mpris.so
}
sha512sums="
81622e5e34a8ebde735c39a1615569c833d6cf53c70b4f77794788fd8b19982cc33a71ff5768027826dafc608fa72a089e38c0925a907fa249f5c527d17f9541 mpv-mpris-1.1.tar.gz
"