Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
www/nginx-devel: third-party modules management (+)
Change GH location for the third-party video-thumbextractor module. The size of the new distro is much bigger just because it contains many tests. PR: 277155
- Loading branch information
Showing
4 changed files
with
31 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
www/nginx-devel/files/extra-patch-nginx-thumbextractor-module-config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- ../nginx-video-thumbextractor-module-e81f850/config.orig 2024-02-22 08:49:55.972829000 -0500 | ||
+++ ../nginx-video-thumbextractor-module-e81f850/config 2024-02-22 08:50:05.036983000 -0500 | ||
@@ -1,9 +1,14 @@ | ||
ngx_addon_name=ngx_http_video_thumbextractor_module | ||
-ngx_feature_libs="-lavformat -lavcodec -lavutil -lavfilter -lswscale -lswresample -lpostproc -ljpeg" | ||
-HTTP_AUX_FILTER_MODULES="$HTTP_AUX_FILTER_MODULES $ngx_addon_name" | ||
-CORE_INCS="$CORE_INCS \ | ||
- $ngx_addon_dir/src \ | ||
- $ngx_addon_dir/include" | ||
-NGX_ADDON_SRCS="$NGX_ADDON_SRCS \ | ||
- ${ngx_addon_dir}/src/ngx_http_video_thumbextractor_module.c" | ||
-CORE_LIBS="$CORE_LIBS $ngx_feature_libs" | ||
+ngx_module_libs="-lavformat -lavcodec -lavutil -lavfilter -lswscale -lswresample -lpostproc -ljpeg" | ||
+ngx_module_incs="$ngx_addon_dir/include $ngx_addon_dir/src" | ||
+ | ||
+if test -n "$ngx_module_link"; then | ||
+ ngx_module_type=HTTP | ||
+ ngx_module_name=$ngx_addon_name | ||
+ ngx_module_srcs="${ngx_addon_dir}/src/ngx_http_video_thumbextractor_module.c" | ||
+ . auto/module | ||
+else | ||
+ HTTP_MODULES="$HTTP_MODULES $ngx_addon_name" | ||
+ NGX_ADDON_SRCS="$NGX_ADDON_SRCS \ | ||
+ ${ngx_addon_dir}/src/ngx_http_video_thumbextractor_module.c" | ||
+fi |