summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/pulseaudio/Makefile58
-rw-r--r--audio/pulseaudio/distinfo3
-rw-r--r--audio/pulseaudio/files/patch-src_daemon_default.pa.in11
-rw-r--r--audio/pulseaudio/pkg-descr8
-rw-r--r--audio/pulseaudio/pkg-install22
-rw-r--r--audio/pulseaudio/pkg-plist254
6 files changed, 356 insertions, 0 deletions
diff --git a/audio/pulseaudio/Makefile b/audio/pulseaudio/Makefile
new file mode 100644
index 000000000..0b9ff6972
--- /dev/null
+++ b/audio/pulseaudio/Makefile
@@ -0,0 +1,58 @@
+# New ports collection makefile for: polypaudio
+# Date created: 29 October 2004
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= pulseaudio
+PORTVERSION= 0.9.3
+CATEGORIES= audio
+MASTER_SITES= http://0pointer.de/lennart/projects/${PORTNAME}/
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Sound server for UNIX
+
+LIB_DEPENDS= samplerate.1:${PORTSDIR}/audio/libsamplerate \
+ oil-0.3.1:${PORTSDIR}/devel/liboil
+
+CONFLICTS= polypaudio-[1-9]*
+
+USE_GNOME= gnometarget gnomehack glib20
+WANT_GNOME= yes
+USE_XLIB= yes
+INSTALLS_SHLIB= yes
+USE_AUTOTOOLS= libltdl:15
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_GETOPT_LONG=yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib" \
+ LIBS="-lm"
+
+CONFIGURE_ARGS+= --disable-lirc # untested
+
+.include <bsd.port.pre.mk>
+
+.if exists(${LOCALBASE}/lib/libavahi-core.a) || defined(PACKAGE_BUILDING) \
+ || defined(WITH_AVAHI)
+LIB_DEPENDS+= avahi-core.4:${PORTSDIR}/net/avahi
+CONFIGURE_ARGS+= --enable-avahi
+.else
+CONFIGURE_ARGS+= --disable-avahi
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
+ ${WRKSRC}/src/daemon/default.pa.in
+
+post-install:
+.for ii in default.pa daemon.conf client.conf
+ ${INSTALL_DATA} ${WRKSRC}/src/${ii} \
+ ${PREFIX}/etc/pulse/${ii}-dist
+.endfor
+.if !defined(PACKAGE_BUILDING)
+ @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/audio/pulseaudio/distinfo b/audio/pulseaudio/distinfo
new file mode 100644
index 000000000..a8e84ec9c
--- /dev/null
+++ b/audio/pulseaudio/distinfo
@@ -0,0 +1,3 @@
+MD5 (pulseaudio-0.9.3.tar.gz) = 65da3e44e0580425dae628f7e39149cb
+SHA256 (pulseaudio-0.9.3.tar.gz) = f07bd02e1769485c72bd299e4eb28f9eb29a96fb943267e26e49b6ba34d377fc
+SIZE (pulseaudio-0.9.3.tar.gz) = 1111287
diff --git a/audio/pulseaudio/files/patch-src_daemon_default.pa.in b/audio/pulseaudio/files/patch-src_daemon_default.pa.in
new file mode 100644
index 000000000..caa3c7a3d
--- /dev/null
+++ b/audio/pulseaudio/files/patch-src_daemon_default.pa.in
@@ -0,0 +1,11 @@
+--- src/daemon/default.pa.in.orig Sat Jul 22 11:58:50 2006
++++ src/daemon/default.pa.in Sat Jul 22 12:22:20 2006
+@@ -60,7 +60,7 @@
+ .nofail
+
+ ### Load something to the sample cache
+-load-sample x11-bell /usr/share/sounds/gtk-events/activate.wav
++load-sample x11-bell %%LOCALBASE%%/share/gnome/sounds/gtk-events/activate.wav
+ #load-sample-dir-lazy /usr/share/sounds/*.wav
+
+ ### Load X11 bell module
diff --git a/audio/pulseaudio/pkg-descr b/audio/pulseaudio/pkg-descr
new file mode 100644
index 000000000..4c2c80914
--- /dev/null
+++ b/audio/pulseaudio/pkg-descr
@@ -0,0 +1,8 @@
+PulseAudio, previously known as Polypaudio, is a sound server for POSIX and
+Win32 systems. A sound server is basically a proxy for your sound applications.
+It allows you to do advanced operations on your sound data as it passes between
+your application and your hardware. Things like transferring the audio to a
+different machine, changing the sample format or channel count and mixing
+several sounds into one are easily achieved using a sound server.
+
+WWW: http://pulseaudio.org/
diff --git a/audio/pulseaudio/pkg-install b/audio/pulseaudio/pkg-install
new file mode 100644
index 000000000..f4d1fb112
--- /dev/null
+++ b/audio/pulseaudio/pkg-install
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+case $2 in
+POST-INSTALL)
+ GROUP=realtime
+ GID=557
+ PW=/usr/sbin/pw
+
+ if ${PW} group show "${GROUP}" 2>/dev/null; then
+ echo "You already have a group \"${GROUP}\", so I will use it."
+ else
+ if ${PW} groupadd ${GROUP} -g ${GID}; then
+ echo "Added group \"${GROUP}\"."
+ else
+ echo "Adding group \"${GROUP}\" failed..."
+ exit 1
+ fi
+ fi
+
+ exit 0
+ ;;
+esac
diff --git a/audio/pulseaudio/pkg-plist b/audio/pulseaudio/pkg-plist
new file mode 100644
index 000000000..3f5acb889
--- /dev/null
+++ b/audio/pulseaudio/pkg-plist
@@ -0,0 +1,254 @@
+bin/esdcompat
+bin/pabrowse
+bin/pacat
+bin/pacmd
+bin/pactl
+bin/padsp
+bin/paplay
+bin/parec
+bin/pax11publish
+bin/pulseaudio
+@unexec if cmp -s %D/etc/pulse/client.conf %D/etc/pulse/client.conf-dist; then rm -f %D/etc/pulse/client.conf; fi
+etc/pulse/client.conf-dist
+@unexec if cmp -s %D/etc/pulse/daemon.conf %D/etc/pulse/daemon.conf-dist; then rm -f %D/etc/pulse/daemon.conf; fi
+etc/pulse/daemon.conf-dist
+@unexec if cmp -s %D/etc/pulse/default.pa %D/etc/pulse/default.pa-dist; then rm -f %D/etc/pulse/default.pa; fi
+etc/pulse/default.pa-dist
+include/pulse/browser.h
+include/pulse/cdecl.h
+include/pulse/channelmap.h
+include/pulse/context.h
+include/pulse/def.h
+include/pulse/error.h
+include/pulse/glib-mainloop.h
+include/pulse/introspect.h
+include/pulse/mainloop-api.h
+include/pulse/mainloop-signal.h
+include/pulse/mainloop.h
+include/pulse/operation.h
+include/pulse/pulseaudio.h
+include/pulse/sample.h
+include/pulse/scache.h
+include/pulse/simple.h
+include/pulse/stream.h
+include/pulse/subscribe.h
+include/pulse/thread-mainloop.h
+include/pulse/timeval.h
+include/pulse/utf8.h
+include/pulse/util.h
+include/pulse/version.h
+include/pulse/volume.h
+include/pulse/xmalloc.h
+include/pulsecore/authkey-prop.h
+include/pulsecore/authkey.h
+include/pulsecore/autoload.h
+include/pulsecore/avahi-wrap.h
+include/pulsecore/cli-command.h
+include/pulsecore/cli-text.h
+include/pulsecore/cli.h
+include/pulsecore/client.h
+include/pulsecore/conf-parser.h
+include/pulsecore/core-def.h
+include/pulsecore/core-scache.h
+include/pulsecore/core-subscribe.h
+include/pulsecore/core-util.h
+include/pulsecore/core.h
+include/pulsecore/creds.h
+include/pulsecore/dynarray.h
+include/pulsecore/esound.h
+include/pulsecore/g711.h
+include/pulsecore/hashmap.h
+include/pulsecore/idxset.h
+include/pulsecore/iochannel.h
+include/pulsecore/ioline.h
+include/pulsecore/ipacl.h
+include/pulsecore/log.h
+include/pulsecore/mcalign.h
+include/pulsecore/memblock.h
+include/pulsecore/memblockq.h
+include/pulsecore/memchunk.h
+include/pulsecore/modargs.h
+include/pulsecore/modinfo.h
+include/pulsecore/module.h
+include/pulsecore/namereg.h
+include/pulsecore/native-common.h
+include/pulsecore/packet.h
+include/pulsecore/parseaddr.h
+include/pulsecore/pdispatch.h
+include/pulsecore/pid.h
+include/pulsecore/play-memchunk.h
+include/pulsecore/props.h
+include/pulsecore/protocol-cli.h
+include/pulsecore/protocol-esound.h
+include/pulsecore/protocol-http.h
+include/pulsecore/protocol-native.h
+include/pulsecore/protocol-simple.h
+include/pulsecore/pstream-util.h
+include/pulsecore/pstream.h
+include/pulsecore/queue.h
+include/pulsecore/random.h
+include/pulsecore/resampler.h
+include/pulsecore/sample-util.h
+include/pulsecore/sconv.h
+include/pulsecore/sink-input.h
+include/pulsecore/sink.h
+include/pulsecore/sioman.h
+include/pulsecore/socket-client.h
+include/pulsecore/socket-server.h
+include/pulsecore/socket-util.h
+include/pulsecore/sound-file-stream.h
+include/pulsecore/sound-file.h
+include/pulsecore/source-output.h
+include/pulsecore/source.h
+include/pulsecore/strbuf.h
+include/pulsecore/strlist.h
+include/pulsecore/tagstruct.h
+include/pulsecore/tokenizer.h
+include/pulsecore/x11prop.h
+include/pulsecore/x11wrap.h
+lib/libpulse-browse.a
+lib/libpulse-browse.la
+lib/libpulse-browse.so
+lib/libpulse-browse.so.1
+lib/libpulse-mainloop-glib.a
+lib/libpulse-mainloop-glib.la
+lib/libpulse-mainloop-glib.so
+lib/libpulse-mainloop-glib.so.0
+lib/libpulse-simple.a
+lib/libpulse-simple.la
+lib/libpulse-simple.so
+lib/libpulse-simple.so.0
+lib/libpulse.a
+lib/libpulse.la
+lib/libpulse.so
+lib/libpulse.so.0
+lib/libpulsecore.a
+lib/libpulsecore.la
+lib/libpulsecore.so
+lib/libpulsecore.so.1
+lib/libpulsedsp.so
+lib/pulse-0.9/modules/libauthkey-prop.la
+lib/pulse-0.9/modules/libauthkey-prop.so
+lib/pulse-0.9/modules/libauthkey.la
+lib/pulse-0.9/modules/libauthkey.so
+lib/pulse-0.9/modules/libavahi-wrap.la
+lib/pulse-0.9/modules/libavahi-wrap.so
+lib/pulse-0.9/modules/libcli.la
+lib/pulse-0.9/modules/libcli.so
+lib/pulse-0.9/modules/libiochannel.la
+lib/pulse-0.9/modules/libiochannel.so
+lib/pulse-0.9/modules/libioline.la
+lib/pulse-0.9/modules/libioline.so
+lib/pulse-0.9/modules/libipacl.la
+lib/pulse-0.9/modules/libipacl.so
+lib/pulse-0.9/modules/liboss-util.la
+lib/pulse-0.9/modules/liboss-util.so
+lib/pulse-0.9/modules/libpacket.la
+lib/pulse-0.9/modules/libpacket.so
+lib/pulse-0.9/modules/libparseaddr.la
+lib/pulse-0.9/modules/libparseaddr.so
+lib/pulse-0.9/modules/libpdispatch.la
+lib/pulse-0.9/modules/libpdispatch.so
+lib/pulse-0.9/modules/libprotocol-cli.la
+lib/pulse-0.9/modules/libprotocol-cli.so
+lib/pulse-0.9/modules/libprotocol-esound.la
+lib/pulse-0.9/modules/libprotocol-esound.so
+lib/pulse-0.9/modules/libprotocol-http.la
+lib/pulse-0.9/modules/libprotocol-http.so
+lib/pulse-0.9/modules/libprotocol-native.la
+lib/pulse-0.9/modules/libprotocol-native.so
+lib/pulse-0.9/modules/libprotocol-simple.la
+lib/pulse-0.9/modules/libprotocol-simple.so
+lib/pulse-0.9/modules/libpstream-util.la
+lib/pulse-0.9/modules/libpstream-util.so
+lib/pulse-0.9/modules/libpstream.la
+lib/pulse-0.9/modules/libpstream.so
+lib/pulse-0.9/modules/librtp.la
+lib/pulse-0.9/modules/librtp.so
+lib/pulse-0.9/modules/libsocket-client.la
+lib/pulse-0.9/modules/libsocket-client.so
+lib/pulse-0.9/modules/libsocket-server.la
+lib/pulse-0.9/modules/libsocket-server.so
+lib/pulse-0.9/modules/libsocket-util.la
+lib/pulse-0.9/modules/libsocket-util.so
+lib/pulse-0.9/modules/libstrlist.la
+lib/pulse-0.9/modules/libstrlist.so
+lib/pulse-0.9/modules/libtagstruct.la
+lib/pulse-0.9/modules/libtagstruct.so
+lib/pulse-0.9/modules/libx11prop.la
+lib/pulse-0.9/modules/libx11prop.so
+lib/pulse-0.9/modules/libx11wrap.la
+lib/pulse-0.9/modules/libx11wrap.so
+lib/pulse-0.9/modules/module-cli-protocol-tcp.la
+lib/pulse-0.9/modules/module-cli-protocol-tcp.so
+lib/pulse-0.9/modules/module-cli-protocol-unix.la
+lib/pulse-0.9/modules/module-cli-protocol-unix.so
+lib/pulse-0.9/modules/module-cli.la
+lib/pulse-0.9/modules/module-cli.so
+lib/pulse-0.9/modules/module-combine.la
+lib/pulse-0.9/modules/module-combine.so
+lib/pulse-0.9/modules/module-detect.la
+lib/pulse-0.9/modules/module-detect.so
+lib/pulse-0.9/modules/module-esound-compat-spawnfd.la
+lib/pulse-0.9/modules/module-esound-compat-spawnfd.so
+lib/pulse-0.9/modules/module-esound-compat-spawnpid.la
+lib/pulse-0.9/modules/module-esound-compat-spawnpid.so
+lib/pulse-0.9/modules/module-esound-protocol-tcp.la
+lib/pulse-0.9/modules/module-esound-protocol-tcp.so
+lib/pulse-0.9/modules/module-esound-protocol-unix.la
+lib/pulse-0.9/modules/module-esound-protocol-unix.so
+lib/pulse-0.9/modules/module-esound-sink.la
+lib/pulse-0.9/modules/module-esound-sink.so
+lib/pulse-0.9/modules/module-http-protocol-tcp.la
+lib/pulse-0.9/modules/module-http-protocol-tcp.so
+lib/pulse-0.9/modules/module-http-protocol-unix.la
+lib/pulse-0.9/modules/module-http-protocol-unix.so
+lib/pulse-0.9/modules/module-match.la
+lib/pulse-0.9/modules/module-match.so
+lib/pulse-0.9/modules/module-native-protocol-fd.la
+lib/pulse-0.9/modules/module-native-protocol-fd.so
+lib/pulse-0.9/modules/module-native-protocol-tcp.la
+lib/pulse-0.9/modules/module-native-protocol-tcp.so
+lib/pulse-0.9/modules/module-native-protocol-unix.la
+lib/pulse-0.9/modules/module-native-protocol-unix.so
+lib/pulse-0.9/modules/module-null-sink.la
+lib/pulse-0.9/modules/module-null-sink.so
+lib/pulse-0.9/modules/module-oss-mmap.la
+lib/pulse-0.9/modules/module-oss-mmap.so
+lib/pulse-0.9/modules/module-oss.la
+lib/pulse-0.9/modules/module-oss.so
+lib/pulse-0.9/modules/module-pipe-sink.la
+lib/pulse-0.9/modules/module-pipe-sink.so
+lib/pulse-0.9/modules/module-pipe-source.la
+lib/pulse-0.9/modules/module-pipe-source.so
+lib/pulse-0.9/modules/module-rtp-recv.la
+lib/pulse-0.9/modules/module-rtp-recv.so
+lib/pulse-0.9/modules/module-rtp-send.la
+lib/pulse-0.9/modules/module-rtp-send.so
+lib/pulse-0.9/modules/module-simple-protocol-tcp.la
+lib/pulse-0.9/modules/module-simple-protocol-tcp.so
+lib/pulse-0.9/modules/module-simple-protocol-unix.la
+lib/pulse-0.9/modules/module-simple-protocol-unix.so
+lib/pulse-0.9/modules/module-sine.la
+lib/pulse-0.9/modules/module-sine.so
+lib/pulse-0.9/modules/module-tunnel-sink.la
+lib/pulse-0.9/modules/module-tunnel-sink.so
+lib/pulse-0.9/modules/module-tunnel-source.la
+lib/pulse-0.9/modules/module-tunnel-source.so
+lib/pulse-0.9/modules/module-volume-restore.la
+lib/pulse-0.9/modules/module-volume-restore.so
+lib/pulse-0.9/modules/module-x11-bell.la
+lib/pulse-0.9/modules/module-x11-bell.so
+lib/pulse-0.9/modules/module-x11-publish.la
+lib/pulse-0.9/modules/module-x11-publish.so
+lib/pulse-0.9/modules/module-zeroconf-publish.la
+lib/pulse-0.9/modules/module-zeroconf-publish.so
+libdata/pkgconfig/libpulse-browse.pc
+libdata/pkgconfig/libpulse-mainloop-glib.pc
+libdata/pkgconfig/libpulse-simple.pc
+libdata/pkgconfig/libpulse.pc
+@dirrm lib/pulse-0.9/modules
+@dirrm lib/pulse-0.9
+@dirrm include/pulsecore
+@dirrm include/pulse
+@dirrm etc/pulse