summaryrefslogtreecommitdiffstats
path: root/audio/pulseaudio/Makefile
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-23 00:58:15 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-23 00:58:15 +0800
commit9271d5469cec729ead02a7ffdc204ec262c09208 (patch)
treea4dda6b2a6798e2222be868cc947cdc178c9f31f /audio/pulseaudio/Makefile
parent14ccab12333bebcd35b1166d71e13ad3c4ac3701 (diff)
downloadmarcuscom-ports-9271d5469cec729ead02a7ffdc204ec262c09208.tar
marcuscom-ports-9271d5469cec729ead02a7ffdc204ec262c09208.tar.gz
marcuscom-ports-9271d5469cec729ead02a7ffdc204ec262c09208.tar.bz2
marcuscom-ports-9271d5469cec729ead02a7ffdc204ec262c09208.tar.lz
marcuscom-ports-9271d5469cec729ead02a7ffdc204ec262c09208.tar.xz
marcuscom-ports-9271d5469cec729ead02a7ffdc204ec262c09208.tar.zst
marcuscom-ports-9271d5469cec729ead02a7ffdc204ec262c09208.zip
- Add pulseaudio
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/ Repocopied from: audio/polypaudio Repocopied by: marcus git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6687 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'audio/pulseaudio/Makefile')
-rw-r--r--audio/pulseaudio/Makefile58
1 files changed, 58 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>