# -*- 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
# https://bugzilla.gnome.org/show_bug.cgi?id=636134
name gstreamer010-gst-plugins-ugly
set my_name gst-plugins-ugly
A set of good-quality plug-ins for GStreamer that might pose distribution \
GStreamer Ugly Plug-ins is a set of plug-ins that have good quality and \
correct functionality, but distributing them might pose problems. The \
license on either the plug-ins or the supporting libraries might not be how \
we'd like. The code might be widely known to present patent problems.
homepage https://gstreamer.freedesktop.org/modules/${my_name}.html
master_sites https://gstreamer.freedesktop.org/src/${my_name}/
distname ${my_name}-${version}
checksums rmd160 39fadcf4205bbe0fd2dc079296c816d8668cc59d \
sha256 1ca90059275c0f5dca71d4d1601a8f429b7852baed0723e820703b977e2c8df0
depends_build port:pkgconfig
depends_lib port:gstreamer010-gst-plugins-base \
configure.args mandir=${prefix}/share/man --enable-static
configure.cppflags-append "-L${prefix}/lib"
configure.cflags-append -funroll-loops -fstrict-aliasing
reinplace "s|-flat_namespace -undefined suppress|-undefined define_a_way|g" \
if {[variant_isset universal]} {
set merger_host(x86_64) x86_64-apple-${os.platform}${os.major}
set merger_host(i386) i686-apple-${os.platform}${os.major}
set merger_configure_args(x86_64) --build=x86_64-apple-${os.platform}${os.major}
set merger_configure_args(i386) --build=i686-apple-${os.platform}${os.major}
} elseif {${build_arch} eq "i386"} {
--host=i686-apple-${os.platform}${os.major} \