summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey D2015-07-05 11:09:28 +0300
committerAlexey D2015-07-05 11:09:28 +0300
commitac2247480b1863d0cf3670f0d0fba81af5b28efd (patch)
treedb94887c8b1a11e53a164ea926595620a7577aef
downloadaur-ac2247480b1863d0cf3670f0d0fba81af5b28efd.tar.gz
initial version
-rw-r--r--.SRCINFO54
-rw-r--r--PKGBUILD88
2 files changed, 142 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3b86d1b10f7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,54 @@
+pkgbase = libpulse-nosystemd
+ pkgdesc = Client library for PulseAudio
+ pkgver = 6.0
+ pkgrel = 1
+ url = http://www.freedesktop.org/wiki/Software/PulseAudio
+ arch = i686
+ arch = x86_64
+ license = LGPL
+ makedepends = libasyncns
+ makedepends = libcap
+ makedepends = attr
+ makedepends = libxtst
+ makedepends = libsm
+ makedepends = libsndfile
+ makedepends = libtool
+ makedepends = rtkit
+ makedepends = speexdsp
+ makedepends = tdb
+ makedepends = dbus
+ makedepends = avahi
+ makedepends = bluez
+ makedepends = bluez-libs
+ makedepends = gconf
+ makedepends = intltool
+ makedepends = jack2-dbus
+ makedepends = sbc
+ makedepends = lirc
+ makedepends = openssl
+ makedepends = xenstore
+ makedepends = fftw
+ makedepends = orc
+ makedepends = json-c
+ makedepends = gtk3
+ makedepends = webrtc-audio-processing
+ makedepends = check
+ depends = dbus
+ depends = libasyncns
+ depends = libcap
+ depends = libxtst
+ depends = libsm
+ depends = libsndfile
+ depends = json-c
+ optdepends = alsa-plugins: ALSA support
+ optdepends = avahi: zeroconf support
+ provides = libpulse=6.0
+ conflicts = libpulse
+ replaces = libpulse
+ options = !emptydirs
+ backup = etc/pulse/client.conf
+ source = http://freedesktop.org/software/pulseaudio/releases/pulseaudio-6.0.tar.xz
+ sha256sums = b50640e0b80b1607600accfad2e45aabb79d379bf6354c9671efa2065477f6f6
+
+pkgname = libpulse-nosystemd
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f2b80bb6058
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,88 @@
+# Maintainer: Alexey D. <lq07829icatm@rambler.ru>
+# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
+# Contributor: Corrado Primier <bardo@aur.archlinux.org>
+# Contributor: William Rea <sillywilly@gmail.com>
+
+pkgname=libpulse-nosystemd
+_pkgbase=pulseaudio
+pkgdesc="Client library for PulseAudio"
+pkgver=6.0
+pkgrel=1
+arch=(i686 x86_64)
+url="http://www.freedesktop.org/wiki/Software/PulseAudio"
+license=(LGPL)
+depends=(dbus libasyncns libcap libxtst libsm libsndfile json-c)
+makedepends=(libasyncns libcap attr libxtst libsm libsndfile libtool rtkit
+ speexdsp tdb dbus avahi bluez bluez-libs gconf intltool jack2-dbus sbc
+ lirc openssl xenstore fftw orc json-c gtk3 webrtc-audio-processing
+ check)
+optdepends=('alsa-plugins: ALSA support'
+ 'avahi: zeroconf support')
+provides=("libpulse=${pkgver}")
+conflicts=('libpulse')
+replaces=('libpulse')
+backup=(etc/pulse/client.conf)
+options=(!emptydirs)
+source=(http://freedesktop.org/software/$_pkgbase/releases/$_pkgbase-$pkgver.tar.xz)
+sha256sums=('b50640e0b80b1607600accfad2e45aabb79d379bf6354c9671efa2065477f6f6')
+
+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 \
+ --disable-systemd-daemon \
+ --disable-systemd-login \
+ --disable-systemd-journal
+
+ # fight unused direct deps
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+}
+
+package() {
+ cd $_pkgbase-$pkgver
+ make -j1 DESTDIR="$pkgdir"/temp install
+
+ mkdir -p "$pkgdir"/{etc/pulse,usr/{bin,lib/pulseaudio,share/man/man{1,5}}}
+
+ mv {"$pkgdir"/temp,"$pkgdir"}/etc/pulse/client.conf
+
+ mv "$pkgdir"/temp/usr/bin/pa{cat,ctl,dsp,mon,play,rec,record} \
+ "$pkgdir/usr/bin"
+
+ mv "$pkgdir"/temp/usr/lib/libpulse{,-simple,-mainloop-glib}.so* \
+ "$pkgdir/usr/lib"
+
+ mv "$pkgdir"/temp/usr/lib/pulseaudio/libpulsedsp.so \
+ "$pkgdir"/temp/usr/lib/pulseaudio/libpulsecommon-*.so \
+ "$pkgdir/usr/lib/pulseaudio"
+
+ mv {"$pkgdir"/temp,"$pkgdir"}/usr/lib/cmake
+ mv {"$pkgdir"/temp,"$pkgdir"}/usr/lib/pkgconfig
+
+ mv {"$pkgdir"/temp,"$pkgdir"}/usr/include
+
+ mv "$pkgdir"/temp/usr/share/man/man1/pa{cat,ctl,dsp,play}.1 \
+ "$pkgdir/usr/share/man/man1"
+
+ mv {"$pkgdir"/temp,"$pkgdir"}/usr/share/man/man5/pulse-client.conf.5
+ mv {"$pkgdir"/temp,"$pkgdir"}/usr/share/vala
+
+ rm -rf "$pkgdir"/temp
+}