Last active
July 4, 2021 18:02
-
-
Save yannleretaille/1a45e6d55f7ed3833f9426c2fea29f2d to your computer and use it in GitHub Desktop.
pulseaudio-dlna 0.6.1 (Cygn fork)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Daniel M. Capella <[email protected]> | |
# Contributor: ZaZam <zazaamm ät gmail döt com> | |
# Contributor: Yegorius <[email protected]> | |
pkgname=pulseaudio-dlna | |
pkgver=0.6.1 | |
pkgrel=1 | |
pkgdesc='Small DLNA server which brings DLNA/UPnP support to PulseAudio' | |
arch=('x86_64') | |
url=https://github.com/Cygn/pulseaudio-dlna/ | |
license=('GPL3') | |
depends=('python-chardet' 'python-dbus' 'python-docopt' 'python-gobject' | |
'python-lxml' 'python-netifaces' 'python-notify2' 'python-psutil' | |
'python-pychromecast' 'python-pyroute2' 'python-requests' | |
'python-setproctitle' 'python-protobuf' 'python-setuptools' | |
'python-zeroconf' 'python-urllib3') | |
makedepends=('git' 'help2man') | |
optdepends=('faac: AAC transcoding support' | |
'ffmpeg: multiple formats support' | |
'flac: FLAC transcoding support' | |
'lame: MP3 transcoding support' | |
'opus-tools: OPUS transcoding support' | |
'sox: WAV transcoding support' | |
'vorbis-tools: OGG transcoding support') | |
source=('https://github.com/Cygn/pulseaudio-dlna/archive/0.6.1.tar.gz') | |
sha256sums=('497743700377389ae03ffae2d8fbf8c49ed8ec219d53fd8ca7f0aea0d464b15d') | |
prepare() { | |
cd "$pkgname-$pkgver" | |
sed -i '/dbus-python/d' setup.py | |
} | |
build() { | |
cd "$pkgname-$pkgver" | |
python setup.py build | |
} | |
package() { | |
cd "$pkgname-$pkgver" | |
make manpage | |
python setup.py build --build-lib=build/python \ | |
install --root="$pkgdir" --optimize=1 | |
} | |
# vim:set ts=2 sw=2 et: |
I get that. Still, if one creates a PKGBUILD, I'd consider it cleaner and more consistent with python packaging on archlinux to avoid virtual envs.
Anyway, thank you for your comments and hints on how to successfully build it!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
virtualenv is a Python specific tool that is used to create per-project environments with symlinks or copies of the system's Python interpreter and it's own
site-packages
(library folders).There is no harm in installing it.
It enables developers to install third-party packages without touching the system installation and on a per-project basis such that for example you only need user rights to install 3rd party libs and you can make sure packages/versions don't conflict with libs used by other packages installed in the system.