blob: bbd5e75221e4860418832cc56c38541e1a2a00a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# Maintainer: envolution
# Contributor: dreieck (https://aur.archlinux.org/account/dreieck)
pkgname="pa-dlna"
pkgver=0.14
pkgrel=1
pkgdesc="Forwards audio streams to DLNA devices. For PulseAudio or PipeWira (via 'python-libpulse')"
arch=(
'any'
)
url="https://gitlab.com/xdegaye/pa-dlna"
license=('MIT')
provides=(
"pa-dlna=${pkgver}"
"upnp-cmd=${pkgver}"
"upnp-cmd-git=${pkgver}"
"python-pa_dlna=${pkgver}"
"python-pa_dlna-git=${pkgver}"
"PULSEAUDIO-DLNA-SINK"
)
conflicts=(
"upnp-cmd"
"python-pa_dlna"
)
depends=(
'libpulse' # For `parec` executable
'python>=3.8'
'python-psutil'
'python-libpulse'
)
makedepends=(
'git'
'python-build'
'python-flit-core'
'python-installer'
'python-setuptools'
'python-sphinx'
'python-sphinx_rtd_theme'
'python-wheel'
)
optdepends=(
'ffmpeg: multiple formats support'
'flac: flac transcoding support'
'lame: mp3 transcoding support'
'pulse-native-provider: To be used by a local pulseaudio implementation'
'pipewire-pulse: To be used by a local pipewire implementation'
)
source=(
"git+${url}.git#tag=${pkgver}"
)
sha256sums=('1864da0823a42d6a2a2785b7e67386c7fde29d630a1979e1d54dd392504c1cda')
build() {
cd "$pkgname"
python -m build --wheel --no-isolation
}
package() {
cd "$pkgname"
python -m installer --destdir="${pkgdir}" dist/*.whl
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|