# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup github 1.0 PortGroup meson 1.0 github.setup cisco openh264 2.6.0 v revision 0 categories multimedia license BSD maintainers nomaintainer description Open-source H.264 codec long_description OpenH264 is a codec library which supports \ H.264 encoding and decoding. checksums rmd160 81968c7f3848b6432d320bdc178d7411bff14881 \ sha256 558544ad358283a7ab2930d69a9ceddf913f4a51ee9bf1bfb9e377322af81a69 \ size 60302243 github.tarball_from archive depends_build-append port:gtest if {${configure.build_arch} in [list i386 x86_64]} { depends_build-append \ port:nasm } # https://github.com/cisco/openh264/issues/3805 patchfiles-append meson-build-do-not-hardcode-libc-on-darwin.diff # Undefined symbols: # "__ZN7testing8internal23MakeAndRegisterTestInfoENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcS8_S8_NS0_12CodeLocationEPKvPFvvESD_PNS0_15TestFactoryBaseE" # Also required by gtest: https://github.com/cisco/openh264/issues/3807 compiler.cxx_standard 2014 configure.cxxflags-append \ -std=c++14 if {[string match *clang* ${configure.compiler}]} { configure.cxxflags-append \ -Wno-error=deprecated-declarations } test.run yes