1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-02-26 12:10:49 +01:00

Compare commits

..

No commits in common. "bc4bffdfe754b856aff8178126085d314edacfd6" and "b05e7b15fe52214058582983c60957ee0e6270d3" have entirely different histories.

2 changed files with 20 additions and 45 deletions

View File

@ -11,10 +11,11 @@ environment:
matrix: matrix:
- QTDIR: C:\Qt\5.15\msvc2019_64 - QTDIR: C:\Qt\5.15\msvc2019_64
OPENSSLDIR: C:\OpenSSL-v111-Win64\bin OPENSSLDIR: C:\OpenSSL-v111-Win64\bin
NSISDEF: /DOPENSSL /DANGLE OPENSSLVERSION: 1_1
- QTDIR: C:\Qt\6.5\msvc2019_64 - QTDIR: C:\Qt\6.5\msvc2019_64
OPENSSLDIR: C:\OpenSSL-v30-Win64\bin OPENSSLDIR: C:\OpenSSL-v30-Win64\bin
NSISDEF: /DQT6 /DOPENSSL OPENSSLVERSION: 3
NSISDEF: /DQT6
install: install:
- cmd: |- - cmd: |-
@ -36,8 +37,8 @@ build_script:
xcopy lang\*.qm installer\translations\ /sy xcopy lang\*.qm installer\translations\ /sy
xcopy icons\symbols installer\symbols /i xcopy icons\symbols installer\symbols /i
copy licence.txt installer copy licence.txt installer
copy %OPENSSLDIR%\libcrypto-*-x64.dll installer copy %OPENSSLDIR%\libcrypto-%OPENSSLVERSION%-x64.dll installer
copy %OPENSSLDIR%\libssl-*-x64.dll installer copy %OPENSSLDIR%\libssl-%OPENSSLVERSION%-x64.dll installer
makensis.exe %NSISDEF% installer\gpxsee64.nsi makensis.exe %NSISDEF% installer\gpxsee64.nsi

View File

@ -249,7 +249,7 @@ Section "GPXSee" SEC_APP
SectionEnd SectionEnd
Section "Qt framework" SEC_QT Section "QT framework" SEC_QT
SectionIn RO SectionIn RO
@ -281,7 +281,6 @@ Section "Qt framework" SEC_QT
File /r "printsupport" File /r "printsupport"
!endif !endif
File /r "platforms" File /r "platforms"
File /r "iconengines"
File /r "imageformats" File /r "imageformats"
File /r "styles" File /r "styles"
File /r "sqldrivers" File /r "sqldrivers"
@ -300,30 +299,21 @@ Section "MSVC runtime" SEC_MSVC
SectionEnd SectionEnd
!ifdef ICU
Section "ICU" SEC_ICU
SectionIn RO
File "icudt*.dll"
File "icuin*.dll"
File "icuuc*.dll"
SectionEnd
!endif
!ifdef OPENSSL
Section "OpenSSL" SEC_OPENSSL Section "OpenSSL" SEC_OPENSSL
SectionIn RO SectionIn RO
File "libcrypto-*-x64.dll" !ifdef QT6
File "libssl-*-x64.dll" File "libcrypto-3-x64.dll"
File "libssl-3-x64.dll"
SectionEnd !else
File "libcrypto-1_1-x64.dll"
File "libssl-1_1-x64.dll"
!endif !endif
!ifdef ANGLE SectionEnd
!ifndef QT6
Section "ANGLE" SEC_ANGLE Section "ANGLE" SEC_ANGLE
File "libGLESv2.dll" File "libGLESv2.dll"
@ -479,24 +469,13 @@ SectionEnd
; Descriptions ; Descriptions
; Language strings ; Language strings
!ifdef QT6
LangString DESC_QT ${LANG_ENGLISH} \ LangString DESC_QT ${LANG_ENGLISH} \
"Qt6 cross-platform application framework." "QT cross-platform application framework."
!else
LangString DESC_QT ${LANG_ENGLISH} \
"Qt5 cross-platform application framework."
!endif
LangString DESC_MSVC ${LANG_ENGLISH} \ LangString DESC_MSVC ${LANG_ENGLISH} \
"Microsoft Visual C++ runtime. If already installed, will be skipped." "Microsoft Visual C++ 2019 runtime. If already installed, will be skipped."
!ifdef ICU
LangString DESC_ICU ${LANG_ENGLISH} \
"ICU library. Required for character set/encoding conversions."
!endif
!ifdef OPENSSL
LangString DESC_OPENSSL ${LANG_ENGLISH} \ LangString DESC_OPENSSL ${LANG_ENGLISH} \
"OpenSSL library. Qt SSL/TLS backend for HTTPS." "OpenSSL library. Required for HTTPS to work."
!endif !ifndef QT6
!ifdef ANGLE
LangString DESC_ANGLE ${LANG_ENGLISH} \ LangString DESC_ANGLE ${LANG_ENGLISH} \
"ANGLE (OpenGL via Direct3D). Enables OpenGL on systems without native OpenGL drivers." "ANGLE (OpenGL via Direct3D). Enables OpenGL on systems without native OpenGL drivers."
!endif !endif
@ -508,13 +487,8 @@ LangString DESC_LOCALIZATION ${LANG_ENGLISH} \
; Assign language strings to sections ; Assign language strings to sections
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN !insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_QT} $(DESC_QT) !insertmacro MUI_DESCRIPTION_TEXT ${SEC_QT} $(DESC_QT)
!ifdef ICU
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_ICU} $(DESC_ICU)
!endif
!ifdef OPENSSL
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_OPENSSL} $(DESC_OPENSSL) !insertmacro MUI_DESCRIPTION_TEXT ${SEC_OPENSSL} $(DESC_OPENSSL)
!endif !ifndef QT6
!ifdef ANGLE
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_ANGLE} $(DESC_ANGLE) !insertmacro MUI_DESCRIPTION_TEXT ${SEC_ANGLE} $(DESC_ANGLE)
!endif !endif
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_MSVC} $(DESC_MSVC) !insertmacro MUI_DESCRIPTION_TEXT ${SEC_MSVC} $(DESC_MSVC)