Files
horizon-packages/srcpkgs/mpv-mpris/template
T
2026-01-06 06:51:42 -05:00

28 lines
807 B
Bash

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