aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer80/Makefile
blob: 78a4c28b4a04b7b9e4f89a3d56bd7ca4a0e0a008 (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
60
61
62
63
64
65
66
# 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$
#

PORTNAME=   gstreamer
PORTVERSION=    0.8.7
CATEGORIES= multimedia
MASTER_SITES=   http://gstreamer.freedesktop.org/src/gstreamer/ \
        ${MASTER_SITE_GNOME} \
        http://gstreamer.freedesktop.org/src/gstreamer/pre/
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${GST_VERSION}
DIST_SUBDIR=    gnome2

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

LIB_DEPENDS=    popt.0:${PORTSDIR}/devel/popt

USE_X_PREFIX=   yes
USE_BISON=  yes
USE_BZIP2=  yes
USE_PYTHON= yes
USE_GMAKE=  yes
USE_REINPLACE=  yes
WANT_GNOME= yes
USE_GNOME=  gnomehack \
        gnomeprefix \
        glib20 \
        libxml2
USE_LIBTOOL_VER=15
CONFIGURE_ARGS= --disable-tests \
        --disable-failing-tests
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
        LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
PLIST_SUB=  \
        VERSION="${GST_VERSION}" \
        SHLIB_VERSION="${SHLIB_VERSION}" \
        PORTVERSION="${PORTVERSION}"
INSTALLS_SHLIB= yes

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

GST_VERSION=${PORTVERSION:C/..$//}

# library minor number
SHLIB_VERSION=  5

post-install:
# register plugins
    -@${PREFIX}/bin/gst-register-${GST_VERSION} \
        --gst-registry=${PREFIX}/share/gnome/cache/gstreamer-${GST_VERSION}/registry.xml 2>/dev/null

.include <bsd.port.pre.mk>

.if ${HAVE_GNOME:Mlibgnomeui}!=""
USE_GNOME+= libgnomeui
.endif

.include <bsd.port.post.mk>