aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer/Makefile
blob: 6bb4b3b081d91312e04d9a338b8b663bd85f03e2 (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
49
50
51
52
53
54
55
56
57
58
59
# New ports collection makefile for:    gstreamer
# Date created:     Tue Jul 9 20:24:02 UTC 2002
# Whom:         Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#    $MCom: ports/multimedia/gstreamer/Makefile,v 1.59 2008/03/21 03:53:00 ahze Exp $
#

PORTNAME=   gstreamer
PORTVERSION=    0.10.20
CATEGORIES= multimedia
MASTER_SITES=   http://gstreamer.freedesktop.org/src/gstreamer/ \
        ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= ahze

MAINTAINER= multimedia@FreeBSD.org
COMMENT=    Development framework for creating media applications

BUILD_DEPENDS=  ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex
LIB_DEPENDS=    popt.0:${PORTSDIR}/devel/popt

CFLAGS:=    ${CFLAGS} -O2
USE_BISON=  build
USE_XORG=   x11 xv xext videoproto xextproto
USE_BZIP2=  yes
USE_GMAKE=  yes
WANT_GNOME= yes
USE_GNOME=  gnomehack glib20 libxml2 ltverhack ltasneededhack
USE_GETTEXT=    yes
USE_AUTOTOOLS=  libtool:15
CONFIGURE_ARGS= --disable-tests \
        --disable-examples \
        --disable-docs-build \
        --disable-failing-tests \
        --disable-gtk-doc
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
        LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \
        ac_cv_func_register_printf_function="no" \
        FLEX_PATH="${LOCALBASE}/bin/flex"
PLIST_SUB=  VERSION="${GST_VERSION}"
USE_LDCONFIG=   yes
GST_VERSION=    0.10

MAN1=   gst-feedback-${GST_VERSION}.1 gst-inspect-${GST_VERSION}.1 \
    gst-launch-${GST_VERSION}.1 \
    gst-typefind-${GST_VERSION}.1 gst-xmlinspect-${GST_VERSION}.1 \
    gst-xmllaunch-${GST_VERSION}.1

.include <bsd.port.pre.mk>

.if (exists(${LOCALBASE}/lib/libcheck.a) || defined(WITH_CHECK))
LIB_DEPENDS+=   check.0:${PORTSDIR}/devel/libcheck
PLIST_SUB+= CHECK=""
.else
CONFIGURE_ARGS+=--without-check
PLIST_SUB+= CHECK="@comment "
.endif

.include <bsd.port.post.mk>