Date: Friday, November 19, 2010 @ 08:30:35 Author: heftig Revision: 99911
Add pulseaudio Added: pulseaudio/ pulseaudio/repos/ pulseaudio/trunk/ pulseaudio/trunk/ChangeLog pulseaudio/trunk/PKGBUILD pulseaudio/trunk/pulseaudio.install pulseaudio/trunk/pulseaudio.xinit --------------------+ ChangeLog | 132 +++++++++++++++++++++++++++++++++++++++++++++++++++ PKGBUILD | 93 +++++++++++++++++++++++++++++++++++ pulseaudio.install | 24 +++++++++ pulseaudio.xinit | 7 ++ 4 files changed, 256 insertions(+) Added: pulseaudio/trunk/ChangeLog =================================================================== --- pulseaudio/trunk/ChangeLog (rev 0) +++ pulseaudio/trunk/ChangeLog 2010-11-19 13:30:35 UTC (rev 99911) @@ -0,0 +1,132 @@ +2010-05-17 Jan Steffens <[email protected]> + + * Release bump: 6 + + * PKGBUILD: Make tcp_wrappers a depend, it's needed; Fix jack optdepend; + reword gconf optdepend; remove old polypaudio references + + * pulseaudio.install: update the post_install message; make install + fail if any of the groupadds fail; removed most &>/dev/null; cleanup + +2010-02-11 Corrado Primier <[email protected]> + + * Release bump: 4 + + * PKGBUILD: removed consolekit, policykit, hal and liboil dependencies; + removed wrong glib optdepend; added doxygen makedepend; added udev (in + place of hal) and rtkit (in place of libcap) dependencies; disabled hal; + disabled rpaths + + * pulseaudio.install: updated the post_install message + +2009-12-14 Corrado Primier <[email protected]> + + * Version bump: 0.9.21 + + * PKGBUILD: removed --as-needed LDFLAGS to prevent linking errors; added + -fno-strict-aliasing to CFLAGS; removed gdbm dependency in favor of tdb; + force use of tdb database + +2009-09-19 Corrado Primier <[email protected]> + + * Version bump: 0.9.18 + +2009-04-14 Corrado Primier <[email protected]> + + * Version bump: 0.9.15 + + * PKGBUILD: added system.pa to backup array, added some new optional + dependencies (gconf, libxtst), changed bluez-libs makedepend/optdepend + in bluez + +2009-01-15 Corrado Primier <[email protected]> + + * Version bump: 0.9.14 + + * PKGBUILD: added optdepends array; added gdbm, consolekit, policykit + and speex to dependencies; added intltool and speex to makedepends; + added --localstatedir switch to configure + + * pulseaudio.rc: various improvements + + * pulseaudio.install: removed execution bit; removed optional + dependencies list; moved to getent syntax; substituted wrong + 'realtime' with pulse-rt; great cleanup + +2008-12-01 Corrado Primier <[email protected]> + + * Release bump: 3 + + * PKGBUILD: fixed /etc/rc.d/pulseaudio permissions + + * ChangeLog: corrected last update's date + +2008-12-01 Corrado Primier <[email protected]> + + * Release bump: 2 + + * PKGBUILD: changed libexecdir to /usr/lib (FS#10292); fixed volume + restoring for users of the system-wide daemon (FS#10356) + +2008-04-04 Corrado Primier <[email protected]> + + * Version bump: 0.9.10 + + * PKGBUILD: added some "|| return 1", minor cleanups + + * pulseaudio.install: cleaned ups; moved post_upgrade() contents to + post_install() + +2008-03-17 Eric Belanger <[email protected]> + + * PKGBUILD: disabled SMP build; added bluez-libs makedepends + +2008-02-01 Corrado Primier <[email protected]> + + * debian-tunnel-fix.patch: removed (bug fixed upstream) + +2008-01-27 Corrado Primier <[email protected]> + + * Version bump: 0.9.9 + +2008-01-23 Corrado Primier <[email protected]> + + * PKGBUILD: moved libasyncns from makedepends to depends + + * ChangeLog: adapted to specifications + +2007-12-02 Corrado Primier <[email protected]> + + * debian-tunnel-fix.patch: added + +2007-11-29 Corrado Primier <[email protected]> + + * pulseaudio.rc: Added check before "modprobe capability" in + /etc/rc.d/pulseaudio + +2007-11-28 Corrado Primier <[email protected]> + + * Version bump: 0.9.8 + +2007-11-18 Corrado Primier <[email protected]> + + * PKGBUILD: added libtool and libcap to dependencies + + * pulseaudio.install: fixed + + * pulseaudio.conf, pulseudio.rc: renamed and made non-executable + + * PKGBUILD, pulseaudio.install: various cosmetic changes + +2007-11-07 Corrado Primier <[email protected]> + + * PKGBUILD: re-added x11 support (see pulseaudio.install) + +2007-11-02 Corrado Primier <[email protected]> + + * Version bump: 0.9.7 + + * PKGBUILD: moved many dependencies to optional + + * PKGBUILD: removed X11 support (it prevented the rc script from + starting) Added: pulseaudio/trunk/PKGBUILD =================================================================== --- pulseaudio/trunk/PKGBUILD (rev 0) +++ pulseaudio/trunk/PKGBUILD 2010-11-19 13:30:35 UTC (rev 99911) @@ -0,0 +1,93 @@ +# $Id: PKGBUILD 32597 2010-11-15 08:03:19Z heftig $ +# Maintainer: Jan "heftig" Steffens <[email protected]> +# Contributor: Daniel J Griffiths <[email protected]> +# Contributor: Corrado Primier <[email protected]> +# Contributor: William Rea <[email protected]> + +pkgbase=pulseaudio +pkgname=(pulseaudio libpulse) +pkgver=0.9.21 +pkgrel=15 +_pkgver=$pkgver-110-gb173f +arch=(i686 x86_64) +url="http://$pkgbase.org/" +license=(GPL LGPL) +makedepends=(libasyncns libcap attr libxtst libsm tcp_wrappers libsndfile + libtool rtkit speex libsamplerate tdb udev dbus-core xcb-util + avahi bluez gconf intltool jack lirc-utils pkgconfig openssl) +options=(!emptydirs !libtool !makeflags) +source=("http://mirrors.kernel.org/archlinux/other/$pkgbase/$pkgbase-$_pkgver.tar.xz" + $pkgbase.xinit) +md5sums=('d54a4889f002b964d0f3533b89f28cbb' + '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-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 + sed -e '/resample-method/iresample-method=speex-float-0' \ + -i "$pkgdir/etc/pulse/daemon.conf" + + sed -e 's|/usr/bin/pactl load-module module-x11-cork-request|#&|' \ + -i "$pkgdir/usr/bin/start-$pkgbase-x11" + + 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=(tcp_wrappers 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" +} Added: pulseaudio/trunk/pulseaudio.install =================================================================== --- pulseaudio/trunk/pulseaudio.install (rev 0) +++ pulseaudio/trunk/pulseaudio.install 2010-11-19 13:30:35 UTC (rev 99911) @@ -0,0 +1,24 @@ +post_install() { + 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. + +>>> You might want to blacklist the "snd-pcm-oss" module in /etc/rc.conf to + keep ALSA's OSS emulation from interfering with ALSA or PulseAudio. +MES +} + +post_upgrade() { + # Delete old users and groups + # System-wide daemon not supported anymore + getent passwd pulse &>/dev/null && usr/sbin/userdel -f pulse + getent group pulse-access &>/dev/null && usr/sbin/groupdel pulse-access + getent group pulse-rt &>/dev/null && usr/sbin/groupdel pulse-rt + getent group pulse &>/dev/null && usr/sbin/groupdel pulse + + true +} + +# vim:set ts=2 sw=2 et: Property changes on: pulseaudio/trunk/pulseaudio.install ___________________________________________________________________ Added: svn:executable + * Added: pulseaudio/trunk/pulseaudio.xinit =================================================================== --- pulseaudio/trunk/pulseaudio.xinit (rev 0) +++ pulseaudio/trunk/pulseaudio.xinit 2010-11-19 13:30:35 UTC (rev 99911) @@ -0,0 +1,7 @@ +#!/bin/sh + +case "$SESSION" in + GNOME|KDE*|xfce4) # PulseAudio is started via XDG Autostart + ;; + *) /usr/bin/start-pulseaudio-x11 ;; +esac
