27 lines
743 B
Bash
27 lines
743 B
Bash
# Template file for 'mpv-mpris'
|
|
pkgname=mpv-mpris
|
|
version=1.0
|
|
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="Mohammed Anas <triallax@tutanota.com>"
|
|
license="MIT"
|
|
homepage="https://github.com/hoyon/mpv-mpris"
|
|
distfiles="https://github.com/hoyon/mpv-mpris/archive/${version}.tar.gz"
|
|
checksum=82254623f797db06231ffaad65ac474993f1b1485b3aac1ba74cab7dd24c84fd
|
|
|
|
do_install() {
|
|
vlicense LICENSE
|
|
vdoc README.md
|
|
vmkdir usr/lib/${pkgname}
|
|
vinstall mpris.so 0644 usr/lib/${pkgname}
|
|
}
|