subrepo:
  subdir:   "pulseaudio-dlna"
  merged:   "362746c"
upstream:
  origin:   "https://aur.archlinux.org/pulseaudio-dlna"
  branch:   "master"
  commit:   "362746c"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"
This commit is contained in:
Gabriel Ebner 2021-01-05 16:34:42 +01:00
parent 77474f758f
commit d1d8c9f7bd
3 changed files with 98 additions and 0 deletions

35
pulseaudio-dlna/.SRCINFO Normal file
View File

@ -0,0 +1,35 @@
pkgbase = pulseaudio-dlna
pkgdesc = Small DLNA server which brings DLNA/UPnP support to PulseAudio
pkgver = 0.5.2.r152.gb0db813
pkgrel = 5
url = https://github.com/masmu/pulseaudio-dlna
arch = x86_64
license = GPL3
makedepends = git
depends = python-chardet
depends = python-dbus
depends = python-docopt
depends = python-gobject
depends = python-lxml
depends = python-netifaces
depends = python-notify2
depends = python-psutil
depends = python-pychromecast6
depends = python-pyroute2
depends = python-requests
depends = python-setproctitle
depends = python-setuptools
optdepends = faac: AAC transcoding support
optdepends = ffmpeg: multiple formats support
optdepends = flac: FLAC transcoding support
optdepends = lame: MP3 transcoding support
optdepends = opus-tools: OPUS transcoding support
optdepends = sox: WAV transcoding support
optdepends = vorbis-tools: OGG transcoding support
source = git+https://github.com/masmu/pulseaudio-dlna.git#commit=b0db8137224f5a293329a60187365168304c3768
source = wait_for_chromecast.patch::https://github.com/masmu/pulseaudio-dlna/commit/d46f419abd5105e48342ee45219cbf557d342af4.patch
b2sums = SKIP
b2sums = 4e846ebd9ab9ee005a8809ab33523fdcfcba5bfd9e1ed7ca28bfd17fa3af4440ba44dfdeeee93c8103bf041858ace939184d39e919b050c56d6fbc9cde6cfdb7
pkgname = pulseaudio-dlna

12
pulseaudio-dlna/.gitrepo Normal file
View File

@ -0,0 +1,12 @@
; DO NOT EDIT (unless you know what you are doing)
;
; This subdirectory is a git "subrepo", and this file is maintained by the
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
;
[subrepo]
remote = https://aur.archlinux.org/pulseaudio-dlna
branch = master
commit = 362746c03d06034dff048fbb79b3a716106ec26d
parent = 77474f758f21e37def26cd047b5dd3a74126390d
method = merge
cmdver = 0.4.3

51
pulseaudio-dlna/PKGBUILD Normal file
View File

@ -0,0 +1,51 @@
# Maintainer: Daniel M. Capella <polyzen@archlinux.org>
# Contributor: ZaZam <zazaamm ät gmail döt com>
# Contributor: Yegorius <yegorius@domic.us>
pkgname=pulseaudio-dlna
pkgver=0.5.2.r152.gb0db813
pkgrel=5
pkgdesc='Small DLNA server which brings DLNA/UPnP support to PulseAudio'
arch=('x86_64')
url=https://github.com/masmu/pulseaudio-dlna
license=('GPL3')
depends=('python-chardet' 'python-dbus' 'python-docopt' 'python-gobject'
'python-lxml' 'python-netifaces' 'python-notify2' 'python-psutil'
'python-pychromecast6' 'python-pyroute2' 'python-requests'
'python-setproctitle' 'python-setuptools')
makedepends=('git')
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=("git+$url.git#commit=b0db8137224f5a293329a60187365168304c3768"
'wait_for_chromecast.patch::https://github.com/masmu/pulseaudio-dlna/commit/d46f419abd5105e48342ee45219cbf557d342af4.patch')
b2sums=('SKIP'
'4e846ebd9ab9ee005a8809ab33523fdcfcba5bfd9e1ed7ca28bfd17fa3af4440ba44dfdeeee93c8103bf041858ace939184d39e919b050c56d6fbc9cde6cfdb7')
pkgver() {
cd $pkgname
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd $pkgname
sed -i '/dbus-python/d' setup.py
# https://github.com/masmu/pulseaudio-dlna/pull/398
patch -p1 -i ../wait_for_chromecast.patch
}
build() {
cd $pkgname
python setup.py build
}
package() {
cd $pkgname
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
# vim:set ts=2 sw=2 et: