From c6e62298405d39e635c0d8dd6e026c8cb667a478 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 12 Mar 2024 06:46:08 +0000 Subject: gentoo auto-resync : 12:03:2024 - 06:46:08 --- .../pulseaudio-dlna-0.6.5_p1-r1.ebuild | 70 ++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 net-misc/pulseaudio-dlna/pulseaudio-dlna-0.6.5_p1-r1.ebuild (limited to 'net-misc/pulseaudio-dlna/pulseaudio-dlna-0.6.5_p1-r1.ebuild') diff --git a/net-misc/pulseaudio-dlna/pulseaudio-dlna-0.6.5_p1-r1.ebuild b/net-misc/pulseaudio-dlna/pulseaudio-dlna-0.6.5_p1-r1.ebuild new file mode 100644 index 000000000000..596bd3f68add --- /dev/null +++ b/net-misc/pulseaudio-dlna/pulseaudio-dlna-0.6.5_p1-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +DISTUTILS_USE_PEP517=setuptools + +inherit desktop distutils-r1 + +DESCRIPTION="A lightweight DLNA/UPNP/Chromecast streaming server for PulseAudio" +HOMEPAGE="https://github.com/Cygn/pulseaudio-dlna" + +if [[ ${PV} == *9999 ]];then + EGIT_REPO_URI="https://github.com/Cygn/pulseaudio-dlna" + inherit git-r3 +else + MY_P=${PN}-${PV/_p/-} + + SRC_URI="https://github.com/Cygn/pulseaudio-dlna/archive/refs/tags/${MY_P}.tar.gz" + S="${WORKDIR}"/${PN}-${MY_P} + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3" +SLOT="0" + +RDEPEND=">=dev-python/protobuf-python-2.5.0[${PYTHON_USEDEP}] + >=dev-python/docopt-0.6.1[${PYTHON_USEDEP}] + >=dev-python/requests-2.2.1[${PYTHON_USEDEP}] + >=dev-python/setproctitle-1.1.10[${PYTHON_USEDEP}] + >=dev-python/notify2-0.3[${PYTHON_USEDEP}] + >=dev-python/psutil-5.4.7[${PYTHON_USEDEP}] + >=dev-python/chardet-3.0.4[${PYTHON_USEDEP}] + >=dev-python/pyroute2-0.3.5[${PYTHON_USEDEP}] + >=dev-python/netifaces-0.10.0[${PYTHON_USEDEP}] + >=dev-python/lxml-3[${PYTHON_USEDEP}] + >=dev-python/pychromecast-10[${PYTHON_USEDEP}] + dev-python/pygobject:3[cairo,${PYTHON_USEDEP}] + >=dev-python/dbus-python-1.0.0[${PYTHON_USEDEP}] + >=dev-python/zeroconf-0.17.4[${PYTHON_USEDEP}] + gnome-base/librsvg[introspection] + x11-libs/gtk+:3[introspection] + || ( media-sound/pulseaudio-daemon media-sound/pulseaudio[daemon(+)] ) + || ( + || ( + media-video/ffmpeg[encode,mp3,opus,vorbis] + media-video/ffmpeg[encode,fdk,mp3,opus,vorbis] + ) + ( + media-libs/flac + media-sound/lame + media-sound/opus-tools + media-sound/sox + media-sound/vorbis-tools + ) + )" + +python_prepare_all() { + sed -i -e 's/.gz//' setup.py || die + + distutils-r1_python_prepare_all +} + +src_install() { + distutils-r1_src_install + + domenu "${FILESDIR}"/${PN}.desktop +} -- cgit v1.2.3