Avoid building qttools

Removing po folder from kcoreaddons allows that
This commit is contained in:
Ilya Fedin 2022-09-18 13:08:11 +04:00 committed by John Preston
parent b36063e086
commit 4975254cc1
2 changed files with 2 additions and 18 deletions

View File

@ -558,7 +558,6 @@ ENV OPENSSL_ROOT_DIR {{ OPENSSL_PREFIX }}
RUN git clone -b {{ QT_TAG }} --depth=1 git://code.qt.io/qt/qt5.git qt_{{ QT }} \
&& cd qt_{{ QT }} \
&& git submodule update --init --recursive --depth=1 qtbase qtwayland qtimageformats qtsvg qt5compat \
&& git submodule update --init --recursive qttools \
&& cd qtbase \
&& find ../../patches/qtbase_{{ QT }} -type f -print0 | sort -z | xargs -r0 git apply \
&& cd .. \
@ -608,6 +607,7 @@ COPY --link --from=qt {{ LibrariesPath }}/qt-cache /
RUN git clone -b v5.98.0 --depth=1 {{ GIT }}/KDE/kcoreaddons.git \
&& cd kcoreaddons \
&& curl -sSL https://invent.kde.org/frameworks/kcoreaddons/-/merge_requests/258.patch | git apply \
&& rm -rf po \
&& cmake -GNinja -B build . \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_PREFIX_PATH={{ QT_PREFIX }} \

View File

@ -241,6 +241,7 @@ parts:
override-pull: |
snapcraftctl pull
curl -sSL https://invent.kde.org/frameworks/kcoreaddons/-/merge_requests/258.patch | git apply
rm -rf po
prime:
- -./usr/bin
- -./usr/include
@ -250,7 +251,6 @@ parts:
after:
- extra-cmake-modules
- desktop-qt
- qttools
mozjpeg:
source: https://github.com/mozilla/mozjpeg.git
@ -446,22 +446,6 @@ parts:
- openssl
- patches
qttools:
source: git://code.qt.io/qt/qttools.git
source-depth: 1
source-tag: v6.4.0-rc1
plugin: cmake
build-packages:
- clang
- libclang-dev
- llvm-dev
cmake-parameters:
- -DCMAKE_BUILD_TYPE=Release
- -DCMAKE_INSTALL_PREFIX=/usr
prime: [-./*]
after:
- qt
rnnoise:
source: https://gitlab.xiph.org/xiph/rnnoise.git
source-depth: 1