commit 50a0cabf15671cdc37e872804862f94b6ff29c1c
Author: Vasiliy Glazov <vascom2(a)gmail.com>
Date: Fri Sep 17 09:12:11 2021 +0300
Update to 4.5.3.0. Fix ffmpeg.
.gitignore | 2 ++
megasync.spec | 16 ++++++++++++----
sources | 4 ++--
3 files changed, 16 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4a68793..56d3d62 100644
--- a/.gitignore
+++ b/.gitignore
@@ -18,3 +18,5 @@
/v4.3.7.0_Linux.tar.gz
/v3.7.3h.tar.gz
/v4.4.0.0_Linux.tar.gz
+/v3.8.2c.tar.gz
+/v4.5.3.0_Linux.tar.gz
diff --git a/megasync.spec b/megasync.spec
index 7e5f49e..e87163c 100644
--- a/megasync.spec
+++ b/megasync.spec
@@ -1,4 +1,5 @@
-%global sdk_version 3.7.3h
+%global sdk_version 3.8.2c
+%global source_suffix Linux
%bcond_without dolphin
%bcond_without nautilus
@@ -9,13 +10,13 @@
%endif
Name: megasync
-Version: 4.4.0.0
+Version: 4.5.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
URL:
https://mega.nz
-Source0:
https://github.com/meganz/MEGAsync/archive/v%{version}_Linux.tar.gz
+Source0:
https://github.com/meganz/MEGAsync/archive/v%{version}_%{source_suffix}.t...
Source1:
https://github.com/meganz/sdk/archive/v%{sdk_version}.tar.gz
ExcludeArch: %power64 aarch64
@@ -100,12 +101,15 @@ Requires: %{name}%{?_isa}
%prep
-%autosetup -n MEGAsync-%{version}_Linux
+%autosetup -n MEGAsync-%{version}_%{source_suffix}
#Move Mega SDK to it's place
tar -xvf %{SOURCE1} -C src/MEGASync/mega
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
#Disable all bundling
sed -i '/-u/d' src/configure
@@ -242,6 +246,10 @@ popd
%endif
%changelog
+* Fri Sep 17 2021 Vasiliy N. Glazov <vascom2(a)gmail.com> - 4.5.3.0-1
+- Update to 4.5.3.0
+- Fix ffmeg
+
* Mon Mar 01 2021 Vasiliy N. Glazov <vascom2(a)gmail.com> - 4.4.0.0-1
- Update to 4.4.0.0
diff --git a/sources b/sources
index 9c5e0c8..4422961 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (v3.7.3h.tar.gz) =
f3303052d50a34635e7332f668e0f2856c19b1e326bdbda16028313d558bfa737c776e5f52695f2ee08ef985dbe6633f05eb5dd68221f63ff88e56a4294d8842
-SHA512 (v4.4.0.0_Linux.tar.gz) =
e868d8062989e4609eb84e3059e274f78194dd6611bb5ca264e9029c7abae4aaf48627d3004d42edd4ccec39e6f8e9708c7c63da7421ace9f584c072bda7597a
+SHA512 (v3.8.2c.tar.gz) =
89cfa2a7ccb799da7e6a4d10454dd57843807ef22ed60b3c39d2ee3ca9e9c0265d2719e47338fb682472a7662466d869487d7392794030998b3d55335d9f8e88
+SHA512 (v4.5.3.0_Linux.tar.gz) =
ee45cccd569fed8606fa2de8e82a62a3b43f9b4e0baa2f1a902e8ecf5d000fdf688bc69eaf2fae71d32be908d485acc8d65f985f8392c304de255c07c26ceed6