diff options
author | Rafał Kozdrój | 2020-08-02 15:58:53 +0200 |
---|---|---|
committer | Rafał Kozdrój | 2020-08-02 15:58:53 +0200 |
commit | 2120061026eeca6e8f362371a253eaacbb7484e2 (patch) | |
tree | b2112e75f275728234e4559287027253aaa12101 | |
parent | ff8142d394ed080078821ea7f7dbf5bfbdf9a8d5 (diff) | |
download | aur-2120061026eeca6e8f362371a253eaacbb7484e2.tar.gz |
upgpkg: megasync 4.3.3.0-1
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 16 | ||||
-rw-r--r-- | pdfium.patch | 24 |
3 files changed, 23 insertions, 28 deletions
@@ -1,7 +1,7 @@ pkgbase = megasync pkgdesc = Easy automated syncing between your computers and your MEGA cloud drive - pkgver = 4.3.1.0 - pkgrel = 2 + pkgver = 4.3.3.0 + pkgrel = 1 url = https://github.com/meganz/MEGAsync arch = i686 arch = x86_64 @@ -17,19 +17,18 @@ pkgbase = megasync depends = hicolor-icon-theme depends = libuv depends = qt5-svg + depends = qt5-x11extras depends = libmediainfo depends = libraw depends = qt5-base depends = ffmpeg depends = libpdfium - source = git+https://github.com/meganz/MEGAsync.git#tag=v4.3.1.0_Linux + source = git+https://github.com/meganz/MEGAsync.git#tag=v4.3.3.0_Linux source = meganz-sdk::git+https://github.com/meganz/sdk.git source = pdfium.patch - source = add-missing-include.patch sha256sums = SKIP sha256sums = SKIP - sha256sums = f913ff490771e170610829f42f9285412ed8f4e7343f5dd7cb33e3bda4175aba - sha256sums = c4fa2f7c9e17c205bf009bc601b974ad6ac380e73238849b0be01d855a805e3f + sha256sums = 3a03d20165ebfb523644229bd650a2d0e51506c9555a1a9b28c61d07b8f28d7a pkgname = megasync @@ -6,24 +6,23 @@ # Contributor: Hexchain Tong <i at hexchain dot org> pkgname=megasync -pkgver=4.3.1.0 -pkgrel=2 +pkgver=4.3.3.0 +pkgrel=1 pkgdesc="Easy automated syncing between your computers and your MEGA cloud drive" arch=('i686' 'x86_64') url="https://github.com/meganz/MEGAsync" license=('custom:MEGA LIMITED CODE REVIEW LICENCE') depends=('c-ares' 'crypto++' 'libsodium' 'hicolor-icon-theme' 'libuv' - 'qt5-svg' 'libmediainfo' 'libraw' 'qt5-base' 'ffmpeg' 'libpdfium') + 'qt5-svg' 'qt5-x11extras' 'libmediainfo' 'libraw' 'qt5-base' + 'ffmpeg' 'libpdfium') makedepends=('qt5-tools' 'swig' 'doxygen' 'lsb-release' 'git') _extname="_Linux" source=("git+https://github.com/meganz/MEGAsync.git#tag=v${pkgver}${_extname}" "meganz-sdk::git+https://github.com/meganz/sdk.git" - "pdfium.patch" - "add-missing-include.patch") + "pdfium.patch") sha256sums=('SKIP' 'SKIP' - 'f913ff490771e170610829f42f9285412ed8f4e7343f5dd7cb33e3bda4175aba' - 'c4fa2f7c9e17c205bf009bc601b974ad6ac380e73238849b0be01d855a805e3f') + '3a03d20165ebfb523644229bd650a2d0e51506c9555a1a9b28c61d07b8f28d7a') prepare() { cd "MEGAsync" @@ -33,9 +32,6 @@ prepare() { cd "src/MEGASync/mega" patch -Np1 -i "../../../../pdfium.patch" - - cd .. - patch -Np1 -i "../../../add-missing-include.patch" } build() { diff --git a/pdfium.patch b/pdfium.patch index 478ba46c20e7..141ab30576c7 100644 --- a/pdfium.patch +++ b/pdfium.patch @@ -1,16 +1,16 @@ diff --git a/bindings/qt/sdk.pri b/bindings/qt/sdk.pri -index aa68cb00d..1d495d78f 100644 +index 83ddc2e2f..46aa06d33 100644 --- a/bindings/qt/sdk.pri +++ b/bindings/qt/sdk.pri -@@ -206,6 +206,11 @@ CONFIG(USE_PDFIUM) { - DEFINES += HAVE_PDFIUM - LIBS += -lpdfium +@@ -255,6 +255,11 @@ CONFIG(USE_PDFIUM) { + DEFINES += HAVE_PDFIUM + LIBS += -lpdfium + } ++ else:exists(/usr/include/pdfium/fpdfview.h) { ++ DEFINES += HAVE_PDFIUM ++ INCLUDEPATH += /usr/include/pdfium ++ LIBS += -lpdfium ++ } } -+ else:exists(/usr/include/pdfium/fpdfview.h) { -+ DEFINES += HAVE_PDFIUM -+ INCLUDEPATH += /usr/include/pdfium -+ LIBS += -lpdfium -+ } - } - else {#win/mac - DEFINES += HAVE_PDFIUM + else {#win/mac + DEFINES += HAVE_PDFIUM |