73 lines
2.2 KiB
Plaintext
73 lines
2.2 KiB
Plaintext
# Template file for 'pulseaudio'
|
|
pkgname=pulseaudio
|
|
version=3.0
|
|
revision=9
|
|
build_style=gnu-configure
|
|
configure_args="--disable-oss-output --disable-oss-wrapper --disable-tcpwrap
|
|
--enable-jack --disable-lirc --disable-hal-compat --disable-gconf --enable-orc
|
|
--with-database=tdb --with-udev-rules-dir=/usr/lib/udev/rules.d
|
|
--disable-bluez --disable-esound"
|
|
hostmakedepends="pkg-config intltool which"
|
|
makedepends="zlib-devel gtk+-devel libltdl-devel speex-devel libXi-devel
|
|
libXtst-devel xcb-util-devel libsndfile-devel libasyncns-devel
|
|
dbus-devel tdb-devel libcap-devel avahi-libs-devel openssl-devel
|
|
libsamplerate-devel json-c-devel>=0.11_2 orc-devel jack-devel fftw-devel
|
|
systemd-devel webrtc-audio-processing-devel sbc-devel
|
|
libcap-progs libxcb-devel libXtst-devel libSM-devel rtkit"
|
|
short_desc="A featureful, general-purpose sound server"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://www.freedesktop.org/wiki/Software/PulseAudio"
|
|
license="LGPL-2"
|
|
distfiles="${FREEDESKTOP_SITE}/${pkgname}/releases/${pkgname}-${version}.tar.xz"
|
|
checksum=c90bfda29605942d08e3e218ef10e3c660506a06651a616bfbb6a6df8392836d
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" automake libtool gettext-devel glib-devel orc-devel"
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
# XXX disable neon for now.
|
|
configure_args+=" --disable-neon-opt"
|
|
configure_args+=" ac_cv_func_alloca_works=yes"
|
|
fi
|
|
|
|
post_install() {
|
|
vinstall ${FILESDIR}/pulseaudio.xinit 755 \
|
|
etc/X11/xinit/xinitrc.d pulseaudio
|
|
rm -f ${DESTDIR}/etc/dbus-1/system.d/pulseaudio-system.conf
|
|
}
|
|
|
|
libpulseaudio_package() {
|
|
short_desc+=" - shared libraries"
|
|
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}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/cmake
|
|
vmove usr/share/vala
|
|
}
|
|
}
|
|
|
|
pulseaudio_package() {
|
|
depends="rtkit"
|
|
conf_files="
|
|
/etc/pulse/system.pa
|
|
/etc/pulse/daemon.conf
|
|
/etc/pulse/client.conf
|
|
/etc/pulse/default.pa"
|
|
pkg_install() {
|
|
vmove all
|
|
}
|
|
}
|