2010-11-20 00:10:49 +01:00
|
|
|
# Template file for 'pulseaudio'
|
|
|
|
pkgname=pulseaudio
|
2012-12-18 11:24:00 +01:00
|
|
|
version=3.0
|
2013-05-05 17:26:08 +02:00
|
|
|
revision=8
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2011-09-28 09:28:22 +02:00
|
|
|
configure_args="--disable-oss-output --disable-oss-wrapper --disable-tcpwrap
|
2012-12-18 11:42:49 +01:00
|
|
|
--enable-jack --disable-lirc --disable-hal-compat --disable-gconf --enable-orc
|
2013-04-27 10:50:53 +02:00
|
|
|
--with-database=tdb --with-udev-rules-dir=/usr/lib/udev/rules.d
|
|
|
|
--disable-bluez --disable-esound"
|
2012-07-09 22:59:12 +02:00
|
|
|
makedepends="pkg-config intltool zlib-devel gtk+-devel libltdl-devel
|
2013-03-29 13:30:11 +01:00
|
|
|
speex-devel libXi-devel libXtst-devel xcb-util-devel libsndfile-devel
|
2013-04-27 10:50:53 +02:00
|
|
|
libasyncns-devel dbus-devel tdb-devel libcap-devel
|
2013-03-29 13:30:11 +01:00
|
|
|
avahi-libs-devel openssl-devel libsamplerate-devel json-c-devel orc-devel
|
|
|
|
jack-devel fftw-devel systemd-devel webrtc-audio-processing-devel sbc-devel
|
2013-04-27 10:50:53 +02:00
|
|
|
libcap-progs libxcb-devel libXtst-devel libSM-devel rtkit"
|
2010-11-20 00:10:49 +01:00
|
|
|
short_desc="A featureful, general-purpose sound server"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-05-11 20:58:48 +02:00
|
|
|
homepage="http://www.freedesktop.org/wiki/Software/PulseAudio"
|
2011-07-06 21:41:25 +02:00
|
|
|
license="LGPL-2"
|
2012-12-18 11:24:00 +01:00
|
|
|
distfiles="${FREEDESKTOP_SITE}/${pkgname}/releases/${pkgname}-${version}.tar.xz"
|
|
|
|
checksum=c90bfda29605942d08e3e218ef10e3c660506a06651a616bfbb6a6df8392836d
|
2010-11-20 00:10:49 +01:00
|
|
|
long_desc="
|
|
|
|
PulseAudio, previously known as Polypaudio, is a sound server for POSIX and
|
|
|
|
WIN32 systems. It is a drop in replacement for the ESD sound server with much
|
|
|
|
better latency, mixing/re-sampling quality and overall architecture.
|
|
|
|
|
|
|
|
These are some of PulseAudio's features:
|
|
|
|
|
|
|
|
* High quality software mixing of multiple audio streams with support for
|
|
|
|
more than one sink/source. May be used to combine multiple sound cards
|
|
|
|
into one (with sample rate adjustment).
|
|
|
|
|
|
|
|
* Wide range of supported client libraries. ESD, ALSA, oss, libao and
|
|
|
|
GStreamer client applications are supported as-is. Native PulseAudio
|
|
|
|
plug-ins are also available for xmms and mplayer.
|
|
|
|
|
|
|
|
* Good low latency behaviour and very accurate latency measurement for
|
|
|
|
playback and recording. Ability to fully synchronize multiple playback
|
|
|
|
streams.
|
|
|
|
|
|
|
|
* Network transparency, allowing an application to play back or record
|
|
|
|
audio on a different machine than the one it is running on.
|
|
|
|
|
|
|
|
* Extensible plug-in architecture with plug-ins for jackd, multicast-rtp
|
|
|
|
lirc and avahi, just to name a few."
|
|
|
|
|
2012-05-11 20:58:48 +02:00
|
|
|
post_install() {
|
|
|
|
vinstall ${FILESDIR}/pulseaudio.xinit 755 \
|
|
|
|
etc/X11/xinit/xinitrc.d pulseaudio
|
|
|
|
rm -f ${DESTDIR}/etc/dbus-1/system.d/pulseaudio-system.conf
|
2010-11-20 00:10:49 +01:00
|
|
|
}
|
2013-04-13 22:47:11 +02:00
|
|
|
|
|
|
|
libpulseaudio_package() {
|
2013-04-27 10:50:53 +02:00
|
|
|
short_desc+=" - shared libraries"
|
2013-04-13 22:47:11 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/libpulse.so*"
|
|
|
|
vmove "usr/lib/libpulse-simple.so*"
|
|
|
|
vmove "usr/lib/libpulse-mainloop-glib.so*"
|
|
|
|
vmove usr/lib/pulseaudio
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
pulseaudio-devel_package() {
|
|
|
|
depends="libasyncns-devel dbus-devel libXtst-devel
|
|
|
|
libpulseaudio-${version}_${revision}"
|
2013-04-27 10:50:53 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 22:47:11 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/lib/cmake
|
|
|
|
vmove usr/share/vala
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
pulseaudio_package() {
|
2013-04-18 14:11:42 +02:00
|
|
|
depends="rtkit"
|
2013-04-13 22:47:11 +02:00
|
|
|
conf_files="
|
|
|
|
/etc/pulse/system.pa
|
|
|
|
/etc/pulse/daemon.conf
|
|
|
|
/etc/pulse/client.conf
|
|
|
|
/etc/pulse/default.pa"
|
|
|
|
pkg_install() {
|
2013-04-27 10:50:53 +02:00
|
|
|
vmove all
|
2013-04-13 22:47:11 +02:00
|
|
|
}
|
|
|
|
}
|