pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libwebm: add new package



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Fri Jun 19 17:26:18 2026 +0200
Changeset:	fe26ba6fe2bdddb93033804d5ed46f08e308b0b0

Modified Files:
	Makefile
Added Files:
	libwebm/DESCR
	libwebm/Makefile
	libwebm/PLIST
	libwebm/TODO
	libwebm/buildlink3.mk
	libwebm/distinfo

Log Message:
libwebm: add new package

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=fe26ba6fe2bdddb93033804d5ed46f08e308b0b0

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile              |  1 +
 libwebm/DESCR         |  9 +++++++++
 libwebm/Makefile      | 19 +++++++++++++++++++
 libwebm/PLIST         | 19 +++++++++++++++++++
 libwebm/TODO          |  4 ++++
 libwebm/buildlink3.mk | 12 ++++++++++++
 libwebm/distinfo      |  5 +++++
 7 files changed, 69 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index cf9b76f3f9..294042ee9a 100644
--- a/Makefile
+++ b/Makefile
@@ -2220,6 +2220,7 @@ SUBDIR+=	libvirt11
 SUBDIR+=	libvpx-git
 SUBDIR+=	libwacom
 SUBDIR+=	libwbxml2-patched
+SUBDIR+=	libwebm
 SUBDIR+=	libxc
 SUBDIR+=	libxdiff
 SUBDIR+=	libxml++3
diff --git a/libwebm/DESCR b/libwebm/DESCR
new file mode 100644
index 0000000000..f2752d396f
--- /dev/null
+++ b/libwebm/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/libwebm/Makefile b/libwebm/Makefile
new file mode 100644
index 0000000000..7ececec72a
--- /dev/null
+++ b/libwebm/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+DISTNAME=	libwebm-1.0.0.32
+CATEGORIES=	multimedia
+MASTER_SITES=	${MASTER_SITE_GITHUB:=webmproject/}
+GITHUB_TAG=	${DISTNAME}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://www.webmproject.org/
+COMMENT=	High-quality, open and free video format for the web
+LICENSE=	modified-bsd
+
+WRKSRC=		${WRKDIR}/libwebm-${DISTNAME}
+USE_LANGUAGES=	c++
+
+CMAKE_CONFIGURE_ARGS+=	-DBUILD_SHARED_LIBS=ON
+
+.include "../../devel/cmake/build.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libwebm/PLIST b/libwebm/PLIST
new file mode 100644
index 0000000000..306b1b5d54
--- /dev/null
+++ b/libwebm/PLIST
@@ -0,0 +1,19 @@
+@comment $NetBSD$
+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
diff --git a/libwebm/TODO b/libwebm/TODO
new file mode 100644
index 0000000000..7846c12e21
--- /dev/null
+++ b/libwebm/TODO
@@ -0,0 +1,4 @@
+Finished.
+
+The user I packaged it for needs a pkg-config or cmake file for
+detection, which upstream doesn't provide.
diff --git a/libwebm/buildlink3.mk b/libwebm/buildlink3.mk
new file mode 100644
index 0000000000..04125ae7ec
--- /dev/null
+++ b/libwebm/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	libwebm
+
+.if !defined(LIBWEBM_BUILDLINK3_MK)
+LIBWEBM_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libwebm+=	libwebm>=1.0.0.32
+BUILDLINK_PKGSRCDIR.libwebm?=	../../wip/libwebm
+.endif	# LIBWEBM_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-libwebm
diff --git a/libwebm/distinfo b/libwebm/distinfo
new file mode 100644
index 0000000000..ee80ebe1d1
--- /dev/null
+++ b/libwebm/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (libwebm-1.0.0.32.tar.gz) = d6d39705c5dd0c7f39d9f2166959b0b0f1d2d5f482496db0c8fb1a0c608a4001
+SHA512 (libwebm-1.0.0.32.tar.gz) = 9da60f3e7243fb78e0c02e0b6bf8e628552c5b54631960e34bacdf0349ce690984ff9432b8ffa495051858ecc2f4e4a4c1e0b290666058298abf94c3ad99670f
+Size (libwebm-1.0.0.32.tar.gz) = 501689 bytes


Home | Main Index | Thread Index | Old Index