summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2016-10-21 11:08:14 -0500
committerMatthew Thode <prometheanfire@gentoo.org>2016-10-21 11:24:44 -0500
commit4c522ced67f97210dc30a4a462cd40fff12a701f (patch)
tree2ab2dd952209f839e2e2bc47d865407b29ec1d0b /net-misc/pulseaudio-dlna
parentsys-kernel/gentoo-sources: Linux patch 4.8.3 (diff)
downloadgentoo-4c522ced67f97210dc30a4a462cd40fff12a701f.tar.gz
gentoo-4c522ced67f97210dc30a4a462cd40fff12a701f.tar.bz2
gentoo-4c522ced67f97210dc30a4a462cd40fff12a701f.zip
net-misc/pulseaudio-dlna: adding for bug 575256
Package-Manager: portage-2.3.0
Diffstat (limited to 'net-misc/pulseaudio-dlna')
-rw-r--r--net-misc/pulseaudio-dlna/Manifest1
-rw-r--r--net-misc/pulseaudio-dlna/files/pulseaudio-dlna.desktop9
-rw-r--r--net-misc/pulseaudio-dlna/metadata.xml10
-rw-r--r--net-misc/pulseaudio-dlna/pulseaudio-dlna-0.5.2.ebuild56
4 files changed, 76 insertions, 0 deletions
diff --git a/net-misc/pulseaudio-dlna/Manifest b/net-misc/pulseaudio-dlna/Manifest
new file mode 100644
index 000000000000..d87a91f4760c
--- /dev/null
+++ b/net-misc/pulseaudio-dlna/Manifest
@@ -0,0 +1 @@
+DIST pulseaudio-dlna-0.5.2.tar.gz 701412 SHA256 e07f6db31502d90f6f8971d2cd1f96a540e2bd7f26f0090afdaee5b5c73f6a68 SHA512 298f61d643c35449fbb0001efa69a1792e41518953f58506703f3568902da4457d0f4f9e52b9641df26fc6f978670dd29a7f5d786b99339bd2a71f5fa59dd7db WHIRLPOOL 3a338048e99e9b37e6b583890d6799f07cc94470b8dc2d0a65f6e94c23528c4f4c10399856340d98fb4f2d580ed1fced2b457ad5129664db5678ceaabe13b86c
diff --git a/net-misc/pulseaudio-dlna/files/pulseaudio-dlna.desktop b/net-misc/pulseaudio-dlna/files/pulseaudio-dlna.desktop
new file mode 100644
index 000000000000..dd6bcde58487
--- /dev/null
+++ b/net-misc/pulseaudio-dlna/files/pulseaudio-dlna.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Pulseaudio DLNA
+Type=Application
+Comment=A lightweight streaming server which brings DLNA / UPNP and Chromecast support to PulseAudio and Linux
+Exec=sh -c "pkill pulseaudio-dlna; pulseaudio-dlna --request-timeout=30"
+Terminal=false
+Categories=
+NoDisplay=true
+StartupNotify=false
diff --git a/net-misc/pulseaudio-dlna/metadata.xml b/net-misc/pulseaudio-dlna/metadata.xml
new file mode 100644
index 000000000000..1301fb3341bc
--- /dev/null
+++ b/net-misc/pulseaudio-dlna/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>prometheanfire@gentoo.org</email>
+ <name>Matthew Thode</name>
+ </maintainer>
+ <longdescription lang="en">
+ </longdescription>
+</pkgmetadata>
diff --git a/net-misc/pulseaudio-dlna/pulseaudio-dlna-0.5.2.ebuild b/net-misc/pulseaudio-dlna/pulseaudio-dlna-0.5.2.ebuild
new file mode 100644
index 000000000000..02ac1a8ca80b
--- /dev/null
+++ b/net-misc/pulseaudio-dlna/pulseaudio-dlna-0.5.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1
+
+DESCRIPTION="A lightweight DLNA/UPNP/Chromecast streaming server for PulseAudio"
+HOMEPAGE="https://github.com/masmu/pulseaudio-dlna"
+SRC_URI="https://github.com/masmu/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-python/protobuf-python-2.5.0[${PYTHON_USEDEP}]
+ >=dev-python/chardet-2.0.1[${PYTHON_USEDEP}]
+ >=dev-python/docopt-0.6.1[${PYTHON_USEDEP}]
+ >=dev-python/futures-2.1.6[${PYTHON_USEDEP}]
+ dev-python/librsvg-python[${PYTHON_USEDEP}]
+ >=dev-python/lxml-3[${PYTHON_USEDEP}]
+ >=dev-python/netifaces-0.8[${PYTHON_USEDEP}]
+ >=dev-python/notify2-0.3[${PYTHON_USEDEP}]
+ >=dev-python/psutil-1.2.1[${PYTHON_USEDEP}]
+ dev-python/pycairo[${PYTHON_USEDEP}]
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ >=dev-python/requests-2.2.1[${PYTHON_USEDEP}]
+ >=dev-python/setproctitle-1.0.1[${PYTHON_USEDEP}]
+ >=dev-python/zeroconf-0.17[${PYTHON_USEDEP}]
+ || (
+ ( media-video/ffmpeg[encode,faac,mp3,opus,vorbis] )
+ ( media-video/libav[encode,faac,mp3,opus,vorbis] )
+ ( media-libs/faac
+ media-libs/flac
+ media-sound/lame
+ media-sound/opus-tools
+ media-sound/sox
+ media-sound/vorbis-tools )
+ )
+ virtual/python-futures[${PYTHON_USEDEP}]"
+
+DEPEND="${RDEPEND}
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ media-sound/pulseaudio"
+
+src_install() {
+ distutils-r1_src_install
+
+ insinto /usr/share/applications
+ doins "${FILESDIR}/${PN}.desktop"
+}