Date: Thursday, January 21, 2016 @ 00:48:14 Author: heftig Revision: 258456
Bump to git, add optdepends Modified: pavucontrol/trunk/PKGBUILD ----------+ PKGBUILD | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-01-20 20:35:46 UTC (rev 258455) +++ PKGBUILD 2016-01-20 23:48:14 UTC (rev 258456) @@ -5,25 +5,26 @@ # Contributor: William Rea <sillywi...@gmail.com> pkgname=pavucontrol -pkgdesc="A GTK volume control for PulseAudio" +pkgdesc="PulseAudio Volume Control" pkgver=3.0 -pkgrel=3 +pkgrel=4 arch=(i686 x86_64) url="http://freedesktop.org/software/pulseaudio/pavucontrol/" license=(GPL) depends=(libcanberra-pulse gtkmm3 libsigc++) -makedepends=(intltool lynx) -source=($url/$pkgname-$pkgver.tar.xz unavail.patch) -sha256sums=('b3d2ea5a25fc88dcee80c396014f72df1b4742f8cfbbc5349c39d64a0d338890' - 'c184782275e90ff24b647a8d690b46e12bd9d52bdb263689e2469a2dbd164235') +makedepends=(intltool lynx git) +optdepends=("pulseaudio: Audio backend") +_commit=9b307dcfe2051caea7145c8ab48953bb4f57005c +source=("git://anongit.freedesktop.org/pulseaudio/pavucontrol#commit=$_commit") +sha256sums=('SKIP') prepare() { - cd $pkgname-$pkgver - patch -Np1 -i ../unavail.patch + cd $pkgname + NOCONFIGURE=1 ./bootstrap.sh } build() { - cd $pkgname-$pkgver + cd $pkgname CXXFLAGS+=' -std=c++11' ./configure --prefix=/usr --enable-gtk3 make @@ -30,6 +31,6 @@ } package() { - cd $pkgname-$pkgver + cd $pkgname make DESTDIR="$pkgdir" install }