Prepare aarch64 build
This commit is contained in:
parent
ee4fd1bdbb
commit
f240845927
5 changed files with 15 additions and 8 deletions
|
@ -145,11 +145,18 @@ TRANSLATIONS += translations/harbour-fernschreiber-de.ts \
|
|||
translations/harbour-fernschreiber-en.ts \
|
||||
translations/harbour-fernschreiber-zh_CN.ts
|
||||
|
||||
contains(QT_ARCH, arm) {
|
||||
equals(QT_ARCH, arm) {
|
||||
message(Building ARM)
|
||||
TARGET_ARCHITECTURE = armv7hl
|
||||
} else {
|
||||
}
|
||||
equals(QT_ARCH, i386) {
|
||||
message(Building i486)
|
||||
TARGET_ARCHITECTURE = i486
|
||||
}
|
||||
equals(QT_ARCH, arm64){
|
||||
message(Building aarch64)
|
||||
TARGET_ARCHITECTURE = aarch64
|
||||
}
|
||||
|
||||
INCLUDEPATH += $$PWD/tdlib/include
|
||||
DEPENDPATH += $$PWD/tdlib/include
|
||||
|
|
|
@ -59,7 +59,7 @@ Page {
|
|||
}
|
||||
|
||||
Label {
|
||||
text: "Fernschreiber 0.8.1"
|
||||
text: "Fernschreiber 0.8.2"
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
font.pixelSize: Theme.fontSizeExtraLarge
|
||||
anchors {
|
||||
|
|
|
@ -6,11 +6,13 @@
|
|||
Name: harbour-fernschreiber
|
||||
|
||||
# >> macros
|
||||
%define __provides_exclude_from ^%{_datadir}/.*$
|
||||
%define __requires_exclude ^libtdjson.*$
|
||||
# << macros
|
||||
|
||||
Summary: Fernschreiber is a Telegram client for Sailfish OS
|
||||
Version: 0.8.1
|
||||
Release: 2
|
||||
Version: 0.8.2
|
||||
Release: 1
|
||||
Group: Qt/Qt
|
||||
License: LICENSE
|
||||
URL: http://werkwolf.eu/
|
||||
|
@ -26,7 +28,6 @@ BuildRequires: pkgconfig(Qt5Sql)
|
|||
BuildRequires: pkgconfig(Qt5Multimedia)
|
||||
BuildRequires: pkgconfig(Qt5Positioning)
|
||||
BuildRequires: pkgconfig(nemonotifications-qt5)
|
||||
BuildRequires: pkgconfig(ngf-qt5)
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
%description
|
||||
|
|
|
@ -28,7 +28,6 @@ PkgConfigBR:
|
|||
- Qt5Multimedia
|
||||
- Qt5Positioning
|
||||
- nemonotifications-qt5
|
||||
- ngf-qt5
|
||||
|
||||
# Build dependencies without a pkgconfig setup can be listed here
|
||||
# PkgBR:
|
||||
|
|
|
@ -1853,7 +1853,7 @@ void TDLibWrapper::setInitialParameters()
|
|||
QSettings hardwareSettings("/etc/hw-release", QSettings::NativeFormat);
|
||||
initialParameters.insert("device_model", hardwareSettings.value("NAME", "Unknown Mobile Device").toString());
|
||||
initialParameters.insert("system_version", QSysInfo::prettyProductName());
|
||||
initialParameters.insert("application_version", "0.8.1");
|
||||
initialParameters.insert("application_version", "0.8.2");
|
||||
initialParameters.insert("enable_storage_optimizer", appSettings->storageOptimizer());
|
||||
// initialParameters.insert("use_test_dc", true);
|
||||
requestObject.insert("parameters", initialParameters);
|
||||
|
|
Loading…
Reference in a new issue