--- /dev/null
+@echo off
+
+echo ##########################################################################
+echo openSSL %VERSION%
+echo ##########################################################################
+
+if NOT exist "%PRODUCT_INSTALL%\bin" mkdir %PRODUCT_INSTALL%\lib
+if NOT exist "%PRODUCT_INSTALL%\include" mkdir %PRODUCT_INSTALL%\include
+REM clean BUILD directory
+if exist "%BUILD_DIR%" rmdir /Q /S %BUILD_DIR%
+mkdir %BUILD_DIR%
+
+mkdir %PRODUCT_INSTALL%
+
+cd %SOURCE_DIR%
+xcopy amd64\include\* %PRODUCT_INSTALL%\include /E /I /Q
+if NOT %ERRORLEVEL% == 0 (
+ echo ERROR on xcopy
+ exit 1
+)
+xcopy amd64\*.lib %PRODUCT_INSTALL%\lib /E /I /Q
+if NOT %ERRORLEVEL% == 0 (
+ echo ERROR on xcopy of openssl static libraries
+ exit 1
+)
+xcopy amd64\*.dll %PRODUCT_INSTALL%\lib /E /I /Q
+if NOT %ERRORLEVEL% == 0 (
+ echo ERROR on xcopy of openssl dll files
+ exit 1
+)
+
+xcopy amd64\*.pdb %PRODUCT_INSTALL%\lib /E /I /Q
+if NOT %ERRORLEVEL% == 0 (
+ echo ERROR on xcopy of openssl pdb fils
+ exit 1
+)
+
+cd %PRODUCT_INSTALL%\lib
+copy /Y /B libcrypto-1.1.dll libcrypto.dll
+copy /Y /B libssl-1.1.dll libssl.dll
+
+echo.
+echo ########## END
set QT_OPTIONS=-platform win32-msvc2017
set QT_OPTIONS=%QT_OPTIONS% -opensource -confirm-license %PRODUCT_BUILD_TYPE%
set QT_OPTIONS=%QT_OPTIONS% -no-angle -opengl desktop -nomake examples -nomake tests
-set QT_OPTIONS=%QT_OPTIONS% -skip qtwebengine -skip wayland -skip qtgamepad -no-openssl
+set QT_OPTIONS=%QT_OPTIONS% -skip qtwebengine -skip wayland -skip qtgamepad
+
+IF DEFINED OPENSSL_ROOT_DIR (
+ set QT_OPTIONS=%QT_OPTIONS% -ssl -openssl -openssl-linked OPENSSL_PREFIX=%OPENSSL_ROOT_DIR%
+) else (
+ set QT_OPTIONS=%QT_OPTIONS% -no-openssl
+)
+
set QT_OPTIONS=%QT_OPTIONS% -mp
set QT_OPTIONS=%QT_OPTIONS% -prefix %PRODUCT_INSTALL%
set QT_OPTIONS=-platform win32-msvc2017
set QT_OPTIONS=%QT_OPTIONS% -opensource -confirm-license %PRODUCT_BUILD_TYPE%
set QT_OPTIONS=%QT_OPTIONS% -no-angle -opengl desktop -nomake examples -nomake tests
-set QT_OPTIONS=%QT_OPTIONS% -skip qtwebengine -skip wayland -skip qtgamepad -no-openssl
+set QT_OPTIONS=%QT_OPTIONS% -skip qtwebengine -skip wayland -skip qtgamepad
+
+IF DEFINED OPENSSL_ROOT_DIR (
+ set QT_OPTIONS=%QT_OPTIONS% -ssl -openssl -openssl-linked OPENSSL_PREFIX=%OPENSSL_ROOT_DIR%
+) else (
+ set QT_OPTIONS=%QT_OPTIONS% -no-openssl
+)
+
set QT_OPTIONS=%QT_OPTIONS% -mp
set QT_OPTIONS=%QT_OPTIONS% -prefix %PRODUCT_INSTALL%
--- /dev/null
+#!/usr/bin/env python
+#-*- coding:utf-8 -*-
+
+import os.path
+import platform
+
+def set_env(env, prereq_dir, version):
+ env.set('OPENSSL_ROOT_DIR', prereq_dir)
+ env.set('OPENSSL_DIR', prereq_dir)
+ if platform.system() == "Windows" :
+ env.prepend('PATH', os.path.join(prereq_dir), 'lib')
+
+def set_nativ_env(env):
+ pass
{
name : "openssl"
get_source : "native"
+ compil_script : $name + $VARS.scriptExtension
system_info :
{
rpm : []
apt : []
apt_dev : ["libssl-dev"]
}
+ environ :
+ {
+ env_script : $name + ".py"
+ }
depend : []
properties :
{
incremental : "yes"
}
}
+
+default_win :
+{
+ get_source : "archive"
+ build_source : "script"
+}
+
+version_1_1_1n :
+{
+}
+
+version_1_1_1n_win :
+{
+ archive_info : {archive_name : "openssl-1.1.1n_windows.tar.gz"}
+ compil_script : "openssl-1.1.bat"
+}
{
depend : ["freetype"]
build_depend : ["llvm"]
+ opt_depend : ['openssl']
}
version_5_12_10 :
{
depend : ["freetype"]
build_depend : ["llvm"]
+ opt_depend : ['openssl']
patches : []
}