浏览代码

ffmpeg: add choice for ssl

Waldemar Brodkorb 8 月之前
父节点
当前提交
b076cd3c45
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9 0
      package/ffmpeg/Makefile

+ 9 - 0
package/ffmpeg/Makefile

@@ -17,6 +17,15 @@ PKG_SITES:=		http://www.ffmpeg.org/releases/
 PKG_LIBNAME:=		libffmpeg
 PKG_OPTS:=		dev
 
+PKG_CHOICES_FFMPEG:=	WITH_LIBRESSL WITH_OPENSSL
+PKGCD_WITH_LIBRESSL:=	use libressl for crypto
+PKGCS_WITH_LIBRESSL:=	libressl ca-certificates
+PKGCB_WITH_LIBRESSL:=	libressl
+PKGCD_WITH_OPENSSL:=	use libopenssl for crypto
+PKGCS_WITH_OPENSSL:=	libopenssl ca-certificates
+PKGCB_WITH_OPENSSL:=	openssl
+
+
 PKG_SUBPKGS:=		LIBFFMPEG FFPROBE FFMPEG
 PKGSD_FFMPEG:=		video converter
 PKGSC_FFMPEG:=		mm/video