MEGAsdk: update to 3.7.3c.

This commit is contained in:
Duncaen 2020-12-31 15:20:00 +01:00
parent 5d7e0cfe2b
commit 7480baed23
No known key found for this signature in database
GPG Key ID: 335C1D17EC3D6E35
3 changed files with 5 additions and 90 deletions

View File

@ -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

View File

@ -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

View File

@ -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 <me@johnnynator.dev>"
maintainer="Orphaned <orphan@voidlinux.org>"
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"