# -*- 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 PortSystem 1.0 PortGroup meson 1.0 # https://bugzilla.gnome.org/show_bug.cgi?id=636134 PortGroup muniversal 1.0 name gstreamer1-gst-plugins-ugly set my_name gst-plugins-ugly # please only commit stable updates (even numbered releases) version 1.24.9 revision 0 description A set of good-quality plug-ins for GStreamer that might pose distribution problems. long_description 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. maintainers nomaintainer categories gnome homepage https://gstreamer.freedesktop.org/modules/${my_name}.html master_sites https://gstreamer.freedesktop.org/src/${my_name}/ distname ${my_name}-${version} license GPL-2+ LGPL-2+ use_xz yes checksums rmd160 78a38eb6016dd0c6439a9d19b27db9bb93f23329 \ sha256 4b6b30110f38cd05eb67422297142b75a55fe00003105f48b13603e6761cc3b6 \ size 229116 set py_ver 3.12 set py_ver_nodot [string map {. {}} ${py_ver}] set python.bin ${prefix}/bin/python${py_ver} depends_build-append \ path:bin/pkg-config:pkgconfig \ port:python${py_ver_nodot} depends_lib-append port:a52dec \ path:lib/pkgconfig/gobject-introspection-1.0.pc:gobject-introspection \ port:gstreamer1-gst-plugins-base \ port:libcdio \ port:libdvdread \ port:libmpeg2 \ port:x264 post-patch { reinplace "s|/usr/bin/env python3|${python.bin}|" \ ${worksrcpath}/scripts/extract-release-date-from-doap-file.py \ ${worksrcpath}/scripts/dist-translations.py } configure.cflags-append \ -funroll-loops \ -fstrict-aliasing variant gpl description "Build plug-ins that have GPL-licensed dependencies" { configure.args-append \ -Dgpl=enabled } default_variants +gpl livecheck.type regex livecheck.url ${master_sites} livecheck.regex "${my_name}-(\\d+\\\.\\d*\[02468\](?:\\.\\d+)*)${extract.suffix}"