pkgsrc/multimedia/gst-plugins0.10-base/plugins.mk
wiz dfc555d7aa Update to 0.10.3:
Changes since 0.10.2:
      * typefind improvements
      * Ogg decoding and encoding fixes
      * Improved audio and video sink classes
      * Bug and leak fixes
      * Improved video scaling
      * On-the-fly visualisation switching
      * Subtitle support

Bugs fixed since 0.10.2:
      * 330244 : gsttextoverlay.c:895: 'struct _GstCollectData' has no mem...
      * 324000 : [playbin] post error or message on unknown input
      * 153004 : [typefind] can't identify mp3 file with one single mpeg f...
      * 323874 : [playbin] leaks sinks and threads when using gconfaudiosink
      * 324626 : ffmpegcolorspace support for fourcc " UYVY "
      * 326447 : check that all elements in -base pass queries they can't ...
      * 328263 : Fix build with gcc 2.95
      * 328279 : [decodebin] timeout issue when pre-rolling
      * 329326 : Fix oggmux removing pads from collect pads
2006-02-13 19:19:44 +00:00

84 lines
3.2 KiB
Makefile

# $NetBSD: plugins.mk,v 1.3 2006/02/13 19:19:44 wiz Exp $
#
# This file is shared across the gst-plugins-{base,good} packages to
# simplify their code. It provides a framework to write simple packages
# providing individual plugins; note that these packages must not include
# this file, but use the correct Makefile.common instead.
#
DISTNAME?= gst-plugins-${GST_PLUGINS0.10_TYPE}-0.10.3
PKGNAME= ${DISTNAME:S/plugins/plugins0.10/}
CATEGORIES= multimedia gnome
MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-plugins-${GST_PLUGINS0.10_TYPE}/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= jmmv@NetBSD.org
HOMEPAGE= http://www.gstreamer.net/
COMMENT= Open source multimedia framework -
DISTINFO_FILE= ${.CURDIR}/../../multimedia/gst-plugins0.10-${GST_PLUGINS0.10_TYPE}/distinfo
FILESDIR= ${.CURDIR}/../../multimedia/gst-plugins0.10-${GST_PLUGINS0.10_TYPE}/files
PATCHDIR= ${.CURDIR}/../../multimedia/gst-plugins0.10-${GST_PLUGINS0.10_TYPE}/patches
GNU_CONFIGURE= yes
USE_TOOLS+= gmake pkg-config
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
CONFIGURE_ARGS+= --disable-examples
CONFIGURE_ARGS+= --disable-debug
CONFIGURE_ARGS+= --disable-valgrind
CONFIGURE_ARGS+= --enable-external
CONFIGURE_ARGS+= --enable-nls
CONFIGURE_ARGS+= --enable-rpath
CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc/gst-plugins-0.10
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Msunpro)
# SunPro cc understands __func__ but CC does not, so disable explicitly.
CONFIGURE_ENV+= have_func=no
.endif
# A package building a single plugin of gst-plugins0.10 has to include this
# file and define the following variables:
# GST_PLUGINS0.10_NAME - The name of the plugin, to be added to the package
# name and the comment.
# GST_PLUGINS0.10_DIRS - The directory where the plugin resides; a relative
# path from WRKSRC.
# GST_PLUGINS0.10_FLAGS - The name of the flag used to enable the plugin.
# Defaults to GST_PLUGINS0.10_NAME.
.if defined(GST_PLUGINS0.10_NAME) && !empty(GST_PLUGINS0.10_NAME)
PKGNAME:= ${PKGNAME:S/${GST_PLUGINS0.10_TYPE}/${GST_PLUGINS0.10_NAME}/}
COMMENT+= ${GST_PLUGINS0.10_NAME} plugin
GST_PLUGINS0.10_FLAGS?= ${GST_PLUGINS0.10_NAME}
GST_PLUGINS0.10_DIRS?= non-existent
.for _f_ in ${GST_PLUGINS0.10_FLAGS}
CONFIGURE_ARGS:= ${CONFIGURE_ARGS:S/--disable-${_f_}/--enable-${_f_}/}
.endfor
.undef _f_
BUILD_DIRS= ${WRKSRC}/${GST_PLUGINS0.10_DIRS}
INSTALL_DIRS= ${WRKSRC}/${GST_PLUGINS0.10_DIRS}
# Fix paths to already installed libraries (by the gst-plugins package).
SUBST_CLASSES+= libs
SUBST_MESSAGE.libs= "Fixing path to dependent libraries."
SUBST_STAGE.libs= pre-configure
SUBST_FILES.libs=
.for _d_ in ${GST_PLUGINS0.10_DIRS}
SUBST_FILES.libs+= ${_d_}/Makefile.in
.endfor
.undef _d_
SUBST_SED.libs= -e 's|$$(top_builddir)/gst-libs/gst/.*/libgst|${BUILDLINK_PREFIX.gst-plugins0.10-${GST_PLUGINS0.10_TYPE}}/lib/libgst|g'
.include "../../multimedia/gst-plugins0.10-${GST_PLUGINS0.10_TYPE}/buildlink3.mk"
.endif
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/liboil/buildlink3.mk"
.include "../../multimedia/gstreamer0.10/buildlink3.mk"