2010-11-19 23:10:49 +00:00
|
|
|
# Template file for 'pulseaudio'
|
|
|
|
pkgname=pulseaudio
|
2011-09-28 07:28:22 +00:00
|
|
|
version=1.0
|
|
|
|
distfiles="$FREEDESKTOP_SITE/$pkgname/releases/$pkgname-$version.tar.xz"
|
2010-11-19 23:10:49 +00:00
|
|
|
build_style=gnu_configure
|
2011-09-28 07:28:22 +00:00
|
|
|
configure_args="--disable-oss-output --disable-oss-wrapper --disable-tcpwrap
|
2010-11-19 23:10:49 +00:00
|
|
|
--disable-jack --disable-lirc --disable-hal --disable-hal-compat
|
2011-09-28 07:28:22 +00:00
|
|
|
--with-database=tdb --enable-orc --localstatedir=/var LDFLAGS="
|
2010-11-19 23:10:49 +00:00
|
|
|
short_desc="A featureful, general-purpose sound server"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-07-06 19:41:25 +00:00
|
|
|
homepage="http://www.pulseaudio.org/"
|
|
|
|
license="LGPL-2"
|
2011-09-28 07:28:22 +00:00
|
|
|
checksum=e63464f8a0975446e2b4cfe768b615a66735c8d092b2366d2bdc7a2a04a249be
|
2010-11-19 23:10:49 +00: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."
|
|
|
|
|
|
|
|
subpackages="libpulseaudio $pkgname-devel"
|
|
|
|
|
|
|
|
conf_files="
|
|
|
|
/etc/pulse/system.pa
|
|
|
|
/etc/pulse/daemon.conf
|
|
|
|
/etc/pulse/client.conf
|
|
|
|
/etc/pulse/default.pa"
|
|
|
|
|
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run glib
|
2011-09-28 07:28:22 +00:00
|
|
|
Add_dependency run libpulseaudio
|
2010-11-19 23:10:49 +00:00
|
|
|
Add_dependency run libltdl
|
|
|
|
Add_dependency run libspeex
|
2011-09-28 07:28:22 +00:00
|
|
|
Add_dependency run orc
|
|
|
|
Add_dependency run libtdb
|
|
|
|
Add_dependency run json-c
|
|
|
|
Add_dependency run libX11
|
|
|
|
Add_dependency run libxcb
|
|
|
|
Add_dependency run libSM
|
|
|
|
Add_dependency run libICE
|
|
|
|
Add_dependency run libXtst
|
|
|
|
Add_dependency run libsamplerate
|
2010-11-19 23:10:49 +00:00
|
|
|
Add_dependency run libsndfile
|
|
|
|
Add_dependency run libasyncns
|
|
|
|
Add_dependency run dbus-libs
|
|
|
|
Add_dependency run libcap
|
|
|
|
Add_dependency run alsa-lib
|
|
|
|
Add_dependency run libudev
|
|
|
|
Add_dependency run avahi-libs
|
2011-09-28 07:28:22 +00:00
|
|
|
Add_dependency run libssl
|
|
|
|
Add_dependency run zlib
|
|
|
|
Add_dependency run libbluetooth
|
|
|
|
Add_dependency run rtkit
|
2010-11-19 23:10:49 +00:00
|
|
|
|
2011-07-03 13:23:07 +00:00
|
|
|
Add_dependency build m4
|
2010-11-19 23:10:49 +00:00
|
|
|
Add_dependency build pkg-config
|
2011-09-28 07:28:22 +00:00
|
|
|
Add_dependency build intltool
|
|
|
|
Add_dependency build gtk+-devel
|
2010-11-19 23:10:49 +00:00
|
|
|
Add_dependency build libltdl-devel
|
|
|
|
Add_dependency build speex-devel
|
|
|
|
Add_dependency build libXtst-devel
|
2010-11-26 09:27:03 +00:00
|
|
|
Add_dependency build xcb-util-devel
|
|
|
|
Add_dependency build libxcb-devel
|
2010-11-19 23:10:49 +00:00
|
|
|
Add_dependency build libsndfile-devel
|
|
|
|
Add_dependency build libasyncns-devel
|
|
|
|
Add_dependency build dbus-devel
|
2010-11-21 16:13:56 +00:00
|
|
|
Add_dependency build tdb-devel
|
2010-11-19 23:10:49 +00:00
|
|
|
Add_dependency build libcap-devel
|
|
|
|
Add_dependency build libbluetooth-devel
|
|
|
|
Add_dependency build avahi-libs-devel
|
|
|
|
Add_dependency build alsa-lib-devel
|
|
|
|
Add_dependency build libudev-devel
|
|
|
|
Add_dependency build openssl-devel
|
2011-09-28 07:28:22 +00:00
|
|
|
Add_dependency build libsamplerate-devel
|
|
|
|
Add_dependency build json-c-devel
|
|
|
|
Add_dependency build orc-devel
|
2010-11-19 23:51:38 +00:00
|
|
|
|
2010-11-19 23:10:49 +00:00
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
install -Dm755 ${FILESDIR}/pulseaudio.xinit \
|
|
|
|
${DESTDIR}/etc/X11/xinit/xinitrc.d/pulseaudio
|
|
|
|
|
|
|
|
rm ${DESTDIR}/etc/dbus-1/system.d/pulseaudio-system.conf
|
|
|
|
}
|