media-sound/mpd-mpris - 0.4.1 (guru)

Search

Install

Install this version:

emerge -a =media-sound/mpd-mpris-0.4.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =media-sound/mpd-mpris-0.4.1

Or alternatively:

emerge --autounmask-write -a =media-sound/mpd-mpris-0.4.1

Package Information

Description:
An implementation of the MPRIS protocol for MPD.
Homepage:
https://github.com/natsukagami/mpd-mpris
License:
MIT BSD-2

Ebuild Details

Version EAPI Keywords Slot
0.4.1 8 ~amd64 0
View Raw Ebuild
# 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
}

Inherited Eclasses

xdg

Dependencies

DEPEND

media-sound/mpd

RDEPEND

media-sound/mpd

Manifest for 0.4.1

Type File Size Source URLs
DIST mpd-mpris-0.4.1-deps.tar.xz 454676 bytes https://github.com/sevz17/go-deps/releases/download/mpd-mpris-0.4.1/mpd-mpris-0.4.1-deps.tar.xz
DIST mpd-mpris-0.4.1.tar.gz 17476 bytes https://github.com/natsukagami/mpd-mpris/archive/v0.4.1.tar.gz