mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net> Signed-off-by: Julien Roy <julien@jroy.ca>
31 lines
738 B
Bash
31 lines
738 B
Bash
# Copyright 2022-2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit desktop go-module multiprocessing systemd xdg
|
|
|
|
DESCRIPTION="An implementation of the MPRIS protocol for MPD."
|
|
HOMEPAGE="https://github.com/natsukagami/mpd-mpris"
|
|
SRC_URI="https://github.com/natsukagami/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
|
https://github.com/sevz17/go-deps/releases/download/${P}/${P}-deps.tar.xz"
|
|
|
|
LICENSE="MIT BSD-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
RDEPEND="media-sound/mpd"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
src_compile() {
|
|
ego build -v -x -p "$(makeopts_jobs)" -o "${PN}" cmd/mpd-mpris/*.go
|
|
}
|
|
|
|
src_install() {
|
|
einstalldocs
|
|
|
|
dobin "${PN}"
|
|
domenu mpd-mpris.desktop
|
|
systemd_douserunit mpd-mpris.service
|
|
}
|