You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
17368e4348
Also drop the obsolete no_pqueue_size.patch from gst-plugins-bad; the code it touched is no longer compiled with modern OpenSSL or LibreSSL.
59 lines
2.1 KiB
Tcl
59 lines
2.1 KiB
Tcl
# -*- 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-libav
|
|
set my_name gst-libav
|
|
# please only commit stable updates (even numbered releases)
|
|
version 1.28.5
|
|
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 6e59494bb9d90e72030f90e5ea8bb28e03cf3189 \
|
|
sha256 452854656056f0b16511a1d9ad4f2679ff5e5a87c89f90cf7ee5dec005ddb1e4 \
|
|
size 216148
|
|
|
|
set py_ver 3.14
|
|
set py_ver_nodot [string map {. {}} ${py_ver}]
|
|
set python.bin ${prefix}/bin/python${py_ver}
|
|
|
|
set ffmpeg_ver 8
|
|
|
|
depends_build-append \
|
|
path:bin/pkg-config:pkgconfig \
|
|
port:python${py_ver_nodot}
|
|
|
|
depends_lib-append port:ffmpeg${ffmpeg_ver} \
|
|
path:lib/pkgconfig/glib-2.0.pc:glib2 \
|
|
port:gstreamer1 \
|
|
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}"
|