2002-07-15 23:42:38 +02:00
|
|
|
# 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
|
2004-08-16 23:21:59 +02:00
|
|
|
PORTVERSION= 0.8.5
|
2002-11-28 01:09:51 +01:00
|
|
|
CATEGORIES= multimedia
|
2004-04-05 05:11:39 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME} \
|
2004-08-02 21:51:38 +02:00
|
|
|
http://gstreamer.freedesktop.org/src/gstreamer/pre/
|
2004-04-05 05:11:39 +02:00
|
|
|
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.8
|
Update to GNOME 2.4.0. For all the goodies on what's changed, known issues,
future plans, etc., please see http://www.gnome.org/start/2.4/.
This commit represents work done by adamw, bland, and myself as well as
many other contributers:
Koop Mast <einekoai@chello.nl>
Akifyev Sergey <asa@gascom.ru>
Franz Klammer <klammer@webonaut.com>
Øyvind Kolbu <oyvind@kebab.gaffel.nu>
Thomas E. Zander <riggs@rrr.de>
Jeremy Messenger <mezz7@cox.net>
Without these contirbuters, and our faithful users, GNOME 2.4.0 would not
be possible.
Please check the FreeBSD GNOME site for any FreeBSD gotchas, as well as
general FAQs and documentation (GNOME 2.4 updates to be posted soon). The
best way to upgrade so that you get all shared library dependencies is:
portupgrade -rf -m BATCH=yes atk
portupgrade -R -m BATCH=yes gnome2
Approved by: portmgr (kris, will, myself implicitly)
Requested by: re as well as many other users
2003-09-18 08:49:37 +02:00
|
|
|
DIST_SUBDIR= gnome2
|
2002-07-15 23:42:38 +02:00
|
|
|
|
|
|
|
MAINTAINER= lioux@FreeBSD.org
|
2003-02-23 20:58:35 +01:00
|
|
|
COMMENT= Development framework for creating media applications
|
2002-07-15 23:42:38 +02:00
|
|
|
|
2003-04-22 07:46:20 +02:00
|
|
|
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
|
2002-07-15 23:42:38 +02:00
|
|
|
|
2002-11-14 18:14:40 +01:00
|
|
|
USE_X_PREFIX= yes
|
2002-07-28 07:27:43 +02:00
|
|
|
USE_BISON= yes
|
2002-07-15 23:42:38 +02:00
|
|
|
USE_BZIP2= yes
|
2004-04-05 05:11:39 +02:00
|
|
|
USE_PYTHON= yes
|
2002-10-26 18:25:05 +02:00
|
|
|
USE_GMAKE= yes
|
2004-04-05 05:11:39 +02:00
|
|
|
USE_REINPLACE= yes
|
2003-04-22 07:46:20 +02:00
|
|
|
WANT_GNOME= yes
|
2002-11-14 18:14:40 +01:00
|
|
|
USE_GNOME= gnomehack \
|
2003-04-22 07:46:20 +02:00
|
|
|
gnomeprefix \
|
|
|
|
glib20 \
|
Update to GNOME 2.4.0. For all the goodies on what's changed, known issues,
future plans, etc., please see http://www.gnome.org/start/2.4/.
This commit represents work done by adamw, bland, and myself as well as
many other contributers:
Koop Mast <einekoai@chello.nl>
Akifyev Sergey <asa@gascom.ru>
Franz Klammer <klammer@webonaut.com>
Øyvind Kolbu <oyvind@kebab.gaffel.nu>
Thomas E. Zander <riggs@rrr.de>
Jeremy Messenger <mezz7@cox.net>
Without these contirbuters, and our faithful users, GNOME 2.4.0 would not
be possible.
Please check the FreeBSD GNOME site for any FreeBSD gotchas, as well as
general FAQs and documentation (GNOME 2.4 updates to be posted soon). The
best way to upgrade so that you get all shared library dependencies is:
portupgrade -rf -m BATCH=yes atk
portupgrade -R -m BATCH=yes gnome2
Approved by: portmgr (kris, will, myself implicitly)
Requested by: re as well as many other users
2003-09-18 08:49:37 +02:00
|
|
|
pkgconfig \
|
2003-04-22 07:46:20 +02:00
|
|
|
libxml2
|
2004-08-02 21:51:38 +02:00
|
|
|
USE_LIBTOOL_VER=15
|
2002-07-15 23:42:38 +02:00
|
|
|
CONFIGURE_ARGS= --disable-tests \
|
|
|
|
--disable-failing-tests
|
|
|
|
CONFIGURE_ENV= PKG_CONFIG=${PKG_CONFIG} \
|
|
|
|
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
2003-02-05 19:20:43 +01:00
|
|
|
PLIST_SUB= \
|
2004-04-05 05:11:39 +02:00
|
|
|
VERSION="${GST_VERSION}" \
|
2004-08-02 21:51:38 +02:00
|
|
|
SHLIB_VERSION="${SHLIB_VERSION}" \
|
|
|
|
PORTVERSION="${PORTVERSION}"
|
2002-07-15 23:42:38 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
2004-04-05 05:11:39 +02:00
|
|
|
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 \
|
2004-08-02 21:51:38 +02:00
|
|
|
gst-xmllaunch-${GST_VERSION}.1 gst-xmlinspect-${GST_VERSION}.1
|
2002-07-15 23:42:38 +02:00
|
|
|
|
|
|
|
PKG_CONFIG?="${LOCALBASE}/bin/pkg-config"
|
2004-04-05 05:11:39 +02:00
|
|
|
GST_VERSION=${PORTVERSION:C/..$//}
|
2002-07-15 23:42:38 +02:00
|
|
|
|
2003-02-05 19:20:43 +01:00
|
|
|
# library minor number
|
2004-08-16 23:21:59 +02:00
|
|
|
SHLIB_VERSION= 5
|
2002-07-15 23:42:38 +02:00
|
|
|
|
2002-10-26 18:25:05 +02:00
|
|
|
post-install:
|
|
|
|
# register plugins
|
2004-08-02 21:51:38 +02:00
|
|
|
-@${PREFIX}/bin/gst-register-${GST_VERSION} \
|
|
|
|
--gst-registry=${PREFIX}/share/gnome/cache/gstreamer-${GST_VERSION}/registry.xml 2>/dev/null
|
2002-10-26 18:25:05 +02:00
|
|
|
|
2003-02-05 19:20:43 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2003-04-22 07:46:20 +02:00
|
|
|
.if ${HAVE_GNOME:Mlibgnomeui}!=""
|
|
|
|
USE_GNOME+= libgnomeui
|
2003-02-05 19:20:43 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|