libwebm 1.0.0.32: New port

This commit is contained in:
Darryl Pogue
2025-12-31 22:30:36 -08:00
committed by Renee Otten
parent 2663bd4e95
commit 154683f922
+42
View File
@@ -0,0 +1,42 @@
# -*- 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 cmake 1.1
name libwebm
version 1.0.0.32
revision 0
fetch.type git
git.url https://chromium.googlesource.com/webm/libwebm
git.branch libwebm-${version}
categories multimedia
license BSD
description WebM File Parser
long_description This library provides WebM parser and related tools.
homepage https://www.webmproject.org/
maintainers {@dpogue dpogue.ca:darryl} openmaintainer
compiler.cxx_standard 2011
configure.args-append \
-DBUILD_SHARED_LIBS=ON \
-DENABLE_WEBM_PARSER=ON \
-DENABLE_TESTS=OFF
variant tests description {Enable test support} {
configure.args-replace \
-DENABLE_TESTS=OFF \
-DENABLE_TESTS=ON
test.run yes
test.target test
}
livecheck.type regex
livecheck.url https://chromium.googlesource.com/webm/libwebm
livecheck.regex ">libwebm-(\\d+(?:\\.\\d+)*)<"