Skip to content

MEGAcmd: update to 2.5.2, adopt - #62546

Open
otolias wants to merge 1 commit into
void-linux:masterfrom
otolias:MEGAcmd-update
Open

otolias wants to merge 1 commit into
void-linux:masterfrom
otolias:MEGAcmd-update

Conversation

@otolias

@otolias otolias commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Testing the changes

  • I tested the changes in this PR: briefly

Local build testing

  • I built this PR locally for my native architecture, (x86_64-glibc)
  • I built this PR locally for these architectures (if supported. mark crossbuilds):
    • armv6l
    • x86_64-musl

Package hasn't been updated in a while, and the project has migrated from autotools to cmake during this time. Also, the template doesn't use the repo's MEGAsdk as a dependency, because it is vendored as a git subproject which is some releases out-of-sync. I plan to update MEGAsdk in a separate PR. I tested it briefly and it works, but further testing would be appreciated.

Comment thread srcpkgs/MEGAcmd/template
Comment on lines +26 to +29
case "$XBPS_TARGET_WORDSIZE" in
32) makedepends+=" fuse3-devel" ;;
64) makedepends+=" fuse-devel" ;;
esac

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't it both use the same fuse verison?

Comment thread srcpkgs/MEGAcmd/template
hostmakedepends="pkg-config"
makedepends="libsodium-devel openssl-devel sqlite-devel libcurl-devel icu-devel
freeimage-devel libuv-devel readline-devel pcre-devel crypto++-devel
libmediainfo-devel ffmpeg-devel zlib-devel gtest-devel"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please indent with a single space inside of variables.

Comment thread srcpkgs/MEGAcmd/template
revision=1
_sdk_commit="fae76a36d60484657fbdf442b7b917ccc4fbad77"
build_style=cmake
configure_args="-DCMAKE_INSTALL_PREFIX=/ -DCMAKE_BUILD_TYPE=RelWithDebInfo -DVCPKG_ROOT=''

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the -DCMAKE* variables, the cmake build style sets the prefix already and the build type is set to none in the build style so it will use the xbps-src defined cflags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants