svn commit: r463281 - in head/multimedia: . harvid harvid/files
Yuri Victorovich
yuri at FreeBSD.org
Thu Mar 1 06:23:37 UTC 2018
Author: yuri
Date: Thu Mar 1 06:23:36 2018
New Revision: 463281
URL: https://svnweb.freebsd.org/changeset/ports/463281
Log:
New port: multimedia/harvid: Extract still images from movies and serve them via HTTP
PR: 214605
Submitted by: Marcel Bonnet <marcelbonnet at gmail.com>
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D14495
Added:
head/multimedia/harvid/
head/multimedia/harvid/Makefile (contents, props changed)
head/multimedia/harvid/distinfo (contents, props changed)
head/multimedia/harvid/files/
head/multimedia/harvid/files/patch-common.mak (contents, props changed)
head/multimedia/harvid/files/patch-src_Makefile (contents, props changed)
head/multimedia/harvid/pkg-descr (contents, props changed)
Modified:
head/multimedia/Makefile
Modified: head/multimedia/Makefile
==============================================================================
--- head/multimedia/Makefile Thu Mar 1 06:16:12 2018 (r463280)
+++ head/multimedia/Makefile Thu Mar 1 06:23:36 2018 (r463281)
@@ -157,6 +157,7 @@
SUBDIR += gtk-youtube-viewer
SUBDIR += gxine
SUBDIR += handbrake
+ SUBDIR += harvid
SUBDIR += imagination
SUBDIR += iriverter
SUBDIR += iso2mkv
Added: head/multimedia/harvid/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/harvid/Makefile Thu Mar 1 06:23:36 2018 (r463281)
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+PORTNAME= harvid
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.8.2
+CATEGORIES= multimedia
+
+MAINTAINER= marcelbonnet at gmail.com
+COMMENT= Extract still images from movies and serve them via HTTP
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \
+ libpng16.so:graphics/png
+
+USES= gmake jpeg localbase pkgconfig
+USE_GITHUB= yes
+GH_ACCOUNT= x42
+
+MAKE_JOBS_UNSAFE= yes # https://github.com/x42/harvid/issues/5
+
+PLIST_FILES= bin/harvid \
+ man/man1/harvid.1.gz
+
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/harvid
+
+.include <bsd.port.mk>
Added: head/multimedia/harvid/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/harvid/distinfo Thu Mar 1 06:23:36 2018 (r463281)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1519465247
+SHA256 (x42-harvid-v0.8.2_GH0.tar.gz) = 3e3e22f554c7c8f0efe3ca400200e95c9fd5c0495cc76c4ae08991bc2abbc358
+SIZE (x42-harvid-v0.8.2_GH0.tar.gz) = 116541
Added: head/multimedia/harvid/files/patch-common.mak
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/harvid/files/patch-common.mak Thu Mar 1 06:23:36 2018 (r463281)
@@ -0,0 +1,11 @@
+--- common.mak.orig 2018-02-24 09:43:21 UTC
++++ common.mak
+@@ -4,7 +4,7 @@ CFLAGS ?= -Wall -g -O2
+ PREFIX ?= /usr/local
+
+ bindir ?= $(PREFIX)/bin
+-mandir ?= $(PREFIX)/share/man
++mandir ?= $(PREFIX)/man
+ libdir ?= $(PREFIX)/lib
+ docdir ?= $(PREFIX)/share/doc
+ includedir ?= $(PREFIX)/include
Added: head/multimedia/harvid/files/patch-src_Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/harvid/files/patch-src_Makefile Thu Mar 1 06:23:36 2018 (r463281)
@@ -0,0 +1,15 @@
+--- src/Makefile.orig 2018-02-24 09:51:55 UTC
++++ src/Makefile
+@@ -16,9 +16,9 @@ ifeq ($(shell PKG_CONFIG_PATH=$(PKG_CONF
+ $(error "libpng is required - install libpng-dev")
+ endif
+
+-ifeq ($(shell $(ECHO) "\#include <stdio.h>\n\#include <jpeglib.h>\nint main() { struct jpeg_error_mgr jerr; jpeg_std_error(&jerr); return 0; }" | $(CC) -pipe -x c -o $(CONFIGTEMP) $(ARCHINCLUDES) $(LDFLAGS) - -ljpeg 2>/dev/null || echo no; $(RM) -f $(CONFIGTEMP)), no)
+- $(error "libjpeg is required - install libjpeg-dev, libjpeg8-dev or libjpeg62-dev")
+-endif
++#ifeq ($(shell $(ECHO) "\#include <stdio.h>\n\#include <jpeglib.h>\nint main() { struct jpeg_error_mgr jerr; jpeg_std_error(&jerr); return 0; }" | $(CC) -pipe -x c -o $(CONFIGTEMP) $(ARCHINCLUDES) $(LDFLAGS) - -ljpeg 2>/dev/null || echo no; $(RM) -f $(CONFIGTEMP)), no)
++# $(error "libjpeg is required - install libjpeg-dev, libjpeg8-dev or libjpeg62-dev")
++#endif
+
+ FLAGS=-I../libharvid/
+ FLAGS+=$(ARCHINCLUDES) $(ARCHFLAGS)
Added: head/multimedia/harvid/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/harvid/pkg-descr Thu Mar 1 06:23:36 2018 (r463281)
@@ -0,0 +1,6 @@
+Harvid efficiently provides frame-accurate data and acts as second level
+cache for rendering the video-timeline in Ardour, but it is not limited to
+that: it has applications for any task that requires a high-performance
+frame-accurate online image extraction processor.
+
+WWW: https://x42.github.com/harvid/
More information about the svn-ports-head
mailing list