aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer1/Makefile
blob: 5007b911132f02f24754563a92dbc173a0b2c7f0 (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
# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$

PORTNAME=   gstreamer
PORTVERSION=    1.12.2
CATEGORIES= multimedia
MASTER_SITES=   GNOME \
        http://gstreamer.freedesktop.org/src/gstreamer/
PKGNAMESUFFIX=  1

MAINTAINER= multimedia@FreeBSD.org
COMMENT=    Media applications framework

LICENSE=    LGPL20
LICENSE_FILE=   ${WRKSRC}/COPYING

PORTSCOUT=  limitw:1,even

CFLAGS+=    -Wno-format
USES=       bison gettext gmake gnome libtool pathfix pkgconfig tar:xz
USE_GNOME=  glib20 introspection:build
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-tests \
        --disable-examples \
        --disable-failing-tests \
        --disable-fatal-warnings \
        --disable-gtk-doc
CONFIGURE_ENV=  ac_cv_func_register_printf_function="no"
INSTALL_TARGET= install-strip
PLIST_SUB=  VERSION=${GST10_VERSION} \
        SOVERSION=0.1202.0
USE_LDCONFIG=   yes
GST10_VERSION=  1.0

.include <bsd.port.options.mk>

.if ${ARCH} == i386 || ${ARCH} == amd64
LIB_DEPENDS+=   libunwind.so:devel/libunwind
.endif

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

.include <bsd.port.mk>