mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 22:54:01 +02:00
Update Qt 6.8.0 -> 6.8.1
This commit is contained in:
parent
b1e2a4243e
commit
783570fe9f
4 changed files with 9 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
||||||
{%- set GIT = "https://github.com" -%}
|
{%- set GIT = "https://github.com" -%}
|
||||||
{%- set GIT_FREEDESKTOP = GIT ~ "/gitlab-freedesktop-mirrors" -%}
|
{%- set GIT_FREEDESKTOP = GIT ~ "/gitlab-freedesktop-mirrors" -%}
|
||||||
{%- set GIT_UPDATE_M4 = "git submodule set-url m4 https://gitlab.freedesktop.org/xorg/util/xcb-util-m4 && git config -f .gitmodules submodule.m4.shallow true && git submodule init && git submodule update" -%}
|
{%- set GIT_UPDATE_M4 = "git submodule set-url m4 https://gitlab.freedesktop.org/xorg/util/xcb-util-m4 && git config -f .gitmodules submodule.m4.shallow true && git submodule init && git submodule update" -%}
|
||||||
{%- set QT = "6.8.0" -%}
|
{%- set QT = "6.8.1" -%}
|
||||||
{%- set QT_TAG = "v" ~ QT -%}
|
{%- set QT_TAG = "v" ~ QT -%}
|
||||||
{%- set CFLAGS_DEBUG = "$CFLAGS -O0 -fno-lto -U_FORTIFY_SOURCE" -%}
|
{%- set CFLAGS_DEBUG = "$CFLAGS -O0 -fno-lto -U_FORTIFY_SOURCE" -%}
|
||||||
{%- set LibrariesPath = "/usr/src/Libraries" -%}
|
{%- set LibrariesPath = "/usr/src/Libraries" -%}
|
||||||
|
@ -42,7 +42,7 @@ FROM builder AS patches
|
||||||
RUN git init patches \
|
RUN git init patches \
|
||||||
&& cd patches \
|
&& cd patches \
|
||||||
&& git remote add origin {{ GIT }}/desktop-app/patches.git \
|
&& git remote add origin {{ GIT }}/desktop-app/patches.git \
|
||||||
&& git fetch --depth=1 origin 643b18c2be6424fc6f35a52891ed5a6a42502ac2 \
|
&& git fetch --depth=1 origin cf3b896e00c288143fce51862dbd9b1c86df1960 \
|
||||||
&& git reset --hard FETCH_HEAD \
|
&& git reset --hard FETCH_HEAD \
|
||||||
&& rm -rf .git
|
&& rm -rf .git
|
||||||
|
|
||||||
|
@ -734,6 +734,7 @@ RUN git clone -b {{ QT_TAG }} --depth=1 {{ GIT }}/qt/qt5.git \
|
||||||
&& cmake -GNinja -B build . \
|
&& cmake -GNinja -B build . \
|
||||||
-DCMAKE_BUILD_TYPE=None \
|
-DCMAKE_BUILD_TYPE=None \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
|
-DQT_GENERATE_SBOM=OFF \
|
||||||
-DINPUT_libpng=qt \
|
-DINPUT_libpng=qt \
|
||||||
-DINPUT_harfbuzz=qt \
|
-DINPUT_harfbuzz=qt \
|
||||||
-DINPUT_pcre=qt \
|
-DINPUT_pcre=qt \
|
||||||
|
|
|
@ -457,7 +457,7 @@ if customRunCommand:
|
||||||
stage('patches', """
|
stage('patches', """
|
||||||
git clone https://github.com/desktop-app/patches.git
|
git clone https://github.com/desktop-app/patches.git
|
||||||
cd patches
|
cd patches
|
||||||
git checkout 412f65c296
|
git checkout cf3b896e00
|
||||||
""")
|
""")
|
||||||
|
|
||||||
stage('msys64', """
|
stage('msys64', """
|
||||||
|
@ -1692,6 +1692,7 @@ win:
|
||||||
-static ^
|
-static ^
|
||||||
-static-runtime ^
|
-static-runtime ^
|
||||||
-feature-c++20 ^
|
-feature-c++20 ^
|
||||||
|
-no-sbom ^
|
||||||
-openssl linked ^
|
-openssl linked ^
|
||||||
-system-webp ^
|
-system-webp ^
|
||||||
-system-zlib ^
|
-system-zlib ^
|
||||||
|
|
|
@ -6,7 +6,7 @@ def resolve(arch):
|
||||||
elif sys.platform == 'win32':
|
elif sys.platform == 'win32':
|
||||||
if arch == 'arm' or 'qt6' in sys.argv:
|
if arch == 'arm' or 'qt6' in sys.argv:
|
||||||
print('Choosing Qt 6.')
|
print('Choosing Qt 6.')
|
||||||
os.environ['QT'] = '6.8.0'
|
os.environ['QT'] = '6.8.1'
|
||||||
elif os.environ.get('QT') is None:
|
elif os.environ.get('QT') is None:
|
||||||
print('Choosing Qt 5.')
|
print('Choosing Qt 5.')
|
||||||
os.environ['QT'] = '5.15.15'
|
os.environ['QT'] = '5.15.15'
|
||||||
|
|
|
@ -164,7 +164,7 @@ parts:
|
||||||
patches:
|
patches:
|
||||||
source: https://github.com/desktop-app/patches.git
|
source: https://github.com/desktop-app/patches.git
|
||||||
source-depth: 1
|
source-depth: 1
|
||||||
source-commit: 643b18c2be6424fc6f35a52891ed5a6a42502ac2
|
source-commit: cf3b896e00c288143fce51862dbd9b1c86df1960
|
||||||
plugin: dump
|
plugin: dump
|
||||||
override-pull: |
|
override-pull: |
|
||||||
craftctl default
|
craftctl default
|
||||||
|
@ -377,7 +377,7 @@ parts:
|
||||||
- mesa-vulkan-drivers
|
- mesa-vulkan-drivers
|
||||||
- xkb-data
|
- xkb-data
|
||||||
override-pull: |
|
override-pull: |
|
||||||
QT=6.8.0
|
QT=6.8.1
|
||||||
|
|
||||||
git clone -b v${QT} --depth=1 https://github.com/qt/qt5.git .
|
git clone -b v${QT} --depth=1 https://github.com/qt/qt5.git .
|
||||||
git submodule update --init --recursive --depth=1 qtbase qtdeclarative qtwayland qtimageformats qtsvg qtshadertools
|
git submodule update --init --recursive --depth=1 qtbase qtdeclarative qtwayland qtimageformats qtsvg qtshadertools
|
||||||
|
@ -393,6 +393,7 @@ parts:
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DCMAKE_PREFIX_PATH=$CRAFT_STAGE/usr \
|
-DCMAKE_PREFIX_PATH=$CRAFT_STAGE/usr \
|
||||||
-DINSTALL_LIBDIR=/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR \
|
-DINSTALL_LIBDIR=/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR \
|
||||||
|
-DQT_GENERATE_SBOM=OFF \
|
||||||
-DINPUT_openssl=linked
|
-DINPUT_openssl=linked
|
||||||
|
|
||||||
cmake --build . -j$CRAFT_PARALLEL_BUILD_COUNT
|
cmake --build . -j$CRAFT_PARALLEL_BUILD_COUNT
|
||||||
|
|
Loading…
Add table
Reference in a new issue