Enable built-in translations in Git packages of own projects

This commit is contained in:
Martchus 2020-11-11 19:04:15 +01:00
parent bb9b4c8325
commit 40f05ad3b0
5 changed files with 13 additions and 3 deletions

View File

@ -42,7 +42,10 @@ build() {
-DCMAKE_INSTALL_PREFIX:PATH='/usr' \
-DCONFIGURATION_NAME:STRING='git' \
-DCONFIGURATION_PACKAGE_SUFFIX:STRING='-git' \
-DQUICK_GUI="$_quick_gui" .
-DQUICK_GUI="$_quick_gui" \
-DBUILTIN_TRANSLATIONS:BOOL=ON \
-DBUILTIN_TRANSLATIONS_OF_QT:BOOL=OFF \
.
ninja
}

View File

@ -35,6 +35,7 @@ build() {
-DCONFIGURATION_PACKAGE_SUFFIX:STRING='-git' \
-DCONFIGURATION_TARGET_SUFFIX:STRING='git' \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DBUILTIN_TRANSLATIONS:BOOL=ON \
.
ninja
}

View File

@ -25,7 +25,7 @@ _enable_plasmoid=${SYNCTHING_TRAY_ENABLE_PLASMOID:-1}
_reponame=syncthingtray
pkgname=syncthingtray-git
_name=${pkgname%-git}
pkgver=864.133dbac
pkgver=983.3fe2fb9
pkgrel=2
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
pkgdesc='Tray application for Syncthing'
@ -79,6 +79,8 @@ build() {
-DWEBVIEW_PROVIDER="${_webview_provider}" \
-DJS_PROVIDER="${_js_provider}" \
-DSYSTEMD_SUPPORT=ON \
-DBUILTIN_TRANSLATIONS:BOOL=ON \
-DBUILTIN_TRANSLATIONS_OF_QT:BOOL=OFF \
$additional_args \
.
ninja

View File

@ -53,6 +53,8 @@ build() {
-DJS_PROVIDER="${_js_provider}" \
-DENABLE_JSON_EXPORT="${_json_export}" \
-DREFLECTION_GENERATOR_EXECUTABLE:FILEPATH='/usr/bin/reflective_rapidjson_generator-git' \
-DBUILTIN_TRANSLATIONS:BOOL=ON \
-DBUILTIN_TRANSLATIONS_OF_QT:BOOL=OFF \
.
ninja
}

View File

@ -6,7 +6,7 @@
_reponame=videodownloader
pkgname=videodownloader-git
_name=${pkgname%-git}
pkgver=109.29a80c0
pkgver=116.5e42ba0
pkgrel=2
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
pkgdesc='A video downloader with Qt GUI (currently only YouTube and Vimeo are maintained)'
@ -33,6 +33,8 @@ build() {
-DCONFIGURATION_NAME:STRING='git' \
-DCONFIGURATION_PACKAGE_SUFFIX:STRING='-git' \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DBUILTIN_TRANSLATIONS:BOOL=ON \
-DBUILTIN_TRANSLATIONS_OF_QT:BOOL=OFF \
.
ninja
}