summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--media-sound/mpdas/Manifest1
-rw-r--r--media-sound/mpdas/metadata.xml8
-rw-r--r--media-sound/mpdas/mpdas-0.4.5.ebuild32
3 files changed, 41 insertions, 0 deletions
diff --git a/media-sound/mpdas/Manifest b/media-sound/mpdas/Manifest
new file mode 100644
index 0000000..6f2d510
--- /dev/null
+++ b/media-sound/mpdas/Manifest
@@ -0,0 +1 @@
+DIST mpdas-0.4.5.tar.gz 19108 BLAKE2B aa5aec147574cc70572cada56ee495415a06ce5a8c4e19db7288ee1e52cb5d1b6f15a31955e46a526f9db1eff94bf282cb9804379dbd4cf979412ee7f575dde2 SHA512 18737f20b408a38424c46a611a1184e8e9ab78d1c3bddddc37423c8437007b87c343dfe03fd989c9c54dcc532ed1f567ba854d2ba8e12f344399267dc83daaab
diff --git a/media-sound/mpdas/metadata.xml b/media-sound/mpdas/metadata.xml
new file mode 100644
index 0000000..7869e07
--- /dev/null
+++ b/media-sound/mpdas/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>azahi@teknik.io</email>
+		<name>azahi</name>
+	</maintainer>
+</pkgmetadata>
diff --git a/media-sound/mpdas/mpdas-0.4.5.ebuild b/media-sound/mpdas/mpdas-0.4.5.ebuild
new file mode 100644
index 0000000..8634837
--- /dev/null
+++ b/media-sound/mpdas/mpdas-0.4.5.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="AudioScrobbler client for MPD written in C++"
+HOMEPAGE="https://50hz.ws/mpdas/"
+SRC_URI="https://50hz.ws/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+BDEPEND="virtual/pkgconfig"
+DEPEND="media-libs/libmpdclient
+	net-misc/curl
+"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+	tc-export CXX
+	emake CONFIG="/etc"
+}
+
+src_install() {
+	dobin ${PN}
+	doman ${PN}.1
+	dodoc mpdasrc.example README
+}

Consider giving Nix/NixOS a try! <3