commit 81d6173b798252df6318ab45089ac282fac304e0
Author: Vasiliy Glazov <vascom2(a)gmail.com>
Date: Sat Jan 29 11:02:15 2022 +0300
Update to 4.6.3.0. Enable LTO.
.gitignore | 2 ++
megasync.spec | 20 +++++++++++---------
sources | 4 ++--
3 files changed, 15 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 56d3d62..fb51c09 100644
--- a/.gitignore
+++ b/.gitignore
@@ -20,3 +20,5 @@
/v4.4.0.0_Linux.tar.gz
/v3.8.2c.tar.gz
/v4.5.3.0_Linux.tar.gz
+/v3.9.6b.tar.gz
+/v4.6.3.0_Linux.tar.gz
diff --git a/megasync.spec b/megasync.spec
index 0f9dbaf..f73c1e5 100644
--- a/megasync.spec
+++ b/megasync.spec
@@ -1,5 +1,4 @@
-%define _lto_cflags %{nil}
-%global sdk_version 3.8.2c
+%global sdk_version 3.9.6b
%global source_suffix Linux
%bcond_without dolphin
@@ -11,8 +10,8 @@
%endif
Name: megasync
-Version: 4.5.3.0
-Release: 3%{?dist}
+Version: 4.6.3.0
+Release: 1%{?dist}
Summary: Easy automated syncing between your computers and your MEGA cloud drive
# MEGAsync is under a proprietary license, except the SDK which is BSD
License: Proprietary and BSD
@@ -46,6 +45,9 @@ BuildRequires: LibRaw-devel
BuildRequires: libsodium-devel
BuildRequires: libuv-devel
BuildRequires: sqlite-devel
+BuildRequires: vcpkg
+BuildRequires: systemd-devel
+BuildRequires: freeimage-devel
Requires: hicolor-icon-theme
@@ -62,9 +64,6 @@ Fast:
Take advantage of MEGA's high-powered infrastructure and multi-connection
transfers.
-Generous:
-Store up to 50 GB for free!
-
%if %{with dolphin}
%package -n dolphin-%{name}
Summary: Extension for Dolphin to interact with Megasync
@@ -110,7 +109,7 @@ mv src/MEGASync/mega/sdk-%{sdk_version}/* src/MEGASync/mega/
cp src/MEGASync/mega/LICENSE LICENSE-SDK
# Fix ffmpeg build
sed -i 's|videoStream->skip_to_keyframe|//videoStream->skip_to_keyframe|'
src/MEGASync/mega/src/gfx/freeimage.cpp
-sed -i 's|videoStream->skip_to_keyframe|//videoStream->skip_to_keyframe|'
src/MEGASync/mega/src/gfx/qt.cpp
+# sed -i 's|videoStream->skip_to_keyframe|//videoStream->skip_to_keyframe|'
src/MEGASync/mega/src/gfx/qt.cpp
%if 0%{?fedora} >= 35
# Fix glibc for F35 and later
@@ -118,7 +117,7 @@ sed -i 's|kSigStackSize = std::max(8192|kSigStackSize =
std::max(static_cast<lon
%endif
#Disable all bundling
-sed -i '/-u/d' src/configure
+sed -i 's/-u/-f/' src/configure
sed -i 's/-v/-y/' src/configure
sed -i '/qlite_pkg $build_dir $install_dir/d'
src/MEGASync/mega/contrib/build_sdk.sh
@@ -252,6 +251,9 @@ popd
%endif
%changelog
+* Sat Jan 29 2022 Vasiliy N. Glazov <vascom2(a)gmail.com> - 4.6.3.0-1
+- Update to 4.6.3.0
+
* Thu Jan 27 2022 Vasiliy N. Glazov <vascom2(a)gmail.com> - 4.5.3.0-3
- Rebuild without LTO
diff --git a/sources b/sources
index 4422961..1e2f0fc 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (v3.8.2c.tar.gz) =
89cfa2a7ccb799da7e6a4d10454dd57843807ef22ed60b3c39d2ee3ca9e9c0265d2719e47338fb682472a7662466d869487d7392794030998b3d55335d9f8e88
-SHA512 (v4.5.3.0_Linux.tar.gz) =
ee45cccd569fed8606fa2de8e82a62a3b43f9b4e0baa2f1a902e8ecf5d000fdf688bc69eaf2fae71d32be908d485acc8d65f985f8392c304de255c07c26ceed6
+SHA512 (v3.9.6b.tar.gz) =
88057a43565685e3385b5abca9ef5ede088c5d23dc25cc213e917a39436f59084c67557c1a45326e6214c0d2af926ed010805e9b4e5a63ec5ef7d4bf536f379a
+SHA512 (v4.6.3.0_Linux.tar.gz) =
a1b1e619f2b3c5c7dfb22ae6b8509c2b31a1ce31e56d9e0b3c5bb9990eed771f9d1f02e212ac24a6895915abbf5fb12b3494548b63d6999aa5130dce1613275a