Package Details: megacmd 1.4.0-3

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: 3
Popularity: 0.60
First Submitted: 2020-07-20 00:23
Last Updated: 2020-12-30 14:14

Latest Comments

Wennadocta commented on 2020-12-31 20:05

@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

@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

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

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

dessert commented on 2020-12-27 14:01

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

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

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
}

eh8 commented on 2020-10-11 06:24

Please note this conflicts with megacmd-bin