Package Details: megacmd 1.7.0-4

Git Clone URL: https://aur.archlinux.org/megacmd.git (read-only, click to copy)
Package Base: megacmd
Description: MEGA Command Line Interactive and Scriptable Application
Upstream URL: https://github.com/meganz/MEGAcmd
Keywords: cli cloud mega
Licenses: custom
Submitter: RX14
Maintainer: ChrisLane
Last Packager: ChrisLane
Votes: 14
Popularity: 0.44
First Submitted: 2020-07-20 00:23 (UTC)
Last Updated: 2024-07-01 12:31 (UTC)

Latest Comments

1 2 3 4 Next › Last »

tiziodcaio commented on 2024-07-01 16:41 (UTC)

Might be interesting use cmake instead of gmake?

justbispo commented on 2024-07-01 11:22 (UTC) (edited on 2024-07-01 11:47 (UTC) by justbispo)

On line 24 cd "MEGAcmd-${pkgver}_Linux" fails because that directory is inside the src directory. The line is missing $srcdir, same for lines 34 and 42.

Edit: those 3 lines are also missing Arch. It should be cd "${srcdir}/MEGAcmd-${pkgver}_ArchLinux".

ChrisLane commented on 2023-11-20 09:41 (UTC)

@MatthieuL

As per the wiki: https://wiki.archlinux.org/title/PKGBUILD

The package base-devel is assumed to be already installed when building with makepkg. Dependencies of this package should not be included in makedepends array.

automake is a dependency of base-devel.

MatthieuL commented on 2023-11-18 16:42 (UTC)

automake should be added as a make dependency, building fails if it's not installed

Moelf commented on 2023-10-19 20:58 (UTC) (edited on 2023-10-19 20:58 (UTC) by Moelf)

you may need this hack https://github.com/meganz/MEGAcmd/issues/897#issuecomment-1763888551

if you run into mega-cmd-server: error while loading shared libraries: libsodium.so.23:

nipsky commented on 2023-03-15 12:11 (UTC)

Hi, trying to build the current version on a Raspberry Pi 4 (armv7h) results in an error:

src/posix/fs.cpp: In member function 'virtual bool mega::PosixFileSystemAccess::getlocalfstype(const mega::LocalPath&, mega::FileSystemType&) const':
src/posix/fs.cpp:85:27: error: narrowing conversion of '4283649346' from 'unsigned int' to 'int' [-Wnarrowing]
   85 | #define CIFS_MAGIC_NUMBER 0xFF534D42
      |                           ^~~~~~~~~~
src/posix/fs.cpp:85:27: note: in definition of macro 'CIFS_MAGIC_NUMBER'
   85 | #define CIFS_MAGIC_NUMBER 0xFF534D42
      |                           ^~~~~~~~~~
      |                           ^~~~~~~~~~

ChrisLane commented on 2023-03-14 11:05 (UTC)

Thanks @patlefort. I hadn't noticed that megacmd had updated and stopped building with latest ffmpeg but that's all sorted now.

patlefort commented on 2023-03-12 00:33 (UTC)

I also notice some missing dependencies: libpdfium, ffmpeg and libraw.

patlefort commented on 2023-03-12 00:01 (UTC)

arch is explained here: https://wiki.archlinux.org/title/PKGBUILD#arch

The package has to explicitly specify the architectures it support.

Also it doesn't compile currently but a quick fix can fix it by adding sed -i 's/#define CAP_TRUNCATED CODEC_CAP_TRUNCATED/#define CAP_TRUNCATED 0/' 'src/gfx/freeimage.cpp' in prepare() or or making a new patch.

ChrisLane commented on 2023-03-08 09:07 (UTC)

@dundarious what compiled code are you referring to? As far as I am aware, any architecture should be able to compile both mega SDK and megacmd for their system using this package.