summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel M. Capella2021-01-02 04:39:09 -0500
committerDaniel M. Capella2021-01-02 04:39:15 -0500
commit362746c03d06034dff048fbb79b3a716106ec26d (patch)
tree3a8c51de53904926b92e89f0902181574be57bac
parent3cbf8bd556c780b6d6027deb7b33b0c09cdce3f8 (diff)
downloadaur-362746c03d06034dff048fbb79b3a716106ec26d.tar.gz
Bump to tip of python3 branch
Commonplace, might as well: https://repology.org/project/pulseaudio-dlna/versions
-rw-r--r--.SRCINFO38
-rw-r--r--PKGBUILD42
2 files changed, 50 insertions, 30 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4faa31426039..50da4f47ddf2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,24 +1,24 @@
pkgbase = pulseaudio-dlna
pkgdesc = Small DLNA server which brings DLNA/UPnP support to PulseAudio
- pkgver = 0.5.2
- pkgrel = 4
+ pkgver = 0.5.2.r152.gb0db813
+ pkgrel = 5
url = https://github.com/masmu/pulseaudio-dlna
arch = x86_64
license = GPL3
- depends = python2-chardet
- depends = python2-dbus
- depends = python2-docopt
- depends = python2-futures
- depends = python2-gobject2
- depends = python2-lxml
- depends = python2-netifaces
- depends = python2-notify2
- depends = python2-protobuf
- depends = python2-psutil
- depends = python2-requests
- depends = python2-setproctitle
- depends = python2-setuptools
- depends = python2-zeroconf
+ 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
@@ -26,8 +26,10 @@ pkgbase = pulseaudio-dlna
optdepends = opus-tools: OPUS transcoding support
optdepends = sox: WAV transcoding support
optdepends = vorbis-tools: OGG transcoding support
- source = https://github.com/masmu/pulseaudio-dlna/archive/0.5.2/pulseaudio-dlna-0.5.2.tar.gz
- sha512sums = 298f61d643c35449fbb0001efa69a1792e41518953f58506703f3568902da4457d0f4f9e52b9641df26fc6f978670dd29a7f5d786b99339bd2a71f5fa59dd7db
+ 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
diff --git a/PKGBUILD b/PKGBUILD
index 103f5d8f7dce..87cb5046b52d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,16 +3,17 @@
# Contributor: Yegorius <yegorius@domic.us>
pkgname=pulseaudio-dlna
-pkgver=0.5.2
-pkgrel=4
+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=('python2-chardet' 'python2-dbus' 'python2-docopt' 'python2-futures'
- 'python2-gobject2' 'python2-lxml' 'python2-netifaces' 'python2-notify2'
- 'python2-protobuf' 'python2-psutil' 'python2-requests'
- 'python2-setproctitle' 'python2-setuptools' 'python2-zeroconf')
+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'
@@ -20,14 +21,31 @@ optdepends=('faac: AAC transcoding support'
'opus-tools: OPUS transcoding support'
'sox: WAV transcoding support'
'vorbis-tools: OGG transcoding support')
-source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('298f61d643c35449fbb0001efa69a1792e41518953f58506703f3568902da4457d0f4f9e52b9641df26fc6f978670dd29a7f5d786b99339bd2a71f5fa59dd7db')
+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-$pkgver
- python2 setup.py build
+ cd $pkgname
+ python setup.py build
}
+
package() {
- cd $pkgname-$pkgver
- python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ cd $pkgname
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
+
+# vim:set ts=2 sw=2 et: