void-packages/srcpkgs/mpv-mpris/template

27 lines
741 B
Bash

# Template file for 'mpv-mpris'
pkgname=mpv-mpris
version=0.9
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=a59557b8d7f31c8eab5866f2c34a7bad1131d8dc7df57209592fb9348ac963c4
do_install() {
vlicense LICENSE
vdoc README.md
vmkdir usr/lib/${pkgname}
vinstall mpris.so 0644 usr/lib/${pkgname}
}