# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortGroup conflicts_build 1.0
PortGroup gobject_introspection 1.0
# https://bugzilla.gnome.org/show_bug.cgi?id=636134
# please only commit stable updates (even numbered releases)
description GStreamer is a library for constructing graphs of media-handling components.
long_description The applications it supports range from simple Ogg/Vorbis playback, audio/video \
streaming to complex audio (mixing) and video (non-linear editing) processing.
homepage https://${my_name}.freedesktop.org/
distname ${my_name}-${version}
master_sites https://gstreamer.freedesktop.org/src/${my_name}/
checksums rmd160 255c4044604e212a080960223a9acdbc4a8302f6 \
sha256 f94f6696c5f05a3b3a9183e39c5f5c0b779f75a04c0efa497e7920afa985ffc7 \
depends_build port:gzip \
path:lib/pkgconfig/glib-2.0.pc:glib2 \
gobject_introspection yes
patchfiles patch-gstreamer1-darwin-numcpufix-sysctl.diff \
patch-gst-gst-c-tiger-no-procpidpath.diff
# global_symbol_pipe gets set to "" on Leopard
configure.env-append PERL_PATH=${prefix}/bin/perl
configure.cflags-append -funroll-loops -fstrict-aliasing -fno-common
if {[string match "*gcc-4.2" ${configure.compiler}]} {
configure.cflags-append -std=c99