pkgsrc-WIP-changes archive

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

ffms2: add new package



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Fri Jan 2 19:51:35 2026 +0100
Changeset:	5b4a064b8595d463af08bb3591c449c29d853383

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

Log Message:
ffms2: 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=5b4a064b8595d463af08bb3591c449c29d853383

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

diffstat:
 Makefile            |  6 +++++-
 ffms2/DESCR         |  9 +++++++++
 ffms2/Makefile      | 26 ++++++++++++++++++++++++++
 ffms2/PLIST         |  8 ++++++++
 ffms2/buildlink3.mk | 14 ++++++++++++++
 ffms2/distinfo      |  5 +++++
 6 files changed, 67 insertions(+), 1 deletion(-)

diffs:
diff --git a/Makefile b/Makefile
index a62faceb00..98aa79028b 100644
--- a/Makefile
+++ b/Makefile
@@ -985,6 +985,7 @@ SUBDIR+=	fetchmailconf
 SUBDIR+=	feynedit
 SUBDIR+=	feynhiggs
 SUBDIR+=	ffmpeg-git
+SUBDIR+=	ffms2
 SUBDIR+=	fftjet
 SUBDIR+=	fftw-mpich
 SUBDIR+=	fftw-openmpi
@@ -5384,6 +5385,7 @@ SUBDIR+=	scummvm-git
 SUBDIR+=	scx
 SUBDIR+=	scythe
 SUBDIR+=	sdd
+SUBDIR+=	sddm
 SUBDIR+=	sdict-tools
 SUBDIR+=	sdif-git
 SUBDIR+=	sdl-sopwith
@@ -5921,7 +5923,9 @@ SUBDIR+=	umurmur
 SUBDIR+=	unagi
 SUBDIR+=	undo-tree
 SUBDIR+=	unicorn5hc
-SUBDIR+=	unifi
+SUBDIR+=	unifi10
+SUBDIR+=	unifi8
+SUBDIR+=	unifi9
 SUBDIR+=	unimrcp
 SUBDIR+=	unimrcp-apr
 SUBDIR+=	unimrcp-aprutil
diff --git a/ffms2/DESCR b/ffms2/DESCR
new file mode 100644
index 0000000000..7d1d3b8e95
--- /dev/null
+++ b/ffms2/DESCR
@@ -0,0 +1,9 @@
+FFmpegSource (usually known as FFMS or FFMS2) is a cross-platform
+wrapper library around FFmpeg. It gives you an easy, convenient
+way to say "open and decompress this media file for me, I don't
+care how you do it" and get frame- and sample-accurate access
+(usually), without having to bother with the sometimes less than
+straightforward and less than perfectly documented FFmpeg API.
+
+The library is written in C++, but the public API is pure C, so if
+you can link to a C library, you can use FFMS2.
diff --git a/ffms2/Makefile b/ffms2/Makefile
new file mode 100644
index 0000000000..d8e0d4c8fb
--- /dev/null
+++ b/ffms2/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD$
+
+DISTNAME=	ffms2-5.0
+CATEGORIES=	multimedia
+MASTER_SITES=	${MASTER_SITE_GITHUB:=FFMS/}
+GITHUB_TAG=	${PKGVERSION_NOREV}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/FFMS/ffms2/
+COMMENT=	FFmpeg based source library for easy frame accurate access
+LICENSE=	mit AND gnu-lgpl-v2.1
+#LICENSE=	OR gnu-gpl-v2 OR gnu-gpl-v3
+
+GNU_CONFIGURE=	yes
+USE_TOOLS+=	autoconf automake autoreconf pkg-config
+USE_LANGUAGES=	c c++
+USE_LIBTOOL=	yes
+
+PKGCONFIG_OVERRIDE+=	ffms2.pc.in
+
+pre-configure:
+	${MKDIR} ${WRKSRC}/src/config
+	cd ${WRKSRC} && autoreconf -fiv
+
+.include "../../multimedia/ffmpeg8/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/ffms2/PLIST b/ffms2/PLIST
new file mode 100644
index 0000000000..3c04ef5a7a
--- /dev/null
+++ b/ffms2/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD$
+bin/ffmsindex
+include/ffms.h
+include/ffmscompat.h
+lib/libffms2.la
+lib/pkgconfig/ffms2.pc
+share/doc/ffms2/ffms2-api.md
+share/doc/ffms2/ffms2-changelog.md
diff --git a/ffms2/buildlink3.mk b/ffms2/buildlink3.mk
new file mode 100644
index 0000000000..379ee56f8b
--- /dev/null
+++ b/ffms2/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	ffms2
+
+.if !defined(FFMS2_BUILDLINK3_MK)
+FFMS2_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ffms2+=	ffms2>=5.0
+BUILDLINK_PKGSRCDIR.ffms2?=	../../wip/ffms2
+
+.include "../../multimedia/ffmpeg8/buildlink3.mk"
+.endif	# FFMS2_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-ffms2
diff --git a/ffms2/distinfo b/ffms2/distinfo
new file mode 100644
index 0000000000..225359a558
--- /dev/null
+++ b/ffms2/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (ffms2-5.0.tar.gz) = 0efd1ee510c2f7c32417150c0eebe91b72c306a67138ce06e043e104b8a21087
+SHA512 (ffms2-5.0.tar.gz) = 0b75a0ad0a0ea466d1d19be55886eee5470e6b08ede8159a5099cd962ca0f41222044fc98119de64c72ecea8b64ec2e2abebb8c362f3f377b4d054ba77752348
+Size (ffms2-5.0.tar.gz) = 167985 bytes


Home | Main Index | Thread Index | Old Index