2002-07-15 23:45:20 +02:00
|
|
|
# New ports collection makefile for: gstreamer player
|
|
|
|
# Date created: Fri Jul 12 06:02:42 UTC 2002
|
|
|
|
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gstreamer
|
|
|
|
PORTVERSION= 0.4.0
|
2003-02-07 20:21:11 +01:00
|
|
|
PORTREVISION= 1
|
2002-11-28 01:09:51 +01:00
|
|
|
CATEGORIES= multimedia audio gnome
|
2002-07-15 23:45:20 +02:00
|
|
|
MASTER_SITES= http://gstreamer.net/releases/0.4.0/src/
|
|
|
|
PKGNAMESUFFIX= -player
|
|
|
|
DISTNAME= gst-player-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= lioux@FreeBSD.org
|
|
|
|
|
|
|
|
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
|
|
|
|
LIB_DEPENDS= glib-2.0.0:${PORTSDIR}/devel/glib20 \
|
2003-02-07 20:21:11 +01:00
|
|
|
gnomeui-2.200:${PORTSDIR}/x11-toolkits/libgnomeui \
|
2002-11-28 01:09:51 +01:00
|
|
|
gstreamer.0:${PORTSDIR}/multimedia/gstreamer \
|
2003-02-07 20:21:11 +01:00
|
|
|
gtk-x11-2.0.200:${PORTSDIR}/x11-toolkits/gtk20 \
|
2002-07-15 23:45:20 +02:00
|
|
|
popt.0:${PORTSDIR}/devel/popt \
|
|
|
|
xml2.5:${PORTSDIR}/textproc/libxml2
|
2002-11-28 01:09:51 +01:00
|
|
|
RUN_DEPENDS= gst-visualise:${PORTSDIR}/multimedia/gstreamer-plugins
|
2002-07-15 23:45:20 +02:00
|
|
|
|
2002-12-18 17:33:20 +01:00
|
|
|
IGNORE= Incompatible with latest gstreamer libraries
|
|
|
|
|
2002-07-15 23:45:20 +02:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_REINPLACE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --includedir=${PREFIX}/include/${PORTNAME} \
|
|
|
|
--localstatedir=${PREFIX}/share/gnome \
|
|
|
|
--datadir=${PREFIX}/share/gnome
|
|
|
|
CONFIGURE_ENV= PKG_CONFIG=${PKG_CONFIG}
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
|
|
|
PKG_CONFIG?="${LOCALBASE}/bin/pkg-config"
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
# remove version number from include dir name
|
|
|
|
@${FIND} ${WRKSRC} -type f -name Makefile.in | \
|
|
|
|
${XARGS} -n 10 ${REINPLACE_CMD} -E \
|
|
|
|
's|^(lib[[:alpha:]]+includedir.+)-@VERSION@|\1|'
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|