Package Details: megacmd 1.6.3-1

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: 12
Popularity: 0.049988
First Submitted: 2020-07-20 00:23 (UTC)
Last Updated: 2023-05-25 08:07 (UTC)

Latest Comments

1 2 3 4 Next › Last »

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.

dundarious commented on 2023-03-07 16:53 (UTC)

The arch variable in PKGBUILD seems to be wrong. It is just "any", but this contains compiled code, so it is architecture specific ("any" is only to be used for architecture agnostic stuff like scripts).

It should be something more like arch=(x86_64 aarch64 armv7h) or just arch=(x86_64)

ChrisLane commented on 2023-02-22 11:57 (UTC)

@saltedcoffii I couldnt' see that the presence of doxygen had any effect on the resulting package other than the warning during build.