Package Details: megasync 4.0.2.0-2

Git Clone URL: https://aur.archlinux.org/megasync.git (read-only)
Package Base: megasync
Description: Easy automated syncing between your computers and your MEGA cloud drive
Upstream URL: https://github.com/meganz/MEGAsync
Licenses: custom:MEGA LIMITED CODE REVIEW LICENCE
Submitter: son_link
Maintainer: Kozeid
Last Packager: Kozeid
Votes: 311
Popularity: 7.782379
First Submitted: 2014-09-01 18:12
Last Updated: 2019-02-28 17:07

Latest Comments

1 2 3 4 5 6 ... Next › Last »

guicolorado commented on 2019-01-25 02:33

O PKGBUILD está com algum erro no build.

Info: creating stash file /home/colorado/.cache/yay/megasync/src/MEGAsync/src/.qmake.stash lrelease-qt5: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory ==> ERRO: Uma falha ocorreu em build(). Abortando... Error making: megasync [colorado@archlinux ~]$

missmuttley commented on 2018-12-26 23:56

Works brilliantly ... thank you. :-)

Kozeid commented on 2018-12-01 17:58

@dixi_minga autoconf belongs to the base-devel group and doesn't need to be listed as a dependency.

https://wiki.archlinux.org/index.php/Arch_User_Repository#Prerequisites

dixi_minga commented on 2018-12-01 17:50

I needed to install "autoconf" because autoreconf was missing So it should be a dependency

bluntroller commented on 2018-10-29 17:07

Compiles like a charm... Thanks!

Kozeid commented on 2018-09-26 09:42

@zfkerr I can't reproduce this error. How big is your /tmp partition? Can you try building it manually, without yaourt?

zfkerr commented on 2018-09-25 19:51

@Kozeid , hi! Sadly, but I can't build it:

                        mega/include/megaapi.h:2768:13: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
                        g++ -c -pipe -g -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wall -W -D_REENTRANT -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0x000000 -DHAVE_LIBUV -DUSE_MEDIAINFO -DUNICODE -DHAVE_LIBRAW -DHAVE_FFMPEG -DUSE_QT -DMEGA_QT_LOGGING -                                                                                                                
                        DUSE_SQLITE -DUSE_CRYPTOPP -DENABLE_SYNC -DENABLE_CHAT -DNDEBUG -DUSE_DBUS -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -Igui -Igui/linux -I/tmp/yaourt-tmp-user/aur-megasync/src/MEGAsync/src/MEGASync/mega/bindings/qt/../..//bindings/qt/3rdparty/include/libuv -Imega/include -Imega/bindings/qt -I/tmp/yaourt-tmp-user/aur-megasync/src/MEGAsync/src/MEGASync/mega/bindings/qt/../..//bindings/qt/3rdparty/include -Imega/include/mega/posix -Icontrol -Iplatform -Igoogle_breakpad -Iqtlockedfile -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtDBus -isystem /usr/include/qt/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/qt/mkspecs/linux-g++ -o MegaItem.o gui/MegaItem.cpp
                        make[1]: *** No rule to make target 'gui/ChangeLogDialog.cpp', needed by 'ChangeLogDialog.o'.  Stop.
                        make[1]: *** Waiting for unfinished jobs....
                        g++: error: gui/MegaItem.cpp: No such file or directory
                        g++: fatal error: no input files
                        compilation terminated.
                        make[1]: *** [Makefile:2861: MegaItem.o] Error 1
                        make[1]: Leaving directory '/tmp/yaourt-tmp-user/aur-megasync/src/MEGAsync/src/MEGASync'
                        make: *** [Makefile:45: sub-MEGASync-make_first] Error 2
                        ==> ERROR: A failure occurred in build().
                            Aborting...
                        ==> ERROR: Makepkg was unable to build megasync.

jontxo commented on 2018-09-24 17:25

Hello

with a commit they have performed: https://github.com/meganz/MEGAsync/issues/231. It is possible to compile the git version of this package. This is the PKGBUILD I have used

Maintainer: Gustavo Alvarez sl1pkn07@gmail.com
Contributor: Archimede Pitagorico archimede.pitagorico@mail.com
Contributor: Alfonso Saavedra "Son Link" sonlink.dourden@gmail.com

pkgbase=megasync-git pkgname=('libmega-git' 'megasync-git' 'megasync-daemon-git' 'megasync-cli-git' 'python-megasync-git' 'python2-megasync-git' 'fuse-megasync-git' ) pkgver=v3.7.1.0.2.g42144d4f pkgrel=1 pkgdesc="Sync your files to your Mega account. (GIT Version)" arch=('i686' 'x86_64') url='https://mega.co.nz/#sync' license=('custom:MEGA') source=('git+https://github.com/meganz/MEGAsync.git' 'git+https://github.com/meganz/sdk.git#branch=release/v3.4.1' 'mega.svg' 'megasync.conf' 'megasyncd.service' ) makedepends=('qt5-base' 'c-ares' 'libuv' 'curl' 'crypto++' 'libsodium' 'git' 'qt5-tools' 'cython' 'python' 'cython2' 'python2' 'swig' 'fuse2' 'pcre' ) sha256sums=('SKIP' 'SKIP' 'c0abfeafb541509923c85d253f6f64dae8a49e9ae4b067f5c0c484ff1d924403' 'a3d30b3e198c3c117b2dd3144acaeb66117ee013744d2a0f39e9d4624b979a22' '73600a6d5e7ddbb6d0a3eff22aa05cc22715c2b02be7e62d16c2c71ac17a5ad5' ) options=('!buildflags')

pkgver() { cd MEGAsync echo "$(git describe --long --tags | tr - . | tr _ . | sed 's|OSX.||' | sed 's|Win.||' | sed 's|Linux.||' )" }

prepare() { (git clone "${srcdir}/sdk" build; cd build; ./autogen.sh) (git clone "${srcdir}/sdk" build-python2; cd build-python2; ./autogen.sh)

cd MEGAsync git config submodule.src/MEGASync/mega.url "${srcdir}/sdk" git submodule update --init

cd src/MEGASync/mega ./autogen.sh }

build() { msg2 "Build libmega and programs, include Python bindings" cd "${srcdir}/build" ./configure \ --prefix=/usr \ --without-freeimage \ --enable-python \ --with-python3

make

msg2 "Build python2 bindings" cd "${srcdir}/build-python2" PYTHON=python2 \ PYTHON_VERSION="$(python2 -c "import platform; print('.'.join(platform.python_version_tuple()[:2]))")" \ ./configure \ --prefix=/usr \ --without-freeimage \ --disable-examples \ --enable-python

make

msg2 "Build MEGASync" cd "${srcdir}/MEGAsync/src/MEGASync/mega" ./configure \ --prefix=/usr \ --without-freeimage

cd "${srcdir}/MEGAsync/src/MEGASync" lrelease-qt5 MEGASync.pro qmake-qt5 CONFIG+=debug MEGASync.pro make }

package_megasync-git() { pkgdesc="MEGASync Desktop App. (GIT Version)" conflicts=('megasync' 'megatools' ) provides=('megasync') depends=('qt5-base' 'c-ares' 'libuv' 'curl' 'crypto++' 'libsodium' 'hicolor-icon-theme' )

install -Dm644 MEGAsync/LICENCE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -Dm755 MEGAsync/src/MEGASync/megasync "${pkgdir}/usr/bin/megasync" install -Dm644 MEGAsync/src/MEGASync/platform/linux/data/megasync.desktop "${pkgdir}/usr/share/applications/megasync.desktop" sed 's|System;||g' -i "${pkgdir}/usr/share/applications/megasync.desktop" install -Dm644 "${srcdir}/mega.svg" "${pkgdir}/usr/share/pixmaps/mega.svg" }

package_libmega-git() { pkgdesc="MEGASync libs (GIT Version)" conflicts=('libmega') provides=('libmega') depends=('c-ares' 'curl' 'crypto++' 'libsodium' 'sqlite' )

install -Dm644 MEGAsync/LICENCE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" make -C build DESTDIR="${pkgdir}" install-data make -C build DESTDIR="${pkgdir}" install-libLTLIBRARIES make -C build DESTDIR="${pkgdir}" install-pkgconfigDATA make -C build DESTDIR="${pkgdir}" install-pkglibLTLIBRARIES make -j1 -C build DESTDIR="${pkgdir}" uninstall-pkgpythonPYTHON make -j1 -C build DESTDIR="${pkgdir}" uninstall-pkgpyexecLTLIBRARIES make -j1 -C build DESTDIR="${pkgdir}" uninstall-nodist_pkgpythonPYTHON rm -fr "${pkgdir}/$(python -c "import os; import inspect; print(os.path.dirname(inspect.getfile(inspect)))")" }

package_fuse-megasync-git() { pkgdesc="MEGASync client based on FUSE (GIT Version)" conflicts=('fuse-megasync') provides=('fuse-megasync') depends=(libmega-git 'fuse2' ) options=('!emptydirs')

install -Dm644 MEGAsync/LICENCE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" make -C build DESTDIR="${pkgdir}" install-binPROGRAMS make -C build DESTDIR="${pkgdir}" uninstall-libLTLIBRARIES rm -fr "${pkgdir}/usr/bin/megacli" rm -fr "${pkgdir}/usr/bin/megasimplesync" rm -fr "${pkgdir}/usr/bin/mega-cmd" rm -fr "${pkgdir}/usr/bin/mega-exec" }

package_megasync-daemon-git() { pkgdesc="MEGASync daemon client. (GIT Version)" conflicts=('megasync-daemon') provides=('megasync-daemon') depends=('libmega-git') options=('!emptydirs') backup=('etc/conf.d/megasync.conf')

install -Dm644 MEGAsync/LICENCE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" make -C build DESTDIR="${pkgdir}" install-binPROGRAMS make -C build DESTDIR="${pkgdir}" uninstall-libLTLIBRARIES rm -fr ${pkgdir}/usr/bin/megacli rm -fr ${pkgdir}/usr/bin/megafuse rm -fr "${pkgdir}/usr/bin/mega-cmd" rm -fr "${pkgdir}/usr/bin/mega-exec"

install -Dm644 "${srcdir}/megasyncd.service" "${pkgdir}/usr/lib/systemd/system/megasyncd.service" install -Dm600 "${srcdir}/megasync.conf" "${pkgdir}/etc/conf.d/megasync.conf" install -d "${pkgdir}/srv/mega" install -dm700 "${pkgdir}/var/mega" }

package_megasync-cli-git() { pkgdesc="MEGASync CLI client. (GIT Version)" conflicts=('megasync-cli') provides=('megasync-cli') depends=('libmega-git' 'pcre' ) options=('!emptydirs')

install -Dm644 MEGAsync/LICENCE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" make -C build DESTDIR="${pkgdir}" install-binPROGRAMS make -C build DESTDIR="${pkgdir}" uninstall-libLTLIBRARIES rm -fr ${pkgdir}/usr/bin/megafuse rm -fr ${pkgdir}/usr/bin/megasimplesync } package_python-megasync-git() { pkgdesc="Python Bindings for MEGASync. (GIT Version)" conflicts=('python-megasync') provides=('python-megasync') depends=('libmega-git' 'python' )

install -Dm644 MEGAsync/LICENCE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" make -C build DESTDIR="${pkgdir}" install-libLTLIBRARIES make -C build DESTDIR="${pkgdir}" install-pkgpythonPYTHON make -C build DESTDIR="${pkgdir}" install-pkgpyexecLTLIBRARIES make -C build DESTDIR="${pkgdir}" uninstall-libLTLIBRARIES } package_python2-megasync-git() { pkgdesc="Python2 Bindings for MEGASync. (GIT Version)" conflicts=('python2-megasync') provides=('python2-megasync') depends=('libmega-git' 'python2' )

install -Dm644 MEGAsync/LICENCE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" make -C build DESTDIR="${pkgdir}" install-libLTLIBRARIES make -C build-python2 DESTDIR="${pkgdir}" install-pkgpythonPYTHON make -C build-python2 DESTDIR="${pkgdir}" install-pkgpyexecLTLIBRARIES make -C build DESTDIR="${pkgdir}" uninstall-libLTLIBRARIES }

kikadf commented on 2018-09-24 07:53

I move from Arch Linux, so who would like to maintain this package, let's do it! Bye :)

aleextra commented on 2018-09-23 20:18

I have same issue for a few days for now. @Menelkir thank you for the tip to install directly from mega.nz.