gstreamer1: add update of gstreamer1 to 1.18.1
This switches the build system to meson. Builds and packages fine, but we need to also update all the gst-plugins1-* packages to meson. Help very welcome.
This commit is contained in:
parent
d32bdcba58
commit
092ce89715
1
Makefile
1
Makefile
|
@ -1246,6 +1246,7 @@ SUBDIR+= gst-plugins1-svt-vp9
|
|||
SUBDIR+= gst-plugins1-ximagesrc
|
||||
SUBDIR+= gstat
|
||||
SUBDIR+= gstreamer-plugins
|
||||
SUBDIR+= gstreamer1
|
||||
SUBDIR+= gsview
|
||||
SUBDIR+= gtextutils
|
||||
SUBDIR+= gtg
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
bin/gst-inspect @PREFIX@/bin/gst-inspect-1.0
|
||||
bin/gst-launch @PREFIX@/bin/gst-launch-1.0
|
||||
bin/gst-stats @PREFIX@/bin/gst-stats-1.0
|
||||
bin/gst-typefind @PREFIX@/bin/gst-typefind-1.0
|
|
@ -0,0 +1,11 @@
|
|||
GStreamer is a library that allows the construction of graphs of
|
||||
media-handling components, ranging from simple Ogg/Vorbis playback to
|
||||
complex audio (mixing) and video (non-linear editing) processing.
|
||||
|
||||
Applications can take advantage of advances in codec and filter technology
|
||||
transparently. Developers can add new codecs and filters by writing a
|
||||
simple plugin with a clean, generic interface.
|
||||
|
||||
GStreamer is released under the LGPL.
|
||||
|
||||
This packages tracks 1.x release.
|
|
@ -0,0 +1,41 @@
|
|||
# $NetBSD: Makefile,v 1.49 2020/08/31 18:10:28 wiz Exp $
|
||||
|
||||
DISTNAME= gstreamer-1.18.1
|
||||
PKGNAME= ${DISTNAME:S/gstreamer/gstreamer1/}
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= https://gstreamer.freedesktop.org/src/gstreamer/
|
||||
EXTRACT_SUFX= .tar.xz
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= https://gstreamer.freedesktop.org/
|
||||
COMMENT= Open source multimedia framework
|
||||
LICENSE= gnu-lgpl-v2
|
||||
|
||||
USE_TOOLS+= bison flex perl pkg-config
|
||||
TEST_TARGET= check
|
||||
FLEX_REQD= 2.5.31
|
||||
|
||||
.include "options.mk"
|
||||
|
||||
PKGCONFIG_OVERRIDE+= pkgconfig/gstreamer-controller.pc.in
|
||||
PKGCONFIG_OVERRIDE+= pkgconfig/gstreamer-check.pc.in
|
||||
PKGCONFIG_OVERRIDE+= pkgconfig/gstreamer-net.pc.in
|
||||
PKGCONFIG_OVERRIDE+= pkgconfig/gstreamer.pc.in
|
||||
PKGCONFIG_OVERRIDE+= pkgconfig/gstreamer-base.pc.in
|
||||
|
||||
CHECK_PORTABILITY_SKIP+= hooks/pre-commit.hook
|
||||
|
||||
REPLACE_PYTHON+= gst/parse/get_flex_version.py
|
||||
REPLACE_PYTHON+= docs/gst-plugins-doc-cache-generator.py
|
||||
REPLACE_PYTHON+= gst/parse/gen_grammar.py.in
|
||||
REPLACE_PYTHON+= gst/parse/gen_lex.py.in
|
||||
REPLACE_PYTHON+= scripts/dist-translations.py
|
||||
REPLACE_PYTHON+= scripts/extract-release-date-from-doap-file.py
|
||||
REPLACE_PYTHON+= output/gst/parse/gen_lex.py
|
||||
REPLACE_PYTHON+= output/gst/parse/gen_grammar.py
|
||||
REPLACE_PYTHON+= output/docs/gst-plugins-doc-cache-generator
|
||||
|
||||
.include "../../lang/python/application.mk"
|
||||
.include "../../devel/meson/build.mk"
|
||||
.include "../../devel/glib2/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
|
@ -0,0 +1,213 @@
|
|||
@comment $NetBSD$
|
||||
bin/gst-inspect-1.0
|
||||
bin/gst-launch-1.0
|
||||
bin/gst-stats-1.0
|
||||
bin/gst-tester-1.0
|
||||
bin/gst-typefind-1.0
|
||||
include/gstreamer-1.0/gst/base/base-prelude.h
|
||||
include/gstreamer-1.0/gst/base/base.h
|
||||
include/gstreamer-1.0/gst/base/gstadapter.h
|
||||
include/gstreamer-1.0/gst/base/gstaggregator.h
|
||||
include/gstreamer-1.0/gst/base/gstbaseparse.h
|
||||
include/gstreamer-1.0/gst/base/gstbasesink.h
|
||||
include/gstreamer-1.0/gst/base/gstbasesrc.h
|
||||
include/gstreamer-1.0/gst/base/gstbasetransform.h
|
||||
include/gstreamer-1.0/gst/base/gstbitreader.h
|
||||
include/gstreamer-1.0/gst/base/gstbitwriter.h
|
||||
include/gstreamer-1.0/gst/base/gstbytereader.h
|
||||
include/gstreamer-1.0/gst/base/gstbytewriter.h
|
||||
include/gstreamer-1.0/gst/base/gstcollectpads.h
|
||||
include/gstreamer-1.0/gst/base/gstdataqueue.h
|
||||
include/gstreamer-1.0/gst/base/gstflowcombiner.h
|
||||
include/gstreamer-1.0/gst/base/gstpushsrc.h
|
||||
include/gstreamer-1.0/gst/base/gstqueuearray.h
|
||||
include/gstreamer-1.0/gst/base/gsttypefindhelper.h
|
||||
${PLIST.gstcheck}include/gstreamer-1.0/gst/check/check-prelude.h
|
||||
${PLIST.gstcheck}include/gstreamer-1.0/gst/check/check.h
|
||||
${PLIST.gstcheck}include/gstreamer-1.0/gst/check/gstbufferstraw.h
|
||||
${PLIST.gstcheck}include/gstreamer-1.0/gst/check/gstcheck.h
|
||||
${PLIST.gstcheck}include/gstreamer-1.0/gst/check/gstconsistencychecker.h
|
||||
${PLIST.gstcheck}include/gstreamer-1.0/gst/check/gstharness.h
|
||||
${PLIST.gstcheck}include/gstreamer-1.0/gst/check/gsttestclock.h
|
||||
${PLIST.gstcheck}include/gstreamer-1.0/gst/check/internal-check.h
|
||||
include/gstreamer-1.0/gst/controller/controller-enumtypes.h
|
||||
include/gstreamer-1.0/gst/controller/controller-prelude.h
|
||||
include/gstreamer-1.0/gst/controller/controller.h
|
||||
include/gstreamer-1.0/gst/controller/gstargbcontrolbinding.h
|
||||
include/gstreamer-1.0/gst/controller/gstdirectcontrolbinding.h
|
||||
include/gstreamer-1.0/gst/controller/gstinterpolationcontrolsource.h
|
||||
include/gstreamer-1.0/gst/controller/gstlfocontrolsource.h
|
||||
include/gstreamer-1.0/gst/controller/gstproxycontrolbinding.h
|
||||
include/gstreamer-1.0/gst/controller/gsttimedvaluecontrolsource.h
|
||||
include/gstreamer-1.0/gst/controller/gsttriggercontrolsource.h
|
||||
include/gstreamer-1.0/gst/glib-compat.h
|
||||
include/gstreamer-1.0/gst/gst.h
|
||||
include/gstreamer-1.0/gst/gstallocator.h
|
||||
include/gstreamer-1.0/gst/gstatomicqueue.h
|
||||
include/gstreamer-1.0/gst/gstbin.h
|
||||
include/gstreamer-1.0/gst/gstbuffer.h
|
||||
include/gstreamer-1.0/gst/gstbufferlist.h
|
||||
include/gstreamer-1.0/gst/gstbufferpool.h
|
||||
include/gstreamer-1.0/gst/gstbus.h
|
||||
include/gstreamer-1.0/gst/gstcaps.h
|
||||
include/gstreamer-1.0/gst/gstcapsfeatures.h
|
||||
include/gstreamer-1.0/gst/gstchildproxy.h
|
||||
include/gstreamer-1.0/gst/gstclock.h
|
||||
include/gstreamer-1.0/gst/gstcompat.h
|
||||
include/gstreamer-1.0/gst/gstconfig.h
|
||||
include/gstreamer-1.0/gst/gstcontext.h
|
||||
include/gstreamer-1.0/gst/gstcontrolbinding.h
|
||||
include/gstreamer-1.0/gst/gstcontrolsource.h
|
||||
include/gstreamer-1.0/gst/gstdatetime.h
|
||||
include/gstreamer-1.0/gst/gstdebugutils.h
|
||||
include/gstreamer-1.0/gst/gstdevice.h
|
||||
include/gstreamer-1.0/gst/gstdevicemonitor.h
|
||||
include/gstreamer-1.0/gst/gstdeviceprovider.h
|
||||
include/gstreamer-1.0/gst/gstdeviceproviderfactory.h
|
||||
include/gstreamer-1.0/gst/gstdynamictypefactory.h
|
||||
include/gstreamer-1.0/gst/gstelement.h
|
||||
include/gstreamer-1.0/gst/gstelementfactory.h
|
||||
include/gstreamer-1.0/gst/gstelementmetadata.h
|
||||
include/gstreamer-1.0/gst/gstenumtypes.h
|
||||
include/gstreamer-1.0/gst/gsterror.h
|
||||
include/gstreamer-1.0/gst/gstevent.h
|
||||
include/gstreamer-1.0/gst/gstformat.h
|
||||
include/gstreamer-1.0/gst/gstghostpad.h
|
||||
include/gstreamer-1.0/gst/gstinfo.h
|
||||
include/gstreamer-1.0/gst/gstiterator.h
|
||||
include/gstreamer-1.0/gst/gstmacros.h
|
||||
include/gstreamer-1.0/gst/gstmemory.h
|
||||
include/gstreamer-1.0/gst/gstmessage.h
|
||||
include/gstreamer-1.0/gst/gstmeta.h
|
||||
include/gstreamer-1.0/gst/gstminiobject.h
|
||||
include/gstreamer-1.0/gst/gstobject.h
|
||||
include/gstreamer-1.0/gst/gstpad.h
|
||||
include/gstreamer-1.0/gst/gstpadtemplate.h
|
||||
include/gstreamer-1.0/gst/gstparamspecs.h
|
||||
include/gstreamer-1.0/gst/gstparse.h
|
||||
include/gstreamer-1.0/gst/gstpipeline.h
|
||||
include/gstreamer-1.0/gst/gstplugin.h
|
||||
include/gstreamer-1.0/gst/gstpluginfeature.h
|
||||
include/gstreamer-1.0/gst/gstpoll.h
|
||||
include/gstreamer-1.0/gst/gstpreset.h
|
||||
include/gstreamer-1.0/gst/gstpromise.h
|
||||
include/gstreamer-1.0/gst/gstprotection.h
|
||||
include/gstreamer-1.0/gst/gstquery.h
|
||||
include/gstreamer-1.0/gst/gstregistry.h
|
||||
include/gstreamer-1.0/gst/gstsample.h
|
||||
include/gstreamer-1.0/gst/gstsegment.h
|
||||
include/gstreamer-1.0/gst/gststreamcollection.h
|
||||
include/gstreamer-1.0/gst/gststreams.h
|
||||
include/gstreamer-1.0/gst/gststructure.h
|
||||
include/gstreamer-1.0/gst/gstsystemclock.h
|
||||
include/gstreamer-1.0/gst/gsttaglist.h
|
||||
include/gstreamer-1.0/gst/gsttagsetter.h
|
||||
include/gstreamer-1.0/gst/gsttask.h
|
||||
include/gstreamer-1.0/gst/gsttaskpool.h
|
||||
include/gstreamer-1.0/gst/gsttoc.h
|
||||
include/gstreamer-1.0/gst/gsttocsetter.h
|
||||
include/gstreamer-1.0/gst/gsttracer.h
|
||||
include/gstreamer-1.0/gst/gsttracerfactory.h
|
||||
include/gstreamer-1.0/gst/gsttracerrecord.h
|
||||
include/gstreamer-1.0/gst/gsttypefind.h
|
||||
include/gstreamer-1.0/gst/gsttypefindfactory.h
|
||||
include/gstreamer-1.0/gst/gsturi.h
|
||||
include/gstreamer-1.0/gst/gstutils.h
|
||||
include/gstreamer-1.0/gst/gstvalue.h
|
||||
include/gstreamer-1.0/gst/gstversion.h
|
||||
include/gstreamer-1.0/gst/math-compat.h
|
||||
include/gstreamer-1.0/gst/net/gstnet.h
|
||||
include/gstreamer-1.0/gst/net/gstnetaddressmeta.h
|
||||
include/gstreamer-1.0/gst/net/gstnetclientclock.h
|
||||
include/gstreamer-1.0/gst/net/gstnetcontrolmessagemeta.h
|
||||
include/gstreamer-1.0/gst/net/gstnettimepacket.h
|
||||
include/gstreamer-1.0/gst/net/gstnettimeprovider.h
|
||||
include/gstreamer-1.0/gst/net/gstnetutils.h
|
||||
include/gstreamer-1.0/gst/net/gstptpclock.h
|
||||
include/gstreamer-1.0/gst/net/net-prelude.h
|
||||
include/gstreamer-1.0/gst/net/net.h
|
||||
${PLIST.introspection}lib/girepository-1.0/Gst-1.0.typelib
|
||||
${PLIST.introspection}lib/girepository-1.0/GstBase-1.0.typelib
|
||||
${PLIST.gstcheck}lib/girepository-1.0/GstCheck-1.0.typelib
|
||||
${PLIST.introspection}lib/girepository-1.0/GstController-1.0.typelib
|
||||
${PLIST.introspection}lib/girepository-1.0/GstNet-1.0.typelib
|
||||
lib/gstreamer-1.0/libgstcoreelements.so
|
||||
lib/gstreamer-1.0/libgstcoretracers.so
|
||||
lib/libgstbase-1.0.so
|
||||
lib/libgstbase-1.0.so.0
|
||||
lib/libgstbase-1.0.so.0.1801.0
|
||||
${PLIST.gstcheck}lib/libgstcheck-1.0.so
|
||||
${PLIST.gstcheck}lib/libgstcheck-1.0.so.0
|
||||
${PLIST.gstcheck}lib/libgstcheck-1.0.so.0.1801.0
|
||||
lib/libgstcontroller-1.0.so
|
||||
lib/libgstcontroller-1.0.so.0
|
||||
lib/libgstcontroller-1.0.so.0.1801.0
|
||||
lib/libgstnet-1.0.so
|
||||
lib/libgstnet-1.0.so.0
|
||||
lib/libgstnet-1.0.so.0.1801.0
|
||||
lib/libgstreamer-1.0.so
|
||||
lib/libgstreamer-1.0.so.0
|
||||
lib/libgstreamer-1.0.so.0.1801.0
|
||||
lib/pkgconfig/gstreamer-1.0.pc
|
||||
lib/pkgconfig/gstreamer-base-1.0.pc
|
||||
${PLIST.gstcheck}lib/pkgconfig/gstreamer-check-1.0.pc
|
||||
lib/pkgconfig/gstreamer-controller-1.0.pc
|
||||
lib/pkgconfig/gstreamer-net-1.0.pc
|
||||
libexec/gstreamer-1.0/gst-hotdoc-plugins-scanner
|
||||
libexec/gstreamer-1.0/gst-plugin-scanner
|
||||
libexec/gstreamer-1.0/gst-plugins-doc-cache-generator
|
||||
libexec/gstreamer-1.0/gst-ptp-helper
|
||||
man/man1/gst-inspect-1.0.1
|
||||
man/man1/gst-launch-1.0.1
|
||||
man/man1/gst-stats-1.0.1
|
||||
man/man1/gst-typefind-1.0.1
|
||||
${PLIST.gstcheck}share/aclocal/gst-element-check-1.0.m4
|
||||
share/gdb/auto-load/usr/pkg/lib/libgstreamer-1.0.so.0.1801.0-gdb.py
|
||||
${PLIST.introspection}share/gir-1.0/Gst-1.0.gir
|
||||
${PLIST.introspection}share/gir-1.0/GstBase-1.0.gir
|
||||
${PLIST.gstcheck}share/gir-1.0/GstCheck-1.0.gir
|
||||
${PLIST.introspection}share/gir-1.0/GstController-1.0.gir
|
||||
${PLIST.introspection}share/gir-1.0/GstNet-1.0.gir
|
||||
share/gstreamer-1.0/gdb/glib_gobject_helper.py
|
||||
share/gstreamer-1.0/gdb/gst_gdb.py
|
||||
share/locale/af/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/ast/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/az/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/be/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/bg/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/ca/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/cs/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/da/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/de/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/el/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/en_GB/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/eo/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/es/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/eu/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/fi/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/fr/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/fur/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/gl/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/hr/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/hu/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/id/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/it/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/ja/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/lt/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/nb/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/nl/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/pl/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/pt_BR/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/ro/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/ru/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/rw/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/sk/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/sl/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/sq/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/sr/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/sv/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/tr/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/uk/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/vi/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/zh_CN/LC_MESSAGES/gstreamer-1.0.mo
|
||||
share/locale/zh_TW/LC_MESSAGES/gstreamer-1.0.mo
|
|
@ -0,0 +1,22 @@
|
|||
# $NetBSD: buildlink3.mk,v 1.2 2020/03/08 16:47:59 wiz Exp $
|
||||
|
||||
BUILDLINK_TREE+= gstreamer1
|
||||
|
||||
.if !defined(GSTREAMER1_BUILDLINK3_MK)
|
||||
GSTREAMER1_BUILDLINK3_MK:=
|
||||
|
||||
BUILDLINK_API_DEPENDS.gstreamer1+= gstreamer1>=1.0.0
|
||||
BUILDLINK_ABI_DEPENDS.gstreamer1+= gstreamer1>=1.18.1
|
||||
BUILDLINK_PKGSRCDIR.gstreamer1?= ../../wip/gstreamer1
|
||||
|
||||
pkgbase := gstreamer1
|
||||
.include "../../mk/pkg-build-options.mk"
|
||||
|
||||
.if ${PKG_BUILD_OPTIONS.gstreamer1:Mgstcheck}
|
||||
.include "../../devel/check/buildlink3.mk"
|
||||
.endif
|
||||
|
||||
.include "../../devel/glib2/buildlink3.mk"
|
||||
.endif # GSTREAMER1_BUILDLINK3_MK
|
||||
|
||||
BUILDLINK_TREE+= -gstreamer1
|
|
@ -0,0 +1,7 @@
|
|||
$NetBSD: distinfo,v 1.40 2020/07/16 11:27:25 markd Exp $
|
||||
|
||||
SHA1 (gstreamer-1.18.1.tar.xz) = 357d560d698e1a878e5dbdb2c680db7bc992880b
|
||||
RMD160 (gstreamer-1.18.1.tar.xz) = e3ffff1059e685acc6e04b7e7d9a1b7d80aa2773
|
||||
SHA512 (gstreamer-1.18.1.tar.xz) = 550620b465a78c6e5beff65f7ab2c5b16242adb003542e808a8d88d28c6d8cbfb7dbfca25b8c86af03f3f0e057e957d9c64ce4fb2d074d457a3d8c9914bde482
|
||||
Size (gstreamer-1.18.1.tar.xz) = 2696400 bytes
|
||||
SHA1 (patch-plugins_tracers_gstrusage.c) = 36ab41bc208cd9146bed3208f56eb332f2535591
|
|
@ -0,0 +1,33 @@
|
|||
# $NetBSD: options.mk,v 1.9 2019/10/03 20:45:19 nia Exp $
|
||||
|
||||
PKG_OPTIONS_VAR= PKG_OPTIONS.gstreamer
|
||||
PKG_SUPPORTED_OPTIONS= gstreamer-gstcheck introspection gstreamer-ptp-suid
|
||||
PKG_SUGGESTED_OPTIONS= gstreamer-gstcheck introspection
|
||||
|
||||
.include "../../mk/bsd.options.mk"
|
||||
|
||||
PLIST_VARS+= gstcheck introspection
|
||||
|
||||
.if !empty(PKG_OPTIONS:Mgstreamer-gstcheck)
|
||||
.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
|
||||
|
||||
.if !empty(PKG_OPTIONS:Mintrospection)
|
||||
.include "../../devel/gobject-introspection/buildlink3.mk"
|
||||
PLIST.introspection= yes
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-introspection
|
||||
.endif
|
||||
|
||||
.if !empty(PKG_OPTIONS:Mgstreamer-ptp-suid)
|
||||
SPECIAL_PERMS+= libexec/gstreamer-1.0/gst-ptp-helper ${SETUID_ROOT_PERMS}
|
||||
CONFIGURE_ARGS+= --with-ptp-helper-permissions=setuid-root
|
||||
.else
|
||||
CONFIGURE_ARGS+= --with-ptp-helper-permissions=none
|
||||
.endif
|
|
@ -0,0 +1,15 @@
|
|||
$NetBSD: patch-plugins_tracers_gstrusage.c,v 1.1 2016/04/15 14:20:00 wiz Exp $
|
||||
|
||||
Check for the symbol that is used.
|
||||
|
||||
--- plugins/tracers/gstrusage.c.orig 2016-02-15 14:49:05.000000000 +0000
|
||||
+++ plugins/tracers/gstrusage.c
|
||||
@@ -159,7 +159,7 @@ do_stats (GstTracer * obj, guint64 ts)
|
||||
GstClockTime tthread = G_GUINT64_CONSTANT (0);
|
||||
GstClockTime dts, dtproc;
|
||||
|
||||
-#ifdef HAVE_CLOCK_GETTIME
|
||||
+#ifdef CLOCK_PROCESS_CPUTIME_ID
|
||||
{
|
||||
struct timespec now;
|
||||
|
Loading…
Reference in New Issue