summaryrefslogtreecommitdiff
path: root/dev-python/mpdlcd
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net>2020-08-30 06:46:41 +0000
committerLiguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net>2020-08-30 06:46:41 +0000
commit3122319b07627bc265e8b2efd59cab4e7d3fe542 (patch)
tree84e78de710844102970fcd556a6b9ee7d9c35aa6 /dev-python/mpdlcd
parenta84f177bdf49dc571550bb304f22152883a8d52a (diff)
downloadbaldeagleos-repo-3122319b07627bc265e8b2efd59cab4e7d3fe542.tar.gz
baldeagleos-repo-3122319b07627bc265e8b2efd59cab4e7d3fe542.tar.xz
baldeagleos-repo-3122319b07627bc265e8b2efd59cab4e7d3fe542.zip
Updating liguros repo
Diffstat (limited to 'dev-python/mpdlcd')
-rw-r--r--dev-python/mpdlcd/Manifest1
-rw-r--r--dev-python/mpdlcd/files/mpdlcd.confd5
-rw-r--r--dev-python/mpdlcd/files/mpdlcd.initd15
-rw-r--r--dev-python/mpdlcd/metadata.xml20
-rw-r--r--dev-python/mpdlcd/mpdlcd-0.5.2.ebuild34
5 files changed, 75 insertions, 0 deletions
diff --git a/dev-python/mpdlcd/Manifest b/dev-python/mpdlcd/Manifest
new file mode 100644
index 000000000000..48aaf4c73f1b
--- /dev/null
+++ b/dev-python/mpdlcd/Manifest
@@ -0,0 +1 @@
+DIST mpdlcd-0.5.2.tar.gz 30748 BLAKE2B 5609ac149a9aa806e516202adf1b9d0f4fc88e8370f331edc836082d7b3b85c519097149dd2b5cb838d8a9ff353421e17daf9236397e4b37e2923948f8dc9dac SHA512 e000120eee1ce99b549c5ac0cd00fba394ce1a373cce3dde819f6aabd6fc3b616e59ade6d6868b1e9f14afea4897cf541f2c3f5d0eaebcbbd03b15781a63b6fc
diff --git a/dev-python/mpdlcd/files/mpdlcd.confd b/dev-python/mpdlcd/files/mpdlcd.confd
new file mode 100644
index 000000000000..c7813cb0dea4
--- /dev/null
+++ b/dev-python/mpdlcd/files/mpdlcd.confd
@@ -0,0 +1,5 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Options for your started MPDlcd
+# MPDLCD_OPTS="--mpd=mpd.example.org:1234 --lcdproc=lcd.example.org:456 --syslog --syslog-facility=user2 --loglevel=debug --lcdd-debug"
diff --git a/dev-python/mpdlcd/files/mpdlcd.initd b/dev-python/mpdlcd/files/mpdlcd.initd
new file mode 100644
index 000000000000..c1e5bc7e1a3d
--- /dev/null
+++ b/dev-python/mpdlcd/files/mpdlcd.initd
@@ -0,0 +1,15 @@
+#!/sbin/openrc-run
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+name="MPDlcd"
+description="A small adapter which will display the status of a MPD server on a LCDproc screen"
+pidfile="/run/mpdlcd.pid"
+
+command="/usr/bin/mpdlcd"
+command_args="${MPDLCD_OPTS}"
+command_background="true"
+
+depend() {
+ need net
+}
diff --git a/dev-python/mpdlcd/metadata.xml b/dev-python/mpdlcd/metadata.xml
new file mode 100644
index 000000000000..5b8a8a77015a
--- /dev/null
+++ b/dev-python/mpdlcd/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>conikost@gentoo.org</email>
+ <name>Conrad Kostecki</name>
+ </maintainer>
+ <longdescription>
+ MPDLcd is a small adapter which will display the status
+ of a MPD server on a LCD screen, through lcdproc.
+
+ It allows defining various layouts depending on LCD size,
+ with fix or moving parts.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://github.com/rbarrois/mpdlcd/issues</bugs-to>
+ <remote-id type="github">rbarrois/mpdlcd</remote-id>
+ </upstream>
+ <origin>gentoo-staging</origin>
+</pkgmetadata>
diff --git a/dev-python/mpdlcd/mpdlcd-0.5.2.ebuild b/dev-python/mpdlcd/mpdlcd-0.5.2.ebuild
new file mode 100644
index 000000000000..71a895b74af5
--- /dev/null
+++ b/dev-python/mpdlcd/mpdlcd-0.5.2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{5,6,7,8,9} )
+
+inherit distutils-r1
+
+DESCRIPTION="A small tool to display the MPD status on a LCDproc server."
+HOMEPAGE="https://github.com/rbarrois/mpdlcd"
+SRC_URI="https://github.com/rbarrois/${PN}/archive/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-python/python-mpd"
+
+S="${WORKDIR}/${PN}-${P}"
+
+distutils_enable_tests pytest
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ doman man/mpdlcd.1
+
+ insinto /etc
+ doins mpdlcd.conf
+
+ newinitd "${FILESDIR}"/mpdlcd.initd mpdlcd
+ newconfd "${FILESDIR}"/mpdlcd.confd mpdlcd
+}