# -*- 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 github 1.0 PortGroup muniversal 1.0 github.setup libass libass 0.17.1 revision 0 conflicts libass-devel checksums rmd160 a476eb0465a5b48e6a90c62d162bec8b04a557e3 \ sha256 4a5076fb33cce541304b1664a208bee168c0a6af7105c377dba2a6c76895d7f3 \ size 286049 categories multimedia license ISC maintainers nomaintainer description subtitle renderer for the ASS/SSA subtitle format long_description \ libass is a portable subtitle renderer for the \ ASS/SSA (Advanced Substation Alpha/Substation Alpha) \ subtitle format. It is mostly compatible with VSFilter. subport libass-devel { github.setup libass libass 6b895b478d83acc2ffa261c38d3b491b32d46a0b version 2024.04.08 conflicts libass checksums rmd160 f1881fea4b4b4d15890913f07f45f46132bf32b0 \ sha256 4f5afc242aac76bb12ea08e9205a5d327939270c7439af0c7db3bed33482157e \ size 316343 github.tarball_from archive } depends_build port:pkgconfig \ port:m4 \ port:nasm depends_lib port:fribidi \ port:fontconfig \ path:lib/pkgconfig/harfbuzz.pc:harfbuzz use_autoreconf yes configure.args --enable-fontconfig \ --disable-silent-rules # ass.h:421: error: wrong number of arguments specified for 'deprecated' attribute compiler.blacklist-append *gcc-3.* *gcc-4.* # https://trac.macports.org/ticket/65860 platform darwin powerpc { compiler.blacklist-append clang } if {${universal_possible} && [variant_isset universal]} { # Needed by configure to correctly set the yasm build flags. set merger_host(arm64) "aarch64-apple-${os.platform}${os.major}.${os.minor}.0" set merger_host(i386) "i386-apple-${os.platform}${os.major}.${os.minor}.0" set merger_host(ppc) "powerpc-apple-${os.platform}${os.major}.${os.minor}.0" set merger_host(ppc64) "powerpc64-apple-${os.platform}${os.major}.${os.minor}.0" set merger_host(x86_64) "x86_64-apple-${os.platform}${os.major}.${os.minor}.0" # I don't feel safe using a *86* match here. Who knows what other arch could # be matching in the future. if {"i386" in ${configure.universal_archs} || "x86_64" in ${configure.universal_archs}} { depends_build-append port:yasm } lappend merger_configure_args(i386) --enable-asm lappend merger_configure_args(x86_64) --enable-asm lappend merger_configure_env(i386) LDFLAGS=-Wl,-read_only_relocs,suppress } else { if {${configure.build_arch} in "i386 x86_64"} { depends_build-append port:yasm configure.args-append --enable-asm } if {${configure.build_arch} eq "i386"} { configure.ldflags-append -Wl,-read_only_relocs,suppress } } post-destroot { set docdir ${prefix}/share/doc/${name} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} COPYING Changelog README.md ${destroot}${docdir} }