From 4f6a19250d8b1d6bc2b5529b19071ca71a92352e Mon Sep 17 00:00:00 2001 From: John Date: Fri, 13 Sep 2019 21:50:34 +0300 Subject: [PATCH 1/2] MEGAsdk: update to 3.6.2a. --- common/shlibs | 2 +- srcpkgs/MEGAsdk/template | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/shlibs b/common/shlibs index 09df4f3ceca..dccdfc5ecf4 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2952,7 +2952,7 @@ libvted-3.so.0 libvted-3.7.0_2 libpeasd-3.so.0 libpeasd-3.7.0_2 libgstreamerd-3.so.0 libgstreamerd-3.7.0_2 libgtkdgl-3.so.0 libgtkdgl-3.7.0_2 -libmega.so.30504 MEGAsdk-3.5.4_1 +libmega.so.30602 MEGAsdk-3.6.2a_1 libopenglrecorder.so.0 libopenglrecorder-0.1.0_1 libgpod.so.4 libgpod-0.8.3_1 libi2c.so.0 i2c-tools-4.0_1 diff --git a/srcpkgs/MEGAsdk/template b/srcpkgs/MEGAsdk/template index a7a9977393e..864b70a7adc 100644 --- a/srcpkgs/MEGAsdk/template +++ b/srcpkgs/MEGAsdk/template @@ -1,6 +1,6 @@ # Template file for 'MEGAsdk' pkgname=MEGAsdk -version=3.5.4 +version=3.6.2a revision=1 wrksrc="sdk-${version}" build_style=gnu-configure @@ -16,7 +16,7 @@ maintainer="John " license="BSD-2-Clause" homepage="https://mega.nz" distfiles="https://github.com/meganz/sdk/archive/v${version}.tar.gz" -checksum=7fc81a64a77829bbc8dd316aac2159890a556dfdeade527a1386482e6dee26ee +checksum=22d910bcd799f30a499fe748cc2b3917e9e213558b1d5fba07b3f3908a833897 replaces="libmega>=0" build_options="libuv mediainfo" From 1ee8f69e451e460a3162c100d33c1681a0867ed9 Mon Sep 17 00:00:00 2001 From: John Date: Fri, 13 Sep 2019 22:34:24 +0300 Subject: [PATCH 2/2] MEGAsync: update to 4.2.4.0. --- srcpkgs/MEGAsync/patches/breakpad.patch | 16 ++++++++++++++++ srcpkgs/MEGAsync/template | 10 +++++----- 2 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 srcpkgs/MEGAsync/patches/breakpad.patch diff --git a/srcpkgs/MEGAsync/patches/breakpad.patch b/srcpkgs/MEGAsync/patches/breakpad.patch new file mode 100644 index 00000000000..36495af4460 --- /dev/null +++ b/srcpkgs/MEGAsync/patches/breakpad.patch @@ -0,0 +1,16 @@ +--- src/MEGASync/google_breakpad/client/linux/handler/exception_handler.cc 2019-09-13 22:27:23.351723073 +0300 ++++ - 2019-09-13 22:33:08.244312688 +0300 +@@ -104,11 +104,13 @@ + #define PR_SET_PTRACER 0x59616d61 + #endif + ++#if defined(__GLIBC__) && __GLIBC__ < 2 && __GLIBC_MINOR__ < 30 + // A wrapper for the tgkill syscall: send a signal to a specific thread. + static int tgkill(pid_t tgid, pid_t tid, int sig) { + return syscall(__NR_tgkill, tgid, tid, sig); + return 0; + } ++#endif + + namespace google_breakpad { + diff --git a/srcpkgs/MEGAsync/template b/srcpkgs/MEGAsync/template index 913e8fe7dee..4a70a48ad8e 100644 --- a/srcpkgs/MEGAsync/template +++ b/srcpkgs/MEGAsync/template @@ -1,11 +1,11 @@ # Template file for 'MEGAsync' pkgname=MEGAsync -version=4.1.1.0 +version=4.2.4.0 revision=1 -wrksrc="${pkgname}-${version}_Linux" +wrksrc="${pkgname}-${version}_Win" build_wrksrc=src build_style=qmake -configure_args='"CONFIG-=with_tools"' +configure_args='"CONFIG+=FULLREQUIREMENTS"' hostmakedepends="libtool qt5-qmake qt5-host-tools" makedepends="qt5-tools-devel qt5-devel qt5-svg-devel MEGAsdk-devel MEGAsdk-qt libraw-devel libgomp-devel" @@ -13,8 +13,8 @@ short_desc="Automated syncing with MEGA Cloud Drive" maintainer="John " license="custom" homepage="https://mega.co.nz" -distfiles="https://github.com/meganz/MEGAsync/archive/v${version}_Linux.tar.gz" -checksum=5f43a3f402c10519e2f59c8c2a70c55affd3eb1a323767127929fb5f4baa429c +distfiles="https://github.com/meganz/MEGAsync/archive/v${version}_Win.tar.gz" +checksum=5fd90c93677085a2f73faa6a5a3548fcd29fc9f3203f6ddbcac7f170b580f239 restricted=yes nocross=yes