pulseaudio-dlna-0.5.2.ebuild 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. PYTHON_COMPAT=( python2_7 )
  5. DISTUTILS_SINGLE_IMPL=1
  6. inherit distutils-r1
  7. DESCRIPTION="A lightweight DLNA/UPNP/Chromecast streaming server for PulseAudio"
  8. HOMEPAGE="https://github.com/masmu/pulseaudio-dlna"
  9. SRC_URI="https://github.com/masmu/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
  10. LICENSE="GPL-3"
  11. SLOT="0"
  12. KEYWORDS="~amd64 ~x86"
  13. IUSE=""
  14. RDEPEND=">=dev-python/protobuf-python-2.5.0[${PYTHON_USEDEP}]
  15. >=dev-python/chardet-2.0.1[${PYTHON_USEDEP}]
  16. >=dev-python/docopt-0.6.1[${PYTHON_USEDEP}]
  17. >=dev-python/futures-2.1.6[${PYTHON_USEDEP}]
  18. dev-python/librsvg-python[${PYTHON_USEDEP}]
  19. >=dev-python/lxml-3[${PYTHON_USEDEP}]
  20. >=dev-python/netifaces-0.8[${PYTHON_USEDEP}]
  21. >=dev-python/notify2-0.3[${PYTHON_USEDEP}]
  22. >=dev-python/psutil-1.2.1[${PYTHON_USEDEP}]
  23. dev-python/pycairo[${PYTHON_USEDEP}]
  24. dev-python/pygobject:3[${PYTHON_USEDEP}]
  25. >=dev-python/requests-2.2.1[${PYTHON_USEDEP}]
  26. >=dev-python/setproctitle-1.0.1[${PYTHON_USEDEP}]
  27. >=dev-python/zeroconf-0.17[${PYTHON_USEDEP}]
  28. || (
  29. ( media-video/ffmpeg[encode,faac,mp3,opus,vorbis] )
  30. ( media-video/libav[encode,faac,mp3,opus,vorbis] )
  31. ( media-libs/faac
  32. media-libs/flac
  33. media-sound/lame
  34. media-sound/opus-tools
  35. media-sound/sox
  36. media-sound/vorbis-tools )
  37. )
  38. virtual/python-futures[${PYTHON_USEDEP}]"
  39. DEPEND="${RDEPEND}
  40. dev-python/dbus-python[${PYTHON_USEDEP}]
  41. dev-python/setuptools[${PYTHON_USEDEP}]
  42. media-sound/pulseaudio"
  43. src_install() {
  44. distutils-r1_src_install
  45. insinto /usr/share/applications
  46. doins "${FILESDIR}/${PN}.desktop"
  47. }