# -*- 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.1 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 fc9c78d0a7f254028db5add5f24eaaee14d6604b \ sha256 6462d36ce64b74203a8b302c109e762b1dd404a6235dfec3c4255106b7b86976 \ size 217704 set py_ver 3.12 set py_ver_nodot [string map {. {}} ${py_ver}] set python.bin ${prefix}/bin/python${py_ver} depends_build-append \ port: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}"