diff options
author | Leonardo Hernández Hernández <leohdz172@outlook.com> | 2022-04-14 22:14:06 -0500 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@outlook.com> | 2022-04-14 22:14:06 -0500 |
commit | 9b8a3fce6afc3a453f6a9192ea5d79272878b4d0 (patch) | |
tree | d55cdfc33a372fa50dcd183647c43e07b0e30951 /media-sound/mpd-mpris | |
parent | app-shells/zoxide: fix email (diff) | |
download | guru-9b8a3fce6afc3a453f6a9192ea5d79272878b4d0.tar.gz guru-9b8a3fce6afc3a453f6a9192ea5d79272878b4d0.tar.bz2 guru-9b8a3fce6afc3a453f6a9192ea5d79272878b4d0.zip |
media-sound/mpd-mpris: new package, add 0.3.1
Signed-off-by: Leonardo Hernández Hernández <leohdz172@outlook.com>
Diffstat (limited to 'media-sound/mpd-mpris')
-rw-r--r-- | media-sound/mpd-mpris/Manifest | 2 | ||||
-rw-r--r-- | media-sound/mpd-mpris/metadata.xml | 12 | ||||
-rw-r--r-- | media-sound/mpd-mpris/mpd-mpris-0.3.1.ebuild | 31 |
3 files changed, 45 insertions, 0 deletions
diff --git a/media-sound/mpd-mpris/Manifest b/media-sound/mpd-mpris/Manifest new file mode 100644 index 000000000..eca299ed8 --- /dev/null +++ b/media-sound/mpd-mpris/Manifest @@ -0,0 +1,2 @@ +DIST mpd-mpris-0.3.1-deps.tar.xz 208008 BLAKE2B a6dbe61c59710e78ffddba58dcab053b95f7951e89fed26d3d10fb238963344a93a1ce4674d90da1312c469c6e61798b84991c41545c0bc72e0e1385eca66767 SHA512 18ec8844917296bb47d66fff9c3fb10263db2106f3b3a22ebb63ae92776ebada15fe347ffe7984f04007f46b98c54e42ae8eaaee6031a3eeda7492e68ef3f6f1 +DIST mpd-mpris-0.3.1.tar.gz 12660 BLAKE2B d55aec721a79c9b05e66b2ced7c03181c12297ae09755458fa8363f052ad01e2a83cac8d882a658fd768d7e8c1fbd13ca1facaa798d8248fa362fca7936e943c SHA512 5b042e69abed15f05387ac99f3503af749041fdfc72f05c18c19be24050e1475f89e86db5900ea0384244ae2447ad1d17037f0496b799780c7d63fa8b23863d0 diff --git a/media-sound/mpd-mpris/metadata.xml b/media-sound/mpd-mpris/metadata.xml new file mode 100644 index 000000000..acbd29523 --- /dev/null +++ b/media-sound/mpd-mpris/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>leohdz172@outlook.com</email> + <name>Leonardo Hernández Hernández</name> + </maintainer> + <upstream> + <bugs-to>https://github.com/natsukagami/mpd-mpris/issues</bugs-to> + <doc>https://github.com/natsukagami/mpd-mpris/blob/master/README.md</doc> + </upstream> +</pkgmetadata> diff --git a/media-sound/mpd-mpris/mpd-mpris-0.3.1.ebuild b/media-sound/mpd-mpris/mpd-mpris-0.3.1.ebuild new file mode 100644 index 000000000..26a127dbb --- /dev/null +++ b/media-sound/mpd-mpris/mpd-mpris-0.3.1.ebuild @@ -0,0 +1,31 @@ +# 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 +} |