Try a qt6 flatpak build

qt6
Nicolas Werner 3 years ago
parent fdae12df6f
commit 8e4e3f2eb0
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 8
      .gitlab-ci.yml
  2. 9
      io.github.NhekoReborn.Nheko.yaml
  3. 2
      src/Cache.cpp

@ -136,8 +136,8 @@ build-flatpak-amd64:
before_script:
- apt-get update && apt-get -y install flatpak-builder git python3 curl python3-aiohttp python3-tenacity gir1.2-ostree-1.0
- flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- flatpak --noninteractive install --user flathub org.kde.Platform//5.15-21.08
- flatpak --noninteractive install --user flathub org.kde.Sdk//5.15-21.08
- flatpak --noninteractive install --user flathub org.kde.Platform//6.2
- flatpak --noninteractive install --user flathub org.kde.Sdk//6.2
script:
- export VERSION=$(git describe)
- mkdir -p build-flatpak
@ -164,8 +164,8 @@ build-flatpak-arm64:
before_script:
- apt-get update && apt-get -y install flatpak-builder git python3 curl python3-aiohttp python3-tenacity gir1.2-ostree-1.0
- flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- flatpak --noninteractive install --user flathub org.kde.Platform//5.15-21.08
- flatpak --noninteractive install --user flathub org.kde.Sdk//5.15-21.08
- flatpak --noninteractive install --user flathub org.kde.Platform//6.2
- flatpak --noninteractive install --user flathub org.kde.Sdk//6.2
script:
- export VERSION=$(git describe)
- mkdir -p build-flatpak

@ -1,7 +1,7 @@
id: io.github.NhekoReborn.Nheko
command: nheko
runtime: org.kde.Platform
runtime-version: '5.15-21.08'
runtime-version: '6.2'
sdk: org.kde.Sdk
finish-args:
- --device=dri
@ -105,12 +105,13 @@ modules:
- config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DBUILD_TEST_APPLICATION=OFF
- -DQTKEYCHAIN_STATIC=ON
- -DBUILD_WITH_QT6=ON
- -DBUILD_SHARED_LIBS=OFF
buildsystem: cmake-ninja
name: QtKeychain
sources:
- commit: f59ac26be709fd2d8d7a062fab1cf1e67a93806c
tag: v0.13.1
- commit: c236f9241e37f1754879cf8726d59351a2b2b24a
tag: v0.13.2
type: git
url: https://github.com/frankosterfeld/qtkeychain.git
- config-opts:

@ -20,7 +20,7 @@
#if __has_include(<keychain.h>)
#include <keychain.h>
#else
#include <qt5keychain/keychain.h>
#include <qt6keychain/keychain.h>
#endif
#include <mtx/responses/common.hpp>

Loading…
Cancel
Save