net-misc/pulseaudio-dlna: adding live ebuild

Package-Manager: Portage-2.3.14, Repoman-2.3.6
This commit is contained in:
Matthew Thode
2017-12-08 18:22:53 -06:00
parent 85dde98934
commit b0b8163936
2 changed files with 67 additions and 1 deletions

View File

@@ -1 +1 @@
DIST pulseaudio-dlna-0.5.2.tar.gz 701412 SHA256 e07f6db31502d90f6f8971d2cd1f96a540e2bd7f26f0090afdaee5b5c73f6a68 SHA512 298f61d643c35449fbb0001efa69a1792e41518953f58506703f3568902da4457d0f4f9e52b9641df26fc6f978670dd29a7f5d786b99339bd2a71f5fa59dd7db WHIRLPOOL 3a338048e99e9b37e6b583890d6799f07cc94470b8dc2d0a65f6e94c23528c4f4c10399856340d98fb4f2d580ed1fced2b457ad5129664db5678ceaabe13b86c
DIST pulseaudio-dlna-0.5.2.tar.gz 701412 BLAKE2B f31d2e5f9adb79fc2882b14582f2787f152675c6f2c97857edf93d6b28fe2d3cbc85badf427665dac44e7d37802365b287e42fd2f8c11bde7cec5267a2fddeb6 SHA512 298f61d643c35449fbb0001efa69a1792e41518953f58506703f3568902da4457d0f4f9e52b9641df26fc6f978670dd29a7f5d786b99339bd2a71f5fa59dd7db

View File

@@ -0,0 +1,66 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
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"
if [[ ${PV} == *9999 ]];then
inherit git-r3
SRC_URI=""
EGIT_REPO_URI="${HOMEPAGE}"
KEYWORDS=""
else
SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-3"
SLOT="0"
IUSE=""
RDEPEND=">=dev-python/protobuf-python-2.5.0[${PYTHON_USEDEP}]
>=dev-python/chardet-2.0.1[${PYTHON_USEDEP}]
>=dev-python/pyroute2-0.3.5[${PYTHON_USEDEP}]
>=dev-python/docopt-0.6.1[${PYTHON_USEDEP}]
>=dev-python/futures-2.1.6[${PYTHON_USEDEP}]
gnome-base/librsvg[introspection]
x11-libs/gtk+:3[introspection]
>=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.4[${PYTHON_USEDEP}]
|| (
|| ( media-video/ffmpeg[encode,faac,mp3,opus,vorbis]
media-video/ffmpeg[encode,fdk,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"
}