aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/nginx-devel/Makefile17
-rw-r--r--www/nginx-devel/distinfo2
-rw-r--r--www/nginx/Makefile17
-rw-r--r--www/nginx/distinfo2
4 files changed, 38 insertions, 0 deletions
diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile
index 43f0fd0951be..60218dab1d35 100644
--- a/www/nginx-devel/Makefile
+++ b/www/nginx-devel/Makefile
@@ -87,6 +87,7 @@ OPTIONS_DEFINE= \
HTTP_UPLOAD_PROGRESS \
HTTP_UPSTREAM_FAIR \
HTTP_UPSTREAM_STICKY \
+ HTTP_VIDEO_THUMBEXTRACTOR \
HTTP_ZIP \
ARRAYVAR \
BROTLI \
@@ -188,6 +189,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
@@ -622,6 +624,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=dynamic
diff --git a/www/nginx-devel/distinfo b/www/nginx-devel/distinfo
index 2e6a19ddd6d6..dea081307f7c 100644
--- a/www/nginx-devel/distinfo
+++ b/www/nginx-devel/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 (cubicdaiya-ngx_dynamic_upstream-v0.1.3_GH0.tar.gz) = bf60cf196c86193376d11f8c7a3826994b24a48bb36943bab8a25af6e776af3b
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