[arch-commits] Commit in pulseaudio/repos (8 files)

2017-09-19 Thread Jan Steffens
Date: Tuesday, September 19, 2017 @ 07:45:58
  Author: heftig
Revision: 305831

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  pulseaudio/repos/extra-i686/PKGBUILD
(from rev 305830, pulseaudio/trunk/PKGBUILD)
  pulseaudio/repos/extra-i686/pulseaudio.install
(from rev 305830, pulseaudio/trunk/pulseaudio.install)
  pulseaudio/repos/extra-x86_64/PKGBUILD
(from rev 305830, pulseaudio/trunk/PKGBUILD)
  pulseaudio/repos/extra-x86_64/pulseaudio.install
(from rev 305830, pulseaudio/trunk/pulseaudio.install)
Deleted:
  pulseaudio/repos/extra-i686/PKGBUILD
  pulseaudio/repos/extra-i686/pulseaudio.install
  pulseaudio/repos/extra-x86_64/PKGBUILD
  pulseaudio/repos/extra-x86_64/pulseaudio.install

-+
 /PKGBUILD   |  408 ++
 /pulseaudio.install |   28 ++
 extra-i686/PKGBUILD |  204 ---
 extra-i686/pulseaudio.install   |   14 -
 extra-x86_64/PKGBUILD   |  204 ---
 extra-x86_64/pulseaudio.install |   14 -
 6 files changed, 436 insertions(+), 436 deletions(-)

Deleted: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2017-09-19 07:44:09 UTC (rev 305830)
+++ extra-i686/PKGBUILD 2017-09-19 07:45:58 UTC (rev 305831)
@@ -1,204 +0,0 @@
-# $Id$
-# Maintainer: Jan Alexander Steffens (heftig) 
-# Contributor: Daniel J Griffiths 
-# Contributor: Corrado Primier 
-# Contributor: William Rea 
-
-pkgbase=pulseaudio
-pkgname=(pulseaudio libpulse 
pulseaudio-{gconf,zeroconf,lirc,jack,bluetooth,equalizer})
-pkgdesc="A featureful, general-purpose sound server"
-pkgver=11.0+6+g01f489c3
-pkgrel=1
-arch=(i686 x86_64)
-url="https://www.freedesktop.org/wiki/Software/PulseAudio/";
-license=(GPL)
-makedepends=(libasyncns libcap attr libxtst libsm libsndfile libtool rtkit 
libsoxr
- speexdsp tdb systemd dbus avahi bluez bluez-libs gconf intltool 
jack2-dbus sbc
- lirc openssl fftw orc gtk3 webrtc-audio-processing
- check autoconf-archive git)
-options=(!emptydirs)
-_commit=01f489c396ac3adfb95d57be48bc9f5b5a2a76c6  # stable-11.x
-source=("git+https://anongit.freedesktop.org/git/pulseaudio/pulseaudio#commit=$_commit";)
-sha256sums=('SKIP')
-
-pkgver() {
-  cd pulseaudio
-  git describe --tags | sed 's/^v//;s/-/+/g'
-}
-
-prepare() {
-  cd pulseaudio
-  NOCONFIGURE=1 ./bootstrap.sh
-}
-
-build() {
-  cd pulseaudio
-
-  ./configure --prefix=/usr \
---sysconfdir=/etc \
---libexecdir=/usr/lib \
---localstatedir=/var \
---with-udev-rules-dir=/usr/lib/udev/rules.d \
---with-pulsedsp-location='/usr/\\$$LIB/pulseaudio' \
---with-database=tdb \
---disable-tcpwrap \
---disable-bluez4 \
---disable-samplerate \
---disable-rpath \
---disable-default-build-tests \
-DATADIRNAME=share
-
-  # fight unused direct deps
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-
-  make
-}
-
-package_pulseaudio() {
-  depends=("libpulse=$pkgver-$pkgrel" rtkit libltdl speexdsp tdb orc libsoxr
-   webrtc-audio-processing)
-  optdepends=('pulseaudio-alsa: ALSA configuration (recommended)')
-  backup=(etc/pulse/{daemon.conf,default.pa,system.pa})
-  install=pulseaudio.install
-  replaces=('pulseaudio-xen<=9.0')
-
-  cd pulseaudio
-
-  _pulsever=$(./git-version-gen .tarball-version)
-  while [[ $_pulsever = *.*.* ]]; do
-_pulsever=${_pulsever%.*}
-  done
-  _pulsever=${_pulsever%%-*}
-
-  make -j1 DESTDIR="$pkgdir" install \
-bashcompletiondir=/usr/share/bash-completion/completions
-
-  cd "$pkgdir"
-
-  # Assumes that any volume adjustment is intended by the user, who can control
-  # each app's volume. Misbehaving clients can trigger earsplitting volume
-  # jumps. App volumes can diverge wildly and cause apps without their own
-  # volume control to fall below sink volume; a sink-only volume control will
-  # suddenly be unable to make such an app loud enough.
-  sed -e '/flat-volumes/iflat-volumes = no' \
-  -i etc/pulse/daemon.conf
-
-  # Superseded by socket activation
-  sed -e '/autospawn/iautospawn = no' \
-  -i etc/pulse/client.conf
-
-  # Disable cork-request module, can result in e.g. media players unpausing
-  # when there's a Skype call incoming
-  sed -e 's|/usr/bin/pactl load-module module-x11-cork-request|#&|' \
-  -i usr/bin/start-pulseaudio-x11
-
-  rm etc/dbus-1/system.d/pulseaudio-system.conf
-
-### Split libpulse
-
-  mkdir -p 
"$srcdir"/libpulse/{etc/pulse,usr/{bin,lib/pulseaudio,share/man/man{1,5}}}
-
-  mv etc/pulse/client.conf \
- "$srcdir/libpulse/etc/pulse"
-
-  mv usr/bin/pa{cat,ctl,dsp,mon,play,rec,record} \
- "$srcdir/libpulse/usr/bin"
-
-  mv usr/lib/libpulse{,-simple,-mainloop-glib}.so* \
- usr/lib/{cmake,pkgconfig} \
- "$srcdir/libpulse/usr/lib"
-
-  mv usr/lib/pulseaudio/libpulse{dsp,common-*}.so \
- "$srcdir/libpulse/usr/lib/pulseaudio"
-
-  mv usr/include \
-

[arch-commits] Commit in pulseaudio/repos (8 files)

2017-09-18 Thread Jan Steffens
Date: Monday, September 18, 2017 @ 08:07:33
  Author: heftig
Revision: 305772

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  pulseaudio/repos/extra-i686/PKGBUILD
(from rev 305771, pulseaudio/trunk/PKGBUILD)
  pulseaudio/repos/extra-i686/pulseaudio.install
(from rev 305771, pulseaudio/trunk/pulseaudio.install)
  pulseaudio/repos/extra-x86_64/PKGBUILD
(from rev 305771, pulseaudio/trunk/PKGBUILD)
  pulseaudio/repos/extra-x86_64/pulseaudio.install
(from rev 305771, pulseaudio/trunk/pulseaudio.install)
Deleted:
  pulseaudio/repos/extra-i686/PKGBUILD
  pulseaudio/repos/extra-i686/pulseaudio.install
  pulseaudio/repos/extra-x86_64/PKGBUILD
  pulseaudio/repos/extra-x86_64/pulseaudio.install

-+
 /PKGBUILD   |  408 ++
 /pulseaudio.install |   28 ++
 extra-i686/PKGBUILD |  204 ---
 extra-i686/pulseaudio.install   |   14 -
 extra-x86_64/PKGBUILD   |  204 ---
 extra-x86_64/pulseaudio.install |   14 -
 6 files changed, 436 insertions(+), 436 deletions(-)

Deleted: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2017-09-18 08:07:01 UTC (rev 305771)
+++ extra-i686/PKGBUILD 2017-09-18 08:07:33 UTC (rev 305772)
@@ -1,204 +0,0 @@
-# $Id$
-# Maintainer: Jan Alexander Steffens (heftig) 
-# Contributor: Daniel J Griffiths 
-# Contributor: Corrado Primier 
-# Contributor: William Rea 
-
-pkgbase=pulseaudio
-pkgname=(pulseaudio libpulse 
pulseaudio-{gconf,zeroconf,lirc,jack,bluetooth,equalizer})
-pkgdesc="A featureful, general-purpose sound server"
-pkgver=11.0
-pkgrel=1
-arch=(i686 x86_64)
-url="https://www.freedesktop.org/wiki/Software/PulseAudio/";
-license=(GPL)
-makedepends=(libasyncns libcap attr libxtst libsm libsndfile libtool rtkit 
libsoxr
- speexdsp tdb systemd dbus avahi bluez bluez-libs gconf intltool 
jack2-dbus sbc
- lirc openssl fftw orc gtk3 webrtc-audio-processing
- check autoconf-archive git)
-options=(!emptydirs)
-_commit=8db681606cd8cbb8cee67529937deaa9e4558db9  # tags/v11.0^0
-source=("git+https://anongit.freedesktop.org/git/pulseaudio/pulseaudio#commit=$_commit";)
-sha256sums=('SKIP')
-
-pkgver() {
-  cd pulseaudio
-  git describe --tags | sed 's/^v//;s/-/+/g'
-}
-
-prepare() {
-  cd pulseaudio
-  NOCONFIGURE=1 ./bootstrap.sh
-}
-
-build() {
-  cd pulseaudio
-
-  ./configure --prefix=/usr \
---sysconfdir=/etc \
---libexecdir=/usr/lib \
---localstatedir=/var \
---with-udev-rules-dir=/usr/lib/udev/rules.d \
---with-pulsedsp-location='/usr/\\$$LIB/pulseaudio' \
---with-database=tdb \
---disable-tcpwrap \
---disable-bluez4 \
---disable-samplerate \
---disable-rpath \
---disable-default-build-tests \
-DATADIRNAME=share
-
-  # fight unused direct deps
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-
-  make
-}
-
-package_pulseaudio() {
-  depends=("libpulse=$pkgver-$pkgrel" rtkit libltdl speexdsp tdb orc libsoxr
-   webrtc-audio-processing)
-  optdepends=('pulseaudio-alsa: ALSA configuration (recommended)')
-  backup=(etc/pulse/{daemon.conf,default.pa,system.pa})
-  install=pulseaudio.install
-  replaces=('pulseaudio-xen<=9.0')
-
-  cd pulseaudio
-
-  _pulsever=$(./git-version-gen .tarball-version)
-  while [[ $_pulsever = *.*.* ]]; do
-_pulsever=${_pulsever%.*}
-  done
-  _pulsever=${_pulsever%%-*}
-
-  make -j1 DESTDIR="$pkgdir" install \
-bashcompletiondir=/usr/share/bash-completion/completions
-
-  cd "$pkgdir"
-
-  # Assumes that any volume adjustment is intended by the user, who can control
-  # each app's volume. Misbehaving clients can trigger earsplitting volume
-  # jumps. App volumes can diverge wildly and cause apps without their own
-  # volume control to fall below sink volume; a sink-only volume control will
-  # suddenly be unable to make such an app loud enough.
-  sed -e '/flat-volumes/iflat-volumes = no' \
-  -i etc/pulse/daemon.conf
-
-  # Superseded by socket activation
-  sed -e '/autospawn/iautospawn = no' \
-  -i etc/pulse/client.conf
-
-  # Disable cork-request module, can result in e.g. media players unpausing
-  # when there's a Skype call incoming
-  sed -e 's|/usr/bin/pactl load-module module-x11-cork-request|#&|' \
-  -i usr/bin/start-pulseaudio-x11
-
-  rm etc/dbus-1/system.d/pulseaudio-system.conf
-
-### Split libpulse
-
-  mkdir -p 
"$srcdir"/libpulse/{etc/pulse,usr/{bin,lib/pulseaudio,share/man/man{1,5}}}
-
-  mv etc/pulse/client.conf \
- "$srcdir/libpulse/etc/pulse"
-
-  mv usr/bin/pa{cat,ctl,dsp,mon,play,rec,record} \
- "$srcdir/libpulse/usr/bin"
-
-  mv usr/lib/libpulse{,-simple,-mainloop-glib}.so* \
- usr/lib/{cmake,pkgconfig} \
- "$srcdir/libpulse/usr/lib"
-
-  mv usr/lib/pulseaudio/libpulse{dsp,common-*}.so \
- "$srcdir/libpulse/usr/lib/pulseaudio"
-
-  mv usr/include \
- "$srcdi

[arch-commits] Commit in pulseaudio/repos (8 files)

2017-03-11 Thread Jan de Groot
Date: Saturday, March 11, 2017 @ 22:24:39
  Author: jgc
Revision: 290637

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  pulseaudio/repos/staging-i686/
  pulseaudio/repos/staging-i686/PKGBUILD
(from rev 290636, pulseaudio/trunk/PKGBUILD)
  pulseaudio/repos/staging-i686/padsp-lib32.patch
(from rev 290636, pulseaudio/trunk/padsp-lib32.patch)
  pulseaudio/repos/staging-i686/pulseaudio.install
(from rev 290636, pulseaudio/trunk/pulseaudio.install)
  pulseaudio/repos/staging-x86_64/
  pulseaudio/repos/staging-x86_64/PKGBUILD
(from rev 290636, pulseaudio/trunk/PKGBUILD)
  pulseaudio/repos/staging-x86_64/padsp-lib32.patch
(from rev 290636, pulseaudio/trunk/padsp-lib32.patch)
  pulseaudio/repos/staging-x86_64/pulseaudio.install
(from rev 290636, pulseaudio/trunk/pulseaudio.install)

---+
 staging-i686/PKGBUILD |  206 
 staging-i686/padsp-lib32.patch|   15 ++
 staging-i686/pulseaudio.install   |   14 ++
 staging-x86_64/PKGBUILD   |  206 
 staging-x86_64/padsp-lib32.patch  |   15 ++
 staging-x86_64/pulseaudio.install |   14 ++
 6 files changed, 470 insertions(+)

Copied: pulseaudio/repos/staging-i686/PKGBUILD (from rev 290636, 
pulseaudio/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2017-03-11 22:24:39 UTC (rev 290637)
@@ -0,0 +1,206 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) 
+# Contributor: Daniel J Griffiths 
+# Contributor: Corrado Primier 
+# Contributor: William Rea 
+
+pkgbase=pulseaudio
+pkgname=(pulseaudio libpulse 
pulseaudio-{gconf,zeroconf,lirc,jack,bluetooth,equalizer})
+pkgdesc="A featureful, general-purpose sound server"
+pkgver=10.0
+pkgrel=3
+arch=(i686 x86_64)
+url="https://www.freedesktop.org/wiki/Software/PulseAudio/";
+license=(GPL)
+makedepends=(libasyncns libcap attr libxtst libsm libsndfile libtool rtkit 
libsoxr
+ speexdsp tdb systemd dbus avahi bluez bluez-libs gconf intltool 
jack2-dbus sbc
+ lirc openssl fftw orc gtk3 webrtc-audio-processing
+ check autoconf-archive git)
+options=(!emptydirs)
+_commit=84952e6a092b6a0c5b153bd7a4f6e490810681c8  # tags/v10.0^0
+source=("git+https://anongit.freedesktop.org/git/pulseaudio/pulseaudio#commit=$_commit";
+padsp-lib32.patch)
+sha256sums=('SKIP'
+'7832fc59df76538ff10aedd297c03cb7ff117235da8bfad26082994bb5b84332')
+
+pkgver() {
+  cd pulseaudio
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+  cd pulseaudio
+  NOCONFIGURE=1 ./bootstrap.sh
+}
+
+build() {
+  cd pulseaudio
+
+  ./configure --prefix=/usr \
+--sysconfdir=/etc \
+--libexecdir=/usr/lib \
+--localstatedir=/var \
+--with-udev-rules-dir=/usr/lib/udev/rules.d \
+--with-database=tdb \
+--disable-tcpwrap \
+--disable-bluez4 \
+--disable-samplerate \
+--disable-rpath \
+--disable-default-build-tests \
+DATADIRNAME=share
+
+  # fight unused direct deps
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+package_pulseaudio() {
+  depends=("libpulse=$pkgver-$pkgrel" rtkit libltdl speexdsp tdb orc libsoxr
+   webrtc-audio-processing)
+  optdepends=('pulseaudio-alsa: ALSA configuration (recommended)')
+  backup=(etc/pulse/{daemon.conf,default.pa,system.pa})
+  install=pulseaudio.install
+  replaces=('pulseaudio-xen<=9.0')
+
+  cd pulseaudio
+
+  _pulsever=$(./git-version-gen .tarball-version)
+  while [[ $_pulsever = *.*.* ]]; do
+_pulsever=${_pulsever%.*}
+  done
+  _pulsever=${_pulsever%%-*}
+
+  make -j1 DESTDIR="$pkgdir" install \
+bashcompletiondir=/usr/share/bash-completion/completions
+
+  cd "$pkgdir"
+  patch -Np1 -i "$srcdir/padsp-lib32.patch"
+
+  # Assumes that any volume adjustment is intended by the user, who can control
+  # each app's volume. Misbehaving clients can trigger earsplitting volume
+  # jumps. App volumes can diverge wildly and cause apps without their own
+  # volume control to fall below sink volume; a sink-only volume control will
+  # suddenly be unable to make such an app loud enough.
+  sed -e '/flat-volumes/iflat-volumes = no' \
+  -i etc/pulse/daemon.conf
+
+  # Superseded by socket activation
+  sed -e '/autospawn/iautospawn = no' \
+  -i etc/pulse/client.conf
+
+  # Disable cork-request module, can result in e.g. media players unpausing
+  # when there's a Skype call incoming
+  sed -e 's|/usr/bin/pactl load-module module-x11-cork-request|#&|' \
+  -i usr/bin/start-pulseaudio-x11
+
+  rm etc/dbus-1/system.d/pulseaudio-system.conf
+
+### Split libpulse
+
+  mkdir -p 
"$srcdir"/libpulse/{etc/pulse,usr/{bin,lib/pulseaudio,share/man/man{1,5}}}
+
+  mv etc/pulse/client.conf \
+ "$srcdir/libpulse/etc/pulse"
+
+  mv usr/bin/pa{cat,ctl,dsp,mon,play,rec,record} \
+ "$srcdir/libpul

[arch-commits] Commit in pulseaudio/repos (8 files)

2017-01-07 Thread Jan Steffens
Date: Saturday, January 7, 2017 @ 15:51:14
  Author: heftig
Revision: 285537

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  pulseaudio/repos/testing-i686/
  pulseaudio/repos/testing-i686/PKGBUILD
(from rev 285536, pulseaudio/trunk/PKGBUILD)
  pulseaudio/repos/testing-i686/padsp-lib32.patch
(from rev 285536, pulseaudio/trunk/padsp-lib32.patch)
  pulseaudio/repos/testing-i686/pulseaudio.install
(from rev 285536, pulseaudio/trunk/pulseaudio.install)
  pulseaudio/repos/testing-x86_64/
  pulseaudio/repos/testing-x86_64/PKGBUILD
(from rev 285536, pulseaudio/trunk/PKGBUILD)
  pulseaudio/repos/testing-x86_64/padsp-lib32.patch
(from rev 285536, pulseaudio/trunk/padsp-lib32.patch)
  pulseaudio/repos/testing-x86_64/pulseaudio.install
(from rev 285536, pulseaudio/trunk/pulseaudio.install)

---+
 testing-i686/PKGBUILD |  206 
 testing-i686/padsp-lib32.patch|   15 ++
 testing-i686/pulseaudio.install   |   14 ++
 testing-x86_64/PKGBUILD   |  206 
 testing-x86_64/padsp-lib32.patch  |   15 ++
 testing-x86_64/pulseaudio.install |   14 ++
 6 files changed, 470 insertions(+)

Copied: pulseaudio/repos/testing-i686/PKGBUILD (from rev 285536, 
pulseaudio/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2017-01-07 15:51:14 UTC (rev 285537)
@@ -0,0 +1,206 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) 
+# Contributor: Daniel J Griffiths 
+# Contributor: Corrado Primier 
+# Contributor: William Rea 
+
+pkgbase=pulseaudio
+pkgname=(pulseaudio libpulse 
pulseaudio-{gconf,zeroconf,lirc,jack,bluetooth,equalizer})
+pkgdesc="A featureful, general-purpose sound server"
+pkgver=9.99.1
+pkgrel=1
+arch=(i686 x86_64)
+url="http://www.freedesktop.org/wiki/Software/PulseAudio";
+license=(GPL)
+makedepends=(libasyncns libcap attr libxtst libsm libsndfile libtool rtkit 
libsoxr
+ speexdsp tdb systemd dbus avahi bluez bluez-libs gconf intltool 
jack2-dbus sbc
+ lirc openssl fftw orc json-c gtk3 webrtc-audio-processing
+ check autoconf-archive git)
+options=(!emptydirs)
+_commit=72256f9302b5530b56b8abb7c3fe4b1426c1cb8e  # tags/v9.99.1^0
+source=("git+https://anongit.freedesktop.org/git/pulseaudio/pulseaudio#commit=$_commit";
+padsp-lib32.patch)
+sha256sums=('SKIP'
+'7832fc59df76538ff10aedd297c03cb7ff117235da8bfad26082994bb5b84332')
+
+pkgver() {
+  cd pulseaudio
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+  cd pulseaudio
+  NOCONFIGURE=1 ./bootstrap.sh
+}
+
+build() {
+  cd pulseaudio
+
+  ./configure --prefix=/usr \
+--sysconfdir=/etc \
+--libexecdir=/usr/lib \
+--localstatedir=/var \
+--with-udev-rules-dir=/usr/lib/udev/rules.d \
+--with-database=tdb \
+--disable-tcpwrap \
+--disable-bluez4 \
+--disable-samplerate \
+--disable-rpath \
+--disable-default-build-tests \
+DATADIRNAME=share
+
+  # fight unused direct deps
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+package_pulseaudio() {
+  depends=("libpulse=$pkgver-$pkgrel" rtkit libltdl speexdsp tdb orc libsoxr
+   webrtc-audio-processing)
+  optdepends=('pulseaudio-alsa: ALSA configuration (recommended)')
+  backup=(etc/pulse/{daemon.conf,default.pa,system.pa})
+  install=pulseaudio.install
+  replaces=('pulseaudio-xen<=9.0')
+
+  cd pulseaudio
+
+  _pulsever=$(./git-version-gen .tarball-version)
+  while [[ $_pulsever = *.*.* ]]; do
+_pulsever=${_pulsever%.*}
+  done
+  _pulsever=${_pulsever%%-*}
+
+  make -j1 DESTDIR="$pkgdir" install \
+bashcompletiondir=/usr/share/bash-completion/completions
+
+  cd "$pkgdir"
+  patch -Np1 -i "$srcdir/padsp-lib32.patch"
+
+  # Assumes that any volume adjustment is intended by the user, who can control
+  # each app's volume. Misbehaving clients can trigger earsplitting volume
+  # jumps. App volumes can diverge wildly and cause apps without their own
+  # volume control to fall below sink volume; a sink-only volume control will
+  # suddenly be unable to make such an app loud enough.
+  sed -e '/flat-volumes/iflat-volumes = no' \
+  -i etc/pulse/daemon.conf
+
+  # Superseded by socket activation
+  sed -e '/autospawn/iautospawn = no' \
+  -i etc/pulse/client.conf
+
+  # Disable cork-request module, can result in e.g. media players unpausing
+  # when there's a Skype call incoming
+  sed -e 's|/usr/bin/pactl load-module module-x11-cork-request|#&|' \
+  -i usr/bin/start-pulseaudio-x11
+
+  rm etc/dbus-1/system.d/pulseaudio-system.conf
+
+### Split libpulse
+
+  mkdir -p 
"$srcdir"/libpulse/{etc/pulse,usr/{bin,lib/pulseaudio,share/man/man{1,5}}}
+
+  mv etc/pulse/client.conf \
+ "$srcdir/libpulse/etc/pulse"
+
+  mv usr/bin/pa{cat,ctl,dsp,mon,play,rec,record} \
+ "$

[arch-commits] Commit in pulseaudio/repos (8 files)

2016-06-25 Thread Jan Steffens
Date: Saturday, June 25, 2016 @ 14:36:09
  Author: heftig
Revision: 270644

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  pulseaudio/repos/testing-i686/
  pulseaudio/repos/testing-i686/PKGBUILD
(from rev 270643, pulseaudio/trunk/PKGBUILD)
  pulseaudio/repos/testing-i686/padsp-lib32.patch
(from rev 270643, pulseaudio/trunk/padsp-lib32.patch)
  pulseaudio/repos/testing-i686/pulseaudio.install
(from rev 270643, pulseaudio/trunk/pulseaudio.install)
  pulseaudio/repos/testing-x86_64/
  pulseaudio/repos/testing-x86_64/PKGBUILD
(from rev 270643, pulseaudio/trunk/PKGBUILD)
  pulseaudio/repos/testing-x86_64/padsp-lib32.patch
(from rev 270643, pulseaudio/trunk/padsp-lib32.patch)
  pulseaudio/repos/testing-x86_64/pulseaudio.install
(from rev 270643, pulseaudio/trunk/pulseaudio.install)

---+
 testing-i686/PKGBUILD |  208 
 testing-i686/padsp-lib32.patch|   15 ++
 testing-i686/pulseaudio.install   |   14 ++
 testing-x86_64/PKGBUILD   |  208 
 testing-x86_64/padsp-lib32.patch  |   15 ++
 testing-x86_64/pulseaudio.install |   14 ++
 6 files changed, 474 insertions(+)

Copied: pulseaudio/repos/testing-i686/PKGBUILD (from rev 270643, 
pulseaudio/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2016-06-25 14:36:09 UTC (rev 270644)
@@ -0,0 +1,208 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) 
+# Contributor: Daniel J Griffiths 
+# Contributor: Corrado Primier 
+# Contributor: William Rea 
+
+pkgbase=pulseaudio
+pkgname=(pulseaudio libpulse 
pulseaudio-{gconf,zeroconf,lirc,xen,jack,bluetooth,equalizer})
+pkgdesc="A featureful, general-purpose sound server"
+pkgver=9.0
+pkgrel=1
+arch=(i686 x86_64)
+url="http://www.freedesktop.org/wiki/Software/PulseAudio";
+license=(LGPL)
+makedepends=(libasyncns libcap attr libxtst libsm libsndfile libtool rtkit 
libsoxr
+ speexdsp tdb systemd dbus avahi bluez bluez-libs gconf intltool 
jack2-dbus sbc
+ lirc openssl xenstore fftw orc json-c gtk3 webrtc-audio-processing
+ check)
+options=(!emptydirs)
+source=(http://freedesktop.org/software/$pkgbase/releases/$pkgbase-$pkgver.tar.xz
+padsp-lib32.patch)
+sha256sums=('c3d3d66b827f18fbe903fe3df647013f09fc1e2191c035be1ee2d82a9e404686'
+'7832fc59df76538ff10aedd297c03cb7ff117235da8bfad26082994bb5b84332')
+
+prepare() {
+  cd $pkgbase-$pkgver
+}
+
+build() {
+  cd $pkgbase-$pkgver
+
+  ./configure --prefix=/usr \
+--sysconfdir=/etc \
+--libexecdir=/usr/lib \
+--localstatedir=/var \
+--with-udev-rules-dir=/usr/lib/udev/rules.d \
+--with-database=tdb \
+--disable-tcpwrap \
+--disable-bluez4 \
+--disable-samplerate \
+--disable-rpath \
+--disable-default-build-tests \
+DATADIRNAME=share
+
+  # fight unused direct deps
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+package_pulseaudio() {
+  depends=("libpulse=$pkgver-$pkgrel" rtkit libltdl speexdsp tdb orc
+   webrtc-audio-processing sbc libsoxr)
+  optdepends=('pulseaudio-alsa: ALSA configuration (recommended)')
+  backup=(etc/pulse/{daemon.conf,default.pa,system.pa})
+  install=pulseaudio.install
+
+  cd $pkgbase-$pkgver
+
+  _pulsever=$(./git-version-gen .tarball-version)
+  while [[ $_pulsever = *.*.* ]]; do
+_pulsever=${_pulsever%.*}
+  done
+  _pulsever=${_pulsever%%-*}
+
+  make -j1 DESTDIR="$pkgdir" install \
+bashcompletiondir=/usr/share/bash-completion/completions
+
+  cd "$pkgdir"
+  patch -Np1 -i "$srcdir/padsp-lib32.patch"
+
+  # Assumes that any volume adjustment is intended by the user, who can control
+  # each app's volume. Misbehaving clients can trigger earsplitting volume
+  # jumps. App volumes can diverge wildly and cause apps without their own
+  # volume control to fall below sink volume; a sink-only volume control will
+  # suddenly be unable to make such an app loud enough.
+  sed -e '/flat-volumes/iflat-volumes = no' \
+  -i etc/pulse/daemon.conf
+
+  # Superseded by socket activation
+  sed -e '/autospawn/iautospawn = no' \
+  -i etc/pulse/client.conf
+
+  # Disable cork-request module, can result in e.g. media players unpausing
+  # when there's a Skype call incoming
+  sed -e 's|/usr/bin/pactl load-module module-x11-cork-request|#&|' \
+  -i usr/bin/start-pulseaudio-x11
+
+  rm etc/dbus-1/system.d/pulseaudio-system.conf
+
+### Split libpulse
+
+  mkdir -p 
"$srcdir"/libpulse/{etc/pulse,usr/{bin,lib/pulseaudio,share/man/man{1,5}}}
+
+  mv etc/pulse/client.conf \
+ "$srcdir/libpulse/etc/pulse"
+
+  mv usr/bin/pa{cat,ctl,dsp,mon,play,rec,record} \
+ "$srcdir/libpulse/usr/bin"
+
+  mv usr/lib/libpulse{,-simple,-mainloop-glib}.so* \
+ usr/lib/{cmake,pkgconfig} \
+ "$srcdir/libpulse/usr/lib"
+
+  

[arch-commits] Commit in pulseaudio/repos (8 files)

2016-01-13 Thread Jan Steffens
Date: Thursday, January 14, 2016 @ 06:09:43
  Author: heftig
Revision: 258195

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  pulseaudio/repos/testing-i686/
  pulseaudio/repos/testing-i686/PKGBUILD
(from rev 258194, pulseaudio/trunk/PKGBUILD)
  pulseaudio/repos/testing-i686/padsp-lib32.patch
(from rev 258194, pulseaudio/trunk/padsp-lib32.patch)
  pulseaudio/repos/testing-i686/pulseaudio.install
(from rev 258194, pulseaudio/trunk/pulseaudio.install)
  pulseaudio/repos/testing-x86_64/
  pulseaudio/repos/testing-x86_64/PKGBUILD
(from rev 258194, pulseaudio/trunk/PKGBUILD)
  pulseaudio/repos/testing-x86_64/padsp-lib32.patch
(from rev 258194, pulseaudio/trunk/padsp-lib32.patch)
  pulseaudio/repos/testing-x86_64/pulseaudio.install
(from rev 258194, pulseaudio/trunk/pulseaudio.install)

---+
 testing-i686/PKGBUILD |  207 
 testing-i686/padsp-lib32.patch|   15 ++
 testing-i686/pulseaudio.install   |8 +
 testing-x86_64/PKGBUILD   |  207 
 testing-x86_64/padsp-lib32.patch  |   15 ++
 testing-x86_64/pulseaudio.install |8 +
 6 files changed, 460 insertions(+)

Copied: pulseaudio/repos/testing-i686/PKGBUILD (from rev 258194, 
pulseaudio/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2016-01-14 05:09:43 UTC (rev 258195)
@@ -0,0 +1,207 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) 
+# Contributor: Daniel J Griffiths 
+# Contributor: Corrado Primier 
+# Contributor: William Rea 
+
+pkgbase=pulseaudio
+pkgname=(pulseaudio libpulse 
pulseaudio-{gconf,zeroconf,lirc,xen,jack,bluetooth,equalizer})
+pkgdesc="A featureful, general-purpose sound server"
+pkgver=7.99.2
+pkgrel=1
+arch=(i686 x86_64)
+url="http://www.freedesktop.org/wiki/Software/PulseAudio";
+license=(LGPL)
+makedepends=(libasyncns libcap attr libxtst libsm libsndfile libtool rtkit 
libsoxr
+ speexdsp tdb systemd dbus avahi bluez bluez-libs gconf intltool 
jack2-dbus sbc
+ lirc openssl xenstore fftw orc json-c gtk3 webrtc-audio-processing
+ check)
+options=(!emptydirs)
+source=(http://freedesktop.org/software/$pkgbase/releases/$pkgbase-$pkgver.tar.xz
+padsp-lib32.patch)
+sha256sums=('72810b3379a91bb06e5d925282acdb174ca5da419829317d81a46a1627a0c6aa'
+'7832fc59df76538ff10aedd297c03cb7ff117235da8bfad26082994bb5b84332')
+
+prepare() {
+  cd $pkgbase-$pkgver
+}
+
+build() {
+  cd $pkgbase-$pkgver
+
+  ./configure --prefix=/usr \
+--sysconfdir=/etc \
+--libexecdir=/usr/lib \
+--localstatedir=/var \
+--with-udev-rules-dir=/usr/lib/udev/rules.d \
+--with-database=tdb \
+--disable-tcpwrap \
+--disable-bluez4 \
+--disable-samplerate \
+--disable-rpath \
+--disable-default-build-tests \
+DATADIRNAME=share
+
+  # fight unused direct deps
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+package_pulseaudio() {
+  depends=("libpulse=$pkgver-$pkgrel" rtkit libltdl speexdsp tdb orc
+   webrtc-audio-processing sbc libsoxr)
+  optdepends=('pulseaudio-alsa: ALSA configuration (recommended)')
+  backup=(etc/pulse/{daemon.conf,default.pa,system.pa})
+  install=pulseaudio.install
+
+  cd $pkgbase-$pkgver
+
+  _pulsever=$(./git-version-gen .tarball-version)
+  while [[ $_pulsever = *.*.* ]]; do
+_pulsever=${_pulsever%.*}
+  done
+  _pulsever=${_pulsever%%-*}
+
+  make -j1 DESTDIR="$pkgdir" install \
+bashcompletiondir=/usr/share/bash-completion/completions
+
+  cd "$pkgdir"
+  patch -Np1 -i "$srcdir/padsp-lib32.patch"
+
+  sed -e '/flat-volumes/iflat-volumes = no' \
+  -i etc/pulse/daemon.conf
+
+  # Superseded by socket activation
+  sed -e '/autospawn/iautospawn = no' \
+  -i etc/pulse/client.conf
+
+  # Disable cork-request module, can result in e.g. media players unpausing
+  # when there's a Skype call incoming
+  sed -e 's|/usr/bin/pactl load-module module-x11-cork-request|#&|' \
+  -i usr/bin/start-pulseaudio-x11
+
+  rm etc/dbus-1/system.d/pulseaudio-system.conf
+
+  mkdir usr/lib/systemd/user/sockets.target.wants
+  ln -s ../pulseaudio.socket \
+usr/lib/systemd/user/sockets.target.wants/pulseaudio.socket
+
+### Split libpulse
+
+  mkdir -p 
"$srcdir"/libpulse/{etc/pulse,usr/{bin,lib/pulseaudio,share/man/man{1,5}}}
+
+  mv etc/pulse/client.conf \
+ "$srcdir/libpulse/etc/pulse"
+
+  mv usr/bin/pa{cat,ctl,dsp,mon,play,rec,record} \
+ "$srcdir/libpulse/usr/bin"
+
+  mv usr/lib/libpulse{,-simple,-mainloop-glib}.so* \
+ usr/lib/{cmake,pkgconfig} \
+ "$srcdir/libpulse/usr/lib"
+
+  mv usr/lib/pulseaudio/libpulse{dsp,common-*}.so \
+ "$srcdir/libpulse/usr/lib/pulseaudio"
+
+  mv usr/include \
+ "$srcdir/libpulse/usr"
+
+  mv usr/share/man/man1/pa{cat,ctl,dsp,mon,play,rec,record}.1 \
+  

[arch-commits] Commit in pulseaudio/repos (8 files)

2015-12-05 Thread Allan McRae
Date: Sunday, December 6, 2015 @ 08:23:57
  Author: allan
Revision: 252642

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  pulseaudio/repos/staging-i686/
  pulseaudio/repos/staging-i686/PKGBUILD
(from rev 252641, pulseaudio/trunk/PKGBUILD)
  pulseaudio/repos/staging-i686/padsp-lib32.patch
(from rev 252641, pulseaudio/trunk/padsp-lib32.patch)
  pulseaudio/repos/staging-i686/pulseaudio.install
(from rev 252641, pulseaudio/trunk/pulseaudio.install)
  pulseaudio/repos/staging-x86_64/
  pulseaudio/repos/staging-x86_64/PKGBUILD
(from rev 252641, pulseaudio/trunk/PKGBUILD)
  pulseaudio/repos/staging-x86_64/padsp-lib32.patch
(from rev 252641, pulseaudio/trunk/padsp-lib32.patch)
  pulseaudio/repos/staging-x86_64/pulseaudio.install
(from rev 252641, pulseaudio/trunk/pulseaudio.install)

---+
 staging-i686/PKGBUILD |  207 
 staging-i686/padsp-lib32.patch|   15 ++
 staging-i686/pulseaudio.install   |8 +
 staging-x86_64/PKGBUILD   |  207 
 staging-x86_64/padsp-lib32.patch  |   15 ++
 staging-x86_64/pulseaudio.install |8 +
 6 files changed, 460 insertions(+)

Copied: pulseaudio/repos/staging-i686/PKGBUILD (from rev 252641, 
pulseaudio/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2015-12-06 07:23:57 UTC (rev 252642)
@@ -0,0 +1,207 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) 
+# Contributor: Daniel J Griffiths 
+# Contributor: Corrado Primier 
+# Contributor: William Rea 
+
+pkgbase=pulseaudio
+pkgname=(pulseaudio libpulse 
pulseaudio-{gconf,zeroconf,lirc,xen,jack,bluetooth,equalizer})
+pkgdesc="A featureful, general-purpose sound server"
+pkgver=7.1
+pkgrel=2
+arch=(i686 x86_64)
+url="http://www.freedesktop.org/wiki/Software/PulseAudio";
+license=(LGPL)
+makedepends=(libasyncns libcap attr libxtst libsm libsndfile libtool rtkit 
libsoxr
+ speexdsp tdb systemd dbus avahi bluez bluez-libs gconf intltool 
jack2-dbus sbc
+ lirc openssl xenstore fftw orc json-c gtk3 webrtc-audio-processing
+ check)
+options=(!emptydirs)
+source=(http://freedesktop.org/software/$pkgbase/releases/$pkgbase-$pkgver.tar.xz
+padsp-lib32.patch)
+sha256sums=('e667514a28328f92aceea754a224a0150dddfe7e9a71b4c6d31489220153b9d9'
+'7832fc59df76538ff10aedd297c03cb7ff117235da8bfad26082994bb5b84332')
+
+prepare() {
+  cd $pkgbase-$pkgver
+}
+
+build() {
+  cd $pkgbase-$pkgver
+
+  ./configure --prefix=/usr \
+--sysconfdir=/etc \
+--libexecdir=/usr/lib \
+--localstatedir=/var \
+--with-udev-rules-dir=/usr/lib/udev/rules.d \
+--with-database=tdb \
+--disable-tcpwrap \
+--disable-bluez4 \
+--disable-samplerate \
+--disable-rpath \
+--disable-default-build-tests \
+DATADIRNAME=share
+
+  # fight unused direct deps
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+package_pulseaudio() {
+  depends=("libpulse=$pkgver-$pkgrel" rtkit libltdl speexdsp tdb orc
+   webrtc-audio-processing sbc libsoxr)
+  optdepends=('pulseaudio-alsa: ALSA configuration (recommended)')
+  backup=(etc/pulse/{daemon.conf,default.pa,system.pa})
+  install=pulseaudio.install
+
+  cd $pkgbase-$pkgver
+
+  _pulsever=$(./git-version-gen .tarball-version)
+  while [[ $_pulsever = *.*.* ]]; do
+_pulsever=${_pulsever%.*}
+  done
+  _pulsever=${_pulsever%%-*}
+
+  make -j1 DESTDIR="$pkgdir" install \
+bashcompletiondir=/usr/share/bash-completion/completions
+
+  cd "$pkgdir"
+  patch -Np1 -i "$srcdir/padsp-lib32.patch"
+
+  sed -e '/flat-volumes/iflat-volumes = no' \
+  -i etc/pulse/daemon.conf
+
+  # Superseded by socket activation
+  sed -e '/autospawn/iautospawn = no' \
+  -i etc/pulse/client.conf
+
+  # Disable cork-request module, can result in e.g. media players unpausing
+  # when there's a Skype call incoming
+  sed -e 's|/usr/bin/pactl load-module module-x11-cork-request|#&|' \
+  -i usr/bin/start-pulseaudio-x11
+
+  rm etc/dbus-1/system.d/pulseaudio-system.conf
+
+  mkdir usr/lib/systemd/user/sockets.target.wants
+  ln -s ../pulseaudio.socket \
+usr/lib/systemd/user/sockets.target.wants/pulseaudio.socket
+
+### Split libpulse
+
+  mkdir -p 
"$srcdir"/libpulse/{etc/pulse,usr/{bin,lib/pulseaudio,share/man/man{1,5}}}
+
+  mv etc/pulse/client.conf \
+ "$srcdir/libpulse/etc/pulse"
+
+  mv usr/bin/pa{cat,ctl,dsp,mon,play,rec,record} \
+ "$srcdir/libpulse/usr/bin"
+
+  mv usr/lib/libpulse{,-simple,-mainloop-glib}.so* \
+ usr/lib/{cmake,pkgconfig} \
+ "$srcdir/libpulse/usr/lib"
+
+  mv usr/lib/pulseaudio/libpulse{dsp,common-*}.so \
+ "$srcdir/libpulse/usr/lib/pulseaudio"
+
+  mv usr/include \
+ "$srcdir/libpulse/usr"
+
+  mv usr/share/man/man1/pa{cat,ctl,dsp,mon,play,rec,record}.1 \
+ "$s

[arch-commits] Commit in pulseaudio/repos (8 files)

2015-09-09 Thread Jan Steffens
Date: Wednesday, September 9, 2015 @ 17:22:45
  Author: heftig
Revision: 245626

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  pulseaudio/repos/testing-i686/
  pulseaudio/repos/testing-i686/PKGBUILD
(from rev 245625, pulseaudio/trunk/PKGBUILD)
  pulseaudio/repos/testing-i686/padsp-lib32.patch
(from rev 245625, pulseaudio/trunk/padsp-lib32.patch)
  pulseaudio/repos/testing-i686/pulseaudio.install
(from rev 245625, pulseaudio/trunk/pulseaudio.install)
  pulseaudio/repos/testing-x86_64/
  pulseaudio/repos/testing-x86_64/PKGBUILD
(from rev 245625, pulseaudio/trunk/PKGBUILD)
  pulseaudio/repos/testing-x86_64/padsp-lib32.patch
(from rev 245625, pulseaudio/trunk/padsp-lib32.patch)
  pulseaudio/repos/testing-x86_64/pulseaudio.install
(from rev 245625, pulseaudio/trunk/pulseaudio.install)

---+
 testing-i686/PKGBUILD |  202 
 testing-i686/padsp-lib32.patch|   15 ++
 testing-i686/pulseaudio.install   |8 +
 testing-x86_64/PKGBUILD   |  202 
 testing-x86_64/padsp-lib32.patch  |   15 ++
 testing-x86_64/pulseaudio.install |8 +
 6 files changed, 450 insertions(+)

Copied: pulseaudio/repos/testing-i686/PKGBUILD (from rev 245625, 
pulseaudio/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2015-09-09 15:22:45 UTC (rev 245626)
@@ -0,0 +1,202 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) 
+# Contributor: Daniel J Griffiths 
+# Contributor: Corrado Primier 
+# Contributor: William Rea 
+
+pkgbase=pulseaudio
+pkgname=(pulseaudio libpulse 
pulseaudio-{gconf,zeroconf,lirc,xen,jack,bluetooth,equalizer})
+pkgdesc="A featureful, general-purpose sound server"
+pkgver=6.99.1
+pkgrel=1
+arch=(i686 x86_64)
+url="http://www.freedesktop.org/wiki/Software/PulseAudio";
+license=(LGPL)
+makedepends=(libasyncns libcap attr libxtst libsm libsndfile libtool rtkit 
libsoxr
+ speexdsp tdb systemd dbus avahi bluez bluez-libs gconf intltool 
jack2-dbus sbc
+ lirc openssl xenstore fftw orc json-c gtk3 webrtc-audio-processing
+ check)
+options=(!emptydirs)
+source=(http://freedesktop.org/software/$pkgbase/releases/$pkgbase-$pkgver.tar.xz
+padsp-lib32.patch)
+sha256sums=('e0fe622b52cb3d9c82e1845191572845250e68e32faa349aecedc05aff012bac'
+'7832fc59df76538ff10aedd297c03cb7ff117235da8bfad26082994bb5b84332')
+
+_pulsever=$pkgver
+[[ $_pulsever = *.*.* ]] && _pulsever=${_pulsever%.*}
+
+prepare() {
+  cd $pkgbase-$pkgver
+}
+
+build() {
+  cd $pkgbase-$pkgver
+
+  ./configure --prefix=/usr \
+--sysconfdir=/etc \
+--libexecdir=/usr/lib \
+--localstatedir=/var \
+--with-udev-rules-dir=/usr/lib/udev/rules.d \
+--with-database=tdb \
+--disable-tcpwrap \
+--disable-bluez4 \
+--disable-samplerate \
+--disable-rpath \
+--disable-default-build-tests
+
+  # fight unused direct deps
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+package_pulseaudio() {
+  depends=("libpulse=$pkgver-$pkgrel" rtkit libltdl speexdsp tdb orc
+   webrtc-audio-processing sbc libsoxr)
+  optdepends=('pulseaudio-alsa: ALSA configuration (recommended)')
+  backup=(etc/pulse/{daemon.conf,default.pa,system.pa})
+  install=pulseaudio.install
+
+  cd $pkgbase-$pkgver
+  make -j1 DESTDIR="$pkgdir" install \
+bashcompletiondir=/usr/share/bash-completion/completions
+
+  cd "$pkgdir"
+  patch -Np1 -i "$srcdir/padsp-lib32.patch"
+
+  sed -e '/flat-volumes/iflat-volumes=no' \
+  -i etc/pulse/daemon.conf
+
+  # Superseded by socket activation
+  sed -e '/autospawn/iautospawn=no' \
+  -i etc/pulse/client.conf
+
+  # Disable cork-request module, can result in e.g. media players unpausing
+  # when there's a Skype call incoming
+  sed -e 's|/usr/bin/pactl load-module module-x11-cork-request|#&|' \
+  -i usr/bin/start-pulseaudio-x11
+
+  rm etc/dbus-1/system.d/pulseaudio-system.conf
+
+  mkdir usr/lib/systemd/user/sockets.target.wants
+  ln -s ../pulseaudio.socket \
+usr/lib/systemd/user/sockets.target.wants/pulseaudio.socket
+
+### Split libpulse
+
+  mkdir -p 
"$srcdir"/libpulse/{etc/pulse,usr/{bin,lib/pulseaudio,share/man/man{1,5}}}
+
+  mv etc/pulse/client.conf \
+ "$srcdir/libpulse/etc/pulse"
+
+  mv usr/bin/pa{cat,ctl,dsp,mon,play,rec,record} \
+ "$srcdir/libpulse/usr/bin"
+
+  mv usr/lib/libpulse{,-simple,-mainloop-glib}.so* \
+ usr/lib/{cmake,pkgconfig} \
+ "$srcdir/libpulse/usr/lib"
+
+  mv usr/lib/pulseaudio/libpulse{dsp,common-*}.so \
+ "$srcdir/libpulse/usr/lib/pulseaudio"
+
+  mv usr/include \
+ "$srcdir/libpulse/usr"
+
+  mv usr/share/man/man1/pa{cat,ctl,dsp,mon,play,rec,record}.1 \
+ "$srcdir/libpulse/usr/share/man/man1"
+
+  mv usr/share/man/man5/pulse-client.conf.5 \
+ "$srcdir/libpulse

[arch-commits] Commit in pulseaudio/repos (8 files)

2013-10-07 Thread Jan Steffens
Date: Tuesday, October 8, 2013 @ 01:52:46
  Author: heftig
Revision: 196181

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  pulseaudio/repos/testing-i686/
  pulseaudio/repos/testing-i686/PKGBUILD
(from rev 196180, pulseaudio/trunk/PKGBUILD)
  pulseaudio/repos/testing-i686/pulseaudio.install
(from rev 196180, pulseaudio/trunk/pulseaudio.install)
  pulseaudio/repos/testing-i686/pulseaudio.xinit
(from rev 196180, pulseaudio/trunk/pulseaudio.xinit)
  pulseaudio/repos/testing-x86_64/
  pulseaudio/repos/testing-x86_64/PKGBUILD
(from rev 196180, pulseaudio/trunk/PKGBUILD)
  pulseaudio/repos/testing-x86_64/pulseaudio.install
(from rev 196180, pulseaudio/trunk/pulseaudio.install)
  pulseaudio/repos/testing-x86_64/pulseaudio.xinit
(from rev 196180, pulseaudio/trunk/pulseaudio.xinit)

---+
 testing-i686/PKGBUILD |  122 
 testing-i686/pulseaudio.install   |   28 
 testing-i686/pulseaudio.xinit |   12 +++
 testing-x86_64/PKGBUILD   |  122 
 testing-x86_64/pulseaudio.install |   28 
 testing-x86_64/pulseaudio.xinit   |   12 +++
 6 files changed, 324 insertions(+)

Copied: pulseaudio/repos/testing-i686/PKGBUILD (from rev 196180, 
pulseaudio/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2013-10-07 23:52:46 UTC (rev 196181)
@@ -0,0 +1,122 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) 
+# Contributor: Daniel J Griffiths 
+# Contributor: Corrado Primier 
+# Contributor: William Rea 
+
+pkgbase=pulseaudio
+pkgname=(pulseaudio libpulse)
+pkgdesc="A featureful, general-purpose sound server"
+pkgver=4.0
+pkgrel=3
+arch=(i686 x86_64)
+url="http://www.freedesktop.org/wiki/Software/PulseAudio";
+license=(LGPL AGPL3)
+makedepends=(libasyncns libcap attr libxtst libsm libsamplerate libtool rtkit
+ speex tdb systemd dbus avahi bluez bluez-libs gconf intltool jack 
sbc
+ lirc-utils openssl fftw orc json-c gtk3 webrtc-audio-processing
+ check git)
+options=(!emptydirs !libtool)
+#source=(http://freedesktop.org/software/$pkgbase/releases/$pkgbase-$pkgver.tar.xz
+source=($pkgbase-$pkgver::git://anongit.freedesktop.org/pulseaudio/pulseaudio#commit=35fea57
+pulseaudio.xinit)
+sha256sums=('SKIP'
+'a0db6cdc74fbf0ca10e2343c08e1e228f109221c6c0ff91b0bfade5c4bdf03cf')
+
+
+build() {
+  cd $pkgbase-$pkgver
+
+  ./autogen.sh --prefix=/usr \
+--sysconfdir=/etc \
+--libexecdir=/usr/lib \
+--localstatedir=/var \
+--with-udev-rules-dir=/usr/lib/udev/rules.d \
+--with-database=tdb \
+--disable-tcpwrap \
+--disable-rpath \
+--disable-default-build-tests
+
+  # fight unused direct deps
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+package_pulseaudio() {
+  depends=("libpulse=$pkgver-$pkgrel" rtkit libltdl speex tdb systemd fftw orc
+   libsamplerate webrtc-audio-processing sbc)
+  optdepends=('avahi: zeroconf support'
+  'bluez: bluetooth support'
+  'bluez-libs: bluetooth support'
+  'gconf: configuration through gconf (paprefs)'
+  'jack: jack support'
+  'lirc-utils: infra-red support'
+  'openssl: RAOP support'
+  'python-pyqt: Equalizer GUI (qpaeq)')
+  backup=(etc/pulse/{daemon.conf,default.pa,system.pa})
+  install=pulseaudio.install
+
+  cd $pkgbase-$pkgver
+  make -j1 DESTDIR="$pkgdir" install \
+bashcompletiondir=/usr/share/bash-completion/completions
+
+  # Disable autospawn by default
+  sed -e '/autospawn/iautospawn=no' \
+  -i "$pkgdir/etc/pulse/client.conf"
+
+  # Speed up pulseaudio shutdown so that it exits immediately with
+  # the last user session (module-systemd-login keeps it alive)
+  sed -e '/exit-idle-time/iexit-idle-time=0' \
+  -i "$pkgdir/etc/pulse/daemon.conf"
+
+  # Disable cork-request module, can result in e.g. media players unpausing
+  # when there's a Skype call incoming
+  sed -e 's|/usr/bin/pactl load-module module-x11-cork-request|#&|' \
+  -i "$pkgdir/usr/bin/start-pulseaudio-x11"
+
+  install -Dm755 "$srcdir/pulseaudio.xinit" 
"$pkgdir/etc/X11/xinit/xinitrc.d/pulseaudio"
+
+  rm "$pkgdir/etc/dbus-1/system.d/pulseaudio-system.conf"
+
+  install -Dm644 shell-completion/pulseaudio-zsh-completion.zsh \
+"$pkgdir/usr/share/zsh/site-functions/_pulseaudio"
+
+### Split libpulse
+
+  mkdir -p 
"$srcdir"/libpulse/{etc/pulse,usr/{bin,lib/pulseaudio,share/man/man{1,5}}}
+
+  mv {"$pkgdir","$srcdir/libpulse"}/etc/pulse/client.conf
+
+  mv "$pkgdir"/usr/bin/pa{cat,ctl,dsp,mon,play,rec,record} \
+ "$srcdir/libpulse/usr/bin"
+
+  mv "$pkgdir"/usr/lib/libpulse{,-simple,-mainloop-glib}.so* \
+ "$srcdir/libpulse/usr/lib"
+
+  mv "$pkgdir"/usr/lib/pulseaudio/libpulsedsp.

[arch-commits] Commit in pulseaudio/repos (8 files)

2013-06-07 Thread Jan Steffens
Date: Friday, June 7, 2013 @ 19:15:50
  Author: heftig
Revision: 187879

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  pulseaudio/repos/testing-i686/
  pulseaudio/repos/testing-i686/PKGBUILD
(from rev 187878, pulseaudio/trunk/PKGBUILD)
  pulseaudio/repos/testing-i686/pulseaudio.install
(from rev 187878, pulseaudio/trunk/pulseaudio.install)
  pulseaudio/repos/testing-i686/pulseaudio.xinit
(from rev 187878, pulseaudio/trunk/pulseaudio.xinit)
  pulseaudio/repos/testing-x86_64/
  pulseaudio/repos/testing-x86_64/PKGBUILD
(from rev 187878, pulseaudio/trunk/PKGBUILD)
  pulseaudio/repos/testing-x86_64/pulseaudio.install
(from rev 187878, pulseaudio/trunk/pulseaudio.install)
  pulseaudio/repos/testing-x86_64/pulseaudio.xinit
(from rev 187878, pulseaudio/trunk/pulseaudio.xinit)

---+
 testing-i686/PKGBUILD |  130 
 testing-i686/pulseaudio.install   |   34 +
 testing-i686/pulseaudio.xinit |   12 +++
 testing-x86_64/PKGBUILD   |  130 
 testing-x86_64/pulseaudio.install |   34 +
 testing-x86_64/pulseaudio.xinit   |   12 +++
 6 files changed, 352 insertions(+)

Copied: pulseaudio/repos/testing-i686/PKGBUILD (from rev 187878, 
pulseaudio/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2013-06-07 17:15:50 UTC (rev 187879)
@@ -0,0 +1,130 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) 
+# Contributor: Daniel J Griffiths 
+# Contributor: Corrado Primier 
+# Contributor: William Rea 
+
+pkgbase=pulseaudio
+pkgname=(pulseaudio libpulse)
+pkgdesc="A featureful, general-purpose sound server"
+pkgver=4.0
+pkgrel=2
+arch=(i686 x86_64)
+url="http://www.freedesktop.org/wiki/Software/PulseAudio";
+license=(GPL LGPL)
+makedepends=(libasyncns libcap attr libxtst libsm libsamplerate libtool rtkit
+ speex tdb systemd dbus avahi bluez4 bluez-libs gconf intltool 
jack sbc
+ lirc-utils openssl fftw orc json-c gtk3 webrtc-audio-processing
+ check)
+options=(!emptydirs !libtool)
+source=(http://freedesktop.org/software/$pkgbase/releases/$pkgbase-$pkgver.tar.xz
+pulseaudio.xinit)
+sha256sums=('35ceb36bb1822fe54f0b5e4863b4f486769fdfb8ff2111f01fd8778928f9cdae'
+'a0db6cdc74fbf0ca10e2343c08e1e228f109221c6c0ff91b0bfade5c4bdf03cf')
+
+build() {
+  cd $pkgbase-$pkgver
+
+  ./configure --prefix=/usr \
+--sysconfdir=/etc \
+--libexecdir=/usr/lib \
+--localstatedir=/var \
+--with-udev-rules-dir=/usr/lib/udev/rules.d \
+--with-database=tdb \
+--disable-tcpwrap \
+--disable-rpath \
+--disable-default-build-tests
+
+  # fight unused direct deps
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+package_pulseaudio() {
+  depends=("libpulse=$pkgver-$pkgrel" rtkit libltdl speex tdb systemd fftw orc
+   libsamplerate webrtc-audio-processing sbc)
+  optdepends=('avahi: zeroconf support'
+  'bluez4: bluetooth support'
+  'bluez-libs: bluetooth support'
+  'gconf: configuration through gconf (paprefs)'
+  'jack: jack support'
+  'lirc-utils: infra-red support'
+  'openssl: RAOP support'
+  'python2-pyqt: Equalizer GUI (qpaeq)')
+  backup=(etc/pulse/{daemon.conf,default.pa,system.pa})
+  install=pulseaudio.install
+
+  cd $pkgbase-$pkgver
+  make -j1 DESTDIR="$pkgdir" install \
+bashcompletiondir=/usr/share/bash-completion/completions
+
+  # Disable autospawn by default
+  sed -e '/autospawn/iautospawn=no' \
+  -i "$pkgdir/etc/pulse/client.conf"
+
+  # Speed up pulseaudio shutdown
+  # Lower resample quality, saves CPU
+  sed -e '/exit-idle-time/iexit-idle-time=0' \
+  -e '/resample-method/iresample-method=speex-float-0' \
+  -i "$pkgdir/etc/pulse/daemon.conf"
+
+  # Disable cork-request module, can result in e.g. media players unpausing
+  # when there's a Skype call incoming
+  sed -e 's|/usr/bin/pactl load-module module-x11-cork-request|#&|' \
+  -i "$pkgdir/usr/bin/start-pulseaudio-x11"
+
+  # Make ConsoleKit optional
+  sed -e $'/load-module module-console-kit/{i.nofail\n;a.fail\n;}' \
+  -i "$pkgdir/etc/pulse/default.pa"
+
+  # Python fix
+  sed -i '1s:python$:&2:' "$pkgdir/usr/bin/qpaeq"
+
+  install -Dm755 "$srcdir/pulseaudio.xinit" 
"$pkgdir/etc/X11/xinit/xinitrc.d/pulseaudio"
+
+  rm "$pkgdir/etc/dbus-1/system.d/pulseaudio-system.conf"
+
+  # cap is handled in .install
+  chmod 755 "$pkgdir/usr/lib/pulse/proximity-helper"
+
+  install -Dm644 shell-completion/pulseaudio-zsh-completion.zsh \
+"$pkgdir/usr/share/zsh/site-functions/_pulseaudio"
+
+### Split libpulse
+
+  mkdir -p 
"$srcdir"/libpulse/{etc/pulse,usr/{bin,lib/pulseaudio,share/man/man{1,5}}}
+
+  mv {"$pkgdir","$srcdir/libpulse"}/etc/puls

[arch-commits] Commit in pulseaudio/repos (8 files)

2013-06-01 Thread Jan Steffens
Date: Saturday, June 1, 2013 @ 11:47:06
  Author: heftig
Revision: 186938

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  pulseaudio/repos/staging-i686/
  pulseaudio/repos/staging-i686/PKGBUILD
(from rev 186936, pulseaudio/trunk/PKGBUILD)
  pulseaudio/repos/staging-i686/pulseaudio.install
(from rev 186936, pulseaudio/trunk/pulseaudio.install)
  pulseaudio/repos/staging-i686/pulseaudio.xinit
(from rev 186936, pulseaudio/trunk/pulseaudio.xinit)
  pulseaudio/repos/staging-x86_64/
  pulseaudio/repos/staging-x86_64/PKGBUILD
(from rev 186936, pulseaudio/trunk/PKGBUILD)
  pulseaudio/repos/staging-x86_64/pulseaudio.install
(from rev 186936, pulseaudio/trunk/pulseaudio.install)
  pulseaudio/repos/staging-x86_64/pulseaudio.xinit
(from rev 186936, pulseaudio/trunk/pulseaudio.xinit)

---+
 staging-i686/PKGBUILD |  130 
 staging-i686/pulseaudio.install   |   34 +
 staging-i686/pulseaudio.xinit |   12 +++
 staging-x86_64/PKGBUILD   |  130 
 staging-x86_64/pulseaudio.install |   34 +
 staging-x86_64/pulseaudio.xinit   |   12 +++
 6 files changed, 352 insertions(+)

Copied: pulseaudio/repos/staging-i686/PKGBUILD (from rev 186936, 
pulseaudio/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2013-06-01 09:47:06 UTC (rev 186938)
@@ -0,0 +1,130 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) 
+# Contributor: Daniel J Griffiths 
+# Contributor: Corrado Primier 
+# Contributor: William Rea 
+
+pkgbase=pulseaudio
+pkgname=(pulseaudio libpulse)
+pkgdesc="A featureful, general-purpose sound server"
+pkgver=3.99.2
+pkgrel=2
+arch=(i686 x86_64)
+url="http://www.freedesktop.org/wiki/Software/PulseAudio";
+license=(GPL LGPL)
+makedepends=(libasyncns libcap attr libxtst libsm libsamplerate libtool rtkit
+ speex tdb systemd dbus avahi bluez4 bluez-libs gconf intltool 
jack sbc
+ lirc-utils openssl fftw orc json-c gtk3 webrtc-audio-processing
+ check)
+options=(!emptydirs !libtool)
+source=(http://freedesktop.org/software/$pkgbase/releases/$pkgbase-$pkgver.tar.xz
+pulseaudio.xinit)
+sha256sums=('165dc52760377af939d06b49a170ef65c4b844b22020b57c69c9bd6fe56c781c'
+'a0db6cdc74fbf0ca10e2343c08e1e228f109221c6c0ff91b0bfade5c4bdf03cf')
+
+build() {
+  cd $pkgbase-$pkgver
+
+  ./configure --prefix=/usr \
+--sysconfdir=/etc \
+--libexecdir=/usr/lib \
+--localstatedir=/var \
+--with-udev-rules-dir=/usr/lib/udev/rules.d \
+--with-database=tdb \
+--disable-tcpwrap \
+--disable-rpath \
+--disable-default-build-tests
+
+  # fight unused direct deps
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+package_pulseaudio() {
+  depends=("libpulse=$pkgver-$pkgrel" rtkit libltdl speex tdb systemd fftw orc
+   libsamplerate webrtc-audio-processing sbc)
+  optdepends=('avahi: zeroconf support'
+  'bluez4: bluetooth support'
+  'bluez-libs: bluetooth support'
+  'gconf: configuration through gconf (paprefs)'
+  'jack: jack support'
+  'lirc-utils: infra-red support'
+  'openssl: RAOP support'
+  'python2-pyqt: Equalizer GUI (qpaeq)')
+  backup=(etc/pulse/{daemon.conf,default.pa,system.pa})
+  install=pulseaudio.install
+
+  cd $pkgbase-$pkgver
+  make -j1 DESTDIR="$pkgdir" install \
+bashcompletiondir=/usr/share/bash-completion/completions
+
+  # Disable autospawn by default
+  sed -e '/autospawn/iautospawn=no' \
+  -i "$pkgdir/etc/pulse/client.conf"
+
+  # Speed up pulseaudio shutdown
+  # Lower resample quality, saves CPU
+  sed -e '/exit-idle-time/iexit-idle-time=0' \
+  -e '/resample-method/iresample-method=speex-float-0' \
+  -i "$pkgdir/etc/pulse/daemon.conf"
+
+  # Disable cork-request module, can result in e.g. media players unpausing
+  # when there's a Skype call incoming
+  sed -e 's|/usr/bin/pactl load-module module-x11-cork-request|#&|' \
+  -i "$pkgdir/usr/bin/start-pulseaudio-x11"
+
+  # Make ConsoleKit optional
+  sed -e $'/load-module module-console-kit/{i.nofail\n;a.fail\n;}' \
+  -i "$pkgdir/etc/pulse/default.pa"
+
+  # Python fix
+  sed -i '1s:python$:&2:' "$pkgdir/usr/bin/qpaeq"
+
+  install -Dm755 "$srcdir/pulseaudio.xinit" 
"$pkgdir/etc/X11/xinit/xinitrc.d/pulseaudio"
+
+  rm "$pkgdir/etc/dbus-1/system.d/pulseaudio-system.conf"
+
+  # cap is handled in .install
+  chmod 755 "$pkgdir/usr/lib/pulse/proximity-helper"
+
+  install -Dm644 shell-completion/pulseaudio-zsh-completion.zsh \
+"$pkgdir/usr/share/zsh/site-functions/_pulseaudio"
+
+### Split libpulse
+
+  mkdir -p 
"$srcdir"/libpulse/{etc/pulse,usr/{bin,lib/pulseaudio,share/man/man{1,5}}}
+
+  mv {"$pkgdir","$srcdir/libpulse"}/etc

[arch-commits] Commit in pulseaudio/repos (8 files)

2013-04-16 Thread Jan Steffens
Date: Tuesday, April 16, 2013 @ 22:56:04
  Author: heftig
Revision: 183009

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  pulseaudio/repos/testing-i686/
  pulseaudio/repos/testing-i686/PKGBUILD
(from rev 183008, pulseaudio/trunk/PKGBUILD)
  pulseaudio/repos/testing-i686/pulseaudio.install
(from rev 183008, pulseaudio/trunk/pulseaudio.install)
  pulseaudio/repos/testing-i686/pulseaudio.xinit
(from rev 183008, pulseaudio/trunk/pulseaudio.xinit)
  pulseaudio/repos/testing-x86_64/
  pulseaudio/repos/testing-x86_64/PKGBUILD
(from rev 183008, pulseaudio/trunk/PKGBUILD)
  pulseaudio/repos/testing-x86_64/pulseaudio.install
(from rev 183008, pulseaudio/trunk/pulseaudio.install)
  pulseaudio/repos/testing-x86_64/pulseaudio.xinit
(from rev 183008, pulseaudio/trunk/pulseaudio.xinit)

---+
 testing-i686/PKGBUILD |  125 
 testing-i686/pulseaudio.install   |   34 +
 testing-i686/pulseaudio.xinit |   12 +++
 testing-x86_64/PKGBUILD   |  125 
 testing-x86_64/pulseaudio.install |   34 +
 testing-x86_64/pulseaudio.xinit   |   12 +++
 6 files changed, 342 insertions(+)

Copied: pulseaudio/repos/testing-i686/PKGBUILD (from rev 183008, 
pulseaudio/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2013-04-16 20:56:04 UTC (rev 183009)
@@ -0,0 +1,125 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) 
+# Contributor: Daniel J Griffiths 
+# Contributor: Corrado Primier 
+# Contributor: William Rea 
+
+pkgbase=pulseaudio
+pkgname=(pulseaudio libpulse)
+pkgdesc="A featureful, general-purpose sound server"
+pkgver=3.99.1
+pkgrel=1
+arch=(i686 x86_64)
+url="http://www.freedesktop.org/wiki/Software/PulseAudio";
+license=(GPL LGPL)
+makedepends=(libasyncns libcap attr libxtst libsm libsamplerate libtool rtkit
+ speex tdb systemd dbus avahi bluez gconf intltool jack sbc
+ lirc-utils openssl fftw orc json-c gtk3 webrtc-audio-processing
+ check)
+options=(!emptydirs !libtool)
+source=(http://freedesktop.org/software/$pkgbase/releases/$pkgbase-$pkgver.tar.xz
+pulseaudio.xinit)
+sha256sums=('01266830d73316364075ac81a2d67e9098332533fdf9273057e6324c7bbef9c5'
+'a0db6cdc74fbf0ca10e2343c08e1e228f109221c6c0ff91b0bfade5c4bdf03cf')
+
+build() {
+  cd $pkgbase-$pkgver
+
+  ./configure --prefix=/usr \
+--sysconfdir=/etc \
+--libexecdir=/usr/lib \
+--localstatedir=/var \
+--with-udev-rules-dir=/usr/lib/udev/rules.d \
+--with-database=tdb \
+--disable-tcpwrap \
+--disable-rpath \
+--disable-default-build-tests
+
+  # fight unused direct deps
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+package_pulseaudio() {
+  depends=("libpulse=$pkgver-$pkgrel" rtkit libltdl speex tdb systemd fftw orc
+   libsamplerate webrtc-audio-processing sbc)
+  optdepends=('avahi: zeroconf support'
+  'bluez: bluetooth support'
+  'gconf: configuration through gconf (paprefs)'
+  'jack: jack support'
+  'lirc-utils: infra-red support'
+  'openssl: RAOP support'
+  'python2-pyqt: Equalizer GUI (qpaeq)')
+  backup=(etc/pulse/{daemon.conf,default.pa,system.pa})
+  install=pulseaudio.install
+
+  cd $pkgbase-$pkgver
+  make -j1 DESTDIR="$pkgdir" install
+
+  # Disable autospawn by default
+  sed -e '/autospawn/iautospawn=no' \
+  -i "$pkgdir/etc/pulse/client.conf"
+
+  # Speed up pulseaudio shutdown
+  # Lower resample quality, saves CPU
+  sed -e '/exit-idle-time/iexit-idle-time=0' \
+  -e '/resample-method/iresample-method=speex-float-0' \
+  -i "$pkgdir/etc/pulse/daemon.conf"
+
+  # Disable cork-request module, can result in e.g. media players unpausing
+  # when there's a Skype call incoming
+  sed -e 's|/usr/bin/pactl load-module module-x11-cork-request|#&|' \
+  -i "$pkgdir/usr/bin/start-pulseaudio-x11"
+
+  # Make ConsoleKit optional
+  sed -e $'/load-module module-console-kit/{i.nofail\n;a.fail\n;}' \
+  -i "$pkgdir/etc/pulse/default.pa"
+
+  # Python fix
+  sed -i '1s:python$:&2:' "$pkgdir/usr/bin/qpaeq"
+
+  install -Dm755 "$srcdir/pulseaudio.xinit" 
"$pkgdir/etc/X11/xinit/xinitrc.d/pulseaudio"
+
+  rm "$pkgdir/etc/dbus-1/system.d/pulseaudio-system.conf"
+
+  # cap is handled in .install
+  chmod 755 "$pkgdir/usr/lib/pulse/proximity-helper"
+
+### Split libpulse
+
+  mkdir -p 
"$srcdir"/libpulse/{etc/pulse,usr/{bin,lib/pulseaudio,share/man/man{1,5}}}
+
+  mv {"$pkgdir","$srcdir/libpulse"}/etc/pulse/client.conf
+
+  mv "$pkgdir"/usr/bin/pa{cat,ctl,dsp,mon,play,rec,record} \
+ "$srcdir/libpulse/usr/bin"
+
+  mv "$pkgdir"/usr/lib/libpulse{,-simple,-mainloop-glib}.so* \
+ "$srcdir/libpulse/usr/lib"
+
+  mv "$pkgdir"/usr/lib/pulseaud

[arch-commits] Commit in pulseaudio/repos (8 files)

2012-11-17 Thread Jan Steffens
Date: Saturday, November 17, 2012 @ 04:12:40
  Author: heftig
Revision: 171337

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  pulseaudio/repos/testing-i686/
  pulseaudio/repos/testing-i686/PKGBUILD
(from rev 171330, pulseaudio/trunk/PKGBUILD)
  pulseaudio/repos/testing-i686/pulseaudio.install
(from rev 171330, pulseaudio/trunk/pulseaudio.install)
  pulseaudio/repos/testing-i686/pulseaudio.xinit
(from rev 171330, pulseaudio/trunk/pulseaudio.xinit)
  pulseaudio/repos/testing-x86_64/
  pulseaudio/repos/testing-x86_64/PKGBUILD
(from rev 171334, pulseaudio/trunk/PKGBUILD)
  pulseaudio/repos/testing-x86_64/pulseaudio.install
(from rev 171334, pulseaudio/trunk/pulseaudio.install)
  pulseaudio/repos/testing-x86_64/pulseaudio.xinit
(from rev 171334, pulseaudio/trunk/pulseaudio.xinit)

---+
 testing-i686/PKGBUILD |  120 
 testing-i686/pulseaudio.install   |   19 +
 testing-i686/pulseaudio.xinit |   12 +++
 testing-x86_64/PKGBUILD   |  120 
 testing-x86_64/pulseaudio.install |   19 +
 testing-x86_64/pulseaudio.xinit   |   12 +++
 6 files changed, 302 insertions(+)

Copied: pulseaudio/repos/testing-i686/PKGBUILD (from rev 171330, 
pulseaudio/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2012-11-17 09:12:40 UTC (rev 171337)
@@ -0,0 +1,120 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) 
+# Contributor: Daniel J Griffiths 
+# Contributor: Corrado Primier 
+# Contributor: William Rea 
+
+pkgbase=pulseaudio
+pkgname=(pulseaudio libpulse)
+pkgdesc="A featureful, general-purpose sound server"
+pkgver=2.99.2
+pkgrel=1
+arch=(i686 x86_64)
+url="http://www.freedesktop.org/wiki/Software/PulseAudio";
+license=(GPL LGPL)
+makedepends=(libasyncns libcap attr libxtst libsm libsamplerate libtool rtkit
+ speex tdb udev dbus-core avahi bluez gconf intltool jack sbc
+ lirc-utils openssl fftw orc json-c gtk2 webrtc-audio-processing
+ systemd check)
+options=(!emptydirs !libtool)
+source=(http://freedesktop.org/software/$pkgbase/releases/$pkgbase-$pkgver.tar.xz
+pulseaudio.xinit)
+sha256sums=('e28d19610344f80bf73a1ae5ce64828c1c489fb47b9923c7e06519b43b1339d9'
+'a0db6cdc74fbf0ca10e2343c08e1e228f109221c6c0ff91b0bfade5c4bdf03cf')
+
+build() {
+  cd $pkgbase-$pkgver
+
+  ./configure --prefix=/usr \
+--sysconfdir=/etc \
+--libexecdir=/usr/lib \
+--localstatedir=/var \
+--with-udev-rules-dir=/usr/lib/udev/rules.d \
+--with-database=tdb \
+--disable-hal \
+--disable-tcpwrap \
+--disable-rpath \
+--disable-default-build-tests
+
+  # fight unused direct deps
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+package_pulseaudio() {
+  depends=("libpulse=$pkgver-$pkgrel" rtkit libltdl speex tdb udev fftw orc
+   libsamplerate webrtc-audio-processing systemd)
+  optdepends=('avahi: zeroconf support'
+  'bluez: bluetooth support'
+  'sbc: bluetooth support'
+  'gconf: configuration through gconf (paprefs)'
+  'jack: jack support'
+  'lirc-utils: infra-red support'
+  'openssl: RAOP support'
+  'python2-pyqt: Equalizer GUI (qpaeq)')
+  backup=(etc/pulse/{daemon.conf,default.pa,system.pa})
+  install=pulseaudio.install
+
+  cd $pkgbase-$pkgver
+  make -j1 DESTDIR="$pkgdir" install
+
+  # Speed up pulseaudio shutdown
+  # Lower resample quality, saves CPU
+  sed -e '/exit-idle-time/iexit-idle-time=0' \
+  -e '/resample-method/iresample-method=speex-float-0' \
+  -i "$pkgdir/etc/pulse/daemon.conf"
+
+  # Disable cork-request module, can result in e.g. media players unpausing
+  # when there's a Skype call incoming
+  sed -e 's|/usr/bin/pactl load-module module-x11-cork-request|#&|' \
+  -i "$pkgdir/usr/bin/start-pulseaudio-x11"
+
+  # Make ConsoleKit optional
+  sed -e $'/load-module module-console-kit/{i.nofail\n;a.fail\n;}' \
+  -i "$pkgdir/etc/pulse/default.pa"
+
+  # Python fix
+  sed -i '1s:python$:&2:' "$pkgdir/usr/bin/qpaeq"
+
+  install -Dm755 "$srcdir/pulseaudio.xinit" 
"$pkgdir/etc/X11/xinit/xinitrc.d/pulseaudio"
+
+  rm "$pkgdir/etc/dbus-1/system.d/pulseaudio-system.conf"
+
+### Split libpulse
+
+  mkdir -p 
"$srcdir"/libpulse/{etc/pulse,usr/{bin,lib/pulseaudio,share/man/man{1,5}}}
+
+  mv {"$pkgdir","$srcdir/libpulse"}/etc/pulse/client.conf
+
+  mv "$pkgdir"/usr/bin/pa{cat,ctl,dsp,mon,play,rec,record} \
+ "$srcdir/libpulse/usr/bin"
+
+  mv "$pkgdir"/usr/lib/libpulse{,-simple,-mainloop-glib}.so* \
+ "$srcdir/libpulse/usr/lib"
+
+  mv "$pkgdir"/usr/lib/pulseaudio/libpulsedsp.so \
+ "$pkgdir"/usr/lib/pulseaudio/libpulsecommon-*.so \
+ "$srcdir/libpulse/usr/lib/pulseaudio"
+
+  mv {"$pkgdi

[arch-commits] Commit in pulseaudio/repos (8 files)

2012-06-01 Thread Dave Reisner
Date: Friday, June 1, 2012 @ 08:58:42
  Author: dreisner
Revision: 160369

db-move: moved pulseaudio from [testing] to [extra] (x86_64)

Added:
  
pulseaudio/repos/extra-x86_64/0001-Remove-usage-of-deprecated-udev_get_-_path.patch
(from rev 160351, 
pulseaudio/repos/testing-x86_64/0001-Remove-usage-of-deprecated-udev_get_-_path.patch)
  pulseaudio/repos/extra-x86_64/PKGBUILD
(from rev 160351, pulseaudio/repos/testing-x86_64/PKGBUILD)
  pulseaudio/repos/extra-x86_64/pulseaudio.install
(from rev 160351, pulseaudio/repos/testing-x86_64/pulseaudio.install)
  pulseaudio/repos/extra-x86_64/pulseaudio.xinit
(from rev 160351, pulseaudio/repos/testing-x86_64/pulseaudio.xinit)
Deleted:
  pulseaudio/repos/extra-x86_64/PKGBUILD
  pulseaudio/repos/extra-x86_64/pulseaudio.install
  pulseaudio/repos/extra-x86_64/pulseaudio.xinit
  pulseaudio/repos/testing-x86_64/

---+
 0001-Remove-usage-of-deprecated-udev_get_-_path.patch |   80 +
 PKGBUILD  |  226 
 pulseaudio.install|   42 +-
 pulseaudio.xinit  |   24 -
 4 files changed, 226 insertions(+), 146 deletions(-)

Copied: 
pulseaudio/repos/extra-x86_64/0001-Remove-usage-of-deprecated-udev_get_-_path.patch
 (from rev 160351, 
pulseaudio/repos/testing-x86_64/0001-Remove-usage-of-deprecated-udev_get_-_path.patch)
===
--- extra-x86_64/0001-Remove-usage-of-deprecated-udev_get_-_path.patch  
(rev 0)
+++ extra-x86_64/0001-Remove-usage-of-deprecated-udev_get_-_path.patch  
2012-06-01 12:58:42 UTC (rev 160369)
@@ -0,0 +1,80 @@
+From 45607b113a052e4bec93a8707dc4db113c5dd100 Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" 
+Date: Sat, 26 May 2012 02:58:11 +0200
+Subject: [PATCH] Remove usage of deprecated udev_get_*_path
+
+These symbols were removed in libudev.so.1.0.0. Replace them with
+hardcoded strings.
+
+Signed-off-by: Jan Alexander Steffens (heftig) 
+---
+ src/modules/module-udev-detect.c |9 +++--
+ src/modules/udev-util.c  |4 ++--
+ 2 files changed, 5 insertions(+), 8 deletions(-)
+
+diff --git a/src/modules/module-udev-detect.c 
b/src/modules/module-udev-detect.c
+index 1192194..31416bd 100644
+--- a/src/modules/module-udev-detect.c
 b/src/modules/module-udev-detect.c
+@@ -123,7 +123,7 @@ static char *card_get_sysattr(const char *card_idx, const 
char *name) {
+ goto finish;
+ }
+ 
+-t = pa_sprintf_malloc("%s/class/sound/card%s", udev_get_sys_path(udev), 
card_idx);
++t = pa_sprintf_malloc("/sys/class/sound/card%s", card_idx);
+ card = udev_device_new_from_syspath(udev, t);
+ pa_xfree(t);
+ 
+@@ -282,7 +282,7 @@ static void verify_access(struct userdata *u, struct 
device *d) {
+ pa_assert(u);
+ pa_assert(d);
+ 
+-cd = pa_sprintf_malloc("%s/snd/controlC%s", udev_get_dev_path(u->udev), 
path_get_card_id(d->path));
++cd = pa_sprintf_malloc("/dev/snd/controlC%s", path_get_card_id(d->path));
+ accessible = access(cd, R_OK|W_OK) >= 0;
+ pa_log_debug("%s is accessible: %s", cd, pa_yes_no(accessible));
+ 
+@@ -621,7 +621,6 @@ fail:
+ }
+ 
+ static int setup_inotify(struct userdata *u) {
+-char *dev_snd;
+ int r;
+ 
+ if (u->inotify_fd >= 0)
+@@ -632,9 +631,7 @@ static int setup_inotify(struct userdata *u) {
+ return -1;
+ }
+ 
+-dev_snd = pa_sprintf_malloc("%s/snd", udev_get_dev_path(u->udev));
+-r = inotify_add_watch(u->inotify_fd, dev_snd, 
IN_ATTRIB|IN_CLOSE_WRITE|IN_DELETE_SELF|IN_MOVE_SELF);
+-pa_xfree(dev_snd);
++r = inotify_add_watch(u->inotify_fd, "/dev/snd", 
IN_ATTRIB|IN_CLOSE_WRITE|IN_DELETE_SELF|IN_MOVE_SELF);
+ 
+ if (r < 0) {
+ int saved_errno = errno;
+diff --git a/src/modules/udev-util.c b/src/modules/udev-util.c
+index 2f18bc4..b0bb17d 100644
+--- a/src/modules/udev-util.c
 b/src/modules/udev-util.c
+@@ -180,7 +180,7 @@ int pa_udev_get_info(int card_idx, pa_proplist *p) {
+ goto finish;
+ }
+ 
+-t = pa_sprintf_malloc("%s/class/sound/card%i", udev_get_sys_path(udev), 
card_idx);
++t = pa_sprintf_malloc("/sys/class/sound/card%i", card_idx);
+ card = udev_device_new_from_syspath(udev, t);
+ pa_xfree(t);
+ 
+@@ -277,7 +277,7 @@ char* pa_udev_get_property(int card_idx, const char *name) 
{
+ goto finish;
+ }
+ 
+-t = pa_sprintf_malloc("%s/class/sound/card%i", udev_get_sys_path(udev), 
card_idx);
++t = pa_sprintf_malloc("/sys/class/sound/card%i", card_idx);
+ card = udev_device_new_from_syspath(udev, t);
+ pa_xfree(t);
+ 
+-- 
+1.7.10.2
+

Deleted: extra-x86_64/PKGBUILD
===
--- extra-x86_64/PKGBUILD   2012-06-01 12:58:41 UTC (rev 160368)
+++ extra-x86_64/PKGBUILD   2012-06-01 12:58:42 UTC (rev 160369)
@@ -1,

[arch-commits] Commit in pulseaudio/repos (8 files)

2012-06-01 Thread Dave Reisner
Date: Friday, June 1, 2012 @ 08:58:41
  Author: dreisner
Revision: 160368

db-move: moved pulseaudio from [testing] to [extra] (i686)

Added:
  
pulseaudio/repos/extra-i686/0001-Remove-usage-of-deprecated-udev_get_-_path.patch
(from rev 160351, 
pulseaudio/repos/testing-i686/0001-Remove-usage-of-deprecated-udev_get_-_path.patch)
  pulseaudio/repos/extra-i686/PKGBUILD
(from rev 160351, pulseaudio/repos/testing-i686/PKGBUILD)
  pulseaudio/repos/extra-i686/pulseaudio.install
(from rev 160351, pulseaudio/repos/testing-i686/pulseaudio.install)
  pulseaudio/repos/extra-i686/pulseaudio.xinit
(from rev 160351, pulseaudio/repos/testing-i686/pulseaudio.xinit)
Deleted:
  pulseaudio/repos/extra-i686/PKGBUILD
  pulseaudio/repos/extra-i686/pulseaudio.install
  pulseaudio/repos/extra-i686/pulseaudio.xinit
  pulseaudio/repos/testing-i686/

---+
 0001-Remove-usage-of-deprecated-udev_get_-_path.patch |   80 +
 PKGBUILD  |  226 
 pulseaudio.install|   42 +-
 pulseaudio.xinit  |   24 -
 4 files changed, 226 insertions(+), 146 deletions(-)

Copied: 
pulseaudio/repos/extra-i686/0001-Remove-usage-of-deprecated-udev_get_-_path.patch
 (from rev 160351, 
pulseaudio/repos/testing-i686/0001-Remove-usage-of-deprecated-udev_get_-_path.patch)
===
--- extra-i686/0001-Remove-usage-of-deprecated-udev_get_-_path.patch
(rev 0)
+++ extra-i686/0001-Remove-usage-of-deprecated-udev_get_-_path.patch
2012-06-01 12:58:41 UTC (rev 160368)
@@ -0,0 +1,80 @@
+From 45607b113a052e4bec93a8707dc4db113c5dd100 Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" 
+Date: Sat, 26 May 2012 02:58:11 +0200
+Subject: [PATCH] Remove usage of deprecated udev_get_*_path
+
+These symbols were removed in libudev.so.1.0.0. Replace them with
+hardcoded strings.
+
+Signed-off-by: Jan Alexander Steffens (heftig) 
+---
+ src/modules/module-udev-detect.c |9 +++--
+ src/modules/udev-util.c  |4 ++--
+ 2 files changed, 5 insertions(+), 8 deletions(-)
+
+diff --git a/src/modules/module-udev-detect.c 
b/src/modules/module-udev-detect.c
+index 1192194..31416bd 100644
+--- a/src/modules/module-udev-detect.c
 b/src/modules/module-udev-detect.c
+@@ -123,7 +123,7 @@ static char *card_get_sysattr(const char *card_idx, const 
char *name) {
+ goto finish;
+ }
+ 
+-t = pa_sprintf_malloc("%s/class/sound/card%s", udev_get_sys_path(udev), 
card_idx);
++t = pa_sprintf_malloc("/sys/class/sound/card%s", card_idx);
+ card = udev_device_new_from_syspath(udev, t);
+ pa_xfree(t);
+ 
+@@ -282,7 +282,7 @@ static void verify_access(struct userdata *u, struct 
device *d) {
+ pa_assert(u);
+ pa_assert(d);
+ 
+-cd = pa_sprintf_malloc("%s/snd/controlC%s", udev_get_dev_path(u->udev), 
path_get_card_id(d->path));
++cd = pa_sprintf_malloc("/dev/snd/controlC%s", path_get_card_id(d->path));
+ accessible = access(cd, R_OK|W_OK) >= 0;
+ pa_log_debug("%s is accessible: %s", cd, pa_yes_no(accessible));
+ 
+@@ -621,7 +621,6 @@ fail:
+ }
+ 
+ static int setup_inotify(struct userdata *u) {
+-char *dev_snd;
+ int r;
+ 
+ if (u->inotify_fd >= 0)
+@@ -632,9 +631,7 @@ static int setup_inotify(struct userdata *u) {
+ return -1;
+ }
+ 
+-dev_snd = pa_sprintf_malloc("%s/snd", udev_get_dev_path(u->udev));
+-r = inotify_add_watch(u->inotify_fd, dev_snd, 
IN_ATTRIB|IN_CLOSE_WRITE|IN_DELETE_SELF|IN_MOVE_SELF);
+-pa_xfree(dev_snd);
++r = inotify_add_watch(u->inotify_fd, "/dev/snd", 
IN_ATTRIB|IN_CLOSE_WRITE|IN_DELETE_SELF|IN_MOVE_SELF);
+ 
+ if (r < 0) {
+ int saved_errno = errno;
+diff --git a/src/modules/udev-util.c b/src/modules/udev-util.c
+index 2f18bc4..b0bb17d 100644
+--- a/src/modules/udev-util.c
 b/src/modules/udev-util.c
+@@ -180,7 +180,7 @@ int pa_udev_get_info(int card_idx, pa_proplist *p) {
+ goto finish;
+ }
+ 
+-t = pa_sprintf_malloc("%s/class/sound/card%i", udev_get_sys_path(udev), 
card_idx);
++t = pa_sprintf_malloc("/sys/class/sound/card%i", card_idx);
+ card = udev_device_new_from_syspath(udev, t);
+ pa_xfree(t);
+ 
+@@ -277,7 +277,7 @@ char* pa_udev_get_property(int card_idx, const char *name) 
{
+ goto finish;
+ }
+ 
+-t = pa_sprintf_malloc("%s/class/sound/card%i", udev_get_sys_path(udev), 
card_idx);
++t = pa_sprintf_malloc("/sys/class/sound/card%i", card_idx);
+ card = udev_device_new_from_syspath(udev, t);
+ pa_xfree(t);
+ 
+-- 
+1.7.10.2
+

Deleted: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2012-06-01 12:58:38 UTC (rev 160367)
+++ extra-i686/PKGBUILD 2012-06-01 12:58:41 UTC (rev 160368)
@@ -1,111 +0,0 @@
-# $Id$
-# Maintainer: Jan Alexander

[arch-commits] Commit in pulseaudio/repos (8 files)

2012-05-11 Thread Jan Steffens
Date: Friday, May 11, 2012 @ 12:16:59
  Author: heftig
Revision: 158823

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  pulseaudio/repos/testing-i686/
  pulseaudio/repos/testing-i686/PKGBUILD
(from rev 158821, pulseaudio/trunk/PKGBUILD)
  pulseaudio/repos/testing-i686/pulseaudio.install
(from rev 158821, pulseaudio/trunk/pulseaudio.install)
  pulseaudio/repos/testing-i686/pulseaudio.xinit
(from rev 158821, pulseaudio/trunk/pulseaudio.xinit)
  pulseaudio/repos/testing-x86_64/
  pulseaudio/repos/testing-x86_64/PKGBUILD
(from rev 158821, pulseaudio/trunk/PKGBUILD)
  pulseaudio/repos/testing-x86_64/pulseaudio.install
(from rev 158821, pulseaudio/trunk/pulseaudio.install)
  pulseaudio/repos/testing-x86_64/pulseaudio.xinit
(from rev 158821, pulseaudio/trunk/pulseaudio.xinit)

---+
 testing-i686/PKGBUILD |  111 
 testing-i686/pulseaudio.install   |   23 +++
 testing-i686/pulseaudio.xinit |   12 +++
 testing-x86_64/PKGBUILD   |  111 
 testing-x86_64/pulseaudio.install |   23 +++
 testing-x86_64/pulseaudio.xinit   |   12 +++
 6 files changed, 292 insertions(+)

Copied: pulseaudio/repos/testing-i686/PKGBUILD (from rev 158821, 
pulseaudio/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2012-05-11 16:16:59 UTC (rev 158823)
@@ -0,0 +1,111 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) 
+# Contributor: Daniel J Griffiths 
+# Contributor: Corrado Primier 
+# Contributor: William Rea 
+
+pkgbase=pulseaudio
+pkgname=(pulseaudio libpulse)
+pkgdesc="A featureful, general-purpose sound server"
+pkgver=2.0
+pkgrel=1
+arch=(i686 x86_64)
+url="http://www.freedesktop.org/wiki/Software/PulseAudio";
+license=(GPL LGPL)
+makedepends=(libasyncns libcap attr libxtst libsm libsamplerate libtool rtkit
+ speex tdb udev dbus-core avahi bluez gconf intltool jack
+ lirc-utils openssl fftw orc json-c gtk2 webrtc-audio-processing
+ libsystemd)
+options=(!emptydirs !libtool)
+source=(http://freedesktop.org/software/$pkgbase/releases/$pkgbase-$pkgver.tar.xz
+pulseaudio.xinit)
+sha256sums=('28b42edd42f4879a6884af5f0ec11801ac001eb7582881215b36649aa37e2061'
+'a0db6cdc74fbf0ca10e2343c08e1e228f109221c6c0ff91b0bfade5c4bdf03cf')
+
+build() {
+  cd $pkgbase-$pkgver
+
+  ./configure --prefix=/usr \
+--sysconfdir=/etc \
+--libexecdir=/usr/lib \
+--localstatedir=/var \
+--with-udev-rules-dir=/usr/lib/udev/rules.d \
+--with-database=tdb \
+--disable-hal \
+--disable-tcpwrap \
+--disable-rpath \
+--disable-default-build-tests
+
+  # fight unused direct deps
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+package_pulseaudio() {
+  depends=("libpulse=$pkgver-$pkgrel" rtkit libltdl speex tdb udev fftw orc
+   libsamplerate webrtc-audio-processing libsystemd)
+  optdepends=('avahi: zeroconf support'
+  'bluez: bluetooth support'
+  'gconf: configuration through gconf (paprefs)'
+  'jack: jack support'
+  'lirc-utils: infra-red support'
+  'openssl: RAOP support'
+  'python2-pyqt: Equalizer GUI (qpaeq)')
+  backup=(etc/pulse/{daemon.conf,default.pa,system.pa})
+  install=pulseaudio.install
+
+  cd $pkgbase-$pkgver
+  make -j1 DESTDIR="$pkgdir" install
+
+  # Lower resample quality, saves CPU
+  sed -e '/resample-method/iresample-method=speex-float-0' \
+  -i "$pkgdir/etc/pulse/daemon.conf"
+
+  # Disable cork-request module, can result in e.g. media players unpausing
+  # when there's a Skype call incoming
+  sed -e 's|/usr/bin/pactl load-module module-x11-cork-request|#&|' \
+  -i "$pkgdir/usr/bin/start-pulseaudio-x11"
+
+  # Make ConsoleKit optional
+  sed -e $'/load-module module-console-kit/{i.nofail\n;a.fail\n;}' \
+  -i "$pkgdir/etc/pulse/default.pa"
+
+  # Python fix
+  sed -i '1s:python$:&2:' "$pkgdir/usr/bin/qpaeq"
+
+  install -Dm755 "$srcdir/pulseaudio.xinit" 
"$pkgdir/etc/X11/xinit/xinitrc.d/pulseaudio"
+
+  rm "$pkgdir/etc/dbus-1/system.d/pulseaudio-system.conf"
+
+### Split libpulse
+
+  mkdir -p "$srcdir"/libpulse/{etc/pulse,usr/{lib/pulseaudio,share/man/man5}}
+
+  mv {"$pkgdir","$srcdir/libpulse"}/etc/pulse/client.conf
+
+  mv "$pkgdir"/usr/lib/libpulse{,-simple,-mainloop-glib}.so* \
+ "$srcdir/libpulse/usr/lib"
+
+  mv "$pkgdir"/usr/lib/pulseaudio/libpulsedsp.so \
+ "$pkgdir"/usr/lib/pulseaudio/libpulsecommon-*.so \
+ "$srcdir/libpulse/usr/lib/pulseaudio"
+
+  mv {"$pkgdir","$srcdir/libpulse"}/usr/lib/cmake
+  mv {"$pkgdir","$srcdir/libpulse"}/usr/lib/pkgconfig
+
+  mv {"$pkgdir","$srcdir/libpulse"}/usr/include
+
+  mv {"$pkgdir","$srcdir/libpulse"}/usr/share/man/man5/pulse-client.conf.5
+  mv {"$pkgdir",

[arch-commits] Commit in pulseaudio/repos (8 files)

2011-12-29 Thread Jan Steffens
Date: Thursday, December 29, 2011 @ 19:51:02
  Author: heftig
Revision: 145756

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  pulseaudio/repos/testing-i686/
  pulseaudio/repos/testing-i686/PKGBUILD
(from rev 145755, pulseaudio/trunk/PKGBUILD)
  pulseaudio/repos/testing-i686/pulseaudio.install
(from rev 145755, pulseaudio/trunk/pulseaudio.install)
  pulseaudio/repos/testing-i686/pulseaudio.xinit
(from rev 145755, pulseaudio/trunk/pulseaudio.xinit)
  pulseaudio/repos/testing-x86_64/
  pulseaudio/repos/testing-x86_64/PKGBUILD
(from rev 145755, pulseaudio/trunk/PKGBUILD)
  pulseaudio/repos/testing-x86_64/pulseaudio.install
(from rev 145755, pulseaudio/trunk/pulseaudio.install)
  pulseaudio/repos/testing-x86_64/pulseaudio.xinit
(from rev 145755, pulseaudio/trunk/pulseaudio.xinit)

---+
 testing-i686/PKGBUILD |  104 
 testing-i686/pulseaudio.install   |   23 +++
 testing-i686/pulseaudio.xinit |   12 
 testing-x86_64/PKGBUILD   |  104 
 testing-x86_64/pulseaudio.install |   23 +++
 testing-x86_64/pulseaudio.xinit   |   12 
 6 files changed, 278 insertions(+)

Copied: pulseaudio/repos/testing-i686/PKGBUILD (from rev 145755, 
pulseaudio/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2011-12-30 00:51:02 UTC (rev 145756)
@@ -0,0 +1,104 @@
+# $Id$
+# Maintainer: Jan "heftig" Steffens 
+# Contributor: Daniel J Griffiths 
+# Contributor: Corrado Primier 
+# Contributor: William Rea 
+
+pkgbase=pulseaudio
+pkgname=(pulseaudio libpulse)
+pkgdesc="A featureful, general-purpose sound server"
+pkgver=1.1
+pkgrel=2
+arch=(i686 x86_64)
+url="http://pulseaudio.org/";
+license=(GPL LGPL)
+makedepends=(libasyncns libcap attr libxtst libsm libsamplerate libtool rtkit
+ speex tdb udev dbus-core avahi bluez gconf intltool jack
+ lirc-utils openssl fftw orc json-c gtk2)
+options=(!emptydirs !libtool)
+source=(http://freedesktop.org/software/$pkgbase/releases/$pkgbase-$pkgver.tar.xz
+$pkgbase.xinit)
+sha256sums=('6fe531136f6ebce2d35872a2d2c914278cdc5dcdd5eea516dc52c81f9001f5ee'
+'a0db6cdc74fbf0ca10e2343c08e1e228f109221c6c0ff91b0bfade5c4bdf03cf')
+
+build() {
+  cd "$srcdir/$pkgbase-$pkgver"
+
+  ./configure --prefix=/usr \
+--sysconfdir=/etc \
+--libexecdir=/usr/lib \
+--localstatedir=/var \
+--with-database=tdb \
+--disable-hal \
+--disable-tcpwrap \
+--disable-rpath \
+--disable-default-build-tests
+
+  # fight unused direct deps
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+package_pulseaudio() {
+  depends=("libpulse=$pkgver-$pkgrel" rtkit libtool speex tdb udev fftw orc
+   libsamplerate)
+  optdepends=('avahi: zeroconf support'
+  'bluez: bluetooth support'
+  'gconf: configuration through gconf (paprefs)'
+  'jack: jack support'
+  'lirc-utils: infra-red support'
+  'openssl: RAOP support'
+  'python2-pyqt: Equalizer GUI (qpaeq)')
+  backup=(etc/pulse/{daemon.conf,default.pa,system.pa})
+  install=pulseaudio.install
+
+  cd "$srcdir/$pkgbase-$pkgver"
+  make -j1 DESTDIR="$pkgdir" install
+
+  # Lower resample quality, saves CPU
+  sed -e '/resample-method/iresample-method=speex-float-0' \
+  -i "$pkgdir/etc/pulse/daemon.conf"
+
+  # Disable cork-request module, can result in e.g. media players unpausing
+  # when there's a Skype call incoming
+  sed -e 's|/usr/bin/pactl load-module module-x11-cork-request|#&|' \
+  -i "$pkgdir/usr/bin/start-pulseaudio-x11"
+
+  # Make ConsoleKit optional
+  sed -e $'/load-module module-console-kit/{i.nofail\n;a.fail\n;}' \
+  -i "$pkgdir/etc/pulse/default.pa"
+
+  # Python fix
+  sed -i '1s:python$:&2:' "$pkgdir/usr/bin/qpaeq"
+
+  install -Dm755 "$srcdir/pulseaudio.xinit" 
"$pkgdir/etc/X11/xinit/xinitrc.d/pulseaudio"
+
+  rm "$pkgdir/etc/dbus-1/system.d/pulseaudio-system.conf"
+
+### Split libpulse
+
+  mkdir -p "$srcdir"/libpulse/{etc/pulse,usr/{lib,share/man/man5}}
+
+  mv {"$pkgdir","$srcdir/libpulse"}/etc/pulse/client.conf
+
+  mv "$pkgdir"/usr/lib/libpulse{,dsp,-simple,-mainloop-glib}.so* \
+ "$pkgdir"/usr/lib/libpulsecommon-*.so \
+ "$srcdir/libpulse/usr/lib"
+
+  mv {"$pkgdir","$srcdir/libpulse"}/usr/lib/pkgconfig
+  mv {"$pkgdir","$srcdir/libpulse"}/usr/include
+
+  mv {"$pkgdir","$srcdir/libpulse"}/usr/share/man/man5/pulse-client.conf.5
+  mv {"$pkgdir","$srcdir/libpulse"}/usr/share/vala
+}
+
+package_libpulse() {
+  pkgdesc="$pkgdesc (client library)"
+  depends=(dbus-core libasyncns libcap libxtst libsm libsndfile json-c)
+  optdepends=('alsa-plugins: ALSA support'
+  'avahi: zeroconf support')
+  backup=(etc/pulse/client.conf)
+
+  mv "$srcdir"/libp

[arch-commits] Commit in pulseaudio/repos (8 files)

2011-10-01 Thread Ionut Biru
Date: Saturday, October 1, 2011 @ 15:00:56
  Author: ibiru
Revision: 139417

db-move: moved pulseaudio from [testing] to [extra] (i686)

Added:
  pulseaudio/repos/extra-i686/PKGBUILD
(from rev 139207, pulseaudio/repos/testing-i686/PKGBUILD)
  pulseaudio/repos/extra-i686/pulseaudio.install
(from rev 139207, pulseaudio/repos/testing-i686/pulseaudio.install)
  pulseaudio/repos/extra-i686/pulseaudio.xinit
(from rev 139207, pulseaudio/repos/testing-i686/pulseaudio.xinit)
  pulseaudio/repos/extra-i686/version-number.patch
(from rev 139207, pulseaudio/repos/testing-i686/version-number.patch)
Deleted:
  pulseaudio/repos/extra-i686/PKGBUILD
  pulseaudio/repos/extra-i686/pulseaudio.install
  pulseaudio/repos/extra-i686/pulseaudio.xinit
  pulseaudio/repos/testing-i686/

--+
 PKGBUILD |  200 -
 pulseaudio.install   |   46 +--
 pulseaudio.xinit |   19 ++--
 version-number.patch |   40 +
 4 files changed, 177 insertions(+), 128 deletions(-)

Deleted: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2011-10-01 19:00:54 UTC (rev 139416)
+++ extra-i686/PKGBUILD 2011-10-01 19:00:56 UTC (rev 139417)
@@ -1,98 +0,0 @@
-# $Id$
-# Maintainer: Jan "heftig" Steffens 
-# Contributor: Daniel J Griffiths 
-# Contributor: Corrado Primier 
-# Contributor: William Rea 
-
-pkgbase=pulseaudio
-pkgname=(pulseaudio libpulse)
-pkgver=0.9.23
-pkgrel=1
-arch=(i686 x86_64)
-url="http://pulseaudio.org/";
-license=(GPL LGPL)
-makedepends=(libasyncns libcap attr libxtst libsm libsndfile libtool rtkit
- speex libsamplerate tdb udev dbus-core xcb-util avahi bluez
- gconf intltool jack lirc-utils openssl)
-options=(!emptydirs !libtool !makeflags)
-source=("http://freedesktop.org/software/$pkgbase/releases/$pkgbase-$pkgver.tar.gz";
-$pkgbase.xinit)
-md5sums=('7391205a337d1e04a9ff38025f684034'
- 'eb1cfae28eb2e4d3fdbe45a90e4318ab')
-
-build() {
-  cd "$srcdir/$pkgbase-$pkgver"
-
-  # Don't break circular dependency between libpulse and libpulsecommon
-  LDFLAGS="${LDFLAGS//-Wl,--as-needed}"
-
-  ./configure --prefix=/usr \
---sysconfdir=/etc \
---libexecdir=/usr/lib \
---localstatedir=/var \
---with-database=tdb \
---disable-hal \
---disable-tcpwrap \
---disable-rpath \
---disable-default-build-tests
-
-  make
-}
-
-package_pulseaudio() {
-  pkgdesc="A featureful, general-purpose sound server"
-  depends=("libpulse=$pkgver-$pkgrel" rtkit libtool speex libsamplerate tdb
-   udev)
-  optdepends=('avahi: zeroconf support'
-  'bluez: bluetooth support'
-  'gconf: configuration through gconf'
-  'jack: jack support'
-  'lirc-utils: infra-red support'
-  'openssl: RAOP support')
-  backup=(etc/pulse/{daemon.conf,default.pa,system.pa})
-  install=pulseaudio.install
-  cd "$srcdir/$pkgbase-$pkgver"
-  make DESTDIR="$pkgdir" install
-
-  # Lower resample quality, saves CPU
-  sed -e '/resample-method/iresample-method=speex-float-0' \
-  -i "$pkgdir/etc/pulse/daemon.conf"
-
-  # Disable cork-request module, can result in e.g. media players unpausing
-  # when there's a Skype call incoming
-  sed -e 's|/usr/bin/pactl load-module module-x11-cork-request|#&|' \
-  -i "$pkgdir/usr/bin/start-$pkgbase-x11"
-
-  # Make module-console-kit optional
-  sed -e $'/load-module module-console-kit/{i.nofail\n;a.fail\n;}' \
-  -i "$pkgdir/etc/pulse/default.pa"
-
-  install -Dm755 "$srcdir/$pkgbase.xinit" 
"$pkgdir/etc/X11/xinit/xinitrc.d/$pkgbase"
-
-  rm "$pkgdir/etc/dbus-1/system.d/$pkgbase-system.conf"
-
-### Split libpulse
-
-  mkdir -p "$srcdir"/libpulse/{etc/pulse,usr/{lib,share/{man/man5,vala/vapi}}}
-
-  mv {"$pkgdir","$srcdir/libpulse"}/etc/pulse/client.conf
-
-  mv "$pkgdir"/usr/lib/libpulse{,dsp,-simple,-browse,-mainloop-glib}.so* \
- "$pkgdir"/usr/lib/libpulsecommon-*.so \
- "$srcdir/libpulse/usr/lib"
-
-  mv {"$pkgdir","$srcdir/libpulse"}/usr/lib/pkgconfig
-  mv {"$pkgdir","$srcdir/libpulse"}/usr/include
-
-  mv {"$pkgdir","$srcdir/libpulse"}/usr/share/man/man5/pulse-client.conf.5
-  mv {"$pkgdir","$srcdir/libpulse"}/usr/share/vala/vapi/libpulse.vapi
-}
-
-package_libpulse() {
-  pkgdesc="A featureful, general-purpose sound server (client library)"
-  depends=(dbus-core xcb-util libasyncns libcap libxtst libsm libsndfile)
-  optdepends=('alsa-plugins: ALSA support'
-  'avahi: zeroconf support')
-  backup=(etc/pulse/client.conf)
-  mv "$srcdir"/libpulse/* "$pkgdir"
-}

Copied: pulseaudio/repos/extra-i686/PKGBUILD (from rev 139207, 
pulseaudio/repos/testing-i686/PKGBUILD)
===
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2011-10-01 19:00:56 UTC (rev 139417)
@@ -0,0 +1,102 @@
+# $Id$
+# Maintainer: Jan "heftig" Steffens 
+# 

[arch-commits] Commit in pulseaudio/repos (8 files)

2011-10-01 Thread Ionut Biru
Date: Saturday, October 1, 2011 @ 15:00:59
  Author: ibiru
Revision: 139418

db-move: moved pulseaudio from [testing] to [extra] (x86_64)

Added:
  pulseaudio/repos/extra-x86_64/PKGBUILD
(from rev 139207, pulseaudio/repos/testing-x86_64/PKGBUILD)
  pulseaudio/repos/extra-x86_64/pulseaudio.install
(from rev 139207, pulseaudio/repos/testing-x86_64/pulseaudio.install)
  pulseaudio/repos/extra-x86_64/pulseaudio.xinit
(from rev 139207, pulseaudio/repos/testing-x86_64/pulseaudio.xinit)
  pulseaudio/repos/extra-x86_64/version-number.patch
(from rev 139207, pulseaudio/repos/testing-x86_64/version-number.patch)
Deleted:
  pulseaudio/repos/extra-x86_64/PKGBUILD
  pulseaudio/repos/extra-x86_64/pulseaudio.install
  pulseaudio/repos/extra-x86_64/pulseaudio.xinit
  pulseaudio/repos/testing-x86_64/

--+
 PKGBUILD |  200 -
 pulseaudio.install   |   46 +--
 pulseaudio.xinit |   19 ++--
 version-number.patch |   40 +
 4 files changed, 177 insertions(+), 128 deletions(-)

Deleted: extra-x86_64/PKGBUILD
===
--- extra-x86_64/PKGBUILD   2011-10-01 19:00:56 UTC (rev 139417)
+++ extra-x86_64/PKGBUILD   2011-10-01 19:00:59 UTC (rev 139418)
@@ -1,98 +0,0 @@
-# $Id$
-# Maintainer: Jan "heftig" Steffens 
-# Contributor: Daniel J Griffiths 
-# Contributor: Corrado Primier 
-# Contributor: William Rea 
-
-pkgbase=pulseaudio
-pkgname=(pulseaudio libpulse)
-pkgver=0.9.23
-pkgrel=1
-arch=(i686 x86_64)
-url="http://pulseaudio.org/";
-license=(GPL LGPL)
-makedepends=(libasyncns libcap attr libxtst libsm libsndfile libtool rtkit
- speex libsamplerate tdb udev dbus-core xcb-util avahi bluez
- gconf intltool jack lirc-utils openssl)
-options=(!emptydirs !libtool !makeflags)
-source=("http://freedesktop.org/software/$pkgbase/releases/$pkgbase-$pkgver.tar.gz";
-$pkgbase.xinit)
-md5sums=('7391205a337d1e04a9ff38025f684034'
- 'eb1cfae28eb2e4d3fdbe45a90e4318ab')
-
-build() {
-  cd "$srcdir/$pkgbase-$pkgver"
-
-  # Don't break circular dependency between libpulse and libpulsecommon
-  LDFLAGS="${LDFLAGS//-Wl,--as-needed}"
-
-  ./configure --prefix=/usr \
---sysconfdir=/etc \
---libexecdir=/usr/lib \
---localstatedir=/var \
---with-database=tdb \
---disable-hal \
---disable-tcpwrap \
---disable-rpath \
---disable-default-build-tests
-
-  make
-}
-
-package_pulseaudio() {
-  pkgdesc="A featureful, general-purpose sound server"
-  depends=("libpulse=$pkgver-$pkgrel" rtkit libtool speex libsamplerate tdb
-   udev)
-  optdepends=('avahi: zeroconf support'
-  'bluez: bluetooth support'
-  'gconf: configuration through gconf'
-  'jack: jack support'
-  'lirc-utils: infra-red support'
-  'openssl: RAOP support')
-  backup=(etc/pulse/{daemon.conf,default.pa,system.pa})
-  install=pulseaudio.install
-  cd "$srcdir/$pkgbase-$pkgver"
-  make DESTDIR="$pkgdir" install
-
-  # Lower resample quality, saves CPU
-  sed -e '/resample-method/iresample-method=speex-float-0' \
-  -i "$pkgdir/etc/pulse/daemon.conf"
-
-  # Disable cork-request module, can result in e.g. media players unpausing
-  # when there's a Skype call incoming
-  sed -e 's|/usr/bin/pactl load-module module-x11-cork-request|#&|' \
-  -i "$pkgdir/usr/bin/start-$pkgbase-x11"
-
-  # Make module-console-kit optional
-  sed -e $'/load-module module-console-kit/{i.nofail\n;a.fail\n;}' \
-  -i "$pkgdir/etc/pulse/default.pa"
-
-  install -Dm755 "$srcdir/$pkgbase.xinit" 
"$pkgdir/etc/X11/xinit/xinitrc.d/$pkgbase"
-
-  rm "$pkgdir/etc/dbus-1/system.d/$pkgbase-system.conf"
-
-### Split libpulse
-
-  mkdir -p "$srcdir"/libpulse/{etc/pulse,usr/{lib,share/{man/man5,vala/vapi}}}
-
-  mv {"$pkgdir","$srcdir/libpulse"}/etc/pulse/client.conf
-
-  mv "$pkgdir"/usr/lib/libpulse{,dsp,-simple,-browse,-mainloop-glib}.so* \
- "$pkgdir"/usr/lib/libpulsecommon-*.so \
- "$srcdir/libpulse/usr/lib"
-
-  mv {"$pkgdir","$srcdir/libpulse"}/usr/lib/pkgconfig
-  mv {"$pkgdir","$srcdir/libpulse"}/usr/include
-
-  mv {"$pkgdir","$srcdir/libpulse"}/usr/share/man/man5/pulse-client.conf.5
-  mv {"$pkgdir","$srcdir/libpulse"}/usr/share/vala/vapi/libpulse.vapi
-}
-
-package_libpulse() {
-  pkgdesc="A featureful, general-purpose sound server (client library)"
-  depends=(dbus-core xcb-util libasyncns libcap libxtst libsm libsndfile)
-  optdepends=('alsa-plugins: ALSA support'
-  'avahi: zeroconf support')
-  backup=(etc/pulse/client.conf)
-  mv "$srcdir"/libpulse/* "$pkgdir"
-}

Copied: pulseaudio/repos/extra-x86_64/PKGBUILD (from rev 139207, 
pulseaudio/repos/testing-x86_64/PKGBUILD)
===
--- extra-x86_64/PKGBUILD   (rev 0)
+++ extra-x86_64/PKGBUILD   2011-10-01 19:00:59 UTC (rev 139418)
@@ 

[arch-commits] Commit in pulseaudio/repos (8 files)

2011-08-31 Thread Jan Steffens
Date: Wednesday, August 31, 2011 @ 19:23:07
  Author: heftig
Revision: 136746

archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64

Added:
  pulseaudio/repos/gnome-unstable-i686/
  pulseaudio/repos/gnome-unstable-i686/PKGBUILD
(from rev 136745, pulseaudio/trunk/PKGBUILD)
  pulseaudio/repos/gnome-unstable-i686/pulseaudio.install
(from rev 136745, pulseaudio/trunk/pulseaudio.install)
  pulseaudio/repos/gnome-unstable-i686/pulseaudio.xinit
(from rev 136745, pulseaudio/trunk/pulseaudio.xinit)
  pulseaudio/repos/gnome-unstable-x86_64/
  pulseaudio/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 136745, pulseaudio/trunk/PKGBUILD)
  pulseaudio/repos/gnome-unstable-x86_64/pulseaudio.install
(from rev 136745, pulseaudio/trunk/pulseaudio.install)
  pulseaudio/repos/gnome-unstable-x86_64/pulseaudio.xinit
(from rev 136745, pulseaudio/trunk/pulseaudio.xinit)

--+
 gnome-unstable-i686/PKGBUILD |  103 +
 gnome-unstable-i686/pulseaudio.install   |   23 ++
 gnome-unstable-i686/pulseaudio.xinit |7 +
 gnome-unstable-x86_64/PKGBUILD   |  103 +
 gnome-unstable-x86_64/pulseaudio.install |   23 ++
 gnome-unstable-x86_64/pulseaudio.xinit   |7 +
 6 files changed, 266 insertions(+)

Copied: pulseaudio/repos/gnome-unstable-i686/PKGBUILD (from rev 136745, 
pulseaudio/trunk/PKGBUILD)
===
--- gnome-unstable-i686/PKGBUILD(rev 0)
+++ gnome-unstable-i686/PKGBUILD2011-08-31 23:23:07 UTC (rev 136746)
@@ -0,0 +1,103 @@
+# $Id$
+# Maintainer: Jan "heftig" Steffens 
+# Contributor: Daniel J Griffiths 
+# Contributor: Corrado Primier 
+# Contributor: William Rea 
+
+pkgbase=pulseaudio
+pkgname=(pulseaudio libpulse)
+pkgver=0.99.3
+pkgrel=1
+arch=(i686 x86_64)
+url="http://pulseaudio.org/";
+license=(GPL LGPL)
+makedepends=(libasyncns libcap attr libxtst libsm libsndfile libtool rtkit
+ speex libsamplerate tdb udev dbus-core xcb-util avahi bluez
+ gconf intltool jack lirc-utils openssl fftw orc json-c)
+options=(!emptydirs !libtool !makeflags)
+source=("http://freedesktop.org/software/$pkgbase/releases/$pkgbase-$pkgver.tar.gz";
+$pkgbase.xinit)
+md5sums=('95787b514872d838b49ec4d7debdd6aa'
+ 'eb1cfae28eb2e4d3fdbe45a90e4318ab')
+
+build() {
+  cd "$srcdir/$pkgbase-$pkgver"
+
+  # Don't break circular dependency between libpulse and libpulsecommon
+  LDFLAGS="${LDFLAGS//-Wl,--as-needed}"
+
+  ./configure --prefix=/usr \
+--sysconfdir=/etc \
+--libexecdir=/usr/lib \
+--localstatedir=/var \
+--with-database=tdb \
+--disable-hal \
+--disable-tcpwrap \
+--disable-rpath \
+--disable-default-build-tests
+
+  make
+}
+
+package_pulseaudio() {
+  pkgdesc="A featureful, general-purpose sound server"
+  depends=("libpulse=$pkgver-$pkgrel" rtkit libtool speex libsamplerate tdb
+   udev fftw orc)
+  optdepends=('avahi: zeroconf support'
+  'bluez: bluetooth support'
+  'gconf: configuration through gconf (paprefs)'
+  'jack: jack support'
+  'lirc-utils: infra-red support'
+  'openssl: RAOP support'
+  'python2-pyqt: Equalizer GUI (qpaeq)')
+  backup=(etc/pulse/{daemon.conf,default.pa,system.pa})
+  install=pulseaudio.install
+  cd "$srcdir/$pkgbase-$pkgver"
+  make DESTDIR="$pkgdir" install
+
+  # Lower resample quality, saves CPU
+  sed -e '/resample-method/iresample-method=speex-float-0' \
+  -i "$pkgdir/etc/pulse/daemon.conf"
+
+  # Disable cork-request module, can result in e.g. media players unpausing
+  # when there's a Skype call incoming
+  sed -e 's|/usr/bin/pactl load-module module-x11-cork-request|#&|' \
+  -i "$pkgdir/usr/bin/start-pulseaudio-x11"
+
+  # Make module-console-kit optional
+  sed -e $'/load-module module-console-kit/{i.nofail\n;a.fail\n;}' \
+  -i "$pkgdir/etc/pulse/default.pa"
+
+  # Python fix
+  sed -i '1s:python$:&2:' "$pkgdir/usr/bin/qpaeq"
+
+  install -Dm755 "$srcdir/pulseaudio.xinit" 
"$pkgdir/etc/X11/xinit/xinitrc.d/pulseaudio"
+
+  rm "$pkgdir/etc/dbus-1/system.d/pulseaudio-system.conf"
+
+### Split libpulse
+
+  mkdir -p "$srcdir"/libpulse/{etc/pulse,usr/{lib,share/man/man5}}
+
+  mv {"$pkgdir","$srcdir/libpulse"}/etc/pulse/client.conf
+
+  mv "$pkgdir"/usr/lib/libpulse{,dsp,-simple,-mainloop-glib}.so* \
+ "$pkgdir"/usr/lib/libpulsecommon-*.so \
+ "$srcdir/libpulse/usr/lib"
+
+  mv {"$pkgdir","$srcdir/libpulse"}/usr/lib/pkgconfig
+  mv {"$pkgdir","$srcdir/libpulse"}/usr/include
+
+  mv {"$pkgdir","$srcdir/libpulse"}/usr/share/man/man5/pulse-client.conf.5
+  mv {"$pkgdir","$srcdir/libpulse"}/usr/share/vala
+}
+
+package_libpulse() {
+  pkgdesc="A featureful, general-purpose sound server (client library)"
+  depends=(dbus-core xcb-util libasyncns libcap libxtst libsm libsndfil