aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer/Makefile
blob: 7fe151cb3792c003a2d8baa84e69148ab360b09f (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
# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$
#    $MCom: ports/multimedia/gstreamer/Makefile,v 1.74 2010/03/09 10:11:45 kwm Exp $

PORTNAME=   gstreamer
PORTVERSION=    0.10.36
PORTREVISION=   6
CATEGORIES= multimedia
MASTER_SITES=   http://gstreamer.freedesktop.org/src/gstreamer/

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

LICENSE=    LGPL20
LICENSE_FILE=   ${WRKSRC}/COPYING

PORTSCOUT=  limit:0\.10\..*

CFLAGS:=    ${CFLAGS} -O2 -Wno-format
USES=       bison gmake libtool:keepla pathfix pkgconfig tar:bzip2
USE_GNOME=  glib20 introspection libxml2
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-tests \
        --disable-examples \
        --disable-failing-tests \
        --disable-gtk-doc
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
CONFIGURE_ENV=  ac_cv_func_register_printf_function="no"
PLIST_SUB=  VERSION="${GST_VERSION}"
USE_LDCONFIG=   yes
INSTALL_TARGET= install-strip
GST_VERSION=    0.10

OPTIONS_DEFINE= LIBCHECK NLS
OPTIONS_SUB=    yes
LIBCHECK_DESC=  Unit tests support

LIBCHECK_LIB_DEPENDS=   libcheck.so:devel/check
LIBCHECK_CONFIGURE_OFF= --disable-check

NLS_USES=   gettext
NLS_CONFIGURE_OFF=  --disable-nls

post-patch:
    @${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \
        ${WRKSRC}/configure

.include <bsd.port.mk>