From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/
Date: Tue, 7 May 2024 14:26:11 +0000 (UTC) [thread overview]
Message-ID: <1715084523.4fbd7faabde29d3cd9a3e69dbf1df15ba54f4322.flow@gentoo> (raw)
commit: 4fbd7faabde29d3cd9a3e69dbf1df15ba54f4322
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Tue May 7 12:18:33 2024 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue May 7 12:22:03 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4fbd7faa
net-misc/megasync: add 5.2.1.0
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
net-misc/megasync/Manifest | 2 +
net-misc/megasync/megasync-5.2.1.0.ebuild | 136 ++++++++++++++++++++++++++++++
2 files changed, 138 insertions(+)
diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 7a20b659e1..88e44b6b2c 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,2 +1,4 @@
DIST megasync-5.2.0.0.tar.gz 23815622 BLAKE2B 04c1ff1b6516ca72e3e17a59ab1ba3142f7ef130e479aee5595e010be1993651aa57e8d977d85ffa547a20ae2569c77d5b3907aba8122fb3d6ea686d7e1a5b4a SHA512 c8dd39f7a432aca3956f929bcaf0e86881a819719f184c07a389ae568edee9b54a21e807f5517bcc42c18290d96f7fef875f0308d5411f1e36df60f245aa601b
+DIST megasync-5.2.1.0.tar.gz 23819376 BLAKE2B 249471d14f146b0bbe4c97690c1832d63f06005b2dcc6f334a9fe2a33672d0b1bce3b738270d28a1674804320f53b25e3533548ed4a6f1af01ce91e24d138e32 SHA512 f667e73a8e6527cb79608584d486aeb9a8ebde4b6f3bc10f560030ee725575622c561fe75a217e8d9d97ddf204fd94ce258cc2b70a200baead7a5e44ab285aa8
DIST megasync-sdk-5.2.0.0.tar.gz 3809248 BLAKE2B acf9be7b3d0faf843e394b717cb75ee703aadfdf2b79a6ea06eccb49d6d179ef8b2f3d430edce4bc37e6e53a45f1eab3865c433d015cf8d8412d6b037edbd81a SHA512 2c65c53050dcd7757a1015200d4e25ca260e833105e577c6506d36efa280c5e5e511e8b5ea029a6efac09f36ffd6bfdb49b71417d32457d42397de83240451ec
+DIST megasync-sdk-5.2.1.0.tar.gz 3809248 BLAKE2B acf9be7b3d0faf843e394b717cb75ee703aadfdf2b79a6ea06eccb49d6d179ef8b2f3d430edce4bc37e6e53a45f1eab3865c433d015cf8d8412d6b037edbd81a SHA512 2c65c53050dcd7757a1015200d4e25ca260e833105e577c6506d36efa280c5e5e511e8b5ea029a6efac09f36ffd6bfdb49b71417d32457d42397de83240451ec
diff --git a/net-misc/megasync/megasync-5.2.1.0.ebuild b/net-misc/megasync/megasync-5.2.1.0.ebuild
new file mode 100644
index 0000000000..5c874d29c7
--- /dev/null
+++ b/net-misc/megasync/megasync-5.2.1.0.ebuild
@@ -0,0 +1,136 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools cmake 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="f71b60452a5d6c32bebc5125a13977a335d78e71" # 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 freeimage nautilus nemo 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
+ media-libs/libmediainfo
+ media-libs/libraw
+ net-dns/c-ares:=
+ net-misc/curl[ssl,curl_ssl_openssl(-)]
+ sys-libs/zlib
+ x11-libs/libxcb:=
+ dolphin? ( kde-apps/dolphin )
+ freeimage? (
+ media-libs/freeimage
+ media-video/ffmpeg:=
+ )
+ nautilus? ( >=gnome-base/nautilus-43 )
+ nemo? ( gnome-extra/nemo )
+ thunar? ( xfce-base/thunar )
+"
+RDEPEND="
+ ${DEPEND}
+ x11-themes/hicolor-icon-theme
+"
+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"
+)
+
+CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin"
+
+src_prepare() {
+ if [[ ${PV} != 9999 ]]; then
+ rmdir src/MEGASync/mega || die
+ mv "${WORKDIR}/sdk-${MEGA_SDK_REV}" src/MEGASync/mega || die
+ fi
+
+ if use dolphin; then
+ cmake_src_prepare
+ else
+ default
+ fi
+
+ cd "${S}/src/MEGASync/mega" || die
+ eautoreconf
+}
+
+src_configure() {
+ cd "${S}/src/MEGASync/mega" || die
+ econf \
+ "--disable-curl-checks" \
+ "--disable-examples" \
+ $(use_with freeimage)
+
+ cd "${S}/src" || die
+ local myqmakeargs=(
+ MEGA.pro
+ CONFIG+="release"
+ $(usex freeimage "" "CONFIG+=nofreeimage")
+ $(usev nautilus "SUBDIRS+=MEGAShellExtNautilus")
+ $(usev nemo "SUBDIRS+=MEGAShellExtNemo")
+ $(usev thunar "SUBDIRS+=MEGAShellExtThunar")
+ )
+
+ eqmake5 "${myqmakeargs[@]}"
+ $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro || die
+
+ use dolphin && cmake_src_configure
+}
+
+src_compile() {
+ emake -C src
+
+ use dolphin && cmake_src_compile
+}
+
+src_install() {
+ emake -C src INSTALL_ROOT="${D}" install
+ dobin "src/MEGASync/${PN}"
+ dodoc CREDITS.md README.md
+
+ rm -rf "${D}"/usr/share/doc/megasync || die
+ rm -rf "${D}"/usr/share/icons/ubuntu-mono-dark || die
+
+ use dolphin && cmake_src_install
+}
next reply other threads:[~2024-05-07 14:26 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-07 14:26 Florian Schmaus [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-31 11:33 [gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/ 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-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=1715084523.4fbd7faabde29d3cd9a3e69dbf1df15ba54f4322.flow@gentoo \
--to=flow@gentoo.org \
--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