28520813eb
changes: -handle API changes in unstable glib2 (not relevant to pkgsrc yet) -minor fixes
75 lines
2.4 KiB
Makefile
75 lines
2.4 KiB
Makefile
# $NetBSD: Makefile,v 1.44 2011/07/12 08:55:07 drochner Exp $
|
|
#
|
|
|
|
DISTNAME= gstreamer-0.10.35
|
|
PKGNAME= ${DISTNAME:S/gstreamer/gstreamer0.10/}
|
|
CATEGORIES= multimedia gnome
|
|
MASTER_SITES= http://gstreamer.freedesktop.org/src/gstreamer/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.gstreamer.net/
|
|
COMMENT= Open source multimedia framework
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= bison flex gmake perl pkg-config
|
|
|
|
# queue2 moved from gst-plugins-base to here
|
|
CONFLICTS+= gst-plugins0.10-base<0.10.26
|
|
|
|
CONFIGURE_ARGS+= --disable-examples
|
|
CONFIGURE_ARGS+= --disable-tests
|
|
CONFIGURE_ENV+= ac_cv_path_PYTHON=${TRUE:Q}
|
|
CONFIGURE_ENV+= ac_cv_path_XSLTPROC=${TRUE:Q}
|
|
|
|
BUILD_DEPENDS+= flex>=2.5.31:../../devel/flex
|
|
TOOLS_PLATFORM.flex= ${LOCALBASE}/bin/flex
|
|
|
|
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"
|
|
|
|
.if ${OPSYS} == "FreeBSD"
|
|
CONFIGURE_ENV+= ac_cv_func_register_printf_function="no"
|
|
.endif
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
# We must have a glib2 compiled with the RTLD_GLOBAL fix; if not, plugins
|
|
# won't work at all.
|
|
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.4.0nb1
|
|
.endif
|
|
.undef f
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.gstreamer
|
|
PKG_SUPPORTED_OPTIONS= gstcheck
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
PLIST_VARS+= gstcheck
|
|
.if !empty(PKG_OPTIONS:Mgstcheck)
|
|
.include "../../devel/check/buildlink3.mk"
|
|
PLIST.gstcheck= yes
|
|
# don't worry if the "GstABI" check fails -- GstPlugin contains
|
|
# off_t and time_t which are system dependent
|
|
TEST_TARGET= check-torture
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-check
|
|
.endif
|
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|