summaryrefslogtreecommitdiffstats
path: root/multimedia/p5-GStreamer/Makefile
blob: 832a84eea2cb3ac328390710d4946dedd188bc00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# New ports collection makefile for:	p5-GStreamer
# Date created:		2005-10-17
# Whom:			Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	GStreamer
PORTVERSION=	0.09
PORTREVISION=	1
CATEGORIES=	multimedia perl5
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	gtk2-perl
PKGNAMEPREFIX=	p5-

MAINTAINER=	multimedia@FreeBSD.org
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=	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

USE_GMAKE=	yes
USE_GSTREAMER=	yes
PERL_CONFIGURE=	yes

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>

.if ${ARCH} == amd64 || ${ARCH} == "sparc64"
BROKEN=		Coredump during build on ${ARCH}
.endif

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

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud