summaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer-ffmpeg/Makefile
blob: 4a1af044ea7ede8e7a872bf5763422ea437d0e23 (plain) (blame)
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
# New ports collection makefile for:    gstreamer ffmpeg
# Date created:     Thu Feb 26 20:10:39 CET 2004
# Whom:         Koop Mast <kwm@rainbow-runner.nl>
#
# $FreeBSD$
#

PORTNAME=   gstreamer
PORTVERSION=    0.7.1
CATEGORIES= multimedia
MASTER_SITES=   http://gstreamer.freedesktop.org/src/gst-ffmpeg/
PKGNAMESUFFIX=  -ffmpeg
DISTNAME=   gst-ffmpeg-${PORTVERSION}

MAINTAINER= kwm@rainbow-runner.nl
COMMENT=    GStreamer plug-in for manipulating MPEG video streams

LIB_DEPENDS=    gstreamer-0.7.7:${PORTSDIR}/multimedia/gstreamer

USE_X_PREFIX=   yes
USE_BZIP2=  yes
USE_REINPLACE=  yes
USE_GNOME=  gnomehack \
        gnomeprefix
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  PKG_CONFIG=${PKG_CONFIG} \
        CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
        LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
PLIST_SUB=  \
        VERSION="${GST_VERSION}"
INSTALLS_SHLIB= yes

PKG_CONFIG?="${LOCALBASE}/bin/pkg-config"
GST_VERSION=${PORTVERSION:C/..$//}

BROKEN= "Needs an update for gst-0.7.6"

.include <bsd.port.pre.mk>

.if ${ARCH} == "ia64" || ${ARCH} == "amd64"
EXTRA_PATCHES+= ${FILESDIR}/ia64-patch-ffmpeg::configure
.endif

post-install:
# register plugins
    -@${PREFIX}/bin/gst-register-${GST_VERSION} 2>/dev/null

.include <bsd.port.post.mk>