media-sound/mpd-mpris - 0.3.1 (x0rzavi)

Search

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.3.1 8 ~amd64 0
View Raw Ebuild
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit 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 -o "${PN}" cmd/mpd-mpris/*.go
}

src_install() {
	local DOCS=( "LICENSE" "README.md" )
	einstalldocs

	dobin "${PN}"

	systemd_douserunit mpd-mpris.service
}

Dependencies

DEPEND

media-sound/mpd

RDEPEND

media-sound/mpd

Manifest for 0.3.1

Type File Size Source URLs
DIST mpd-mpris-0.3.1.tar.gz 12660 bytes https://github.com/natsukagami/mpd-mpris/archive/v0.3.1.tar.gz