Package Details: megacmd 2.1.1-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: LicenseRef-megacmd
Submitter: RX14
Maintainer: ChrisLane
Last Packager: ChrisLane
Votes: 16
Popularity: 0.99
First Submitted: 2020-07-20 00:23 (UTC)
Last Updated: 2025-04-09 08:27 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

ChrisLane commented on 2021-05-27 09:13 (UTC) (edited on 2021-05-27 09:13 (UTC) by ChrisLane)

Apologies for being so slow to resolve the ffmpeg issue, I mistakenly attributed it to system incompatibilities before.

I've pushed an update that removes the ffmpeg dependency/features until this issue is resolved https://github.com/meganz/MEGAcmd/issues/523.

Edit: Thanks @paulieg

paulieg commented on 2021-05-26 22:24 (UTC)

megacmd upstream is broken with current ffmpeg and are in no hurry to fix. Since ffmpeg is only used for previews, and most of us only care about the cli anyway, just build without ffmpeg.

./configure --without-ffmpeg

emild commented on 2021-04-30 16:20 (UTC)

the issue reported by @Wennadocta happens when using the "stock" ffmpeg (4.4-1 as of 2021-04-27). It does not happen if you pre-install the previous version of ffmpeg (4.3.2-1).

Wennadocta commented on 2020-12-31 20:05 (UTC) (edited on 2020-12-31 20:05 (UTC) by Wennadocta)

@ChrisLane No, I'm building on amd64. I have custom ffmpeg build with this configuration

ffmpeg version N-100213-g67bb11b5f6 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 10.2.0 (GCC)
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librav1e --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-nvdec --enable-nvenc --enable-shared --enable-version3 --enable-nonfree --enable-libfdk-aac

ChrisLane commented on 2020-12-30 11:21 (UTC) (edited on 2020-12-30 11:30 (UTC) by ChrisLane)

@Wennadocta were you building on an arm device by any chance? Also, what version of ffmpeg do you have installed?

Wennadocta commented on 2020-12-30 06:57 (UTC)

Can't build, this error in sources:

src/gfx/freeimage.cpp:191:18: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘skip_to_keyframe’
  191 |     videoStream->skip_to_keyframe = true;
      | 

ChrisLane commented on 2020-12-29 11:56 (UTC)

Sorry about that @dessert, I've updated the PKGBUILD to have those changes.

dessert commented on 2020-12-27 14:01 (UTC)

The source file names should include ${pkgver} or ${_sdkhash} repectively, with yay the sha512sum validation failed for me because there were old versions lying around in ~/.cache/yay/megacmd which prevented it from downloading the new versions.

pintert3 commented on 2020-12-19 22:06 (UTC)

I don't know if this is the right place to ask, but what happened to the binaries?

paulieg commented on 2020-11-23 00:49 (UTC) (edited on 2020-11-23 00:52 (UTC) by paulieg)

This is out of date now and doesn't work with Mega's current link format. OTOH, although there is a new release 1.4.0, upstream has not tagged it for Linux (ie there is a 1.4.0_MacOS and a 1.4.0_Win, but no 1.4.0_Linux). Here's a PKGBUILD that builds it from master:

pkgname=megacmd-git
pkgver=0
pkgrel=1
pkgdesc="MEGA Command Line Interactive and Scriptable Application"
url="https://github.com/meganz/MEGAcmd"
arch=('any')
license=('custom')
depends=('crypto++' 'zlib' 'sqlite' 'openssl' 'curl' 'c-ares' 'freeimage' 'libsodium'
         'readline' 'libmediainfo' 'pcre' 'ffmpeg' 'libuv')
makedepends=('git' 'autoconf')
provides=('megacmd')
conflicts=('megacmd')
source=("${pkgname}::git+https://github.com/meganz/MEGAcmd")
md5sums=('SKIP')


pkgver() {
  cd "$pkgname"
  git rev-parse --short HEAD
}

prepare() {
  cd "$pkgname"
  git submodule update --init --recursive
}

build() {
  cd "$pkgname"

  sh autogen.sh
  ./configure --prefix=/usr
  make
}

package() {
  cd "$pkgname"

  make DESTDIR="$pkgdir" install
}