Files
guru/media-sound/mpd-mpris/mpd-mpris-0.4.0.ebuild
Leonardo Hernández Hernández 9d23714e3d media-sound/mpd-mpris: add 0.4.0
Signed-off-by: Leonardo Hernández Hernández <leohdz172@proton.me>
2023-04-21 16:09:45 -06:00

31 lines
700 B
Bash

# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit multiprocessing systemd go-module
DESCRIPTION="An implementation of the MPRIS protocol for MPD."
HOMEPAGE="https://github.com/natsukagami/mpd-mpris"
LICENSE="MIT BSD-2"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="media-sound/mpd"
DEPEND="${RDEPEND}"
SRC_URI="https://github.com/natsukagami/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://gitlab.com/sevz17/go-deps/-/raw/main/${P}-deps.tar.xz"
src_compile() {
ego build -v -x -p "$(makeopts_jobs)" -o "${PN}" cmd/mpd-mpris/*.go
}
src_install() {
einstalldocs
dobin "${PN}"
systemd_douserunit mpd-mpris.service
}