From 7480baed23374138f6f5c815a4aa9bc7b82acea2 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Thu, 31 Dec 2020 15:20:00 +0100 Subject: [PATCH] MEGAsdk: update to 3.7.3c. --- common/shlibs | 2 +- srcpkgs/MEGAsdk/patches/megacmd-02-qt.patch | 85 --------------------- srcpkgs/MEGAsdk/template | 8 +- 3 files changed, 5 insertions(+), 90 deletions(-) delete mode 100644 srcpkgs/MEGAsdk/patches/megacmd-02-qt.patch diff --git a/common/shlibs b/common/shlibs index 30b88c76902..26a6259f6d2 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3175,7 +3175,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.30602 MEGAsdk-3.6.2a_1 +libmega.so.30703 MEGAsdk-3.7.3c_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/patches/megacmd-02-qt.patch b/srcpkgs/MEGAsdk/patches/megacmd-02-qt.patch deleted file mode 100644 index 92772b509b8..00000000000 --- a/srcpkgs/MEGAsdk/patches/megacmd-02-qt.patch +++ /dev/null @@ -1,85 +0,0 @@ -diff --git bindings/qt/sdk.pri bindings/qt/sdk.pri -index c64482fc..0c9c4520 100644 ---- bindings/qt/sdk.pri -+++ bindings/qt/sdk.pri -@@ -2,7 +2,7 @@ - MEGASDK_BASE_PATH = $$PWD/../../ - - VPATH += $$MEGASDK_BASE_PATH --SOURCES += src/attrmap.cpp \ -+SOURCES -= src/attrmap.cpp \ - src/backofftimer.cpp \ - src/base64.cpp \ - src/command.cpp \ -@@ -42,7 +42,7 @@ SOURCES += src/attrmap.cpp \ - src/mediafileattribute.cpp - - CONFIG(USE_MEGAAPI) { -- SOURCES += src/megaapi.cpp src/megaapi_impl.cpp -+ SOURCES -= src/megaapi.cpp src/megaapi_impl.cpp - - CONFIG(qt) { - SOURCES += bindings/qt/QTMegaRequestListener.cpp \ -@@ -67,7 +67,7 @@ CONFIG(USE_LIBWEBSOCKETS) { - } - - CONFIG(USE_LIBUV) { -- SOURCES += src/mega_http_parser.cpp -+ SOURCES -= src/mega_http_parser.cpp - DEFINES += HAVE_LIBUV - INCLUDEPATH += $$MEGASDK_BASE_PATH/bindings/qt/3rdparty/include/libuv - win32 { -@@ -197,7 +197,7 @@ win32 { - CONFIG += USE_CURL - - CONFIG(USE_CURL) { -- SOURCES += src/wincurl/net.cpp \ -+ SOURCES -= src/wincurl/net.cpp \ - src/wincurl/fs.cpp \ - src/wincurl/waiter.cpp - HEADERS += include/mega/wincurl/meganet.h -@@ -205,7 +205,7 @@ win32 { - LIBS += -llibcurl -lcares -llibeay32 -lssleay32 - } - else { -- SOURCES += src/win32/net.cpp \ -+ SOURCES -= src/win32/net.cpp \ - src/win32/fs.cpp \ - src/win32/waiter.cpp - HEADERS += include/mega/win32/meganet.h -@@ -218,7 +218,7 @@ win32 { - - - unix { --SOURCES += src/posix/net.cpp \ -+SOURCES -= src/posix/net.cpp \ - src/posix/fs.cpp \ - src/posix/waiter.cpp - } -@@ -293,7 +293,7 @@ win32 { - } - - unix { -- !exists($$MEGASDK_BASE_PATH/include/mega/config.h) { -+ exists($$MEGASDK_BASE_PATH/include/mega/config.h) { - error("Configuration file not found! Please re-run configure script located in the project's root directory!") - } - HEADERS += include/mega/posix/meganet.h \ -@@ -309,7 +309,7 @@ CONFIG(USE_PCRE) { - - CONFIG(qt) { - DEFINES += USE_QT MEGA_QT_LOGGING -- SOURCES += src/gfx/qt.cpp src/thread/qtthread.cpp -+ SOURCES -= src/gfx/qt.cpp src/thread/qtthread.cpp - } - else { - DEFINES += USE_FREEIMAGE -@@ -385,7 +385,7 @@ win32 { - - unix:!macx { - INCLUDEPATH += $$MEGASDK_BASE_PATH/include/mega/posix -- LIBS += -lsqlite3 -lrt -+ LIBS += -lmega -lsqlite3 -lrt - - exists($$MEGASDK_BASE_PATH/bindings/qt/3rdparty/libs/libcurl.a) { - LIBS += $$MEGASDK_BASE_PATH/bindings/qt/3rdparty/libs/libcurl.a diff --git a/srcpkgs/MEGAsdk/template b/srcpkgs/MEGAsdk/template index e0e42f80f28..0cb3b292064 100644 --- a/srcpkgs/MEGAsdk/template +++ b/srcpkgs/MEGAsdk/template @@ -1,7 +1,7 @@ # Template file for 'MEGAsdk' pkgname=MEGAsdk -version=3.6.2a -revision=4 +version=3.7.3c +revision=1 wrksrc="sdk-${version}" build_style=gnu-configure configure_args="--enable-chat --disable-examples $(vopt_with libuv)" @@ -12,11 +12,11 @@ makedepends="libcurl-devel c-ares-devel libressl-devel crypto++-devel libuv-devel $(vopt_if mediainfo libmediainfo-devel)" checkdepends="gtest-devel" short_desc="Official client for cloud service mega.nz" -maintainer="John " +maintainer="Orphaned " license="BSD-2-Clause" homepage="https://mega.nz" distfiles="https://github.com/meganz/sdk/archive/v${version}.tar.gz" -checksum=22d910bcd799f30a499fe748cc2b3917e9e213558b1d5fba07b3f3908a833897 +checksum=0b55c1752d590a0367b9fcddd2465ea574308eb97e065540121f6261807aa111 replaces="libmega>=0" build_options="libuv mediainfo"