27 lines
743 B
Bash
27 lines
743 B
Bash
# Template file for 'mpv-mpris'
|
|
pkgname=mpv-mpris
|
|
version=0.8.1
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
make_use_env=yes
|
|
make_build_target=mpris.so
|
|
make_check_target=test
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libglib-devel mpv-devel"
|
|
depends="mpv"
|
|
checkdepends="mpv playerctl sound-theme-freedesktop
|
|
xvfb-run xauth jq socat dbus"
|
|
short_desc="MPRIS plugin for mpv"
|
|
maintainer="Alif Rachmawadi <arch@subosito.com>"
|
|
license="MIT"
|
|
homepage="https://github.com/hoyon/mpv-mpris"
|
|
distfiles="https://github.com/hoyon/mpv-mpris/archive/${version}.tar.gz"
|
|
checksum=a208f42ec9df5444f725a55e1b457e62c86d6b93c9c84215e1808ff047695053
|
|
|
|
do_install() {
|
|
vlicense LICENSE
|
|
vdoc README.md
|
|
vmkdir usr/lib/${pkgname}
|
|
vinstall mpris.so 0644 usr/lib/${pkgname}
|
|
}
|