MEGAsdk: update to 3.3.1.

This commit is contained in:
John 2018-02-26 23:56:32 +01:00 committed by Enno Boland
parent f87c64f7d7
commit 6175410c0c
4 changed files with 19 additions and 23 deletions

View File

@ -2987,13 +2987,12 @@ libtermbox.so.1 termbox-1.1.0_1
libmysofa.so.0 libmysofa-0.6_1
libzinnia.so.0 libzinnia-0.06_1
libdnet.so.1 libdnet-1.12_1
libmega.so.30207 libmega-3.2.7_1
libgtkd-3.so.0 gtkd-3.7.0_1
libgtkdsv-3.so.0 gtkd-3.7.0_1
libvted-3.so.0 gtkd-3.7.0_1
libpeasd-3.so.0 gtkd-3.7.0_1
libgstreamerd-3.so.0 gtkd-3.7.0_1
libmega.so.30208 MEGAsdk-3.2.8_1
libmega.so.30300 MEGAsdk-3.3.1_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

@ -0,0 +1,10 @@
--- include/Makefile.am 2018-02-02 13:43:23.000000000 +0100
+++ - 2018-02-28 21:39:59.128449601 +0100
@@ -53,6 +53,7 @@
mega/mega_dict-src.h \
mega/gfx/freeimage.h \
mega/gfx/GfxProcCG.h \
+ mega/mega_http_parser.h \
mega/mediafileattribute.h
if BUILD_MEGAAPI

View File

@ -1,14 +0,0 @@
diff --git include/Makefile.am include/Makefile.am
index 2cb4070e..0f2e28b1 100644
--- include/Makefile.am
+++ include/Makefile.am
@@ -52,7 +52,8 @@ nobase_libmegainclude_HEADERS = \
mega/mega_zxcvbn.h \
mega/mega_dict-src.h \
mega/gfx/freeimage.h \
- mega/gfx/GfxProcCG.h
+ mega/gfx/GfxProcCG.h \
+ mega/mega_http_parser.h
if BUILD_MEGAAPI
nobase_libmegainclude_HEADERS += megaapi.h megaapi_impl.h

View File

@ -1,29 +1,29 @@
# Template file for 'MEGAsdk'
pkgname=MEGAsdk
version=3.2.8
version=3.3.1
revision=1
wrksrc=sdk-${version}
build_style=gnu-configure
configure_args="--disable-megacmd --enable-chat --disable-examples $(vopt_with libuv)"
configure_args="--enable-chat --disable-examples $(vopt_with libuv)"
make_build_args='LIBTOOLFLAGS="--tag=CXX"'
hostmakedepends="autogen doxygen autoconf automake gettext libtool"
makedepends="libcurl-devel c-ares-devel libressl-devel crypto++-devel
zlib-devel sqlite-devel freeimage-devel libsodium-devel fuse-devel
libuv-devel"
libuv-devel $(vopt_if mediainfo libmediainfo-devel)"
checkdepends="gtest-devel"
short_desc="The official client for cloud service mega.nz"
maintainer="John <johnz@posteo.net>"
license="2-clause-BSD"
homepage="https://mega.nz"
distfiles="https://github.com/meganz/sdk/archive/v${version}.tar.gz"
checksum=4344445d63f4a8a52570ed06da2aa8c3833644c24c947419f155ef305aefa0ea
checksum=da00cbff64eba5b83a98c78347f8def3350fcf2c74ba4d4f03e099e42a1566e6
replaces="libmega>=0"
build_options="libuv"
build_options="libuv mediainfo"
case "$XBPS_TARGET_MACHINE" in
*-musl);;
*) build_options_default="libuv";;
*) build_options_default="libuv mediainfo";;
esac
pre_configure() {
@ -46,7 +46,8 @@ MEGAsdk-qt_package() {
MEGAsdk-devel_package() {
depends="MEGAsdk>=${version}_${revision} libcurl-devel crypto++-devel c-ares-devel
sqlite-devel freeimage-devel libsodium-devel $(vopt_if libuv libuv-devel)"
sqlite-devel freeimage-devel libsodium-devel $(vopt_if libuv libuv-devel)
$(vopt_if mediainfo libmediainfo-devel)"
short_desc+=" - development files"
replaces="libmega-devel>=0"
pkg_install() {