summaryrefslogtreecommitdiff
path: root/media-sound
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-24 13:27:08 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-24 13:27:08 +0100
commitbfc2a8298cab03d289dc2cfed63308396fa0babe (patch)
tree2d4288572b0938dcfc64edd39a4c1086402931a5 /media-sound
parente28a6e6eb5373071be3a09aa457f0488d753c80c (diff)
gentoo auto-resync : 24:06:2023 - 13:27:08
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/Manifest.gzbin57123 -> 57293 bytes
-rw-r--r--media-sound/mpd-ynca/Manifest5
-rw-r--r--media-sound/mpd-ynca/files/mpd-ynca.confd7
-rw-r--r--media-sound/mpd-ynca/files/mpd-ynca.initd17
-rw-r--r--media-sound/mpd-ynca/metadata.xml11
-rw-r--r--media-sound/mpd-ynca/mpd-ynca-0.1.0.ebuild33
6 files changed, 73 insertions, 0 deletions
diff --git a/media-sound/Manifest.gz b/media-sound/Manifest.gz
index d726c06d663f..c5d656f4b2ab 100644
--- a/media-sound/Manifest.gz
+++ b/media-sound/Manifest.gz
Binary files differ
diff --git a/media-sound/mpd-ynca/Manifest b/media-sound/mpd-ynca/Manifest
new file mode 100644
index 000000000000..ed3a36cf7647
--- /dev/null
+++ b/media-sound/mpd-ynca/Manifest
@@ -0,0 +1,5 @@
+AUX mpd-ynca.confd 221 BLAKE2B c0b87e5eb8d7633afad5addb45263febc5940703994a084b92da6b19b79296313d09a103bccd66760629cb80a87fd330a85a4cc77256a75303512b13d49547e7 SHA512 1c8362d6ceda58bcf5943fc89bace2db8a4351e7f9ca851615c4e917f36345dce8d4d3d187d65d78b1799211a485c9eae808608e1df0e041107ce3848a9347ab
+AUX mpd-ynca.initd 296 BLAKE2B 16ab7f4f68af3efcaea44758be6352bb267dac878fb923559f1639ff6b1ddec83ee8c2c44eec7243e5c478e538fbff27dc501911ff9c5e9a73e5b914c4a00a7b SHA512 be6a11d66bf64c0ae4bc3d44c6418cdc60de7ce007dc20e6fe4d27e149e40a551e1249517b5da2f3735296efa399005ac299cd4b3299b7ac6056f70f4621cd5a
+DIST mpd-ynca-0.1.0.tar.gz 12092 BLAKE2B b8b8fbd5323e8793631b3a1e6a0ead9f742a4a7b02ac254ab7617da24ff231c85ea70da3aed5026f985399c6051af074d14e022b5109a8083eb0a6b21a102dcd SHA512 752da6527d6989a30ecf754f054f2d0e1958cc68926197456fb5ed7431a8630d29a702b3865422b34cadfb8f49f9f8fbf393628b91748d301b7198bf64eb28d4
+EBUILD mpd-ynca-0.1.0.ebuild 658 BLAKE2B 0089ea581098c4c6d0633382096c432b8ab2265259ada6929d26dc4480cb316082bd5332aba8dec1af1fad7583f4a84db68cd87bf5330f5282e6d26f203477ad SHA512 55f68015e0985960a6cb792b4b32d6d0e74311e6f83d9d8242e6a788a5e3b2d47823d8d8a707f210777c67a0c70b8dc1deaed4505f764c6697782efb6bc069eb
+MISC metadata.xml 327 BLAKE2B 4021aaf13b8444048472208b91cb8564fa707104125e0e8cda628d83d26b09d9ace33e83c70da1785f26f58cc804d81da814728234e161827f87c6b57bf34c61 SHA512 0fb99d7197623ef7a056c72ebb16779b29eae1abf9b2ca2a8d22a54c2655e4be6028cfea3d0ad9f13fcacc344bbbc3b973fc8c1bab7211aca58f998183a69143
diff --git a/media-sound/mpd-ynca/files/mpd-ynca.confd b/media-sound/mpd-ynca/files/mpd-ynca.confd
new file mode 100644
index 000000000000..a042a82ceed0
--- /dev/null
+++ b/media-sound/mpd-ynca/files/mpd-ynca.confd
@@ -0,0 +1,7 @@
+# MPD client connection settings. You don't need to set these if using the mpd
+# service locally. See https://mpd.readthedocs.io/en/latest/client.html for
+# details.
+
+# MPD_HOST=localhost
+# MPD_PORT=6600
+# MPD_TIMEOUT=30
diff --git a/media-sound/mpd-ynca/files/mpd-ynca.initd b/media-sound/mpd-ynca/files/mpd-ynca.initd
new file mode 100644
index 000000000000..d18e3eeaec51
--- /dev/null
+++ b/media-sound/mpd-ynca/files/mpd-ynca.initd
@@ -0,0 +1,17 @@
+#!/sbin/openrc-run
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+export \
+ MPD_HOST \
+ MPD_PORT \
+ MPD_TIMEOUT
+
+pidfile="/run/${RC_SVCNAME}.pid"
+command="/usr/bin/mpd-ynca"
+command_user="mpd"
+command_background="yes"
+
+depend() {
+ after mpd
+}
diff --git a/media-sound/mpd-ynca/metadata.xml b/media-sound/mpd-ynca/metadata.xml
new file mode 100644
index 000000000000..1ce0e8c683b6
--- /dev/null
+++ b/media-sound/mpd-ynca/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>chewi@gentoo.org</email>
+ <name>James Le Cuirot</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">chewi/mpd-ynca</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-sound/mpd-ynca/mpd-ynca-0.1.0.ebuild b/media-sound/mpd-ynca/mpd-ynca-0.1.0.ebuild
new file mode 100644
index 000000000000..5493bd5a1c4c
--- /dev/null
+++ b/media-sound/mpd-ynca/mpd-ynca-0.1.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+DESCRIPTION="MPD client to control Yamaha AV receivers with YNCA (network control) support"
+HOMEPAGE="https://github.com/chewi/mpd-ynca"
+SRC_URI="https://github.com/chewi/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64 ~arm ~arm64"
+LICENSE="GPL-2+"
+SLOT="0"
+
+RDEPEND="
+ acct-user/mpd
+ dev-libs/boost:=
+ media-libs/libmpdclient
+"
+
+DEPEND="
+ ${RDEPEND}
+"
+
+BDEPEND="
+ virtual/pkgconfig
+"
+
+src_install() {
+ meson_src_install
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+}