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: Tue, 20 Aug 2024 20:46:01 +0000 (UTC) [thread overview]
Message-ID: <1724166141.97583a71f5611a9a3d502fc778d0e3f395c8677a.davidroman@gentoo> (raw)
commit: 97583a71f5611a9a3d502fc778d0e3f395c8677a
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Tue Aug 20 13:15:42 2024 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Aug 20 15:02:21 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=97583a71
net-misc/megasync: add 5.4.1.0
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
net-misc/megasync/Manifest | 2 +
net-misc/megasync/megasync-5.4.1.0.ebuild | 176 ++++++++++++++++++++++++++++++
2 files changed, 178 insertions(+)
diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index e2f4fca5a..4ed04a019 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,2 +1,4 @@
DIST megasync-5.4.0.0.tar.gz 24716654 BLAKE2B 06b2bfbdf6f0bda00bd53ae062c99352a71fa5f50fa88c75b9a2dcafb9b1f5d6b47be48bee2f052945e9a80f144024d8c1519698f5a951f140fa9170bfbbae27 SHA512 1e323fe637f6e32e893d3e22f512c3fbc1aca17eb5c85df24ef75d7492de9386fc18f20baa5fa7d28a83e763835e531da486c89c74e9223aa0e9216b9e343459
+DIST megasync-5.4.1.0.tar.gz 24718226 BLAKE2B ab89ed026efc0e28ef5c21554db259e74199d12d1194ecf358ad658b0ecee5a7c421ce374e3ba54a752e813c38b535034c04e9749b1f9d876a7df88951d2250a SHA512 d908308135cdd717555002d58c4faa1917bd049a0a2f99ae0b487f2ccfda6d7a00c9dee72aae52210079e656f3031bf3cf414020090e4a6b600e3cef5af11901
DIST megasync-sdk-5.4.0.0.tar.gz 4158786 BLAKE2B bfaa09a358ba692477c8ba85fd86e9d919bb267b54390c02e2aa593d52ea6dd245721a854855576f72561500d6c8a763c4dbef9935e6defc38dede12b7fcd40f SHA512 78a7d478f1586c6dfa4b7f954e7cd00272b484996c4296fe18ea965198cfa6a342e9084a898a69b036e1e96b72aab28ac731e9397474713375f63e8dd9170e1d
+DIST megasync-sdk-5.4.1.0.tar.gz 4248625 BLAKE2B 96e76e6e421b2f4b7423d5870f0cfcf89bbec6392191e84b2ee7daa0ac4a6a9c6c9599773bd124ce5189abf7a80db981c0f260eec18be8ef7825bba5422123f4 SHA512 740dad61901775ef2e93861c4a42e9e20a779c7189084ed8336cb06d64a3743638e7ca499279b71d2e8bf68d225a3a6397fdfff1a89c18d413ab44eec489c7ea
diff --git a/net-misc/megasync/megasync-5.4.1.0.ebuild b/net-misc/megasync/megasync-5.4.1.0.ebuild
new file mode 100644
index 000000000..cacf6085a
--- /dev/null
+++ b/net-misc/megasync/megasync-5.4.1.0.ebuild
@@ -0,0 +1,176 @@
+# Copyright 2023-2024 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
+"
+
+if [[ ${PV} == 9999 ]];then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
+ EGIT_BRANCH="master"
+ EGIT_SUBMODULES=( '*' )
+else
+ MEGA_SDK_REV="159dcc4a61d43dfdf5997cf8113755fbe2452bd7" # 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
+ "
+ KEYWORDS="~amd64 ~x86"
+ S="${WORKDIR}"/MEGAsync-${PV}_${MEGA_TAG_SUFFIX}
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+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-dns/c-ares:=
+ net-misc/curl[ssl]
+ sys-libs/zlib
+ x11-libs/libxcb:=
+ dolphin? (
+ kde-apps/dolphin:5
+ kde-frameworks/kcoreaddons:5
+ kde-frameworks/kio:5
+ kde-frameworks/kwidgetsaddons:5
+ )
+ 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? ( xfce-base/thunar:= )
+"
+RDEPEND="
+ ${DEPEND}
+ dev-qt/qtquickcontrols:5
+ dev-qt/qtquickcontrols2:5
+"
+BDEPEND="
+ dev-qt/linguist-tools:5
+ dolphin? ( kde-frameworks/extra-cmake-modules )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-4.10.0.0_ffmpeg6.patch"
+ "${FILESDIR}/${PN}-4.10.0.0_fix-build.patch"
+ "${FILESDIR}/${PN}-5.3.0.0-link-zlib.patch"
+ "${FILESDIR}/${PN}-5.3.0.0-fix-install-dir.patch"
+ "${FILESDIR}/${PN}-5.3.0.0-rename-libcryptopp.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
+}
+
+nautilus_run() {
+ if use nautilus; then
+ cd "${S}/src/MEGAShellExtNautilus" || die
+ "$@"
+ 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() {
+ if [[ ${PV} != 9999 ]]; then
+ rmdir src/MEGASync/mega || die
+ mv "${WORKDIR}/sdk-${MEGA_SDK_REV}" src/MEGASync/mega || die
+ fi
+
+ 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/contrib/cmake/modules/packages"
+ -DENABLE_DESKTOP_UPDATE_GEN=OFF
+ -DUSE_FFMPEG=$(usex thumbnail)
+ -DUSE_FREEIMAGE=$(usex thumbnail)
+ -DUSE_MEDIAINFO=$(usex mediainfo)
+ -DUSE_PDFIUM=OFF
+ -DUSE_READLINE=OFF
+ )
+ cmake_src_configure
+
+ unset mycmakeargs
+ dolphin_run cmake_src_configure
+ nautilus_run eqmake5
+ nemo_run eqmake5
+ thunar_run eqmake5
+}
+
+src_compile() {
+ cmake_src_compile
+
+ dolphin_run cmake_src_compile
+ nautilus_run emake
+ nemo_run emake
+ thunar_run emake
+}
+
+src_install() {
+ cmake_src_install
+
+ dolphin_run cmake_src_install
+ nautilus_run emake INSTALL_ROOT="${D}" install
+ nemo_run emake INSTALL_ROOT="${D}" install
+ thunar_run emake INSTALL_ROOT="${D}" install
+}
next reply other threads:[~2024-08-20 20:46 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-20 20:46 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-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-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=1724166141.97583a71f5611a9a3d502fc778d0e3f395c8677a.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