[BACK]Return to plugins.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / multimedia / gst-plugins1-base

File: [cvs.NetBSD.org] / pkgsrc / multimedia / gst-plugins1-base / plugins.mk (download)

Revision 1.5, Sun Apr 15 09:40:05 2018 UTC (23 months, 2 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, HEAD
Changes since 1.4: +2 -2 lines

gstreamer1: updated to 1.12.5

Bugs fixed in 1.12.5:

pad: fix some stream deactivation deadlocks/races
registrychunks: don't read from unaligned memory when loading registry
ptp: fix build failure with #undef USE_MEASUREMENT_FILTERING
downloadbuffer: Don't hold the mutex while posting the download-complete message
playbin3: Fix accessing invalid index in GstStream when received select-stream event
id3v2: re-fix handling of ID3 v2.4 tags with extended headers
audio: fix handling of U32BE format
videodecoder: Reset QoS time after pushing segment. This fixes playbin gapless playback with videos.
subparse: push out of last chunk of text if last line has no newline
aacparse: When parsing raw input, accept frames of any size. This fixes handling of encoded silence.
splitmuxsrc: Improve not-linked handling.
rtspsrc: also proxy multicast-iface property to RTCP udpsrc
flacdec: flush flac decoder on lost sync, so that it can re-sync.
matroskamux: Only mark new clusters as keyframe if they start on a keyframe or we're muxing only audio
matroskamux: Clip maximum cluster duration to the maximum possible value
h264parse: reset internal 'state' variable properly
x264enc: fix build with newer x264 with support for multiple bit depths
x265enc: Fix tagging of keyframes on output buffers
glimagesink: Correct PAR in output caps when transforming
vtdec: destroy and create the GL context on start()/stop(), fixing a refcount loop
player: fix criticals when reading info/track properties that are NULL
lv2: fix inverted boolean properties
rtponviftimestamp: fix state change function init/reset, fixing memory corruption or leaks on shutdown
libav: some build issues fixes
rtsp-server: Place netaddress meta on packets received via TCP. Fixes keep-alive via RTCP in TCP interleaved mode.
rtsp-server: gi annotation fixes
gst-libav: internal ffmpeg copy was updated to ffmpeg 3.3.6
Various fixes for memory leaks, deadlocks and crashes in all modules
... and many, many more!

# $NetBSD: plugins.mk,v 1.5 2018/04/15 09:40:05 adam 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.

PKGNAME=	${DISTNAME:S/plugins/plugins1/}
CATEGORIES=	multimedia gnome
MASTER_SITES=	https://gstreamer.freedesktop.org/src/gst-plugins-${GST_PLUGINS1_TYPE}/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://gstreamer.freedesktop.org/
COMMENT=	Open source multimedia framework -
LICENSE=	gnu-gpl-v2

DISTINFO_FILE=	${.CURDIR}/../../multimedia/gst-plugins1-${GST_PLUGINS1_TYPE}/distinfo
FILESDIR=	${.CURDIR}/../../multimedia/gst-plugins1-${GST_PLUGINS1_TYPE}/files
PATCHDIR=	${.CURDIR}/../../multimedia/gst-plugins1-${GST_PLUGINS1_TYPE}/patches

USE_TOOLS+=		gmake pkg-config

CONFIGURE_ARGS+=	--disable-examples
CONFIGURE_ARGS+=	--disable-experimental
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

# A package building a single plugin of gst-plugins1 has to include this
# file and define the following variables:
#    GST_PLUGINS1_NAME -  The name of the plugin, to be added to the package
#                            name and the comment.
#    GST_PLUGINS1_DIRS -  The directory where the plugin resides; a relative
#                            path from WRKSRC.
#    GST_PLUGINS1_FLAGS - The name of the flag used to enable the plugin.
#                            Defaults to GST_PLUGINS1_NAME.
.if defined(GST_PLUGINS1_NAME) && !empty(GST_PLUGINS1_NAME)

.include "../../mk/bsd.prefs.mk"

GST_PLUGINS1_DIRS?=	non-existent

.  for _f_ in ${GST_PLUGINS1_FLAGS}
CONFIGURE_ARGS:=	${CONFIGURE_ARGS:S/--disable-${_f_}/--enable-${_f_}/}
.  endfor


# Fix paths to already installed libraries (by the gst-plugins package).
SUBST_MESSAGE.libs=	Fixing path to dependent libraries.
SUBST_STAGE.libs=	pre-configure
.  for _d_ in ${GST_PLUGINS1_DIRS}
SUBST_FILES.libs+=	${_d_}/Makefile.in
.  endfor
SUBST_SED.libs=		-e 's|$$(top_builddir)/gst-libs/gst/.*/libgst|${BUILDLINK_PREFIX.gst-plugins1-${GST_PLUGINS1_TYPE}}/lib/libgst|g'

.include "../../multimedia/gst-plugins1-${GST_PLUGINS1_TYPE}/buildlink3.mk"

# libtool(1) of /usr/bin/libtool is required to build gstreamer 1.0.
# I have no idea how to fix the build with libtool-base from pkgsrc...
# https://bugzilla.gnome.org/show_bug.cgi?id=726518
SUBST_CLASSES.OpenBSD+=		fix-libtool
SUBST_STAGE.fix-libtool=	pre-configure
SUBST_MESSAGE.fix-libtool=	Fix libtool path
.for _d_ in app audio fft pbutils riff rtp rtsp sdp tag video
SUBST_FILES.fix-libtool+=	gst-libs/gst/${_d_}/Makefile.in
SUBST_SED.fix-libtool=		-e 's,--libtool=\"$$(top_builddir)/libtool\",--libtool=\"/usr/bin/libtool\",g'

.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../multimedia/gstreamer1/buildlink3.mk"