mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-24 23:09:44 -05:00
Bundle qtbase translations with macOS and AppImage releases
This commit is contained in:
parent
c579736158
commit
a4cf32dce0
@ -40,6 +40,7 @@ RUN set -x \
|
||||
qt${QT5_VERSION}base \
|
||||
qt${QT5_VERSION}tools \
|
||||
qt${QT5_VERSION}x11extras \
|
||||
qt${QT5_VERSION}translations \
|
||||
zlib1g-dev \
|
||||
libxi-dev \
|
||||
libxtst-dev \
|
||||
|
@ -678,7 +678,8 @@ build() {
|
||||
"$DOCKER_IMAGE" \
|
||||
bash -c "cd /keepassxc/out/build-release && \
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DWITH_TESTS=Off $CMAKE_OPTIONS \
|
||||
-DCMAKE_INSTALL_PREFIX=\"${INSTALL_PREFIX}\" /keepassxc/src && \
|
||||
-DCMAKE_INSTALL_PREFIX=\"${INSTALL_PREFIX}\" \
|
||||
-DKEEPASSXC_DIST_TYPE=AppImage /keepassxc/src && \
|
||||
make $MAKE_OPTIONS && make DESTDIR=/keepassxc/out/bin-release install/strip && \
|
||||
/keepassxc/src/AppImage-Recipe.sh "$APP_NAME" "$RELEASE_NAME""
|
||||
|
||||
|
@ -24,6 +24,11 @@ qt5_add_translation(QM_FILES ${TRANSLATION_FILES})
|
||||
|
||||
if(MINGW)
|
||||
file(GLOB QTBASE_TRANSLATIONS ${Qt5_DIR}/../../../share/qt5/translations/qtbase_*.qm)
|
||||
elseif(APPLE OR KEEPASSXC_DIST_APPIMAGE)
|
||||
file(GLOB QTBASE_TRANSLATIONS
|
||||
/usr/share/qt/translations/qtbase_*.qm
|
||||
/usr/share/qt5/translations/qtbase_*.qm
|
||||
${Qt5_DIR}/../../../translations/qtbase_*.qm)
|
||||
endif()
|
||||
set(QM_FILES ${QM_FILES} ${QTBASE_TRANSLATIONS})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user