From dff43f90d7460be148e7c60ca405d08c829cf907 Mon Sep 17 00:00:00 2001 From: Koop Mast Date: Mon, 6 Apr 2009 10:46:56 +0000 Subject: [PATCH] The gstreamer pulse plugins was imported in the good gstreamer tarball release. Adapt this port to use the plugin from the good tarball release. --- Mk/bsd.gstreamer.mk | 1 - audio/gstreamer-plugins-pulse/Makefile | 24 ++++---------------- audio/gstreamer-plugins-pulse/distinfo | 3 --- audio/gstreamer-plugins-pulse/pkg-descr | 3 --- multimedia/gstreamer-plugins/Makefile.common | 7 ++++++ 5 files changed, 11 insertions(+), 27 deletions(-) delete mode 100644 audio/gstreamer-plugins-pulse/distinfo delete mode 100644 audio/gstreamer-plugins-pulse/pkg-descr diff --git a/Mk/bsd.gstreamer.mk b/Mk/bsd.gstreamer.mk index f5cf6c167a59..69144c52cfc2 100644 --- a/Mk/bsd.gstreamer.mk +++ b/Mk/bsd.gstreamer.mk @@ -133,7 +133,6 @@ ogg_DEPENDS= audio/gstreamer-plugins-ogg polyp_DEPENDS= audio/gstreamer-plugins-polyp pulse_DEPENDS= audio/gstreamer-plugins-pulse -pulse_GST_VERSION= 0.9.3 shout_DEPENDS= audio/gstreamer-plugins-shout diff --git a/audio/gstreamer-plugins-pulse/Makefile b/audio/gstreamer-plugins-pulse/Makefile index df877b831703..4d0fa6ad5722 100644 --- a/audio/gstreamer-plugins-pulse/Makefile +++ b/audio/gstreamer-plugins-pulse/Makefile @@ -5,29 +5,13 @@ # $FreeBSD$ # -PORTNAME= gstreamer-plugins -PORTVERSION= 0.9.7 -PORTREVISION= 1 +PORTREVISION= 0 CATEGORIES= audio -MASTER_SITES= http://0pointer.de/lennart/projects/gst-pulse/ -PKGNAMESUFFIX= -pulse -DISTNAME= gst${PKGNAMESUFFIX}-${PORTVERSION} -MAINTAINER= multimedia@FreeBSD.org COMMENT= GStreamer plugin for pulseaudio -LIB_DEPENDS= pulse.0:${PORTSDIR}/audio/pulseaudio +GST_PLUGIN= pulse -CFLAGS:= ${CFLAGS} -O2 -USE_GMAKE= yes -GNU_CONFIGURE= yes -USE_GNOME= lthack gnomehack -USE_GSTREAMER= yes -CONFIGURE_ARGS= --disable-lynx -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" +MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer-plugins -PLIST_FILES= lib/gstreamer-0.10/libgstpulse.la \ - lib/gstreamer-0.10/libgstpulse.so - -.include +.include "${MASTERDIR}/Makefile" diff --git a/audio/gstreamer-plugins-pulse/distinfo b/audio/gstreamer-plugins-pulse/distinfo deleted file mode 100644 index 85410e90f16e..000000000000 --- a/audio/gstreamer-plugins-pulse/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (gst-pulse-0.9.7.tar.gz) = 166164eb07eacd1d70b965731eb6cbdb -SHA256 (gst-pulse-0.9.7.tar.gz) = b9f1bb98917d9879d46b6a959ce9068471908763f2ca98e480837485e290b106 -SIZE (gst-pulse-0.9.7.tar.gz) = 348776 diff --git a/audio/gstreamer-plugins-pulse/pkg-descr b/audio/gstreamer-plugins-pulse/pkg-descr deleted file mode 100644 index 4091cea11873..000000000000 --- a/audio/gstreamer-plugins-pulse/pkg-descr +++ /dev/null @@ -1,3 +0,0 @@ -Gstreamer plugins for pulseaudio - -WWW: http://0pointer.de/lennart/projects/gst-pulse/ diff --git a/multimedia/gstreamer-plugins/Makefile.common b/multimedia/gstreamer-plugins/Makefile.common index 1a5c2eb1c06d..9393338d0083 100644 --- a/multimedia/gstreamer-plugins/Makefile.common +++ b/multimedia/gstreamer-plugins/Makefile.common @@ -73,6 +73,7 @@ GOOD_GST_ALL_PLUGINS+= \ ladspa \ libcaca \ libpng \ + pulse \ raw1394 \ shout2 \ soup \ @@ -391,6 +392,12 @@ gst_pango_PLIST_FILES= ${GST_LIB_DIR}/libgstpango.la \ ${GST_LIB_DIR}/libgstpango.so gst_pango_DIST= base +# pulse +gst_pulse_LIB_DEPENDS= pulse.0:${PORTSDIR}/audio/pulseaudio +gst_pulse_PLIST_FILES= ${GST_LIB_DIR}/libgstpulse.la \ + ${GST_LIB_DIR}/libgstpulse.so +gst_pulse_DIST= good + # sdl gst_sdl_USE_SDL+= sdl gst_sdl_PLIST_FILES= ${GST_LIB_DIR}/libgstsdl.la \