From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/
Date: Wed, 13 Aug 2025 15:47:06 +0000 (UTC) [thread overview]
Message-ID: <1755017034.ffb6eafd5b2f21b7908e4a39c8559ac57c4abc39.davidroman@gentoo> (raw)
commit: ffb6eafd5b2f21b7908e4a39c8559ac57c4abc39
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Tue Aug 12 16:43:54 2025 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Aug 12 16:43:54 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ffb6eafd
net-misc/megasync: add 5.15.0.1
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
net-misc/megasync/Manifest | 2 +
net-misc/megasync/megasync-5.15.0.1.ebuild | 170 +++++++++++++++++++++++++++++
2 files changed, 172 insertions(+)
diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 1f2a1caafd..b3101ce7ce 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,4 +1,6 @@
DIST megasync-5.13.0.1.tar.gz 27929888 BLAKE2B a80979f9aa27e97cd2f116e573fbd6253ba7c2d9ba228456e2a6bcbd927c2a0a0dc4fc9c5403577985d076955c351429a65518469ec3f0ef9297c89f405edb92 SHA512 ff0cfb034f5cf11e5a1a990af1d6a235a4d097bc69514c8fbaa0963af9fe56ad7f6a0b876d95e360352fb5dcf7d5bde2751d6a362cec2add34e435615aab73e4
DIST megasync-5.14.0.2.tar.gz 27974698 BLAKE2B 07b759be431854e1db7dda7a3a0b3ed6eb065eeb01ae8b3f987643dcf9d35165352e6da9becdffc13ec769c699e620d33e8feea947df1cc1debbfcd3eea6ba67 SHA512 a7213b53b414c87e442097499d11348c5bf00cbdb49f46b1db432ade9debbbcafdcae8a67bad9b053cb210b048cd97fa845ae418a7e054e188758dafda18ea83
+DIST megasync-5.15.0.1.tar.gz 27947941 BLAKE2B df10e00813932fde37e2151c4f793e8a24f30e6f04cbba2fa444db4352b6aea6567cda5825d7adbfc5bb0fd1d8060a875e35568c3c632d01468b177b83426af6 SHA512 fb4dd407e4644032fcbf7fdd820a7165cebf11d43b0b6bc5f0edadae2aa4fb8c1488cfc7264cfdbcaeb2590a2457d029aed30d7fdc661cea239bb987959950b2
DIST megasync-sdk-5.13.0.1.tar.gz 4186814 BLAKE2B 3728573b59733d64c9e939d4bcd9798fbcf7b0a645c68da550bde1896b7ef1c459b7801266a8ee77a4355947f1751c04b0df93b4d601f18f36348fd1067d920e SHA512 05039781ffcea560a9639e49eee5f62eb4c8f485633b753d1aade64f371719fac4fe3b543e51eee8cb6ed916fa7da8f41457f9cd4571350ac7ea49a224831f18
DIST megasync-sdk-5.14.0.2.tar.gz 4213919 BLAKE2B cf3826b4bc0dc32c6a5d42ae2e0caa4636393f512fee0f470d7399162ba71e314fdf59136bd2271b047042008d452dcb4055028a338d3dba5bba43eed86ee782 SHA512 08ee22df60803ef0f446a7e5a459ccde102840dc86e5db5edd906d4f30a60393626a792a20e2236da4241a79c235126a2a2ebab2085510bc170d31dde28612d3
+DIST megasync-sdk-5.15.0.1.tar.gz 4231567 BLAKE2B 1560654a0c427a3f3ed296f48de78f4f10bee04d16130a1beb1528a069e580b9a587888910da9b1275d5aeb02041b0f46fa9f4e1b608c1036f6ef07fb0bce410 SHA512 2fb3f3bd97c2776044819b371c84953920f8a3ecd1f971ef127adf1c3429b35d75836cc9f0204912345a89c550a3d1cf0950f7ba67577fbd2be64a489e52ed31
diff --git a/net-misc/megasync/megasync-5.15.0.1.ebuild b/net-misc/megasync/megasync-5.15.0.1.ebuild
new file mode 100644
index 0000000000..beb424a11a
--- /dev/null
+++ b/net-misc/megasync/megasync-5.15.0.1.ebuild
@@ -0,0 +1,170 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic qmake-utils xdg
+
+DESCRIPTION="The official Qt-based program for syncing your MEGA account in your PC"
+HOMEPAGE="
+ https://mega.io
+ https://github.com/meganz/MEGAsync
+"
+
+MEGA_SDK_REV="784ad98a7d55536fa4b2c4d2cf22016a3e416663" # commit of src/MEGASync/mega submodule
+MEGA_TAG_SUFFIX="Linux"
+SRC_URI="
+ https://github.com/meganz/MEGAsync/archive/v${PV}_${MEGA_TAG_SUFFIX}.tar.gz -> ${P}.tar.gz
+ https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> ${PN}-sdk-${PV}.tar.gz
+"
+S="${WORKDIR}"/MEGAsync-${PV}_${MEGA_TAG_SUFFIX}
+
+LICENSE="MEGA"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dolphin mediainfo nautilus nemo thumbnail thunar"
+
+DEPEND="
+ dev-db/sqlite:3
+ dev-libs/crypto++:=
+ dev-libs/icu:=
+ dev-libs/libsodium:=
+ dev-libs/libuv:=
+ dev-libs/openssl:0=
+ dev-qt/qtconcurrent:5
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtdeclarative:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtimageformats:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
+ net-misc/curl[ssl]
+ sys-libs/zlib
+ x11-libs/libxcb:=
+ dolphin? (
+ dev-qt/qtbase:6[network,widgets]
+ kde-apps/dolphin:6
+ kde-frameworks/kcoreaddons:6
+ kde-frameworks/kio:6
+ kde-frameworks/kwidgetsaddons:6
+ )
+ mediainfo? (
+ media-libs/libmediainfo
+ media-libs/libzen
+ )
+ nautilus? (
+ dev-libs/glib:2
+ >=gnome-base/nautilus-43
+ )
+ nemo? (
+ dev-libs/glib:2
+ gnome-extra/nemo
+ )
+ thumbnail? (
+ media-libs/freeimage
+ media-video/ffmpeg:=
+ )
+ thunar? (
+ dev-libs/glib:2
+ xfce-base/thunar:=
+ )
+"
+RDEPEND="
+ ${DEPEND}
+ dev-qt/qtquickcontrols:5
+ dev-qt/qtquickcontrols2:5
+"
+BDEPEND="
+ dev-qt/linguist-tools:5
+ virtual/pkgconfig
+ dolphin? ( kde-frameworks/extra-cmake-modules )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-5.6.0.0-remove-clang-format.patch"
+ "${FILESDIR}/${PN}-5.7.0.0-disable-forced-options.patch"
+ "${FILESDIR}/${PN}-5.7.0.0-fix-install-dir.patch"
+ "${FILESDIR}/${PN}-5.7.0.0-rename-libcryptopp.patch"
+ "${FILESDIR}/${PN}-5.10.0.2-link-zlib.patch"
+)
+
+BUILD_DIR_DOLPHIN="${S}_dolphin"
+
+dolphin_run() {
+ if use dolphin; then
+ cd "${S}/src/MEGAShellExtDolphin" || die
+ BUILD_DIR="${BUILD_DIR_DOLPHIN}" CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin" "$@"
+ fi
+}
+
+nemo_run() {
+ if use nemo; then
+ cd "${S}/src/MEGAShellExtNemo" || die
+ "$@"
+ fi
+}
+
+thunar_run() {
+ if use thunar; then
+ cd "${S}/src/MEGAShellExtThunar" || die
+ "$@"
+ fi
+}
+
+src_prepare() {
+ rmdir src/MEGASync/mega || die
+ mv "${WORKDIR}/sdk-${MEGA_SDK_REV}" src/MEGASync/mega || die
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ # https://github.com/meganz/sdk/issues/2679
+ append-cppflags -DNDEBUG
+
+ local mycmakeargs=(
+ # build internal libs as static
+ -DBUILD_SHARED_LIBS=OFF
+ -DCMAKE_MODULE_PATH="${S}/src/MEGASync/mega/cmake/modules/packages"
+ -DENABLE_DESKTOP_APP_TESTS=OFF
+ -DENABLE_DESKTOP_APP_WERROR=OFF
+ -DENABLE_DESKTOP_UPDATE_GEN=OFF
+ -DENABLE_DESIGN_TOKENS_IMPORTER=OFF
+ -DUSE_BREAKPAD=OFF
+ -DENABLE_ISOLATED_GFX=$(usex thumbnail)
+ -DENABLE_LINUX_EXT=$(usex nautilus)
+ -DUSE_FFMPEG=$(usex thumbnail)
+ -DUSE_FREEIMAGE=$(usex thumbnail)
+ -DUSE_MEDIAINFO=$(usex mediainfo)
+ -DUSE_PDFIUM=OFF
+ -DUSE_READLINE=OFF
+ )
+ cmake_src_configure
+
+ mycmakeargs=(
+ -DKF_VER=6
+ -DQt_VER=6
+ )
+ dolphin_run cmake_src_configure
+ nemo_run eqmake5 DEFINES=no_desktop
+ thunar_run eqmake5
+}
+
+src_compile() {
+ cmake_src_compile
+
+ dolphin_run cmake_src_compile
+ nemo_run emake
+ thunar_run emake
+}
+
+src_install() {
+ cmake_src_install
+
+ dolphin_run cmake_src_install
+ nemo_run emake INSTALL_ROOT="${D}" install
+ thunar_run emake INSTALL_ROOT="${D}" install
+}
next reply other threads:[~2025-08-13 15:47 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-13 15:47 David Roman [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-10-02 8:47 [gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/ David Roman
2025-09-28 17:22 David Roman
2025-09-28 17:22 David Roman
2025-08-13 15:47 David Roman
2025-05-08 13:47 David Roman
2025-04-05 7:40 David Roman
2025-04-05 7:40 David Roman
2025-04-04 8:56 David Roman
2025-02-06 15:49 David Roman
2025-01-17 14:16 Julien Roy
2025-01-17 14:16 Julien Roy
2025-01-02 19:26 David Roman
2024-11-21 14:11 Julien Roy
2024-11-21 14:11 Julien Roy
2024-10-31 11:33 David Roman
2024-10-04 10:24 Rui Huang
2024-09-21 8:47 David Roman
2024-08-20 20:46 David Roman
2024-08-20 20:46 David Roman
2024-07-27 17:46 David Roman
2024-07-27 17:46 David Roman
2024-07-14 0:34 David Roman
2024-05-07 14:26 Florian Schmaus
2024-05-07 14:26 Florian Schmaus
2024-03-25 16:13 Julien Roy
2024-03-19 10:20 Julien Roy
2024-03-19 10:20 Julien Roy
2024-01-29 10:48 David Roman
2024-01-29 10:48 David Roman
2024-01-26 10:35 David Roman
2024-01-26 10:35 David Roman
2023-11-24 17:20 David Roman
2023-11-24 17:20 David Roman
2023-11-20 14:14 David Roman
2023-11-16 16:02 David Roman
2023-11-16 10:05 David Roman
2023-11-16 10:05 David Roman
2021-05-24 22:25 Haelwenn Monnier
2021-05-22 12:16 Andrew Ammerlaan
2021-05-06 9:55 Andrew Ammerlaan
2021-05-03 10:11 Andrew Ammerlaan
2021-01-25 8:53 Andrew Ammerlaan
2021-01-03 13:58 Andrew Ammerlaan
2021-01-03 13:58 Andrew Ammerlaan
2021-01-02 16:57 Andrew Ammerlaan
2021-01-01 13:14 Andrew Ammerlaan
2020-12-11 8:36 Andrew Ammerlaan
2020-12-11 8:36 Andrew Ammerlaan
2020-11-08 12:34 Andrew Ammerlaan
2020-11-08 11:13 Andrew Ammerlaan
2020-11-08 11:13 Andrew Ammerlaan
2020-11-08 11:13 Andrew Ammerlaan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1755017034.ffb6eafd5b2f21b7908e4a39c8559ac57c4abc39.davidroman@gentoo \
--to=davidroman96@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox