commit c6cacde502b38065b2648fc1c2e65fda50e24da9
Author: Vasiliy Glazov <vascom2(a)gmail.com>
Date: Mon Aug 3 13:34:42 2020 +0300
Update to 4.3.3.0.
.gitignore | 2 ++
megasync.spec | 30 ++++++++++++++++++++----------
sources | 4 ++--
3 files changed, 24 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2a3ed79..fae9bb8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,5 @@
/v3.6.8.tar.gz
/v4.3.0.8_Linux.tar.gz
/v4.3.1.0_Linux.tar.gz
+/v3.7.1.tar.gz
+/v4.3.3.0_Linux.tar.gz
diff --git a/megasync.spec b/megasync.spec
index 37de804..f26d5d2 100644
--- a/megasync.spec
+++ b/megasync.spec
@@ -1,4 +1,4 @@
-%global sdk_version 3.6.8
+%global sdk_version 3.7.1
%bcond_without dolphin
%bcond_without nautilus
@@ -8,11 +8,11 @@
%bcond_without nemo
%endif
-%global enable_lto 1
+%global enable_lto 0
Name: megasync
-Version: 4.3.1.0
-Release: 2%{?dist}
+Version: 4.3.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
@@ -39,6 +39,7 @@ BuildRequires: desktop-file-utils
BuildRequires: qt5-qtbase-devel >= 5.6
BuildRequires: qt5-qttools-devel
BuildRequires: qt5-qtsvg-devel
+BuildRequires: qt5-qtx11extras-devel
BuildRequires: terminus-fonts
BuildRequires: fontpackages-filesystem
BuildRequires: LibRaw-devel
@@ -119,6 +120,10 @@ sed -i 's|static int tgkill|int tgkill|'
src/MEGASync/google_breakpad/client/lin
# Disable pdfium
sed -i '/DEFINES += REQUIRE_HAVE_PDFIUM/d' src/MEGASync/MEGASync.pro
+# Fix build with new glibc
+#
https://github.com/meganz/MEGAsync/pull/477
+sed -i 's|sys_siglist\[sig\]|strsignal(sig)|'
src/MEGASync/control/CrashHandler.cpp
+
%build
#Enable FFMPEG
@@ -150,7 +155,7 @@ pushd src/MEGAShellExtDolphin/build
rm ../megasync-plugin.moc
mv ../CMakeLists_kde5.txt ../CMakeLists.txt
%cmake_kf5 ..
- %make_build
+ %cmake_build
popd
%endif
@@ -185,13 +190,14 @@ popd
%if %{with dolphin}
pushd src/MEGAShellExtDolphin/build
- %make_install
+ %cmake_install
popd
%endif
%if %{with nautilus}
+sed -i 's|$(INSTALL_ROOT)/builddir|/builddir|'
src/MEGAShellExtNautilus/build/Makefile
pushd src/MEGAShellExtNautilus/build
- %make_install
+ %make_install INSTALL_ROOT=%{buildroot} DESKTOP_DESTDIR=%{_prefix}
mkdir -p %{buildroot}%{_libdir}/nautilus/extensions-3.0
install -pm 755 libMEGAShellExtNautilus.so \
%{buildroot}%{_libdir}/nautilus/extensions-3.0/libMEGAShellExtNautilus.so
@@ -200,8 +206,9 @@ popd
%endif
%if %{with nemo}
+sed -i 's|$(INSTALL_ROOT)/builddir|/builddir|'
src/MEGAShellExtNemo/build/Makefile
pushd src/MEGAShellExtNemo/build
- %make_install
+ %make_install INSTALL_ROOT=%{buildroot} DESKTOP_DESTDIR=%{_prefix}
mkdir -p %{buildroot}%{_libdir}/nemo/extensions-3.0
install -pm 755 libMEGAShellExtNemo.so \
%{buildroot}%{_libdir}/nemo/extensions-3.0/libMEGAShellExtNemo.so
@@ -227,7 +234,7 @@ popd
%if %{with nautilus}
%files -n nautilus-%{name}
-%{_libdir}/nautilus/extensions-3.0/libMEGAShellExtNautilus.so
+%{_libdir}/nautilus/extensions-3.0/libMEGAShellExtNautilus.so*
%exclude %{_datadir}/icons/hicolor/*/emblems/mega-dolphin-*.png
%exclude %{_datadir}/icons/hicolor/*/emblems/mega-nemo*.png
%{_datadir}/icons/hicolor/*/*/mega-*.icon
@@ -236,12 +243,15 @@ popd
%if %{with nemo}
%files -n nemo-%{name}
-%{_libdir}/nemo/extensions-3.0/libMEGAShellExtNemo.so
+%{_libdir}/nemo/extensions-3.0/libMEGAShellExtNemo.so*
%{_datadir}/icons/hicolor/*/*/mega-nemo*.icon
%{_datadir}/icons/hicolor/*/*/mega-nemo*.png
%endif
%changelog
+* Mon Jul 27 2020 Vasiliy N. Glazov <vascom2(a)gmail.com> - 4.3.3.0-1
+- Update to 4.3.3.0
+
* Sun May 24 2020 Leigh Scott <leigh123linux(a)gmail.com> - 4.3.1.0-2
- Rebuild for new libraw version
diff --git a/sources b/sources
index d7076c9..fec6404 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (v4.3.1.0_Linux.tar.gz) =
cccae88a8453f56c4a6702496dc38a176774e0dcd68adb7d9ada744af9eb8e04c9a044fa55bbe40ef414b87a9219e10e2c359189c2d37819ce983a3681e0f333
-SHA512 (v3.6.8.tar.gz) =
056fa7aca1721bbd045f1dbd4a0aba4be4f6ba70b51e56fe0f0733d17b76918a86a17cc607584a95bfb012f33b08c28d685e552437f7a6fd30858f01d435499e
+SHA512 (v3.7.1.tar.gz) =
f6ce9e286e69c1560d1f7a7b13b28e8e2ba77802e777a29bef132a09f32f5fc379e5c7f64845424081d682723c53760593442e0a71d01a497b83723c875b2d9a
+SHA512 (v4.3.3.0_Linux.tar.gz) =
0d9cec15c6b9258d2f579f98c156798456d3eb3b8ab707718cc78c7fc55c213dbe04844e99a0a618b93e8c2dde0179c71dbc8357b6943c467719a9b2299812e6