# -*- 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 compiler_blacklist_versions 1.0 PortGroup meson 1.0 # https://bugzilla.gnome.org/show_bug.cgi?id=636134 PortGroup muniversal 1.0 name gstreamer1-gst-libav set my_name gst-libav # please only commit stable updates (even numbered releases) version 1.24.8 revision 0 description This is gst-libav, a set of plug-ins for GStreamer. long_description ${description} maintainers nomaintainer categories gnome license GPL-2+ homepage https://gstreamer.freedesktop.org/ master_sites https://gstreamer.freedesktop.org/src/${my_name}/ distname ${my_name}-${version} use_xz yes checksums rmd160 1525b972f820fa1f7df6b357fb52538a8811fcf8 \ sha256 1e4a8fd537621d236442cf90a6e9ad5e00f87bffffdaeb1fd8bfd23719de8c75 \ size 213160 set py_ver 3.12 set py_ver_nodot [string map {. {}} ${py_ver}] set python.bin ${prefix}/bin/python${py_ver} set ffmpeg_ver 6 depends_build-append \ port:gtk-doc \ path:bin/pkg-config:pkgconfig \ port:python${py_ver_nodot} depends_lib-append port:ffmpeg${ffmpeg_ver} \ port:gstreamer1-gst-plugins-base configure.pkg_config_path ${prefix}/libexec/ffmpeg${ffmpeg_ver}/lib/pkgconfig post-patch { reinplace "s|/usr/bin/env python3|${python.bin}|" \ ${worksrcpath}/scripts/extract-release-date-from-doap-file.py \ ${worksrcpath}/scripts/gen-changelog.py } if {[lsearch [get_canonical_archs] i386] != -1} { # https://trac.macports.org/ticket/37802 # clang-139 hits https://trac.macports.org/ticket/38141 compiler.blacklist-append *gcc-4.2 {clang < 422.1.7} } livecheck.type regex livecheck.url ${master_sites} livecheck.regex "${my_name}-(\\d+\\\.\\d*\[02468\](?:\\.\\d+)*)${extract.suffix}"