From 5a840151ea97c3360ea094c2a624919da722a29e Mon Sep 17 00:00:00 2001
From: ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>
Date: Wed, 8 Dec 2004 13:44:30 +0000
Subject: Add support to polypaudio

git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3235 df743ca5-7f9a-e211-a948-0013205c9059
---
 Mk/bsd.gstreamer.mk                            |  5 ++++-
 audio/gstreamer-plugins-polypaudio/Makefile    | 14 ++++++++++++++
 multimedia/gstreamer-plugins/Makefile.common   |  7 +++++++
 multimedia/gstreamer-plugins80/Makefile.common |  7 +++++++
 4 files changed, 32 insertions(+), 1 deletion(-)
 create mode 100644 audio/gstreamer-plugins-polypaudio/Makefile

diff --git a/Mk/bsd.gstreamer.mk b/Mk/bsd.gstreamer.mk
index e447bff05..94a7fc26a 100644
--- a/Mk/bsd.gstreamer.mk
+++ b/Mk/bsd.gstreamer.mk
@@ -58,7 +58,7 @@ _USE_GSTREAMER_ALL=	a52dec aalib artsd audiofile cdparanoia dirac \
 			lame libcaca libfame libmng libpng libvisual mad mikmod \
 			mpeg2dec mpeg2enc mplex musepack musicbrainz nas sdl \
 			shout sidplay smoothwave sndfile speex theora ogg pango \
-			swfdec vorbis xine xvid
+			polypaudio swfdec vorbis xine xvid
 
 # other plugins
 OTHER_GSTREAMER_PLUGINS+=	core yes
@@ -114,6 +114,9 @@ nas_PLIST=	libgstnassink
 
 ogg_DEPENDS=	audio/gstreamer-plugins-ogg
 
+polypaudio_DEPENDS=	audio/gstreamer-plugins-polypaudio
+polypaudio_PLIST=	libpolypaudio
+
 shout_DEPENDS=	audio/gstreamer-plugins-shout
 
 sidplay_DEPENDS=	audio/gstreamer-plugins-sidplay
diff --git a/audio/gstreamer-plugins-polypaudio/Makefile b/audio/gstreamer-plugins-polypaudio/Makefile
new file mode 100644
index 000000000..54c08d109
--- /dev/null
+++ b/audio/gstreamer-plugins-polypaudio/Makefile
@@ -0,0 +1,14 @@
+# New ports collection makefile for:	gstreamer-plugins-polypaudio
+# Date created:			8 Dec 2004
+# Whom:				Michael Johnson <ahze@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+CATEGORIES=	audio
+
+GST_PLUGIN=	polypaudio
+
+MASTERDIR=	${.CURDIR}/../../multimedia/gstreamer-plugins
+
+.include "${MASTERDIR}/Makefile"
diff --git a/multimedia/gstreamer-plugins/Makefile.common b/multimedia/gstreamer-plugins/Makefile.common
index e397b5921..bef8ded7a 100644
--- a/multimedia/gstreamer-plugins/Makefile.common
+++ b/multimedia/gstreamer-plugins/Makefile.common
@@ -351,6 +351,13 @@ PLIST_FILES=	${GST_LIB_DIR}/libgstpng.so \
 		${GST_LIB_DIR}/libgstsnapshot.so
 .endif
 
+# polypaudio
+.if ${GST_PLUGIN}=="polypaudio"
+LIB_DEPENDS+=	polyp-0.7.0:${PORTSDIR}/audio/polypaudio
+PLIST_FILES=	${GST_LIB_DIR}/libpolypaudio.so
+GST_PLUGIN_DIR=	ext/polyp
+.endif
+
 # sdl
 .if ${GST_PLUGIN}=="sdl"
 USE_SDL+=	sdl
diff --git a/multimedia/gstreamer-plugins80/Makefile.common b/multimedia/gstreamer-plugins80/Makefile.common
index e397b5921..bef8ded7a 100644
--- a/multimedia/gstreamer-plugins80/Makefile.common
+++ b/multimedia/gstreamer-plugins80/Makefile.common
@@ -351,6 +351,13 @@ PLIST_FILES=	${GST_LIB_DIR}/libgstpng.so \
 		${GST_LIB_DIR}/libgstsnapshot.so
 .endif
 
+# polypaudio
+.if ${GST_PLUGIN}=="polypaudio"
+LIB_DEPENDS+=	polyp-0.7.0:${PORTSDIR}/audio/polypaudio
+PLIST_FILES=	${GST_LIB_DIR}/libpolypaudio.so
+GST_PLUGIN_DIR=	ext/polyp
+.endif
+
 # sdl
 .if ${GST_PLUGIN}=="sdl"
 USE_SDL+=	sdl
-- 
cgit v1.2.3