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

Jan Steffens heftig at nymeria.archlinux.org
Thu May 23 00:19:37 EDT 2013


    Date: Thursday, May 23, 2013 @ 06:19:37
  Author: heftig
Revision: 186262

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

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

-----------------------------------+
 /PKGBUILD                         |  258 ++++++++++++++++++++++++++++++++++++
 /pulseaudio.install               |   68 +++++++++
 /pulseaudio.xinit                 |   24 +++
 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 -
 9 files changed, 350 insertions(+), 342 deletions(-)

Deleted: testing-i686/PKGBUILD
===================================================================
--- testing-i686/PKGBUILD	2013-05-23 04:18:19 UTC (rev 186261)
+++ testing-i686/PKGBUILD	2013-05-23 04:19:37 UTC (rev 186262)
@@ -1,125 +0,0 @@
-# $Id$
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-# Contributor: Corrado Primier <bardo at aur.archlinux.org>
-# Contributor: William Rea <sillywilly at gmail.com>
-
-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/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"/usr/share/man/man1/pa{cat,ctl,dsp,play}.1 \
-     "$srcdir/libpulse/usr/share/man/man1"
-
-  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 libasyncns libcap libxtst libsm libsndfile json-c)
-  optdepends=('alsa-plugins: ALSA support'
-              'avahi: zeroconf support')
-  backup=(etc/pulse/client.conf)
-
-  mv "$srcdir"/libpulse/* "$pkgdir"
-}

Copied: pulseaudio/repos/testing-i686/PKGBUILD (from rev 186261, pulseaudio/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2013-05-23 04:19:37 UTC (rev 186262)
@@ -0,0 +1,129 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+# Contributor: Corrado Primier <bardo at aur.archlinux.org>
+# Contributor: William Rea <sillywilly at gmail.com>
+
+pkgbase=pulseaudio
+pkgname=(pulseaudio libpulse)
+pkgdesc="A featureful, general-purpose sound server"
+pkgver=3.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 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=('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'
+              '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 \
+    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/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 {"$pkgdir","$srcdir/libpulse"}/usr/lib/cmake
+  mv {"$pkgdir","$srcdir/libpulse"}/usr/lib/pkgconfig
+
+  mv {"$pkgdir","$srcdir/libpulse"}/usr/include
+
+  mv "$pkgdir"/usr/share/man/man1/pa{cat,ctl,dsp,play}.1 \
+     "$srcdir/libpulse/usr/share/man/man1"
+
+  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 libasyncns libcap libxtst libsm libsndfile json-c)
+  optdepends=('alsa-plugins: ALSA support'
+              'avahi: zeroconf support')
+  backup=(etc/pulse/client.conf)
+
+  mv "$srcdir"/libpulse/* "$pkgdir"
+}

Deleted: testing-i686/pulseaudio.install
===================================================================
--- testing-i686/pulseaudio.install	2013-05-23 04:18:19 UTC (rev 186261)
+++ testing-i686/pulseaudio.install	2013-05-23 04:19:37 UTC (rev 186262)
@@ -1,34 +0,0 @@
-_common() {
-  setcap cap_net_raw=ep usr/lib/pulse/proximity-helper 2>/dev/null || chmod +s usr/lib/pulse/proximity-helper
-}
-
-post_install() {
-  _common
-  cat << MES
->>> See the wiki at http://wiki.archlinux.org/index.php/PulseAudio for details
-    on configuring your system for PulseAudio.
-
->>> Make sure to install pulseaudio-alsa to configure ALSA for PulseAudio.
-MES
-}
-
-post_upgrade() {
-  _common
-  cat << MES
->>> If you have per-user copies of configuration files (such as client.conf,
-    daemon.conf or default.pa) in ~/.pulse/, make sure you keep them in sync
-    with changes to the packaged files in /etc/pulse/. Otherwise, PulseAudio
-    may refuse to start due to configuration errors.
-MES
-  if (( $(vercmp $2 3.0-3) < 0 )); then
-    cat << MES
-
->>> Autospawn is now disabled by default. If you need to run PulseAudio outside
-    of an X session, either:
-      - Enable autospawn in client.conf, or
-      - Start it manually by executing 'pulseaudio --start'
-MES
-  fi
-}
-
-# vim:set ts=2 sw=2 et:

Copied: pulseaudio/repos/testing-i686/pulseaudio.install (from rev 186261, pulseaudio/trunk/pulseaudio.install)
===================================================================
--- testing-i686/pulseaudio.install	                        (rev 0)
+++ testing-i686/pulseaudio.install	2013-05-23 04:19:37 UTC (rev 186262)
@@ -0,0 +1,34 @@
+_common() {
+  setcap cap_net_raw=ep usr/lib/pulse/proximity-helper 2>/dev/null || chmod +s usr/lib/pulse/proximity-helper
+}
+
+post_install() {
+  _common
+  cat << MES
+>>> See the wiki at http://wiki.archlinux.org/index.php/PulseAudio for details
+    on configuring your system for PulseAudio.
+
+>>> Make sure to install pulseaudio-alsa to configure ALSA for PulseAudio.
+MES
+}
+
+post_upgrade() {
+  _common
+  cat << MES
+>>> If you have per-user copies of configuration files (such as client.conf,
+    daemon.conf or default.pa) in ~/.pulse/, make sure you keep them in sync
+    with changes to the packaged files in /etc/pulse/. Otherwise, PulseAudio
+    may refuse to start due to configuration errors.
+MES
+  if (( $(vercmp $2 3.0-3) < 0 )); then
+    cat << MES
+
+>>> Autospawn is now disabled by default. If you need to run PulseAudio outside
+    of an X session, either:
+      - Enable autospawn in client.conf, or
+      - Start it manually by executing 'pulseaudio --start'
+MES
+  fi
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: testing-i686/pulseaudio.xinit
===================================================================
--- testing-i686/pulseaudio.xinit	2013-05-23 04:18:19 UTC (rev 186261)
+++ testing-i686/pulseaudio.xinit	2013-05-23 04:19:37 UTC (rev 186262)
@@ -1,12 +0,0 @@
-#!/bin/bash
-
-case "$DESKTOP_SESSION" in
-  gnome|kde*|xfce*) # PulseAudio is started via XDG Autostart
-  ;;
-  *)
-    # Extra checks in case DESKTOP_SESSION is not set correctly
-    if [[ -z $KDE_FULL_SESSION && -z $GNOME_DESKTOP_SESSION_ID ]]; then
-      /usr/bin/start-pulseaudio-x11
-    fi
-  ;;
-esac

Copied: pulseaudio/repos/testing-i686/pulseaudio.xinit (from rev 186261, pulseaudio/trunk/pulseaudio.xinit)
===================================================================
--- testing-i686/pulseaudio.xinit	                        (rev 0)
+++ testing-i686/pulseaudio.xinit	2013-05-23 04:19:37 UTC (rev 186262)
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+case "$DESKTOP_SESSION" in
+  gnome|kde*|xfce*) # PulseAudio is started via XDG Autostart
+  ;;
+  *)
+    # Extra checks in case DESKTOP_SESSION is not set correctly
+    if [[ -z $KDE_FULL_SESSION && -z $GNOME_DESKTOP_SESSION_ID ]]; then
+      /usr/bin/start-pulseaudio-x11
+    fi
+  ;;
+esac

Deleted: testing-x86_64/PKGBUILD
===================================================================
--- testing-x86_64/PKGBUILD	2013-05-23 04:18:19 UTC (rev 186261)
+++ testing-x86_64/PKGBUILD	2013-05-23 04:19:37 UTC (rev 186262)
@@ -1,125 +0,0 @@
-# $Id$
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-# Contributor: Corrado Primier <bardo at aur.archlinux.org>
-# Contributor: William Rea <sillywilly at gmail.com>
-
-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/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"/usr/share/man/man1/pa{cat,ctl,dsp,play}.1 \
-     "$srcdir/libpulse/usr/share/man/man1"
-
-  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 libasyncns libcap libxtst libsm libsndfile json-c)
-  optdepends=('alsa-plugins: ALSA support'
-              'avahi: zeroconf support')
-  backup=(etc/pulse/client.conf)
-
-  mv "$srcdir"/libpulse/* "$pkgdir"
-}

Copied: pulseaudio/repos/testing-x86_64/PKGBUILD (from rev 186261, pulseaudio/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2013-05-23 04:19:37 UTC (rev 186262)
@@ -0,0 +1,129 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+# Contributor: Corrado Primier <bardo at aur.archlinux.org>
+# Contributor: William Rea <sillywilly at gmail.com>
+
+pkgbase=pulseaudio
+pkgname=(pulseaudio libpulse)
+pkgdesc="A featureful, general-purpose sound server"
+pkgver=3.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 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=('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'
+              '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 \
+    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/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 {"$pkgdir","$srcdir/libpulse"}/usr/lib/cmake
+  mv {"$pkgdir","$srcdir/libpulse"}/usr/lib/pkgconfig
+
+  mv {"$pkgdir","$srcdir/libpulse"}/usr/include
+
+  mv "$pkgdir"/usr/share/man/man1/pa{cat,ctl,dsp,play}.1 \
+     "$srcdir/libpulse/usr/share/man/man1"
+
+  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 libasyncns libcap libxtst libsm libsndfile json-c)
+  optdepends=('alsa-plugins: ALSA support'
+              'avahi: zeroconf support')
+  backup=(etc/pulse/client.conf)
+
+  mv "$srcdir"/libpulse/* "$pkgdir"
+}

Deleted: testing-x86_64/pulseaudio.install
===================================================================
--- testing-x86_64/pulseaudio.install	2013-05-23 04:18:19 UTC (rev 186261)
+++ testing-x86_64/pulseaudio.install	2013-05-23 04:19:37 UTC (rev 186262)
@@ -1,34 +0,0 @@
-_common() {
-  setcap cap_net_raw=ep usr/lib/pulse/proximity-helper 2>/dev/null || chmod +s usr/lib/pulse/proximity-helper
-}
-
-post_install() {
-  _common
-  cat << MES
->>> See the wiki at http://wiki.archlinux.org/index.php/PulseAudio for details
-    on configuring your system for PulseAudio.
-
->>> Make sure to install pulseaudio-alsa to configure ALSA for PulseAudio.
-MES
-}
-
-post_upgrade() {
-  _common
-  cat << MES
->>> If you have per-user copies of configuration files (such as client.conf,
-    daemon.conf or default.pa) in ~/.pulse/, make sure you keep them in sync
-    with changes to the packaged files in /etc/pulse/. Otherwise, PulseAudio
-    may refuse to start due to configuration errors.
-MES
-  if (( $(vercmp $2 3.0-3) < 0 )); then
-    cat << MES
-
->>> Autospawn is now disabled by default. If you need to run PulseAudio outside
-    of an X session, either:
-      - Enable autospawn in client.conf, or
-      - Start it manually by executing 'pulseaudio --start'
-MES
-  fi
-}
-
-# vim:set ts=2 sw=2 et:

Copied: pulseaudio/repos/testing-x86_64/pulseaudio.install (from rev 186261, pulseaudio/trunk/pulseaudio.install)
===================================================================
--- testing-x86_64/pulseaudio.install	                        (rev 0)
+++ testing-x86_64/pulseaudio.install	2013-05-23 04:19:37 UTC (rev 186262)
@@ -0,0 +1,34 @@
+_common() {
+  setcap cap_net_raw=ep usr/lib/pulse/proximity-helper 2>/dev/null || chmod +s usr/lib/pulse/proximity-helper
+}
+
+post_install() {
+  _common
+  cat << MES
+>>> See the wiki at http://wiki.archlinux.org/index.php/PulseAudio for details
+    on configuring your system for PulseAudio.
+
+>>> Make sure to install pulseaudio-alsa to configure ALSA for PulseAudio.
+MES
+}
+
+post_upgrade() {
+  _common
+  cat << MES
+>>> If you have per-user copies of configuration files (such as client.conf,
+    daemon.conf or default.pa) in ~/.pulse/, make sure you keep them in sync
+    with changes to the packaged files in /etc/pulse/. Otherwise, PulseAudio
+    may refuse to start due to configuration errors.
+MES
+  if (( $(vercmp $2 3.0-3) < 0 )); then
+    cat << MES
+
+>>> Autospawn is now disabled by default. If you need to run PulseAudio outside
+    of an X session, either:
+      - Enable autospawn in client.conf, or
+      - Start it manually by executing 'pulseaudio --start'
+MES
+  fi
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: testing-x86_64/pulseaudio.xinit
===================================================================
--- testing-x86_64/pulseaudio.xinit	2013-05-23 04:18:19 UTC (rev 186261)
+++ testing-x86_64/pulseaudio.xinit	2013-05-23 04:19:37 UTC (rev 186262)
@@ -1,12 +0,0 @@
-#!/bin/bash
-
-case "$DESKTOP_SESSION" in
-  gnome|kde*|xfce*) # PulseAudio is started via XDG Autostart
-  ;;
-  *)
-    # Extra checks in case DESKTOP_SESSION is not set correctly
-    if [[ -z $KDE_FULL_SESSION && -z $GNOME_DESKTOP_SESSION_ID ]]; then
-      /usr/bin/start-pulseaudio-x11
-    fi
-  ;;
-esac

Copied: pulseaudio/repos/testing-x86_64/pulseaudio.xinit (from rev 186261, pulseaudio/trunk/pulseaudio.xinit)
===================================================================
--- testing-x86_64/pulseaudio.xinit	                        (rev 0)
+++ testing-x86_64/pulseaudio.xinit	2013-05-23 04:19:37 UTC (rev 186262)
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+case "$DESKTOP_SESSION" in
+  gnome|kde*|xfce*) # PulseAudio is started via XDG Autostart
+  ;;
+  *)
+    # Extra checks in case DESKTOP_SESSION is not set correctly
+    if [[ -z $KDE_FULL_SESSION && -z $GNOME_DESKTOP_SESSION_ID ]]; then
+      /usr/bin/start-pulseaudio-x11
+    fi
+  ;;
+esac



More information about the arch-commits mailing list