28 lines
807 B
Bash
28 lines
807 B
Bash
# Template file for 'mpv-mpris'
|
|
pkgname=mpv-mpris
|
|
version=1.1
|
|
revision=2
|
|
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 ffmpeg6-devel"
|
|
depends="mpv"
|
|
checkdepends="mpv playerctl sound-theme-freedesktop
|
|
xvfb-run xauth jq socat dbus"
|
|
short_desc="MPRIS plugin for mpv"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/hoyon/mpv-mpris"
|
|
changelog="https://github.com/hoyon/mpv-mpris/releases"
|
|
distfiles="https://github.com/hoyon/mpv-mpris/archive/${version}.tar.gz"
|
|
checksum=71008aa181bccf4bc7b2b5b9673e9993b1d1f5b7e2c189dc3724ab23ef1f6ebb
|
|
|
|
do_install() {
|
|
vlicense LICENSE
|
|
vdoc README.md
|
|
vmkdir usr/lib/${pkgname}
|
|
vinstall mpris.so 0644 usr/lib/${pkgname}
|
|
}
|