2010-11-19 23:10:49 +00:00
|
|
|
# Template file for 'pulseaudio'
|
|
|
|
pkgname=pulseaudio
|
2015-02-13 02:33:40 +00:00
|
|
|
version=6.0
|
2015-02-14 09:09:15 +00:00
|
|
|
revision=2
|
2014-12-16 13:20:29 +00:00
|
|
|
# Package build options
|
|
|
|
build_options="systemd"
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2011-09-28 07:28:22 +00:00
|
|
|
configure_args="--disable-oss-output --disable-oss-wrapper --disable-tcpwrap
|
2012-12-18 10:42:49 +00:00
|
|
|
--enable-jack --disable-lirc --disable-hal-compat --disable-gconf --enable-orc
|
2015-02-14 09:09:15 +00:00
|
|
|
--with-database=tdb --with-udev-rules-dir=/usr/lib/udev/rules.d --disable-bluez4
|
|
|
|
--disable-esound --disable-gtk3 --enable-bluez5 --disable-bluez5-ofono-headset
|
2014-11-20 14:14:31 +00:00
|
|
|
$(vopt_enable systemd) $(vopt_enable systemd systemd-journal)"
|
2015-02-13 02:33:40 +00:00
|
|
|
hostmakedepends="automake libtool pkg-config intltool orc-devel"
|
2014-05-09 07:23:54 +00:00
|
|
|
makedepends="
|
2014-12-16 13:20:29 +00:00
|
|
|
zlib-devel libltdl-devel glib-devel libudev-devel speex-devel>=1.2rc2_4 libXi-devel
|
2013-05-15 08:04:40 +00:00
|
|
|
libXtst-devel xcb-util-devel libsndfile-devel libasyncns-devel
|
2015-01-22 11:09:32 +00:00
|
|
|
dbus-devel tdb-devel libcap-devel avahi-libs-devel libressl-devel>=2.1.3
|
2015-02-13 02:33:40 +00:00
|
|
|
webrtc-audio-processing-devel json-c-devel>=0.11_2 orc-devel jack-devel fftw-devel
|
|
|
|
libcap-progs sbc-devel libxcb-devel libXtst-devel libSM-devel
|
|
|
|
$(vopt_if systemd systemd-devel)"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="rtkit"
|
|
|
|
conf_files="
|
|
|
|
/etc/pulse/system.pa
|
|
|
|
/etc/pulse/daemon.conf
|
|
|
|
/etc/pulse/client.conf
|
|
|
|
/etc/pulse/default.pa"
|
2010-11-19 23:10:49 +00:00
|
|
|
short_desc="A featureful, general-purpose sound server"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-05-11 18:58:48 +00:00
|
|
|
homepage="http://www.freedesktop.org/wiki/Software/PulseAudio"
|
2011-07-06 19:41:25 +00:00
|
|
|
license="LGPL-2"
|
2012-12-18 10:24:00 +00:00
|
|
|
distfiles="${FREEDESKTOP_SITE}/${pkgname}/releases/${pkgname}-${version}.tar.xz"
|
2015-02-13 02:33:40 +00:00
|
|
|
checksum=b50640e0b80b1607600accfad2e45aabb79d379bf6354c9671efa2065477f6f6
|
2010-11-19 23:10:49 +00:00
|
|
|
|
2014-03-03 19:36:58 +00:00
|
|
|
pre_configure() {
|
|
|
|
libtoolize -f
|
2014-12-16 13:20:29 +00:00
|
|
|
touch aclocal.m4 Makefile.in config.h.in
|
2014-03-03 19:36:58 +00:00
|
|
|
}
|
2010-11-19 23:10:49 +00:00
|
|
|
|
2012-05-11 18:58:48 +00:00
|
|
|
post_install() {
|
|
|
|
rm -f ${DESTDIR}/etc/dbus-1/system.d/pulseaudio-system.conf
|
2013-09-14 02:50:56 +00:00
|
|
|
vmkdir usr/share/bash-completion/completions
|
2015-02-13 02:33:40 +00:00
|
|
|
mv ${DESTDIR}/etc/bash_completion.d/* \
|
|
|
|
${DESTDIR}/usr/share/bash-completion/completions
|
|
|
|
|
2010-11-19 23:10:49 +00:00
|
|
|
}
|
2013-04-13 20:47:11 +00:00
|
|
|
|
|
|
|
libpulseaudio_package() {
|
2015-02-13 02:33:40 +00:00
|
|
|
shlib_provides="libpulsecommon-6.0.so"
|
2013-04-27 08:50:53 +00:00
|
|
|
short_desc+=" - shared libraries"
|
2013-04-13 20:47:11 +00:00
|
|
|
pkg_install() {
|
2013-06-22 07:22:42 +00:00
|
|
|
vmove "usr/lib/libpulse.so.*"
|
|
|
|
vmove "usr/lib/libpulse-simple.so.*"
|
|
|
|
vmove "usr/lib/libpulse-mainloop-glib.so.*"
|
2013-04-13 20:47:11 +00:00
|
|
|
vmove usr/lib/pulseaudio
|
|
|
|
}
|
|
|
|
}
|
|
|
|
pulseaudio-devel_package() {
|
2013-12-03 09:53:38 +00:00
|
|
|
depends="libasyncns-devel dbus-devel libXtst-devel libpulseaudio>=${version}_${revision}"
|
2013-04-27 08:50:53 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 20:47:11 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/lib/cmake
|
2013-06-22 07:22:42 +00:00
|
|
|
vmove usr/lib/libpulse.so
|
|
|
|
vmove usr/lib/libpulse-simple.so
|
|
|
|
vmove usr/lib/libpulse-mainloop-glib.so
|
2013-04-13 20:47:11 +00:00
|
|
|
vmove usr/share/vala
|
|
|
|
}
|
|
|
|
}
|