2018-08-22 11:43:40 +02:00
|
|
|
# $NetBSD: Makefile,v 1.64 2018/08/22 09:45:49 wiz Exp $
|
2006-01-18 16:35:48 +01:00
|
|
|
|
2012-02-28 19:25:14 +01:00
|
|
|
DISTNAME= gstreamer-0.10.36
|
2006-01-18 16:35:48 +01:00
|
|
|
PKGNAME= ${DISTNAME:S/gstreamer/gstreamer0.10/}
|
2018-08-22 11:43:40 +02:00
|
|
|
PKGREVISION= 10
|
2006-01-18 16:35:48 +01:00
|
|
|
CATEGORIES= multimedia gnome
|
2017-08-16 22:21:03 +02:00
|
|
|
MASTER_SITES= https://gstreamer.freedesktop.org/src/gstreamer/
|
2006-01-18 16:35:48 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2008-04-30 15:38:14 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2017-10-17 12:50:38 +02:00
|
|
|
HOMEPAGE= https://gstreamer.freedesktop.org/
|
2006-01-18 16:35:48 +01:00
|
|
|
COMMENT= Open source multimedia framework
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_PKGLOCALEDIR= yes
|
|
|
|
USE_LIBTOOL= yes
|
2007-11-04 17:57:15 +01:00
|
|
|
USE_TOOLS+= bison flex gmake perl pkg-config
|
2006-01-18 16:35:48 +01:00
|
|
|
|
2010-02-16 14:07:05 +01:00
|
|
|
# queue2 moved from gst-plugins-base to here
|
|
|
|
CONFLICTS+= gst-plugins0.10-base<0.10.26
|
|
|
|
|
2006-01-18 16:35:48 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-examples
|
|
|
|
CONFIGURE_ARGS+= --disable-tests
|
|
|
|
CONFIGURE_ENV+= ac_cv_path_PYTHON=${TRUE:Q}
|
|
|
|
CONFIGURE_ENV+= ac_cv_path_XSLTPROC=${TRUE:Q}
|
|
|
|
|
2011-11-27 00:02:57 +01:00
|
|
|
FLEX_REQD= 2.5.31
|
2008-07-15 12:05:31 +02:00
|
|
|
|
2006-01-18 16:35:48 +01:00
|
|
|
PKGCONFIG_OVERRIDE+= pkgconfig/gstreamer-base-uninstalled.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= pkgconfig/gstreamer-base.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= pkgconfig/gstreamer-check-uninstalled.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= pkgconfig/gstreamer-check.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= pkgconfig/gstreamer-controller-uninstalled.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= pkgconfig/gstreamer-controller.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= pkgconfig/gstreamer-dataprotocol.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= pkgconfig/gstreamer-net-uninstalled.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= pkgconfig/gstreamer-net.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= pkgconfig/gstreamer-uninstalled.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= pkgconfig/gstreamer.pc.in
|
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2016-02-25 16:49:43 +01:00
|
|
|
CONFIGURE_ENV.FreeBSD+= ac_cv_func_register_printf_function="no"
|
2011-03-08 18:05:17 +01:00
|
|
|
|
2006-01-18 16:35:48 +01:00
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
|
|
# We must have a glib2 compiled with the RTLD_GLOBAL fix; if not, plugins
|
|
|
|
# won't work at all.
|
2006-04-06 08:21:32 +02:00
|
|
|
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.4.0nb1
|
2006-01-18 16:35:48 +01:00
|
|
|
.endif
|
|
|
|
|
2007-02-08 22:27:14 +01:00
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.gstreamer
|
2017-01-31 16:54:39 +01:00
|
|
|
PKG_SUPPORTED_OPTIONS= gstcheck introspection
|
|
|
|
PKG_SUGGESTED_OPTIONS= introspection
|
2007-02-08 22:27:14 +01:00
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
2017-01-31 16:54:39 +01:00
|
|
|
PLIST_VARS+= gstcheck introspection
|
2007-02-08 22:27:14 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Mgstcheck)
|
|
|
|
.include "../../devel/check/buildlink3.mk"
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST.gstcheck= yes
|
2010-07-22 14:51:49 +02:00
|
|
|
# don't worry if the "GstABI" check fails -- GstPlugin contains
|
|
|
|
# off_t and time_t which are system dependent
|
2007-02-08 22:27:14 +01:00
|
|
|
TEST_TARGET= check-torture
|
2009-10-22 11:42:51 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-check
|
2007-02-08 22:27:14 +01:00
|
|
|
.endif
|
2017-01-31 16:54:39 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Mintrospection)
|
|
|
|
PLIST.introspection= yes
|
2012-10-30 13:54:15 +01:00
|
|
|
.include "../../devel/gobject-introspection/buildlink3.mk"
|
2017-01-31 16:54:39 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-introspection
|
|
|
|
.endif
|
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
2006-01-18 16:35:48 +01:00
|
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|