aboutsummaryrefslogtreecommitdiff
path: root/multimedia/p5-GStreamer
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2006-07-17 04:31:04 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2006-07-17 04:31:04 +0000
commit635a5c07cc381aed92b376586584e96b15fa8c19 (patch)
tree78a697c7deb661db2476f3a681b0277a09276763 /multimedia/p5-GStreamer
parent0a5d49084aa119a5fb64d9794dfe10966e88d428 (diff)
downloadports-635a5c07cc381aed92b376586584e96b15fa8c19.tar.gz
ports-635a5c07cc381aed92b376586584e96b15fa8c19.zip
Notes
Diffstat (limited to 'multimedia/p5-GStreamer')
-rw-r--r--multimedia/p5-GStreamer/Makefile58
-rw-r--r--multimedia/p5-GStreamer/distinfo6
-rw-r--r--multimedia/p5-GStreamer/pkg-plist63
3 files changed, 100 insertions, 27 deletions
diff --git a/multimedia/p5-GStreamer/Makefile b/multimedia/p5-GStreamer/Makefile
index 2acfc751d283..e57cfbe40ca8 100644
--- a/multimedia/p5-GStreamer/Makefile
+++ b/multimedia/p5-GStreamer/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= GStreamer
-PORTVERSION= 0.04
-PORTREVISION= 1
+PORTVERSION= 0.08
CATEGORIES= multimedia perl5
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gtk2-perl
@@ -19,20 +18,43 @@ COMMENT= A set of Perl5 bindings for gstreamer
BUILD_DEPENDS= p5-Glib2>=1.101:${PORTSDIR}/devel/p5-Glib2 \
${SITE_PERL}/ExtUtils/Depends.pm:${PORTSDIR}/devel/p5-ExtUtils-Depends \
${SITE_PERL}/ExtUtils/PkgConfig.pm:${PORTSDIR}/devel/p5-ExtUtils-PkgConfig
-RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS= p5-Glib2>=1.101:${PORTSDIR}/devel/p5-Glib2 \
+ ${SITE_PERL}/ExtUtils/Depends.pm:${PORTSDIR}/devel/p5-ExtUtils-Depends \
+ ${SITE_PERL}/ExtUtils/PkgConfig.pm:${PORTSDIR}/devel/p5-ExtUtils-PkgConfig
-PERL_CONFIGURE= yes
USE_GMAKE= yes
USE_GSTREAMER= yes
+PERL_CONFIGURE= yes
-MAN3= GStreamer.3 GStreamer::Bin.3 GStreamer::Buffer.3 GStreamer::Caps.3 \
- GStreamer::Clock.3 GStreamer::ClockID.3 GStreamer::Data.3 GStreamer::Element.3 \
- GStreamer::ElementFactory.3 GStreamer::Error.3 GStreamer::Event.3 GStreamer::Format.3 \
- GStreamer::Index.3 GStreamer::IndexEntry.3 GStreamer::IndexFactory.3 GStreamer::Library.3 \
- GStreamer::Object.3 GStreamer::Pad.3 GStreamer::PadTemplate.3 GStreamer::Parse.3 GStreamer::Pipeline.3 \
- GStreamer::Plugin.3 GStreamer::PluginFeature.3 GStreamer::QueryType.3 GStreamer::Registry.3 \
- GStreamer::RegistryPool.3 GStreamer::Scheduler.3 GStreamer::SchedulerFactory.3 GStreamer::Structure.3 \
- GStreamer::Tag.3 GStreamer::TagSetter.3 GStreamer::Thread.3 GStreamer::index.3
+MAN3= GStreamer.3 GStreamer::Bin.3 GStreamer::Buffer.3 GStreamer::Bus.3 \
+ GStreamer::Caps.3 GStreamer::Caps::Any.3 GStreamer::Caps::Empty.3 \
+ GStreamer::Caps::Full.3 GStreamer::Caps::Simple.3 \
+ GStreamer::ChildProxy.3 GStreamer::Clock.3 GStreamer::ClockID.3 \
+ GStreamer::Element.3 GStreamer::ElementFactory.3 GStreamer::Event.3 \
+ GStreamer::Event::BufferSize.3 GStreamer::Event::Custom.3 \
+ GStreamer::Event::EOS.3 GStreamer::Event::FlushStart.3 \
+ GStreamer::Event::FlushStop.3 GStreamer::Event::Navigation.3 \
+ GStreamer::Event::NewSegment.3 GStreamer::Event::QOS.3 \
+ GStreamer::Event::Seek.3 GStreamer::Event::Tag.3 GStreamer::Format.3 \
+ GStreamer::GhostPad.3 GStreamer::Index.3 GStreamer::IndexEntry.3 \
+ GStreamer::IndexFactory.3 GStreamer::Iterator.3 \
+ GStreamer::Iterator::Tie.3 GStreamer::Message.3 \
+ GStreamer::Message::Application.3 GStreamer::Message::ClockLost.3 \
+ GStreamer::Message::ClockProvide.3 GStreamer::Message::Custom.3 \
+ GStreamer::Message::Duration.3 GStreamer::Message::EOS.3 \
+ GStreamer::Message::Element.3 GStreamer::Message::Error.3 \
+ GStreamer::Message::NewClock.3 GStreamer::Message::SegmentDone.3 \
+ GStreamer::Message::SegmentStart.3 GStreamer::Message::StateChanged.3 \
+ GStreamer::Message::StateDirty.3 GStreamer::Message::Tag.3 \
+ GStreamer::Message::Warning.3 GStreamer::MiniObject.3 \
+ GStreamer::Object.3 GStreamer::Pad.3 GStreamer::PadTemplate.3 \
+ GStreamer::Pipeline.3 GStreamer::Plugin.3 GStreamer::PluginFeature.3 \
+ GStreamer::Query.3 GStreamer::Query::Application.3 \
+ GStreamer::Query::Convert.3 GStreamer::Query::Duration.3 \
+ GStreamer::Query::Position.3 GStreamer::Query::Segment.3 \
+ GStreamer::QueryType.3 GStreamer::Registry.3 GStreamer::Structure.3 \
+ GStreamer::SystemClock.3 GStreamer::Tag.3 GStreamer::TagSetter.3 \
+ GStreamer::TypeFindFactory.3 GStreamer::index.3
.include <bsd.port.pre.mk>
@@ -40,6 +62,16 @@ MAN3= GStreamer.3 GStreamer::Bin.3 GStreamer::Buffer.3 GStreamer::Caps.3 \
BROKEN= Coredump during build on ${ARCH}
.endif
-BROKEN= uses strndup() which FreeBSD does not have
+post-depends:
+.if exists(${PERL})
+PERL_THREADED!= ${PERL} -V | ${GREP} -- -Dusethreads=y || ${TRUE}
+. if ${PERL_THREADED} == ""
+IGNORE= must be built with a threaded Perl, reinstall Perl with WITH_THREADS=yes
+. endif
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|strndup|g_strndup|g' \
+ ${WRKSRC}/xs/GstBuffer.xs
.include <bsd.port.post.mk>
diff --git a/multimedia/p5-GStreamer/distinfo b/multimedia/p5-GStreamer/distinfo
index ec3b67c1dcd0..e17e4dd2499f 100644
--- a/multimedia/p5-GStreamer/distinfo
+++ b/multimedia/p5-GStreamer/distinfo
@@ -1,3 +1,3 @@
-MD5 (GStreamer-0.04.tar.gz) = 3612ad76d0f5f3f80c4bfc6ccbf25442
-SHA256 (GStreamer-0.04.tar.gz) = ce041924a5ba35fbebd517fd89bc77e41dcefb62c56801714f9bb559a3331422
-SIZE (GStreamer-0.04.tar.gz) = 53719
+MD5 (GStreamer-0.08.tar.gz) = 85f0a06465371e21cff076980c52de30
+SHA256 (GStreamer-0.08.tar.gz) = 029b64fdf9ca0cc4c1fbeab1cb290a313c137d630ea6bec2abfa0c734d49aa9b
+SIZE (GStreamer-0.08.tar.gz) = 64141
diff --git a/multimedia/p5-GStreamer/pkg-plist b/multimedia/p5-GStreamer/pkg-plist
index e5654c3a5c4a..23ee6f3e946b 100644
--- a/multimedia/p5-GStreamer/pkg-plist
+++ b/multimedia/p5-GStreamer/pkg-plist
@@ -1,15 +1,30 @@
%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer.pm
%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Bin.pod
%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Buffer.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Bus.pod
%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Caps.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Caps/Any.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Caps/Empty.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Caps/Full.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Caps/Simple.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/ChildProxy.pod
%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Clock.pod
%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/ClockID.pod
-%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Data.pod
%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Element.pod
%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/ElementFactory.pod
-%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Error.pod
%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Event.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Event/BufferSize.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Event/Custom.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Event/EOS.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Event/FlushStart.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Event/FlushStop.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Event/Navigation.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Event/NewSegment.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Event/QOS.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Event/Seek.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Event/Tag.pod
%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Format.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/GhostPad.pod
%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Index.pod
%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/IndexEntry.pod
%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/IndexFactory.pod
@@ -20,27 +35,53 @@
%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Install/gst2perl-version.h
%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Install/gst2perl.h
%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Install/gst2perl.typemap
-%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Library.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Iterator.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Iterator/Tie.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Message.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Message/Application.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Message/ClockLost.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Message/ClockProvide.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Message/Custom.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Message/Duration.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Message/EOS.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Message/Element.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Message/Error.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Message/NewClock.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Message/SegmentDone.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Message/SegmentStart.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Message/StateChanged.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Message/StateDirty.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Message/Tag.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Message/Warning.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/MiniObject.pod
%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Object.pod
%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Pad.pod
%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/PadTemplate.pod
-%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Parse.pod
%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Pipeline.pod
%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Plugin.pod
%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/PluginFeature.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Query.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Query/Application.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Query/Convert.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Query/Duration.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Query/Position.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Query/Segment.pod
%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/QueryType.pod
%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Registry.pod
-%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/RegistryPool.pod
-%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Scheduler.pod
-%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/SchedulerFactory.pod
%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Structure.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/SystemClock.pod
%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Tag.pod
%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/TagSetter.pod
-%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Thread.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/TypeFindFactory.pod
%%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/index.pod
%%SITE_PERL%%/%%PERL_ARCH%%/auto/GStreamer/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/auto/GStreamer/GStreamer.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/GStreamer/GStreamer.so
-@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/GStreamer
-@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Install
-@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/GStreamer
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/GStreamer
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Query
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Message
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Iterator
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Install
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Event
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/GStreamer/Caps
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/GStreamer