Gentoo Archives: gentoo-commits

From: Matt Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/pulseaudio-dlna/
Date: Sat, 09 Dec 2017 00:25:46
Message-Id: 1512779121.b0b8163936e4b564ba5e6922d89d879947f7fb9e.prometheanfire@gentoo
1 commit: b0b8163936e4b564ba5e6922d89d879947f7fb9e
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 9 00:22:53 2017 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 9 00:25:21 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0b81639
7
8 net-misc/pulseaudio-dlna: adding live ebuild
9
10 Package-Manager: Portage-2.3.14, Repoman-2.3.6
11
12 net-misc/pulseaudio-dlna/Manifest | 2 +-
13 .../pulseaudio-dlna/pulseaudio-dlna-9999.ebuild | 66 ++++++++++++++++++++++
14 2 files changed, 67 insertions(+), 1 deletion(-)
15
16 diff --git a/net-misc/pulseaudio-dlna/Manifest b/net-misc/pulseaudio-dlna/Manifest
17 index d87a91f4760..861b33a0ef7 100644
18 --- a/net-misc/pulseaudio-dlna/Manifest
19 +++ b/net-misc/pulseaudio-dlna/Manifest
20 @@ -1 +1 @@
21 -DIST pulseaudio-dlna-0.5.2.tar.gz 701412 SHA256 e07f6db31502d90f6f8971d2cd1f96a540e2bd7f26f0090afdaee5b5c73f6a68 SHA512 298f61d643c35449fbb0001efa69a1792e41518953f58506703f3568902da4457d0f4f9e52b9641df26fc6f978670dd29a7f5d786b99339bd2a71f5fa59dd7db WHIRLPOOL 3a338048e99e9b37e6b583890d6799f07cc94470b8dc2d0a65f6e94c23528c4f4c10399856340d98fb4f2d580ed1fced2b457ad5129664db5678ceaabe13b86c
22 +DIST pulseaudio-dlna-0.5.2.tar.gz 701412 BLAKE2B f31d2e5f9adb79fc2882b14582f2787f152675c6f2c97857edf93d6b28fe2d3cbc85badf427665dac44e7d37802365b287e42fd2f8c11bde7cec5267a2fddeb6 SHA512 298f61d643c35449fbb0001efa69a1792e41518953f58506703f3568902da4457d0f4f9e52b9641df26fc6f978670dd29a7f5d786b99339bd2a71f5fa59dd7db
23
24 diff --git a/net-misc/pulseaudio-dlna/pulseaudio-dlna-9999.ebuild b/net-misc/pulseaudio-dlna/pulseaudio-dlna-9999.ebuild
25 new file mode 100644
26 index 00000000000..ab32925b3a8
27 --- /dev/null
28 +++ b/net-misc/pulseaudio-dlna/pulseaudio-dlna-9999.ebuild
29 @@ -0,0 +1,66 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +PYTHON_COMPAT=( python2_7 )
35 +DISTUTILS_SINGLE_IMPL=1
36 +
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="A lightweight DLNA/UPNP/Chromecast streaming server for PulseAudio"
40 +HOMEPAGE="https://github.com/masmu/pulseaudio-dlna"
41 +
42 +if [[ ${PV} == *9999 ]];then
43 + inherit git-r3
44 + SRC_URI=""
45 + EGIT_REPO_URI="${HOMEPAGE}"
46 + KEYWORDS=""
47 +else
48 + SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
49 + KEYWORDS="~amd64 ~x86"
50 +fi
51 +
52 +LICENSE="GPL-3"
53 +SLOT="0"
54 +IUSE=""
55 +
56 +RDEPEND=">=dev-python/protobuf-python-2.5.0[${PYTHON_USEDEP}]
57 + >=dev-python/chardet-2.0.1[${PYTHON_USEDEP}]
58 + >=dev-python/pyroute2-0.3.5[${PYTHON_USEDEP}]
59 + >=dev-python/docopt-0.6.1[${PYTHON_USEDEP}]
60 + >=dev-python/futures-2.1.6[${PYTHON_USEDEP}]
61 + gnome-base/librsvg[introspection]
62 + x11-libs/gtk+:3[introspection]
63 + >=dev-python/lxml-3[${PYTHON_USEDEP}]
64 + >=dev-python/netifaces-0.8[${PYTHON_USEDEP}]
65 + >=dev-python/notify2-0.3[${PYTHON_USEDEP}]
66 + >=dev-python/psutil-1.2.1[${PYTHON_USEDEP}]
67 + dev-python/pycairo[${PYTHON_USEDEP}]
68 + dev-python/pygobject:3[${PYTHON_USEDEP}]
69 + >=dev-python/requests-2.2.1[${PYTHON_USEDEP}]
70 + >=dev-python/setproctitle-1.0.1[${PYTHON_USEDEP}]
71 + >=dev-python/zeroconf-0.17.4[${PYTHON_USEDEP}]
72 + || (
73 + || ( media-video/ffmpeg[encode,faac,mp3,opus,vorbis]
74 + media-video/ffmpeg[encode,fdk,mp3,opus,vorbis] )
75 + ( media-video/libav[encode,faac,mp3,opus,vorbis] )
76 + ( media-libs/faac
77 + media-libs/flac
78 + media-sound/lame
79 + media-sound/opus-tools
80 + media-sound/sox
81 + media-sound/vorbis-tools )
82 + )
83 + virtual/python-futures[${PYTHON_USEDEP}]"
84 +
85 +DEPEND="${RDEPEND}
86 + dev-python/dbus-python[${PYTHON_USEDEP}]
87 + dev-python/setuptools[${PYTHON_USEDEP}]
88 + media-sound/pulseaudio"
89 +
90 +src_install() {
91 + distutils-r1_src_install
92 +
93 + insinto /usr/share/applications
94 + doins "${FILESDIR}/${PN}.desktop"
95 +}