diff --git a/multimedia/Makefile b/multimedia/Makefile index f0141502a0b4c..b18dd1effb3f1 100644 --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -200,6 +200,7 @@ SUBDIR += libvdpau-va-gl SUBDIR += libvlcpp SUBDIR += libvpx + SUBDIR += libwebm SUBDIR += libx264 SUBDIR += libxine SUBDIR += libxspf diff --git a/multimedia/libwebm/Makefile b/multimedia/libwebm/Makefile new file mode 100644 index 0000000000000..8e3f769a3eaf5 --- /dev/null +++ b/multimedia/libwebm/Makefile @@ -0,0 +1,24 @@ +PORTNAME= libwebm +DISTVERSIONPREFIX= libwebm- +DISTVERSION= 1.0.0.31 +CATEGORIES= multimedia + +MAINTAINER= yuri@FreeBSD.org +COMMENT= WebM video format +WWW= https://www.webmproject.org/ + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.TXT + +USES= cmake:testing compiler:c++11-lang + +USE_GITHUB= yes +GH_ACCOUNT= webmproject +GH_TUPLE= google:googletest:release-1.11.0:gtest/../googletest + +CMAKE_ON= ENABLE_IWYU \ + ENABLE_WEBM_PARSER \ + BUILD_SHARED_LIBS +CMAKE_TESTING_ON= ENABLE_TESTS # it's not clear how to run tests, some test executables show failures when run + +.include diff --git a/multimedia/libwebm/distinfo b/multimedia/libwebm/distinfo new file mode 100644 index 0000000000000..9d15f6e8a6340 --- /dev/null +++ b/multimedia/libwebm/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1708391912 +SHA256 (webmproject-libwebm-libwebm-1.0.0.31_GH0.tar.gz) = 616cfdca1c869222dc60d5a49d112c1464040390e3876afca4d385347c6ce55e +SIZE (webmproject-libwebm-libwebm-1.0.0.31_GH0.tar.gz) = 501573 +SHA256 (google-googletest-release-1.11.0_GH0.tar.gz) = b4870bf121ff7795ba20d20bcdd8627b8e088f2d1dab299a031c1034eddc93d5 +SIZE (google-googletest-release-1.11.0_GH0.tar.gz) = 886330 diff --git a/multimedia/libwebm/pkg-descr b/multimedia/libwebm/pkg-descr new file mode 100644 index 0000000000000..7f36f75fad001 --- /dev/null +++ b/multimedia/libwebm/pkg-descr @@ -0,0 +1,9 @@ +WebM is an open, royalty-free, media file format designed for +the web. + +WebM defines the file container structure, video and audio formats. +WebM files consist of video streams compressed with the VP8 or VP9 +video codecs and audio streams compressed with the Vorbis or Opus +audio codecs. + +The WebM file structure is based on the Matroska container. diff --git a/multimedia/libwebm/pkg-plist b/multimedia/libwebm/pkg-plist new file mode 100644 index 0000000000000..873ddd836c4b7 --- /dev/null +++ b/multimedia/libwebm/pkg-plist @@ -0,0 +1,18 @@ +include/webm/buffer_reader.h +include/webm/callback.h +include/webm/common/webmids.h +include/webm/dom_types.h +include/webm/element.h +include/webm/file_reader.h +include/webm/id.h +include/webm/istream_reader.h +include/webm/mkvmuxer/mkvmuxer.h +include/webm/mkvmuxer/mkvmuxertypes.h +include/webm/mkvmuxer/mkvmuxerutil.h +include/webm/mkvmuxer/mkvwriter.h +include/webm/mkvparser/mkvparser.h +include/webm/mkvparser/mkvreader.h +include/webm/reader.h +include/webm/status.h +include/webm/webm_parser.h +lib/libwebm.so