Skip to content

Commit

Permalink
multimedia/libwebm: New port: WebM video format
Browse files Browse the repository at this point in the history
  • Loading branch information
yurivict committed Feb 20, 2024
1 parent d683919 commit 25f01fd
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 0 deletions.
1 change: 1 addition & 0 deletions multimedia/Makefile
Expand Up @@ -200,6 +200,7 @@
SUBDIR += libvdpau-va-gl
SUBDIR += libvlcpp
SUBDIR += libvpx
SUBDIR += libwebm
SUBDIR += libx264
SUBDIR += libxine
SUBDIR += libxspf
Expand Down
24 changes: 24 additions & 0 deletions 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 <bsd.port.mk>
5 changes: 5 additions & 0 deletions 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
9 changes: 9 additions & 0 deletions 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.
18 changes: 18 additions & 0 deletions 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

0 comments on commit 25f01fd

Please sign in to comment.