summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2022-01-31 23:19:26 +0000
committerryoon <ryoon@pkgsrc.org>2022-01-31 23:19:26 +0000
commitebfad4084f2673a3d00aaffa614281cbb5274290 (patch)
tree73f2911ec00fd499afeabdfd6e78da90a598dec8
parent4ef68d1cf8da85e7c9ae527edeb36ecb406927da (diff)
downloadpkgsrc-ebfad4084f2673a3d00aaffa614281cbb5274290.tar.gz
multimedia/ffplay5: import ffplay5-5.0
FFplay is a very simple and portable media player using the FFmpeg libraries and the SDL library. It is mostly used as a testbed for the various FFmpeg APIs. This package contains major version 5.
-rw-r--r--multimedia/ffplay5/DESCR5
-rw-r--r--multimedia/ffplay5/Makefile41
-rw-r--r--multimedia/ffplay5/PLIST3
3 files changed, 49 insertions, 0 deletions
diff --git a/multimedia/ffplay5/DESCR b/multimedia/ffplay5/DESCR
new file mode 100644
index 00000000000..5f8bda2f035
--- /dev/null
+++ b/multimedia/ffplay5/DESCR
@@ -0,0 +1,5 @@
+FFplay is a very simple and portable media player using the FFmpeg
+libraries and the SDL library. It is mostly used as a testbed for
+the various FFmpeg APIs.
+
+This package contains major version 5.
diff --git a/multimedia/ffplay5/Makefile b/multimedia/ffplay5/Makefile
new file mode 100644
index 00000000000..7477b3ed72a
--- /dev/null
+++ b/multimedia/ffplay5/Makefile
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.1 2022/01/31 23:19:26 ryoon Exp $
+
+PKGNAME= ${DISTNAME:S/ffmpeg/ffplay5/}
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://ffmpeg.org/
+COMMENT= Simple SDL frontend for FFmpeg
+
+DISTINFO_FILE= ${.CURDIR}/../ffmpeg5/distinfo
+
+USE_LANGUAGES= c99
+
+CONFIGURE_ARGS+= --disable-ffmpeg
+CONFIGURE_ARGS+= --disable-ffprobe
+CONFIGURE_ARGS+= --disable-encoders
+CONFIGURE_ARGS+= --disable-decoders
+CONFIGURE_ARGS+= --disable-hwaccels
+CONFIGURE_ARGS+= --disable-muxers
+CONFIGURE_ARGS+= --disable-demuxers
+CONFIGURE_ARGS+= --disable-parsers
+CONFIGURE_ARGS+= --disable-bsfs
+CONFIGURE_ARGS+= --disable-protocols
+CONFIGURE_ARGS+= --disable-devices
+CONFIGURE_ARGS+= --disable-filters
+CONFIGURE_ARGS+= --disable-htmlpages
+CONFIGURE_ARGS+= --disable-podpages
+CONFIGURE_ARGS+= --disable-txtpages
+CONFIGURE_ARGS+= --enable-ffplay
+CONFIGURE_ARGS+= --enable-dct
+CONFIGURE_ARGS+= --enable-mdct
+CONFIGURE_ARGS+= --enable-rdft
+
+INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/ffplay5 ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/doc/ffplay5.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../multimedia/ffmpeg5/buildlink3.mk"
+.include "../../multimedia/ffmpeg5/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/ffplay5/PLIST b/multimedia/ffplay5/PLIST
new file mode 100644
index 00000000000..f94e206d6d6
--- /dev/null
+++ b/multimedia/ffplay5/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2022/01/31 23:19:26 ryoon Exp $
+bin/ffplay5
+man/man1/ffplay5.1