diff options
author | Ben Morgan | 2015-07-19 11:46:42 +0200 |
---|---|---|
committer | Ben Morgan | 2015-07-19 11:46:42 +0200 |
commit | b0c7562f494b8998b7acd313b967838037af94cc (patch) | |
tree | 9de4f5a48fcecc2fa22c21a08af3b5cfc4d8e02a | |
download | aur-b0c7562f494b8998b7acd313b967838037af94cc.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 78 | ||||
-rw-r--r-- | PKGBUILD | 75 |
2 files changed, 153 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1668b7262a70 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,78 @@ +pkgbase = pulseaudio-git + pkgdesc = A featureful, general-purpose sound server + pkgver = v6.0.126.g8f12ef9 + pkgrel = 2 + url = http://pulseaudio.org/ + arch = i686 + arch = x86_64 + arch = armv7h + license = GPL + license = LGPL + makedepends = git + makedepends = attr + makedepends = avahi + makedepends = bluez + makedepends = gconf + makedepends = intltool + makedepends = openssl + makedepends = bluez-libs + depends = rtkit + depends = libltdl + depends = speex + depends = tdb + depends = systemd + depends = fftw + depends = orc + depends = libsamplerate + depends = webrtc-audio-processing + depends = sbc + depends = libasyncns + depends = libxtst + depends = libsm + depends = libsndfile + depends = json-c + optdepends = alsa-plugins: ALSA support + optdepends = avahi: zeroconf support + optdepends = bluez: bluetooth support + optdepends = gconf: configuration through gconf + optdepends = jack: jack support + optdepends = lirc-utils: infra-red support + optdepends = openssl: RAOP support + optdepends = python-pyqt4: Equalizer GUI (qpaeq) + provides = pulseaudio + provides = libpulse + provides = pulseaudio-zeroconf + provides = pulseaudio-gconf + provides = pulseaudio-equalizer + provides = pulseaudio-bluetooth + provides = pulseaudio-jack + provides = pulseaudio-xen + provides = pulseaudio-lirc + conflicts = pulseaudio + conflicts = libpulse + conflicts = pulseaudio-zeroconf + conflicts = pulseaudio-gconf + conflicts = pulseaudio-equalizer + conflicts = pulseaudio-bluetooth + conflicts = pulseaudio-jack + conflicts = pulseaudio-xen + conflicts = pulseaudio-lirc + replaces = pulseaudio + replaces = libpulse + replaces = pulseaudio-zeroconf + replaces = pulseaudio-gconf + replaces = pulseaudio-equalizer + replaces = pulseaudio-bluetooth + replaces = pulseaudio-jack + replaces = pulseaudio-xen + replaces = pulseaudio-lirc + options = !emptydirs + backup = etc/pulse/daemon.conf + backup = etc/pulse/default.pa + backup = etc/pulse/system.pa + backup = etc/pulse/client.conf + source = git+https://github.com/pulseaudio/pulseaudio.git + sha256sums = SKIP + +pkgname = pulseaudio-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..fe51ca25c903 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,75 @@ +# Contributor: Jerome Leclanche <jerome@leclan.ch> +# Contributor: Clément Démoulins <clement@archivel.fr> +# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com> +# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> +# Contributor: Corrado Primier <bardo@aur.archlinux.org> +# Contributor: William Rea <sillywilly@gmail.com> +# Contributor: Lorenzo Nizzi Grifi Gargiolli <lorenzo.nizzi.grifi@gmail.com> +# Maintainer: Ben Morgan <neembi@gmail.com> + +_pkgname="pulseaudio" +pkgname="$_pkgname-git" +pkgdesc="A featureful, general-purpose sound server" +pkgver=v6.0.126.g8f12ef9 +pkgrel=2 +arch=("i686" "x86_64" "armv7h") +url="http://pulseaudio.org/" +license=("GPL" "LGPL") +depends=("rtkit" "libltdl" "speex" "tdb" "systemd" "fftw" "orc" "libsamplerate" + "webrtc-audio-processing" "sbc" "libasyncns" "libxtst" "libsm" "libsndfile" "json-c") +makedepends=("git" "attr" "avahi" "bluez" "gconf" "intltool" "openssl" "bluez-libs") +optdepends=("alsa-plugins: ALSA support" + "avahi: zeroconf support" + "bluez: bluetooth support" + "gconf: configuration through gconf" + "jack: jack support" + "lirc-utils: infra-red support" + "openssl: RAOP support" + "python-pyqt4: Equalizer GUI (qpaeq)") +backup=(etc/pulse/{daemon.conf,default.pa,system.pa,client.conf}) +provides=("pulseaudio" "libpulse" "pulseaudio-zeroconf" "pulseaudio-gconf" "pulseaudio-equalizer" "pulseaudio-bluetooth" "pulseaudio-jack" "pulseaudio-xen" "pulseaudio-lirc") +conflicts=("pulseaudio" "libpulse" "pulseaudio-zeroconf" "pulseaudio-gconf" "pulseaudio-equalizer" "pulseaudio-bluetooth" "pulseaudio-jack" "pulseaudio-xen" "pulseaudio-lirc") +replaces=("pulseaudio" "libpulse" "pulseaudio-zeroconf" "pulseaudio-gconf" "pulseaudio-equalizer" "pulseaudio-bluetooth" "pulseaudio-jack" "pulseaudio-xen" "pulseaudio-lirc") +options=(!emptydirs) +source=("git+https://github.com/pulseaudio/pulseaudio.git") +sha256sums=("SKIP") + +pkgver() { + cd "$srcdir/$_pkgname" + git describe --always | sed "s/-/./g" +} + +build() { + cd "$srcdir/$_pkgname" + + ./autogen.sh --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=/usr/lib \ + --localstatedir=/var \ + --with-udev-rules-dir=/usr/lib/udev/rules.d \ + --with-database=tdb \ + --disable-hal-compat \ + --disable-tcpwrap \ + --disable-bluez4 \ + --disable-rpath \ + --disable-default-build-tests + + make +} + +package() { + cd "$srcdir/$_pkgname" + make DESTDIR="$pkgdir" install bashcompletiondir=/usr/share/bash-completion/completions + + # 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" + + rm "$pkgdir/etc/dbus-1/system.d/pulseaudio-system.conf" + + install -Dm644 shell-completion/zsh/_pulseaudio "$pkgdir/usr/share/zsh/site-functions/_pulseaudio" +} |