aboutsummaryrefslogtreecommitdiffstats
path: root/www/nginx
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2016-03-17 19:24:50 +0800
committerosa <osa@FreeBSD.org>2016-03-17 19:24:50 +0800
commit5d3f808b729cb00c5a70525a71531108b56bf89a (patch)
treee81fd7d56e3bedb6e851752a481c7ae767fe0246 /www/nginx
parent48336f374ffdeb8a6380ad3ec46f23beedbc1a29 (diff)
downloadfreebsd-ports-gnome-5d3f808b729cb00c5a70525a71531108b56bf89a.tar.gz
freebsd-ports-gnome-5d3f808b729cb00c5a70525a71531108b56bf89a.tar.zst
freebsd-ports-gnome-5d3f808b729cb00c5a70525a71531108b56bf89a.zip
Add third-party video_thumbextractor module, version 0.7.0.
PRs: 185847, 185850
Diffstat (limited to 'www/nginx')
-rw-r--r--www/nginx/Makefile17
-rw-r--r--www/nginx/distinfo2
2 files changed, 19 insertions, 0 deletions
diff --git a/www/nginx/Makefile b/www/nginx/Makefile
index dff37c319025..5e22c7871497 100644
--- a/www/nginx/Makefile
+++ b/www/nginx/Makefile
@@ -84,6 +84,7 @@ OPTIONS_DEFINE= \
HTTP_UPLOAD_PROGRESS \
HTTP_UPSTREAM_FAIR \
HTTP_UPSTREAM_STICKY \
+ HTTP_VIDEO_THUMBEXTRACTOR \
HTTP_ZIP \
ARRAYVAR \
BROTLI \
@@ -180,6 +181,7 @@ HTTP_UPLOAD_DESC= 3rd party upload module
HTTP_UPLOAD_PROGRESS_DESC= 3rd party uploadprogress module
HTTP_UPSTREAM_FAIR_DESC= 3rd party upstream fair module
HTTP_UPSTREAM_STICKY_DESC= 3rd party upstream sticky module
+HTTP_VIDEO_THUMBEXTRACTOR_DESC= 3rd party video_thumbextractor module
HTTP_ZIP_DESC= 3rd party http_zip module
ARRAYVAR_DESC= 3rd party array_var module
BROTLI_DESC= 3rd party brotli module
@@ -607,6 +609,21 @@ DISTFILES+= ${NGINX_UPSTREAM_STICKY_VERSION}.tar.gz:upstreamsticky
CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-goodies-nginx-sticky-module-ng-c825ea7c5c91/
.endif
+.if ${PORT_OPTIONS:MHTTP_VIDEO_THUMBEXTRACTOR}
+NGINX_VIDEO_THUMBEXTRACTOR_VERSION= 0.7.0
+LIB_DEPENDS+= libjpeg.so:${PORTSDIR}/graphics/jpeg \
+ libavformat.so:${PORTSDIR}/multimedia/ffmpeg \
+ libavcodec.so:${PORTSDIR}/multimedia/ffmpeg \
+ libavutil.so:${PORTSDIR}/multimedia/ffmpeg \
+ libswscale.so:${PORTSDIR}/multimedia/ffmpeg \
+ libMagickWand-6.so:${PORTSDIR}/graphics/ImageMagick
+GH_ACCOUNT+= wandenberg:vte
+GH_PROJECT+= nginx-video-thumbextractor-module:vte
+GH_TAGNAME+= ${NGINX_VIDEO_THUMBEXTRACTOR_VERSION}:vte
+CONFIGURE_ARGS+=--add-module=${WRKSRC_vte} --with-cc-opt="-I ${LOCALBASE}/include \
+ -I ${LOCALBASE}/include/ImageMagick"
+.endif
+
.if ${PORT_OPTIONS:MHTTP_XSLT}
USE_GNOME+= libxml2 libxslt
CONFIGURE_ARGS+=--with-http_xslt_module
diff --git a/www/nginx/distinfo b/www/nginx/distinfo
index a8ba0c2051df..5db8b812736d 100644
--- a/www/nginx/distinfo
+++ b/www/nginx/distinfo
@@ -72,6 +72,8 @@ SHA256 (vkholodkov-nginx-upload-module-aba1e3f34c_GH0.tar.gz) = 62a2c4388585aec4
SIZE (vkholodkov-nginx-upload-module-aba1e3f34c_GH0.tar.gz) = 28296
SHA256 (masterzen-nginx-upload-progress-module-v0.9.0_GH0.tar.gz) = 93e29b9b437a2e34713de54c2861ea51151624aca09f73f9f44d1caaff01a6b1
SIZE (masterzen-nginx-upload-progress-module-v0.9.0_GH0.tar.gz) = 16990
+SHA256 (wandenberg-nginx-video-thumbextractor-module-0.7.0_GH0.tar.gz) = 382bb41fa739f471fdab9fbabc5384d8ec7f25b5bb0c45c153f5cc01d428abe2
+SIZE (wandenberg-nginx-video-thumbextractor-module-0.7.0_GH0.tar.gz) = 2709351
SHA256 (openresty-drizzle-nginx-module-v0.1.9_GH0.tar.gz) = aafb79d87273eec023025333c34d6d0108026a1ce2e09b20a53e8e2d9bf65080
SIZE (openresty-drizzle-nginx-module-v0.1.9_GH0.tar.gz) = 59024
SHA256 (simpl-ngx_devel_kit-v0.2.19_GH0.tar.gz) = 501f299abdb81b992a980bda182e5de5a4b2b3e275fbf72ee34dd7ae84c4b679