[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2020-11-08 Thread Andrew Ammerlaan
commit: 3bedd6fe12c78b02faa3041c5aab6f72e725c625
Author: Samuel Bernardo  gmail  com>
AuthorDate: Sat Nov  7 10:42:16 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat Nov  7 10:42:16 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3bedd6fe

net-misc/megasync: add version 4.3.3

Correct previous push and add repoman verified megasync ebuild.

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Samuel Bernardo  gmail.com>

 net-misc/megasync/megasync-4.3.3.ebuild | 78 +
 net-misc/megasync/metadata.xml  |  7 +++
 2 files changed, 38 insertions(+), 47 deletions(-)

diff --git a/net-misc/megasync/megasync-4.3.3.ebuild 
b/net-misc/megasync/megasync-4.3.3.ebuild
index 91734a74..aa7d2f2d 100644
--- a/net-misc/megasync/megasync-4.3.3.ebuild
+++ b/net-misc/megasync/megasync-4.3.3.ebuild
@@ -22,51 +22,41 @@ fi
 
 LICENSE="MEGA"
 SLOT="0"
-IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads qt5 java php python gnome"
+IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads java php python gnome"
 
 DEPEND="
dev-lang/swig
app-doc/doxygen
media-libs/libmediainfo
media-libs/libraw
-   !qt5? ( 
-   dev-qt/qtcore:4
-   dev-qt/qtgui:4
-   dev-qt/qtdbus:4
-   dev-libs/sni-qt
-   dev-qt/qtimageformats:5
-   dev-qt/qtsvg:5
-   )
-   qt5? ( 
-   dev-qt/qtcore:5
-   dev-qt/linguist-tools
-   dev-qt/qtwidgets:5
-   dev-qt/qtgui:5
-   dev-qt/qtconcurrent:5
-   dev-qt/qtnetwork:5
-   dev-qt/qtdbus:5
-   dev-qt/qtimageformats:5
-   dev-qt/qtsvg:5
-   )"
+   dev-qt/qtcore:5
+   dev-qt/linguist-tools
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5"
 RDEPEND="${DEPEND}
-   x11-themes/hicolor-icon-theme
-   dev-libs/openssl
-   dev-libs/libgcrypt
-   media-libs/libpng
-   net-dns/c-ares
-   cryptopp? ( dev-libs/crypto++ )
-   app-arch/xz-utils
-   dev-libs/libuv
-   sqlite? ( dev-db/sqlite:3 )
-   dev-libs/libsodium
-   zlib? ( sys-libs/zlib )
-   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
-   freeimage? ( media-libs/freeimage )
-   readline? ( sys-libs/readline:0 )
-   dolphin? ( kde-apps/dolphin )
-   nautilus? ( >=gnome-base/nautilus-3 )
-   thunar? ( xfce-base/thunar )
-   "
+   x11-themes/hicolor-icon-theme
+   dev-libs/openssl
+   dev-libs/libgcrypt
+   media-libs/libpng
+   net-dns/c-ares
+   cryptopp? ( dev-libs/crypto++ )
+   app-arch/xz-utils
+   dev-libs/libuv
+   sqlite? ( dev-db/sqlite:3 )
+   dev-libs/libsodium
+   zlib? ( sys-libs/zlib )
+   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   freeimage? ( media-libs/freeimage )
+   readline? ( sys-libs/readline:0 )
+   dolphin? ( kde-apps/dolphin )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   thunar? ( xfce-base/thunar )
+   "
 
 PATCHES=( )
 
@@ -116,15 +106,9 @@ src_configure(){
MEGA.pro
CONFIG+="release"
)
-   if use qt5; then
-   eqmake5 ${myeqmakeargs[@]}
-   use dolphin && cmake-utils_src_configure
-   $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
-   else
-   eqmake4 ${myeqmakeargs[@]}
-   use dolphin && cmake-utils_src_configure
-   $(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro
-   fi
+   eqmake5 ${myeqmakeargs[@]}
+   use dolphin && cmake-utils_src_configure
+   $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
 }
 
 src_compile(){

diff --git a/net-misc/megasync/metadata.xml b/net-misc/megasync/metadata.xml
index a9aac563..dbb25160 100644
--- a/net-misc/megasync/metadata.xml
+++ b/net-misc/megasync/metadata.xml
@@ -6,4 +6,11 @@
Samuel Bernardo
megasync client from mega.nz

+   
+   Upload your files to your Mega account 
from Dolphin file manager.
+   Upload your files to your Mega account 
from nautilus.
+   Upload your files to your Mega account from 
Thunar.
+   Compile with Crypto++ Library.
+   Use freeimage to manage graphic images 
format.
+   
 



[gentoo-commits] repo/proj/guru:master commit in: /, net-misc/megasync/

2020-11-08 Thread Andrew Ammerlaan
commit: 09f7ca3c417d4f6f6dcc80b8b22546c6c64d0a66
Author: Samuel Bernardo  gmail  com>
AuthorDate: Sat Nov  7 09:29:47 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat Nov  7 09:32:29 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=09f7ca3c

megasync client

Signed-off-by: Samuel Bernardo  gmail.com>

 megasync-4.3.3.ebuild   | 150 
 megasync-.ebuild| 142 ++
 net-misc/megasync/megasync-4.3.3.ebuild | 150 
 net-misc/megasync/megasync-.ebuild  |   1 +
 net-misc/megasync/metadata.xml  |   9 ++
 5 files changed, 452 insertions(+)

diff --git a/megasync-4.3.3.ebuild b/megasync-4.3.3.ebuild
new file mode 100644
index ..91734a74
--- /dev/null
+++ b/megasync-4.3.3.ebuild
@@ -0,0 +1,150 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=7
+
+inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
+
+DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This 
is the official app."
+HOMEPAGE="http://mega.co.nz";
+RTAG="_Linux"
+if [[ ${PV} == ** ]];then
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   KEYWORDS=""
+   EGIT_SUBMODULES=( '*' )
+else
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   EGIT_COMMIT="v${PV}.0${RTAG}"
+   EGIT_SUBMODULES=( '*' )
+   KEYWORDS="~x86 ~amd64"
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads qt5 java php python gnome"
+
+DEPEND="
+   dev-lang/swig
+   app-doc/doxygen
+   media-libs/libmediainfo
+   media-libs/libraw
+   !qt5? ( 
+   dev-qt/qtcore:4
+   dev-qt/qtgui:4
+   dev-qt/qtdbus:4
+   dev-libs/sni-qt
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5
+   )
+   qt5? ( 
+   dev-qt/qtcore:5
+   dev-qt/linguist-tools
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5
+   )"
+RDEPEND="${DEPEND}
+   x11-themes/hicolor-icon-theme
+   dev-libs/openssl
+   dev-libs/libgcrypt
+   media-libs/libpng
+   net-dns/c-ares
+   cryptopp? ( dev-libs/crypto++ )
+   app-arch/xz-utils
+   dev-libs/libuv
+   sqlite? ( dev-db/sqlite:3 )
+   dev-libs/libsodium
+   zlib? ( sys-libs/zlib )
+   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   freeimage? ( media-libs/freeimage )
+   readline? ( sys-libs/readline:0 )
+   dolphin? ( kde-apps/dolphin )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   thunar? ( xfce-base/thunar )
+   "
+
+PATCHES=( )
+
+if [[ ${PV} != ** ]];then
+   src_prepare(){
+   if [ -e "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch" ]; then
+   EPATCH_OPTS="-p0" epatch 
"${FILESDIR}/MEGAsync-${PV}.0_Linux.patch"
+   fi
+   if [ ! -z ${PATCHES} ]; then
+   epatch ${PATCHES}
+   fi
+   if use gnome; then
+   if [ -e "${FILESDIR}${P}-gnome.patch" ]; then
+   epatch "${FILESDIR}/${P}-gnome.patch"
+   fi
+   fi
+   eapply_user
+   cd src/MEGASync/mega
+   eautoreconf
+   }
+fi
+
+src_configure(){
+   cd "${S}"/src/MEGASync/mega
+   econf \
+   "--disable-silent-rules" \
+   "--disable-curl-checks" \
+   "--disable-megaapi" \
+   $(use_with zlib) \
+   $(use_with sqlite) \
+   $(use_with cryptopp) \
+   "--with-cares" \
+   $(use_with curl) \
+   "--without-termcap" \
+   $(use_enable threads posix-threads) \
+   "--with-sodium" \
+   $(use_with freeimage) \
+   $(use_with readline) \
+   $(use_enable examples) \
+   $(use_enable java) \
+   $(use_enable php) \
+   $(use_enable python) \
+   "--enable-chat" \
+   "--enable-gcc-hardening" 
+   cd ../..
+   local myeqmakeargs=(
+   MEGA.pro
+   CONFIG+="release"
+   )
+   if use qt5; then
+   eqmake5 ${myeqmakeargs[@]}
+   use dolphin && cmake-utils_src_configure
+   $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
+   else

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2020-11-08 Thread Andrew Ammerlaan
commit: a5a96c375906ca3ab4cdfee37fc3190baf91248b
Author: Samuel Bernardo  gmail  com>
AuthorDate: Sat Nov  7 11:09:31 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat Nov  7 11:09:31 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a5a96c37

net-misc/megasync: update to 4.3.5

Update to latest version

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Samuel Bernardo  gmail.com>

 net-misc/megasync/megasync-4.3.5.ebuild | 134 
 1 file changed, 134 insertions(+)

diff --git a/net-misc/megasync/megasync-4.3.5.ebuild 
b/net-misc/megasync/megasync-4.3.5.ebuild
new file mode 100644
index ..aa7d2f2d
--- /dev/null
+++ b/net-misc/megasync/megasync-4.3.5.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=7
+
+inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
+
+DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This 
is the official app."
+HOMEPAGE="http://mega.co.nz";
+RTAG="_Linux"
+if [[ ${PV} == ** ]];then
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   KEYWORDS=""
+   EGIT_SUBMODULES=( '*' )
+else
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   EGIT_COMMIT="v${PV}.0${RTAG}"
+   EGIT_SUBMODULES=( '*' )
+   KEYWORDS="~x86 ~amd64"
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads java php python gnome"
+
+DEPEND="
+   dev-lang/swig
+   app-doc/doxygen
+   media-libs/libmediainfo
+   media-libs/libraw
+   dev-qt/qtcore:5
+   dev-qt/linguist-tools
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5"
+RDEPEND="${DEPEND}
+   x11-themes/hicolor-icon-theme
+   dev-libs/openssl
+   dev-libs/libgcrypt
+   media-libs/libpng
+   net-dns/c-ares
+   cryptopp? ( dev-libs/crypto++ )
+   app-arch/xz-utils
+   dev-libs/libuv
+   sqlite? ( dev-db/sqlite:3 )
+   dev-libs/libsodium
+   zlib? ( sys-libs/zlib )
+   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   freeimage? ( media-libs/freeimage )
+   readline? ( sys-libs/readline:0 )
+   dolphin? ( kde-apps/dolphin )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   thunar? ( xfce-base/thunar )
+   "
+
+PATCHES=( )
+
+if [[ ${PV} != ** ]];then
+   src_prepare(){
+   if [ -e "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch" ]; then
+   EPATCH_OPTS="-p0" epatch 
"${FILESDIR}/MEGAsync-${PV}.0_Linux.patch"
+   fi
+   if [ ! -z ${PATCHES} ]; then
+   epatch ${PATCHES}
+   fi
+   if use gnome; then
+   if [ -e "${FILESDIR}${P}-gnome.patch" ]; then
+   epatch "${FILESDIR}/${P}-gnome.patch"
+   fi
+   fi
+   eapply_user
+   cd src/MEGASync/mega
+   eautoreconf
+   }
+fi
+
+src_configure(){
+   cd "${S}"/src/MEGASync/mega
+   econf \
+   "--disable-silent-rules" \
+   "--disable-curl-checks" \
+   "--disable-megaapi" \
+   $(use_with zlib) \
+   $(use_with sqlite) \
+   $(use_with cryptopp) \
+   "--with-cares" \
+   $(use_with curl) \
+   "--without-termcap" \
+   $(use_enable threads posix-threads) \
+   "--with-sodium" \
+   $(use_with freeimage) \
+   $(use_with readline) \
+   $(use_enable examples) \
+   $(use_enable java) \
+   $(use_enable php) \
+   $(use_enable python) \
+   "--enable-chat" \
+   "--enable-gcc-hardening" 
+   cd ../..
+   local myeqmakeargs=(
+   MEGA.pro
+   CONFIG+="release"
+   )
+   eqmake5 ${myeqmakeargs[@]}
+   use dolphin && cmake-utils_src_configure
+   $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
+}
+
+src_compile(){
+   emake -C src INSTALL_ROOT="${D}" || die
+   use dolphin && cmake-utils_src_compile
+}
+
+src_install(){
+   use dolphin && cmake-utils_src_install
+   local DOCS=( CREDITS.md README.md )
+   einstalldocs
+   insinto usr/share/licenses/${PN}
+   doins LICENCE.md installer/terms.txt
+   cd src/MEGASync
+   dobin ${PN}
+   cd platform/linux/data
+   insinto usr/share/applications
+   doins ${PN}.desktop
+   cd icons/hicolor
+   for size in 16x16 32x32 48x48 128x128 256x256;do
+   doicon -s $size $size/apps/mega.png
+   done
+}



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2021-05-22 Thread Andrew Ammerlaan
commit: 11c911d7e031dcd453dd4bdb5f4dd497fb482de5
Author: Marcin Woźniak  aol  com>
AuthorDate: Sat May 22 11:41:51 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sat May 22 11:41:51 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=11c911d7

net-misc/megasync: Bump version to 4.5.0.0

Signed-off-by: Marcin Woźniak  aol.com>

 net-misc/megasync/Manifest|   2 +
 net-misc/megasync/megasync-4.5.0.0.ebuild | 140 ++
 2 files changed, 142 insertions(+)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index a97a7f706..099a944ed 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,2 +1,4 @@
 DIST megasync-4.3.8.0.tar.gz 16019709 BLAKE2B 
493ac0df0e8ca5c6617e493b5b3d81e45cedf2212a83ec9f5f6c07eee6fdf1d749b3735e10082b89f376f261ebfb825a3a7c457b8aa3be64702cddca34558558
 SHA512 
597b1d4a5a806514449b55e8bf81688b3c6d275372ebb56a45841b2f4c7caf8d9db363cf627fa0b6b84f4c662dc8cf87179b4478cd50b7b7efa1e23a9dca3389
+DIST megasync-4.5.0.0.tar.gz 16162074 BLAKE2B 
9ad09b61614992fc48572c168bb3b9692145289b945c01e371babe78a3b75bcc20a842f524279f6db35f8d93c914e9ba68ee5d187614b5041638813cb304531e
 SHA512 
f0c78d741be4a9ee9411be63667ea76cca3ff50ab70a81c904011e1ce1c6f0287ab5c90fc2b1a7a7c040b2d568819f91ecd10f8d570b22231df7b99166eacb11
 DIST megasync-sdk-4.3.8.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e
+DIST megasync-sdk-4.5.0.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e

diff --git a/net-misc/megasync/megasync-4.5.0.0.ebuild 
b/net-misc/megasync/megasync-4.5.0.0.ebuild
new file mode 100644
index 0..604202807
--- /dev/null
+++ b/net-misc/megasync/megasync-4.5.0.0.ebuild
@@ -0,0 +1,140 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools desktop qmake-utils xdg cmake
+
+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} ==  ]];then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+else
+   MEGA_SDK_REV="37b346c2e119559e40c08f43e1a8f54353e7ad59" # commit of 
src/MEGASync/mega submodule
+   SRC_URI="
+   https://github.com/meganz/MEGAsync/archive/v${PV}_Win.tar.gz -> 
${P}.tar.gz
+   https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
+   "
+   KEYWORDS="~amd64 ~x86"
+   # 4.3.8.0 has no dedicated linux tag
+   S="${WORKDIR}"/MEGAsync-${PV}_Win
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java nautilus 
php python readline threads thunar"
+
+RDEPEND="
+   app-arch/xz-utils
+   dev-libs/libgcrypt
+   dev-libs/libsodium
+   dev-libs/libuv
+   dev-libs/openssl:0=
+   media-libs/libpng
+   net-dns/c-ares
+   x11-themes/hicolor-icon-theme
+   cryptopp? ( dev-libs/crypto++ )
+   curl? ( net-misc/curl[ssl,curl_ssl_openssl(-)] )
+   dolphin? ( kde-apps/dolphin )
+   freeimage? ( media-libs/freeimage )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   readline? ( sys-libs/readline:0 )
+   sqlite? ( dev-db/sqlite:3 )
+   thunar? ( xfce-base/thunar )
+   zlib? ( sys-libs/zlib )
+"
+DEPEND="
+   ${RDEPEND}
+   media-libs/libmediainfo
+   media-libs/libraw
+   dev-qt/qtcore:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5
+   dev-qt/qtx11extras:5
+"
+BDEPEND="
+   dev-lang/swig
+   dev-qt/linguist-tools
+"
+
+DOCS=( CREDITS.md README.md )
+
+CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin"
+
+src_prepare() {
+   if [[ ${PV} !=  ]]; then
+   rmdir src/MEGASync/mega
+   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   fi
+   if use dolphin; then
+   # use the kde5 CMakeLists instead of the kde 4 version
+   mv src/MEGAShellExtDolphin/CMakeLists_kde5.txt 
src/MEGAShellExtDolphin/CMakeLists.txt || die
+   cmake_src_prepare
+   else
+   default
+   fi
+   cd src/MEGASync/mega
+   eautoreconf
+}
+
+src_configure() {
+   cd src/MEGASync/mega
+   econf \
+   "--disable-silent-rules" \
+  

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2021-05-06 Thread Andrew Ammerlaan
commit: 4247d662afe536d192d00a7ad6fb4a0ae3f6e2a7
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Thu May  6 00:18:58 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu May  6 00:22:56 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4247d662

net-misc/megasync: fix usptream

Signed-off-by: Alessandro Barbieri  gmail.com>

 net-misc/megasync/megasync-4.3.8.0.ebuild | 5 -
 net-misc/megasync/megasync-.ebuild| 5 -
 net-misc/megasync/metadata.xml| 3 +++
 3 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/net-misc/megasync/megasync-4.3.8.0.ebuild 
b/net-misc/megasync/megasync-4.3.8.0.ebuild
index 8d9107581..604202807 100644
--- a/net-misc/megasync/megasync-4.3.8.0.ebuild
+++ b/net-misc/megasync/megasync-4.3.8.0.ebuild
@@ -6,7 +6,10 @@ EAPI=7
 inherit autotools desktop qmake-utils xdg cmake
 
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
-HOMEPAGE="http://mega.co.nz";
+HOMEPAGE="
+   https://mega.io
+   https://github.com/meganz/MEGAsync
+"
 
 if [[ ${PV} ==  ]];then
inherit git-r3

diff --git a/net-misc/megasync/megasync-.ebuild 
b/net-misc/megasync/megasync-.ebuild
index 64ae5753b..5447073f4 100644
--- a/net-misc/megasync/megasync-.ebuild
+++ b/net-misc/megasync/megasync-.ebuild
@@ -6,7 +6,10 @@ EAPI=7
 inherit autotools desktop qmake-utils xdg cmake
 
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
-HOMEPAGE="http://mega.co.nz";
+HOMEPAGE="
+   https://mega.io
+   https://github.com/meganz/MEGAsync
+"
 
 if [[ ${PV} ==  ]];then
inherit git-r3

diff --git a/net-misc/megasync/metadata.xml b/net-misc/megasync/metadata.xml
index dbb25160c..045a9632b 100644
--- a/net-misc/megasync/metadata.xml
+++ b/net-misc/megasync/metadata.xml
@@ -6,6 +6,9 @@
Samuel Bernardo
megasync client from mega.nz

+   
+   meganz/MEGAsync
+   

Upload your files to your Mega account 
from Dolphin file manager.
Upload your files to your Mega account 
from nautilus.



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2021-05-24 Thread Haelwenn Monnier
commit: 41520970849558a3e4be96879583335b6bb9f9f3
Author: Samuel Bernardo  gmail  com>
AuthorDate: Mon May 24 19:54:43 2021 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Mon May 24 19:54:43 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=41520970

net-misc/megasync: update sdk hash for 4.5.0.0

Update hash of megasync-sdk-4.5.0.0.tar.gz since it is referenced to a
new commit.

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Samuel Bernardo  gmail.com>

 net-misc/megasync/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 099a944ed..84ee83762 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,4 +1,4 @@
 DIST megasync-4.3.8.0.tar.gz 16019709 BLAKE2B 
493ac0df0e8ca5c6617e493b5b3d81e45cedf2212a83ec9f5f6c07eee6fdf1d749b3735e10082b89f376f261ebfb825a3a7c457b8aa3be64702cddca34558558
 SHA512 
597b1d4a5a806514449b55e8bf81688b3c6d275372ebb56a45841b2f4c7caf8d9db363cf627fa0b6b84f4c662dc8cf87179b4478cd50b7b7efa1e23a9dca3389
 DIST megasync-4.5.0.0.tar.gz 16162074 BLAKE2B 
9ad09b61614992fc48572c168bb3b9692145289b945c01e371babe78a3b75bcc20a842f524279f6db35f8d93c914e9ba68ee5d187614b5041638813cb304531e
 SHA512 
f0c78d741be4a9ee9411be63667ea76cca3ff50ab70a81c904011e1ce1c6f0287ab5c90fc2b1a7a7c040b2d568819f91ecd10f8d570b22231df7b99166eacb11
 DIST megasync-sdk-4.3.8.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e
-DIST megasync-sdk-4.5.0.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e
+DIST megasync-sdk-4.5.0.0.tar.gz 3497367 BLAKE2B 
1594d792f38df4df29acd25ea5c920acf27410513544abc618a692e3ed2e6e1a459123b043a9aa3bfdc4647d753d6c14cc5ee1bde02abd6c0f6d7ce66b118821
 SHA512 
177b9e31f2aacfa370132657bb70ec315edcfbcfe043f067f4c67b69a47ade7235699183541de2462d2ab2a18b4688006cd938ae80da603df9bd79d908b58140



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2021-01-01 Thread Andrew Ammerlaan
commit: db62cbf2ce66e8c66cceb6a5b5eba8dda16dfd46
Author: Theo Anderson  posteo  de>
AuthorDate: Thu Dec 31 08:31:13 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Dec 31 08:31:13 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=db62cbf2

net-misc/megasync: bump to 4.3.8.0

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson  posteo.de>

 net-misc/megasync/Manifest|   2 +
 net-misc/megasync/megasync-4.3.8.0.ebuild | 133 ++
 2 files changed, 135 insertions(+)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 2e3f9444..996b96d0 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,2 +1,4 @@
 DIST megasync-4.3.7.tar.gz 16020207 BLAKE2B 
f38b40594c0cb1ed3e93715842f3c161e09ef66deb017d2e5fa03d9d0ac2863ba02b88d1fe779960c07664b19250fa29115a87d62d0934157370c1faa85345a5
 SHA512 
6852390e05da13effd059a5e0dc7fe400f3456668925fbed5e34bc5018b3664d72aebd78847dfdb4f6dda39fe615a79e5c0eb99e72a401fb833d4eba8216010c
+DIST megasync-4.3.8.0.tar.gz 16019709 BLAKE2B 
493ac0df0e8ca5c6617e493b5b3d81e45cedf2212a83ec9f5f6c07eee6fdf1d749b3735e10082b89f376f261ebfb825a3a7c457b8aa3be64702cddca34558558
 SHA512 
597b1d4a5a806514449b55e8bf81688b3c6d275372ebb56a45841b2f4c7caf8d9db363cf627fa0b6b84f4c662dc8cf87179b4478cd50b7b7efa1e23a9dca3389
 DIST megasync-sdk-4.3.7.tar.gz 3362032 BLAKE2B 
36ab643252d27475f34c7a5ee0e71a6470f2c830ea5c8331a094b79da5cd751699390c36e107cb0da06e6f46932e10e5fefbfc8eec3e8645ba84c365835088f3
 SHA512 
45dcc285c194cc347d9d562638658d2f0dd8099371e7408995cad68811e720905ad6f9810b24079c1112d16bfb87f7986cf3180520dc7edd611e703c251b182a
+DIST megasync-sdk-4.3.8.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e

diff --git a/net-misc/megasync/megasync-4.3.8.0.ebuild 
b/net-misc/megasync/megasync-4.3.8.0.ebuild
new file mode 100644
index ..eb91b2e5
--- /dev/null
+++ b/net-misc/megasync/megasync-4.3.8.0.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools desktop qmake-utils xdg cmake
+
+DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
+HOMEPAGE="http://mega.co.nz";
+
+if [[ ${PV} ==  ]];then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+else
+   MEGA_SDK_REV="37b346c2e119559e40c08f43e1a8f54353e7ad59" # commit of 
src/MEGASync/mega submodule
+   SRC_URI="
+   https://github.com/meganz/MEGAsync/archive/v${PV}_Win.tar.gz -> 
${P}.tar.gz
+   https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
+   "
+   KEYWORDS="~amd64 ~x86"
+   # 4.3.8.0 has no dedicated linux tag
+   S="${WORKDIR}"/MEGAsync-${PV}_Win
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java libressl 
nautilus php python readline threads thunar"
+
+RDEPEND="
+   app-arch/xz-utils
+   dev-libs/libgcrypt
+   dev-libs/libsodium
+   dev-libs/libuv
+   media-libs/libpng
+   net-dns/c-ares
+   x11-themes/hicolor-icon-theme
+   cryptopp? ( dev-libs/crypto++ )
+   curl? (
+   !libressl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   libressl? ( net-misc/curl[ssl,curl_ssl_libressl] )
+   )
+   dolphin? ( kde-apps/dolphin )
+   freeimage? ( media-libs/freeimage )
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   readline? ( sys-libs/readline:0 )
+   sqlite? ( dev-db/sqlite:3 )
+   thunar? ( xfce-base/thunar )
+   zlib? ( sys-libs/zlib )
+"
+DEPEND="
+   ${RDEPEND}
+   media-libs/libmediainfo
+   media-libs/libraw
+   dev-qt/qtcore:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5
+"
+BDEPEND="
+   app-doc/doxygen
+   dev-lang/swig
+   dev-qt/linguist-tools
+"
+
+DOCS=( CREDITS.md README.md )
+
+src_prepare() {
+   if [[ ${PV} !=  ]]; then
+   rmdir src/MEGASync/mega
+   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   fi
+   default
+   cd src/MEGASync/mega
+   eautoreconf
+}
+
+src_configure() {
+   cd src/MEGASync/mega
+   econf \
+   "--disable-silent-rules" \
+   "--disable-curl-checks" \
+   "--disable-megaapi" \
+   $(use_with zlib) \
+   $(use_with sqlite) \
+   $(use_with c

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2020-12-11 Thread Andrew Ammerlaan
commit: 17b1a1064a770fde8b4f8a8b9a9e9d57312268d1
Author: Theo Anderson  posteo  de>
AuthorDate: Thu Dec 10 23:03:23 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Dec 10 23:03:23 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=17b1a106

net-misc/megasync: fix 

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson  posteo.de>

 net-misc/megasync/megasync-4.3.7.ebuild | 11 ++-
 net-misc/megasync/megasync-.ebuild  |  9 +
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/net-misc/megasync/megasync-4.3.7.ebuild 
b/net-misc/megasync/megasync-4.3.7.ebuild
index 390ce338..61ef362c 100644
--- a/net-misc/megasync/megasync-4.3.7.ebuild
+++ b/net-misc/megasync/megasync-4.3.7.ebuild
@@ -3,9 +3,7 @@
 
 EAPI=7
 
-inherit autotools cmake desktop qmake-utils
-
-MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
+inherit autotools desktop qmake-utils xdg cmake
 
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
 HOMEPAGE="http://mega.co.nz";
@@ -14,6 +12,7 @@ if [[ ${PV} ==  ]];then
inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
 else
+   MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
SRC_URI="

https://github.com/meganz/MEGAsync/archive/v${PV}.0_Linux.tar.gz -> ${P}.tar.gz
https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
@@ -71,8 +70,10 @@ BDEPEND="
 DOCS=( CREDITS.md README.md )
 
 src_prepare() {
-   rmdir src/MEGASync/mega
-   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   if [[ ${PV} !=  ]]; then
+   rmdir src/MEGASync/mega
+   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   fi
default
cd src/MEGASync/mega
eautoreconf

diff --git a/net-misc/megasync/megasync-.ebuild 
b/net-misc/megasync/megasync-.ebuild
index 5a8311e0..61ef362c 100644
--- a/net-misc/megasync/megasync-.ebuild
+++ b/net-misc/megasync/megasync-.ebuild
@@ -5,8 +5,6 @@ EAPI=7
 
 inherit autotools desktop qmake-utils xdg cmake
 
-MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
-
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
 HOMEPAGE="http://mega.co.nz";
 
@@ -14,6 +12,7 @@ if [[ ${PV} ==  ]];then
inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
 else
+   MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
SRC_URI="

https://github.com/meganz/MEGAsync/archive/v${PV}.0_Linux.tar.gz -> ${P}.tar.gz
https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
@@ -71,8 +70,10 @@ BDEPEND="
 DOCS=( CREDITS.md README.md )
 
 src_prepare() {
-   rmdir src/MEGASync/mega
-   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   if [[ ${PV} !=  ]]; then
+   rmdir src/MEGASync/mega
+   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   fi
default
cd src/MEGASync/mega
eautoreconf



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2020-12-11 Thread Andrew Ammerlaan
commit: 4f8fa2320d6fb0b8b66c28f70d9080f258179f82
Author: Theo Anderson  posteo  de>
AuthorDate: Thu Dec 10 21:47:24 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Dec 10 21:59:58 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4f8fa232

net-misc/megasync: bump to 4.3.7; update live ebuild

- uses tag archives instead of the git repo
- removed multilib (was it even used?)
- libressl support
- general ebuild cleanup

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson  posteo.de>

 net-misc/megasync/Manifest |   2 +
 ...{megasync-.ebuild => megasync-4.3.7.ebuild} | 122 ++---
 net-misc/megasync/megasync-.ebuild | 122 ++---
 3 files changed, 118 insertions(+), 128 deletions(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
new file mode 100644
index ..2e3f9444
--- /dev/null
+++ b/net-misc/megasync/Manifest
@@ -0,0 +1,2 @@
+DIST megasync-4.3.7.tar.gz 16020207 BLAKE2B 
f38b40594c0cb1ed3e93715842f3c161e09ef66deb017d2e5fa03d9d0ac2863ba02b88d1fe779960c07664b19250fa29115a87d62d0934157370c1faa85345a5
 SHA512 
6852390e05da13effd059a5e0dc7fe400f3456668925fbed5e34bc5018b3664d72aebd78847dfdb4f6dda39fe615a79e5c0eb99e72a401fb833d4eba8216010c
+DIST megasync-sdk-4.3.7.tar.gz 3362032 BLAKE2B 
36ab643252d27475f34c7a5ee0e71a6470f2c830ea5c8331a094b79da5cd751699390c36e107cb0da06e6f46932e10e5fefbfc8eec3e8645ba84c365835088f3
 SHA512 
45dcc285c194cc347d9d562638658d2f0dd8099371e7408995cad68811e720905ad6f9810b24079c1112d16bfb87f7986cf3180520dc7edd611e703c251b182a

diff --git a/net-misc/megasync/megasync-.ebuild 
b/net-misc/megasync/megasync-4.3.7.ebuild
similarity index 60%
copy from net-misc/megasync/megasync-.ebuild
copy to net-misc/megasync/megasync-4.3.7.ebuild
index a1edfca1..390ce338 100644
--- a/net-misc/megasync/megasync-.ebuild
+++ b/net-misc/megasync/megasync-4.3.7.ebuild
@@ -3,27 +3,54 @@
 
 EAPI=7
 
-inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
+inherit autotools cmake desktop qmake-utils
+
+MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
 
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
 HOMEPAGE="http://mega.co.nz";
-RTAG="_Linux"
-if [[ ${PV} == ** ]];then
+
+if [[ ${PV} ==  ]];then
+   inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
-   KEYWORDS=""
-   EGIT_SUBMODULES=( '*' )
 else
-   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
-   EGIT_COMMIT="v${PV}.0${RTAG}"
-   EGIT_SUBMODULES=( '*' )
+   SRC_URI="
+   
https://github.com/meganz/MEGAsync/archive/v${PV}.0_Linux.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}.0_Linux
 fi
 
 LICENSE="MEGA"
 SLOT="0"
-IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads java php python gnome"
+IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java libressl 
nautilus php python readline threads thunar"
 
-CDEPEND="
+RDEPEND="
+   app-arch/xz-utils
+   dev-libs/libgcrypt
+   dev-libs/libsodium
+   dev-libs/libuv
+   media-libs/libpng
+   net-dns/c-ares
+   x11-themes/hicolor-icon-theme
+   cryptopp? ( dev-libs/crypto++ )
+   curl? (
+   !libressl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   libressl? ( net-misc/curl[ssl,curl_ssl_libressl] )
+   )
+   dolphin? ( kde-apps/dolphin )
+   freeimage? ( media-libs/freeimage )
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   readline? ( sys-libs/readline:0 )
+   sqlite? ( dev-db/sqlite:3 )
+   thunar? ( xfce-base/thunar )
+   zlib? ( sys-libs/zlib )
+"
+DEPEND="
+   ${RDEPEND}
media-libs/libmediainfo
media-libs/libraw
dev-qt/qtcore:5
@@ -35,57 +62,24 @@ CDEPEND="
dev-qt/qtimageformats:5
dev-qt/qtsvg:5
 "
-
-BDEPEND="${CDEPEND}
-   dev-lang/swig
+BDEPEND="
app-doc/doxygen
+   dev-lang/swig
dev-qt/linguist-tools
 "
 
-RDEPEND="${CDEPEND}
-   x11-themes/hicolor-icon-theme
-   dev-libs/openssl
-   dev-libs/libgcrypt
-   media-libs/libpng
-   net-dns/c-ares
-   cryptopp? ( dev-libs/crypto++ )
-   app-arch/xz-utils
-   dev-libs/libuv
-   sqlite? ( dev-db/sqlite:3 )
-   dev-libs/libsodium
-   zlib? ( sys-libs/zlib )
-   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
-   freeimage? ( media-libs/freeimage )
-   readline? ( sys-libs/readline:0 )
-   dolphin? ( kde-apps/dolphin )
-   nautilus? ( >=gnome-base/nautilus-3 )
-   thunar? ( xfce-ba

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2020-11-08 Thread Andrew Ammerlaan
commit: 3bedd6fe12c78b02faa3041c5aab6f72e725c625
Author: Samuel Bernardo  gmail  com>
AuthorDate: Sat Nov  7 10:42:16 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat Nov  7 10:42:16 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3bedd6fe

net-misc/megasync: add version 4.3.3

Correct previous push and add repoman verified megasync ebuild.

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Samuel Bernardo  gmail.com>

 net-misc/megasync/megasync-4.3.3.ebuild | 78 +
 net-misc/megasync/metadata.xml  |  7 +++
 2 files changed, 38 insertions(+), 47 deletions(-)

diff --git a/net-misc/megasync/megasync-4.3.3.ebuild 
b/net-misc/megasync/megasync-4.3.3.ebuild
index 91734a74..aa7d2f2d 100644
--- a/net-misc/megasync/megasync-4.3.3.ebuild
+++ b/net-misc/megasync/megasync-4.3.3.ebuild
@@ -22,51 +22,41 @@ fi
 
 LICENSE="MEGA"
 SLOT="0"
-IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads qt5 java php python gnome"
+IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads java php python gnome"
 
 DEPEND="
dev-lang/swig
app-doc/doxygen
media-libs/libmediainfo
media-libs/libraw
-   !qt5? ( 
-   dev-qt/qtcore:4
-   dev-qt/qtgui:4
-   dev-qt/qtdbus:4
-   dev-libs/sni-qt
-   dev-qt/qtimageformats:5
-   dev-qt/qtsvg:5
-   )
-   qt5? ( 
-   dev-qt/qtcore:5
-   dev-qt/linguist-tools
-   dev-qt/qtwidgets:5
-   dev-qt/qtgui:5
-   dev-qt/qtconcurrent:5
-   dev-qt/qtnetwork:5
-   dev-qt/qtdbus:5
-   dev-qt/qtimageformats:5
-   dev-qt/qtsvg:5
-   )"
+   dev-qt/qtcore:5
+   dev-qt/linguist-tools
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5"
 RDEPEND="${DEPEND}
-   x11-themes/hicolor-icon-theme
-   dev-libs/openssl
-   dev-libs/libgcrypt
-   media-libs/libpng
-   net-dns/c-ares
-   cryptopp? ( dev-libs/crypto++ )
-   app-arch/xz-utils
-   dev-libs/libuv
-   sqlite? ( dev-db/sqlite:3 )
-   dev-libs/libsodium
-   zlib? ( sys-libs/zlib )
-   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
-   freeimage? ( media-libs/freeimage )
-   readline? ( sys-libs/readline:0 )
-   dolphin? ( kde-apps/dolphin )
-   nautilus? ( >=gnome-base/nautilus-3 )
-   thunar? ( xfce-base/thunar )
-   "
+   x11-themes/hicolor-icon-theme
+   dev-libs/openssl
+   dev-libs/libgcrypt
+   media-libs/libpng
+   net-dns/c-ares
+   cryptopp? ( dev-libs/crypto++ )
+   app-arch/xz-utils
+   dev-libs/libuv
+   sqlite? ( dev-db/sqlite:3 )
+   dev-libs/libsodium
+   zlib? ( sys-libs/zlib )
+   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   freeimage? ( media-libs/freeimage )
+   readline? ( sys-libs/readline:0 )
+   dolphin? ( kde-apps/dolphin )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   thunar? ( xfce-base/thunar )
+   "
 
 PATCHES=( )
 
@@ -116,15 +106,9 @@ src_configure(){
MEGA.pro
CONFIG+="release"
)
-   if use qt5; then
-   eqmake5 ${myeqmakeargs[@]}
-   use dolphin && cmake-utils_src_configure
-   $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
-   else
-   eqmake4 ${myeqmakeargs[@]}
-   use dolphin && cmake-utils_src_configure
-   $(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro
-   fi
+   eqmake5 ${myeqmakeargs[@]}
+   use dolphin && cmake-utils_src_configure
+   $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
 }
 
 src_compile(){

diff --git a/net-misc/megasync/metadata.xml b/net-misc/megasync/metadata.xml
index a9aac563..dbb25160 100644
--- a/net-misc/megasync/metadata.xml
+++ b/net-misc/megasync/metadata.xml
@@ -6,4 +6,11 @@
Samuel Bernardo
megasync client from mega.nz

+   
+   Upload your files to your Mega account 
from Dolphin file manager.
+   Upload your files to your Mega account 
from nautilus.
+   Upload your files to your Mega account from 
Thunar.
+   Compile with Crypto++ Library.
+   Use freeimage to manage graphic images 
format.
+   
 



[gentoo-commits] repo/proj/guru:master commit in: /, net-misc/megasync/

2020-11-08 Thread Andrew Ammerlaan
commit: 09f7ca3c417d4f6f6dcc80b8b22546c6c64d0a66
Author: Samuel Bernardo  gmail  com>
AuthorDate: Sat Nov  7 09:29:47 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat Nov  7 09:32:29 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=09f7ca3c

megasync client

Signed-off-by: Samuel Bernardo  gmail.com>

 megasync-4.3.3.ebuild   | 150 
 megasync-.ebuild| 142 ++
 net-misc/megasync/megasync-4.3.3.ebuild | 150 
 net-misc/megasync/megasync-.ebuild  |   1 +
 net-misc/megasync/metadata.xml  |   9 ++
 5 files changed, 452 insertions(+)

diff --git a/megasync-4.3.3.ebuild b/megasync-4.3.3.ebuild
new file mode 100644
index ..91734a74
--- /dev/null
+++ b/megasync-4.3.3.ebuild
@@ -0,0 +1,150 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=7
+
+inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
+
+DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This 
is the official app."
+HOMEPAGE="http://mega.co.nz";
+RTAG="_Linux"
+if [[ ${PV} == ** ]];then
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   KEYWORDS=""
+   EGIT_SUBMODULES=( '*' )
+else
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   EGIT_COMMIT="v${PV}.0${RTAG}"
+   EGIT_SUBMODULES=( '*' )
+   KEYWORDS="~x86 ~amd64"
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads qt5 java php python gnome"
+
+DEPEND="
+   dev-lang/swig
+   app-doc/doxygen
+   media-libs/libmediainfo
+   media-libs/libraw
+   !qt5? ( 
+   dev-qt/qtcore:4
+   dev-qt/qtgui:4
+   dev-qt/qtdbus:4
+   dev-libs/sni-qt
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5
+   )
+   qt5? ( 
+   dev-qt/qtcore:5
+   dev-qt/linguist-tools
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5
+   )"
+RDEPEND="${DEPEND}
+   x11-themes/hicolor-icon-theme
+   dev-libs/openssl
+   dev-libs/libgcrypt
+   media-libs/libpng
+   net-dns/c-ares
+   cryptopp? ( dev-libs/crypto++ )
+   app-arch/xz-utils
+   dev-libs/libuv
+   sqlite? ( dev-db/sqlite:3 )
+   dev-libs/libsodium
+   zlib? ( sys-libs/zlib )
+   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   freeimage? ( media-libs/freeimage )
+   readline? ( sys-libs/readline:0 )
+   dolphin? ( kde-apps/dolphin )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   thunar? ( xfce-base/thunar )
+   "
+
+PATCHES=( )
+
+if [[ ${PV} != ** ]];then
+   src_prepare(){
+   if [ -e "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch" ]; then
+   EPATCH_OPTS="-p0" epatch 
"${FILESDIR}/MEGAsync-${PV}.0_Linux.patch"
+   fi
+   if [ ! -z ${PATCHES} ]; then
+   epatch ${PATCHES}
+   fi
+   if use gnome; then
+   if [ -e "${FILESDIR}${P}-gnome.patch" ]; then
+   epatch "${FILESDIR}/${P}-gnome.patch"
+   fi
+   fi
+   eapply_user
+   cd src/MEGASync/mega
+   eautoreconf
+   }
+fi
+
+src_configure(){
+   cd "${S}"/src/MEGASync/mega
+   econf \
+   "--disable-silent-rules" \
+   "--disable-curl-checks" \
+   "--disable-megaapi" \
+   $(use_with zlib) \
+   $(use_with sqlite) \
+   $(use_with cryptopp) \
+   "--with-cares" \
+   $(use_with curl) \
+   "--without-termcap" \
+   $(use_enable threads posix-threads) \
+   "--with-sodium" \
+   $(use_with freeimage) \
+   $(use_with readline) \
+   $(use_enable examples) \
+   $(use_enable java) \
+   $(use_enable php) \
+   $(use_enable python) \
+   "--enable-chat" \
+   "--enable-gcc-hardening" 
+   cd ../..
+   local myeqmakeargs=(
+   MEGA.pro
+   CONFIG+="release"
+   )
+   if use qt5; then
+   eqmake5 ${myeqmakeargs[@]}
+   use dolphin && cmake-utils_src_configure
+   $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
+   else

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2020-11-08 Thread Andrew Ammerlaan
commit: a5a96c375906ca3ab4cdfee37fc3190baf91248b
Author: Samuel Bernardo  gmail  com>
AuthorDate: Sat Nov  7 11:09:31 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat Nov  7 11:09:31 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a5a96c37

net-misc/megasync: update to 4.3.5

Update to latest version

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Samuel Bernardo  gmail.com>

 net-misc/megasync/megasync-4.3.5.ebuild | 134 
 1 file changed, 134 insertions(+)

diff --git a/net-misc/megasync/megasync-4.3.5.ebuild 
b/net-misc/megasync/megasync-4.3.5.ebuild
new file mode 100644
index ..aa7d2f2d
--- /dev/null
+++ b/net-misc/megasync/megasync-4.3.5.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=7
+
+inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
+
+DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This 
is the official app."
+HOMEPAGE="http://mega.co.nz";
+RTAG="_Linux"
+if [[ ${PV} == ** ]];then
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   KEYWORDS=""
+   EGIT_SUBMODULES=( '*' )
+else
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   EGIT_COMMIT="v${PV}.0${RTAG}"
+   EGIT_SUBMODULES=( '*' )
+   KEYWORDS="~x86 ~amd64"
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads java php python gnome"
+
+DEPEND="
+   dev-lang/swig
+   app-doc/doxygen
+   media-libs/libmediainfo
+   media-libs/libraw
+   dev-qt/qtcore:5
+   dev-qt/linguist-tools
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5"
+RDEPEND="${DEPEND}
+   x11-themes/hicolor-icon-theme
+   dev-libs/openssl
+   dev-libs/libgcrypt
+   media-libs/libpng
+   net-dns/c-ares
+   cryptopp? ( dev-libs/crypto++ )
+   app-arch/xz-utils
+   dev-libs/libuv
+   sqlite? ( dev-db/sqlite:3 )
+   dev-libs/libsodium
+   zlib? ( sys-libs/zlib )
+   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   freeimage? ( media-libs/freeimage )
+   readline? ( sys-libs/readline:0 )
+   dolphin? ( kde-apps/dolphin )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   thunar? ( xfce-base/thunar )
+   "
+
+PATCHES=( )
+
+if [[ ${PV} != ** ]];then
+   src_prepare(){
+   if [ -e "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch" ]; then
+   EPATCH_OPTS="-p0" epatch 
"${FILESDIR}/MEGAsync-${PV}.0_Linux.patch"
+   fi
+   if [ ! -z ${PATCHES} ]; then
+   epatch ${PATCHES}
+   fi
+   if use gnome; then
+   if [ -e "${FILESDIR}${P}-gnome.patch" ]; then
+   epatch "${FILESDIR}/${P}-gnome.patch"
+   fi
+   fi
+   eapply_user
+   cd src/MEGASync/mega
+   eautoreconf
+   }
+fi
+
+src_configure(){
+   cd "${S}"/src/MEGASync/mega
+   econf \
+   "--disable-silent-rules" \
+   "--disable-curl-checks" \
+   "--disable-megaapi" \
+   $(use_with zlib) \
+   $(use_with sqlite) \
+   $(use_with cryptopp) \
+   "--with-cares" \
+   $(use_with curl) \
+   "--without-termcap" \
+   $(use_enable threads posix-threads) \
+   "--with-sodium" \
+   $(use_with freeimage) \
+   $(use_with readline) \
+   $(use_enable examples) \
+   $(use_enable java) \
+   $(use_enable php) \
+   $(use_enable python) \
+   "--enable-chat" \
+   "--enable-gcc-hardening" 
+   cd ../..
+   local myeqmakeargs=(
+   MEGA.pro
+   CONFIG+="release"
+   )
+   eqmake5 ${myeqmakeargs[@]}
+   use dolphin && cmake-utils_src_configure
+   $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
+}
+
+src_compile(){
+   emake -C src INSTALL_ROOT="${D}" || die
+   use dolphin && cmake-utils_src_compile
+}
+
+src_install(){
+   use dolphin && cmake-utils_src_install
+   local DOCS=( CREDITS.md README.md )
+   einstalldocs
+   insinto usr/share/licenses/${PN}
+   doins LICENCE.md installer/terms.txt
+   cd src/MEGASync
+   dobin ${PN}
+   cd platform/linux/data
+   insinto usr/share/applications
+   doins ${PN}.desktop
+   cd icons/hicolor
+   for size in 16x16 32x32 48x48 128x128 256x256;do
+   doicon -s $size $size/apps/mega.png
+   done
+}



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2021-05-24 Thread Haelwenn Monnier
commit: 41520970849558a3e4be96879583335b6bb9f9f3
Author: Samuel Bernardo  gmail  com>
AuthorDate: Mon May 24 19:54:43 2021 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Mon May 24 19:54:43 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=41520970

net-misc/megasync: update sdk hash for 4.5.0.0

Update hash of megasync-sdk-4.5.0.0.tar.gz since it is referenced to a
new commit.

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Samuel Bernardo  gmail.com>

 net-misc/megasync/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 099a944ed..84ee83762 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,4 +1,4 @@
 DIST megasync-4.3.8.0.tar.gz 16019709 BLAKE2B 
493ac0df0e8ca5c6617e493b5b3d81e45cedf2212a83ec9f5f6c07eee6fdf1d749b3735e10082b89f376f261ebfb825a3a7c457b8aa3be64702cddca34558558
 SHA512 
597b1d4a5a806514449b55e8bf81688b3c6d275372ebb56a45841b2f4c7caf8d9db363cf627fa0b6b84f4c662dc8cf87179b4478cd50b7b7efa1e23a9dca3389
 DIST megasync-4.5.0.0.tar.gz 16162074 BLAKE2B 
9ad09b61614992fc48572c168bb3b9692145289b945c01e371babe78a3b75bcc20a842f524279f6db35f8d93c914e9ba68ee5d187614b5041638813cb304531e
 SHA512 
f0c78d741be4a9ee9411be63667ea76cca3ff50ab70a81c904011e1ce1c6f0287ab5c90fc2b1a7a7c040b2d568819f91ecd10f8d570b22231df7b99166eacb11
 DIST megasync-sdk-4.3.8.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e
-DIST megasync-sdk-4.5.0.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e
+DIST megasync-sdk-4.5.0.0.tar.gz 3497367 BLAKE2B 
1594d792f38df4df29acd25ea5c920acf27410513544abc618a692e3ed2e6e1a459123b043a9aa3bfdc4647d753d6c14cc5ee1bde02abd6c0f6d7ce66b118821
 SHA512 
177b9e31f2aacfa370132657bb70ec315edcfbcfe043f067f4c67b69a47ade7235699183541de2462d2ab2a18b4688006cd938ae80da603df9bd79d908b58140



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2021-05-22 Thread Andrew Ammerlaan
commit: 11c911d7e031dcd453dd4bdb5f4dd497fb482de5
Author: Marcin Woźniak  aol  com>
AuthorDate: Sat May 22 11:41:51 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sat May 22 11:41:51 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=11c911d7

net-misc/megasync: Bump version to 4.5.0.0

Signed-off-by: Marcin Woźniak  aol.com>

 net-misc/megasync/Manifest|   2 +
 net-misc/megasync/megasync-4.5.0.0.ebuild | 140 ++
 2 files changed, 142 insertions(+)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index a97a7f706..099a944ed 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,2 +1,4 @@
 DIST megasync-4.3.8.0.tar.gz 16019709 BLAKE2B 
493ac0df0e8ca5c6617e493b5b3d81e45cedf2212a83ec9f5f6c07eee6fdf1d749b3735e10082b89f376f261ebfb825a3a7c457b8aa3be64702cddca34558558
 SHA512 
597b1d4a5a806514449b55e8bf81688b3c6d275372ebb56a45841b2f4c7caf8d9db363cf627fa0b6b84f4c662dc8cf87179b4478cd50b7b7efa1e23a9dca3389
+DIST megasync-4.5.0.0.tar.gz 16162074 BLAKE2B 
9ad09b61614992fc48572c168bb3b9692145289b945c01e371babe78a3b75bcc20a842f524279f6db35f8d93c914e9ba68ee5d187614b5041638813cb304531e
 SHA512 
f0c78d741be4a9ee9411be63667ea76cca3ff50ab70a81c904011e1ce1c6f0287ab5c90fc2b1a7a7c040b2d568819f91ecd10f8d570b22231df7b99166eacb11
 DIST megasync-sdk-4.3.8.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e
+DIST megasync-sdk-4.5.0.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e

diff --git a/net-misc/megasync/megasync-4.5.0.0.ebuild 
b/net-misc/megasync/megasync-4.5.0.0.ebuild
new file mode 100644
index 0..604202807
--- /dev/null
+++ b/net-misc/megasync/megasync-4.5.0.0.ebuild
@@ -0,0 +1,140 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools desktop qmake-utils xdg cmake
+
+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} ==  ]];then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+else
+   MEGA_SDK_REV="37b346c2e119559e40c08f43e1a8f54353e7ad59" # commit of 
src/MEGASync/mega submodule
+   SRC_URI="
+   https://github.com/meganz/MEGAsync/archive/v${PV}_Win.tar.gz -> 
${P}.tar.gz
+   https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
+   "
+   KEYWORDS="~amd64 ~x86"
+   # 4.3.8.0 has no dedicated linux tag
+   S="${WORKDIR}"/MEGAsync-${PV}_Win
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java nautilus 
php python readline threads thunar"
+
+RDEPEND="
+   app-arch/xz-utils
+   dev-libs/libgcrypt
+   dev-libs/libsodium
+   dev-libs/libuv
+   dev-libs/openssl:0=
+   media-libs/libpng
+   net-dns/c-ares
+   x11-themes/hicolor-icon-theme
+   cryptopp? ( dev-libs/crypto++ )
+   curl? ( net-misc/curl[ssl,curl_ssl_openssl(-)] )
+   dolphin? ( kde-apps/dolphin )
+   freeimage? ( media-libs/freeimage )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   readline? ( sys-libs/readline:0 )
+   sqlite? ( dev-db/sqlite:3 )
+   thunar? ( xfce-base/thunar )
+   zlib? ( sys-libs/zlib )
+"
+DEPEND="
+   ${RDEPEND}
+   media-libs/libmediainfo
+   media-libs/libraw
+   dev-qt/qtcore:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5
+   dev-qt/qtx11extras:5
+"
+BDEPEND="
+   dev-lang/swig
+   dev-qt/linguist-tools
+"
+
+DOCS=( CREDITS.md README.md )
+
+CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin"
+
+src_prepare() {
+   if [[ ${PV} !=  ]]; then
+   rmdir src/MEGASync/mega
+   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   fi
+   if use dolphin; then
+   # use the kde5 CMakeLists instead of the kde 4 version
+   mv src/MEGAShellExtDolphin/CMakeLists_kde5.txt 
src/MEGAShellExtDolphin/CMakeLists.txt || die
+   cmake_src_prepare
+   else
+   default
+   fi
+   cd src/MEGASync/mega
+   eautoreconf
+}
+
+src_configure() {
+   cd src/MEGASync/mega
+   econf \
+   "--disable-silent-rules" \
+  

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2021-05-06 Thread Andrew Ammerlaan
commit: 4247d662afe536d192d00a7ad6fb4a0ae3f6e2a7
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Thu May  6 00:18:58 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu May  6 00:22:56 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4247d662

net-misc/megasync: fix usptream

Signed-off-by: Alessandro Barbieri  gmail.com>

 net-misc/megasync/megasync-4.3.8.0.ebuild | 5 -
 net-misc/megasync/megasync-.ebuild| 5 -
 net-misc/megasync/metadata.xml| 3 +++
 3 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/net-misc/megasync/megasync-4.3.8.0.ebuild 
b/net-misc/megasync/megasync-4.3.8.0.ebuild
index 8d9107581..604202807 100644
--- a/net-misc/megasync/megasync-4.3.8.0.ebuild
+++ b/net-misc/megasync/megasync-4.3.8.0.ebuild
@@ -6,7 +6,10 @@ EAPI=7
 inherit autotools desktop qmake-utils xdg cmake
 
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
-HOMEPAGE="http://mega.co.nz";
+HOMEPAGE="
+   https://mega.io
+   https://github.com/meganz/MEGAsync
+"
 
 if [[ ${PV} ==  ]];then
inherit git-r3

diff --git a/net-misc/megasync/megasync-.ebuild 
b/net-misc/megasync/megasync-.ebuild
index 64ae5753b..5447073f4 100644
--- a/net-misc/megasync/megasync-.ebuild
+++ b/net-misc/megasync/megasync-.ebuild
@@ -6,7 +6,10 @@ EAPI=7
 inherit autotools desktop qmake-utils xdg cmake
 
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
-HOMEPAGE="http://mega.co.nz";
+HOMEPAGE="
+   https://mega.io
+   https://github.com/meganz/MEGAsync
+"
 
 if [[ ${PV} ==  ]];then
inherit git-r3

diff --git a/net-misc/megasync/metadata.xml b/net-misc/megasync/metadata.xml
index dbb25160c..045a9632b 100644
--- a/net-misc/megasync/metadata.xml
+++ b/net-misc/megasync/metadata.xml
@@ -6,6 +6,9 @@
Samuel Bernardo
megasync client from mega.nz

+   
+   meganz/MEGAsync
+   

Upload your files to your Mega account 
from Dolphin file manager.
Upload your files to your Mega account 
from nautilus.



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2021-01-01 Thread Andrew Ammerlaan
commit: db62cbf2ce66e8c66cceb6a5b5eba8dda16dfd46
Author: Theo Anderson  posteo  de>
AuthorDate: Thu Dec 31 08:31:13 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Dec 31 08:31:13 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=db62cbf2

net-misc/megasync: bump to 4.3.8.0

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson  posteo.de>

 net-misc/megasync/Manifest|   2 +
 net-misc/megasync/megasync-4.3.8.0.ebuild | 133 ++
 2 files changed, 135 insertions(+)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 2e3f9444..996b96d0 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,2 +1,4 @@
 DIST megasync-4.3.7.tar.gz 16020207 BLAKE2B 
f38b40594c0cb1ed3e93715842f3c161e09ef66deb017d2e5fa03d9d0ac2863ba02b88d1fe779960c07664b19250fa29115a87d62d0934157370c1faa85345a5
 SHA512 
6852390e05da13effd059a5e0dc7fe400f3456668925fbed5e34bc5018b3664d72aebd78847dfdb4f6dda39fe615a79e5c0eb99e72a401fb833d4eba8216010c
+DIST megasync-4.3.8.0.tar.gz 16019709 BLAKE2B 
493ac0df0e8ca5c6617e493b5b3d81e45cedf2212a83ec9f5f6c07eee6fdf1d749b3735e10082b89f376f261ebfb825a3a7c457b8aa3be64702cddca34558558
 SHA512 
597b1d4a5a806514449b55e8bf81688b3c6d275372ebb56a45841b2f4c7caf8d9db363cf627fa0b6b84f4c662dc8cf87179b4478cd50b7b7efa1e23a9dca3389
 DIST megasync-sdk-4.3.7.tar.gz 3362032 BLAKE2B 
36ab643252d27475f34c7a5ee0e71a6470f2c830ea5c8331a094b79da5cd751699390c36e107cb0da06e6f46932e10e5fefbfc8eec3e8645ba84c365835088f3
 SHA512 
45dcc285c194cc347d9d562638658d2f0dd8099371e7408995cad68811e720905ad6f9810b24079c1112d16bfb87f7986cf3180520dc7edd611e703c251b182a
+DIST megasync-sdk-4.3.8.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e

diff --git a/net-misc/megasync/megasync-4.3.8.0.ebuild 
b/net-misc/megasync/megasync-4.3.8.0.ebuild
new file mode 100644
index ..eb91b2e5
--- /dev/null
+++ b/net-misc/megasync/megasync-4.3.8.0.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools desktop qmake-utils xdg cmake
+
+DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
+HOMEPAGE="http://mega.co.nz";
+
+if [[ ${PV} ==  ]];then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+else
+   MEGA_SDK_REV="37b346c2e119559e40c08f43e1a8f54353e7ad59" # commit of 
src/MEGASync/mega submodule
+   SRC_URI="
+   https://github.com/meganz/MEGAsync/archive/v${PV}_Win.tar.gz -> 
${P}.tar.gz
+   https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
+   "
+   KEYWORDS="~amd64 ~x86"
+   # 4.3.8.0 has no dedicated linux tag
+   S="${WORKDIR}"/MEGAsync-${PV}_Win
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java libressl 
nautilus php python readline threads thunar"
+
+RDEPEND="
+   app-arch/xz-utils
+   dev-libs/libgcrypt
+   dev-libs/libsodium
+   dev-libs/libuv
+   media-libs/libpng
+   net-dns/c-ares
+   x11-themes/hicolor-icon-theme
+   cryptopp? ( dev-libs/crypto++ )
+   curl? (
+   !libressl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   libressl? ( net-misc/curl[ssl,curl_ssl_libressl] )
+   )
+   dolphin? ( kde-apps/dolphin )
+   freeimage? ( media-libs/freeimage )
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   readline? ( sys-libs/readline:0 )
+   sqlite? ( dev-db/sqlite:3 )
+   thunar? ( xfce-base/thunar )
+   zlib? ( sys-libs/zlib )
+"
+DEPEND="
+   ${RDEPEND}
+   media-libs/libmediainfo
+   media-libs/libraw
+   dev-qt/qtcore:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5
+"
+BDEPEND="
+   app-doc/doxygen
+   dev-lang/swig
+   dev-qt/linguist-tools
+"
+
+DOCS=( CREDITS.md README.md )
+
+src_prepare() {
+   if [[ ${PV} !=  ]]; then
+   rmdir src/MEGASync/mega
+   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   fi
+   default
+   cd src/MEGASync/mega
+   eautoreconf
+}
+
+src_configure() {
+   cd src/MEGASync/mega
+   econf \
+   "--disable-silent-rules" \
+   "--disable-curl-checks" \
+   "--disable-megaapi" \
+   $(use_with zlib) \
+   $(use_with sqlite) \
+   $(use_with c

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2020-12-11 Thread Andrew Ammerlaan
commit: 17b1a1064a770fde8b4f8a8b9a9e9d57312268d1
Author: Theo Anderson  posteo  de>
AuthorDate: Thu Dec 10 23:03:23 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Dec 10 23:03:23 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=17b1a106

net-misc/megasync: fix 

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson  posteo.de>

 net-misc/megasync/megasync-4.3.7.ebuild | 11 ++-
 net-misc/megasync/megasync-.ebuild  |  9 +
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/net-misc/megasync/megasync-4.3.7.ebuild 
b/net-misc/megasync/megasync-4.3.7.ebuild
index 390ce338..61ef362c 100644
--- a/net-misc/megasync/megasync-4.3.7.ebuild
+++ b/net-misc/megasync/megasync-4.3.7.ebuild
@@ -3,9 +3,7 @@
 
 EAPI=7
 
-inherit autotools cmake desktop qmake-utils
-
-MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
+inherit autotools desktop qmake-utils xdg cmake
 
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
 HOMEPAGE="http://mega.co.nz";
@@ -14,6 +12,7 @@ if [[ ${PV} ==  ]];then
inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
 else
+   MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
SRC_URI="

https://github.com/meganz/MEGAsync/archive/v${PV}.0_Linux.tar.gz -> ${P}.tar.gz
https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
@@ -71,8 +70,10 @@ BDEPEND="
 DOCS=( CREDITS.md README.md )
 
 src_prepare() {
-   rmdir src/MEGASync/mega
-   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   if [[ ${PV} !=  ]]; then
+   rmdir src/MEGASync/mega
+   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   fi
default
cd src/MEGASync/mega
eautoreconf

diff --git a/net-misc/megasync/megasync-.ebuild 
b/net-misc/megasync/megasync-.ebuild
index 5a8311e0..61ef362c 100644
--- a/net-misc/megasync/megasync-.ebuild
+++ b/net-misc/megasync/megasync-.ebuild
@@ -5,8 +5,6 @@ EAPI=7
 
 inherit autotools desktop qmake-utils xdg cmake
 
-MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
-
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
 HOMEPAGE="http://mega.co.nz";
 
@@ -14,6 +12,7 @@ if [[ ${PV} ==  ]];then
inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
 else
+   MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
SRC_URI="

https://github.com/meganz/MEGAsync/archive/v${PV}.0_Linux.tar.gz -> ${P}.tar.gz
https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
@@ -71,8 +70,10 @@ BDEPEND="
 DOCS=( CREDITS.md README.md )
 
 src_prepare() {
-   rmdir src/MEGASync/mega
-   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   if [[ ${PV} !=  ]]; then
+   rmdir src/MEGASync/mega
+   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   fi
default
cd src/MEGASync/mega
eautoreconf



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2020-12-11 Thread Andrew Ammerlaan
commit: 4f8fa2320d6fb0b8b66c28f70d9080f258179f82
Author: Theo Anderson  posteo  de>
AuthorDate: Thu Dec 10 21:47:24 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Dec 10 21:59:58 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4f8fa232

net-misc/megasync: bump to 4.3.7; update live ebuild

- uses tag archives instead of the git repo
- removed multilib (was it even used?)
- libressl support
- general ebuild cleanup

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson  posteo.de>

 net-misc/megasync/Manifest |   2 +
 ...{megasync-.ebuild => megasync-4.3.7.ebuild} | 122 ++---
 net-misc/megasync/megasync-.ebuild | 122 ++---
 3 files changed, 118 insertions(+), 128 deletions(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
new file mode 100644
index ..2e3f9444
--- /dev/null
+++ b/net-misc/megasync/Manifest
@@ -0,0 +1,2 @@
+DIST megasync-4.3.7.tar.gz 16020207 BLAKE2B 
f38b40594c0cb1ed3e93715842f3c161e09ef66deb017d2e5fa03d9d0ac2863ba02b88d1fe779960c07664b19250fa29115a87d62d0934157370c1faa85345a5
 SHA512 
6852390e05da13effd059a5e0dc7fe400f3456668925fbed5e34bc5018b3664d72aebd78847dfdb4f6dda39fe615a79e5c0eb99e72a401fb833d4eba8216010c
+DIST megasync-sdk-4.3.7.tar.gz 3362032 BLAKE2B 
36ab643252d27475f34c7a5ee0e71a6470f2c830ea5c8331a094b79da5cd751699390c36e107cb0da06e6f46932e10e5fefbfc8eec3e8645ba84c365835088f3
 SHA512 
45dcc285c194cc347d9d562638658d2f0dd8099371e7408995cad68811e720905ad6f9810b24079c1112d16bfb87f7986cf3180520dc7edd611e703c251b182a

diff --git a/net-misc/megasync/megasync-.ebuild 
b/net-misc/megasync/megasync-4.3.7.ebuild
similarity index 60%
copy from net-misc/megasync/megasync-.ebuild
copy to net-misc/megasync/megasync-4.3.7.ebuild
index a1edfca1..390ce338 100644
--- a/net-misc/megasync/megasync-.ebuild
+++ b/net-misc/megasync/megasync-4.3.7.ebuild
@@ -3,27 +3,54 @@
 
 EAPI=7
 
-inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
+inherit autotools cmake desktop qmake-utils
+
+MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
 
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
 HOMEPAGE="http://mega.co.nz";
-RTAG="_Linux"
-if [[ ${PV} == ** ]];then
+
+if [[ ${PV} ==  ]];then
+   inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
-   KEYWORDS=""
-   EGIT_SUBMODULES=( '*' )
 else
-   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
-   EGIT_COMMIT="v${PV}.0${RTAG}"
-   EGIT_SUBMODULES=( '*' )
+   SRC_URI="
+   
https://github.com/meganz/MEGAsync/archive/v${PV}.0_Linux.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}.0_Linux
 fi
 
 LICENSE="MEGA"
 SLOT="0"
-IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads java php python gnome"
+IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java libressl 
nautilus php python readline threads thunar"
 
-CDEPEND="
+RDEPEND="
+   app-arch/xz-utils
+   dev-libs/libgcrypt
+   dev-libs/libsodium
+   dev-libs/libuv
+   media-libs/libpng
+   net-dns/c-ares
+   x11-themes/hicolor-icon-theme
+   cryptopp? ( dev-libs/crypto++ )
+   curl? (
+   !libressl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   libressl? ( net-misc/curl[ssl,curl_ssl_libressl] )
+   )
+   dolphin? ( kde-apps/dolphin )
+   freeimage? ( media-libs/freeimage )
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   readline? ( sys-libs/readline:0 )
+   sqlite? ( dev-db/sqlite:3 )
+   thunar? ( xfce-base/thunar )
+   zlib? ( sys-libs/zlib )
+"
+DEPEND="
+   ${RDEPEND}
media-libs/libmediainfo
media-libs/libraw
dev-qt/qtcore:5
@@ -35,57 +62,24 @@ CDEPEND="
dev-qt/qtimageformats:5
dev-qt/qtsvg:5
 "
-
-BDEPEND="${CDEPEND}
-   dev-lang/swig
+BDEPEND="
app-doc/doxygen
+   dev-lang/swig
dev-qt/linguist-tools
 "
 
-RDEPEND="${CDEPEND}
-   x11-themes/hicolor-icon-theme
-   dev-libs/openssl
-   dev-libs/libgcrypt
-   media-libs/libpng
-   net-dns/c-ares
-   cryptopp? ( dev-libs/crypto++ )
-   app-arch/xz-utils
-   dev-libs/libuv
-   sqlite? ( dev-db/sqlite:3 )
-   dev-libs/libsodium
-   zlib? ( sys-libs/zlib )
-   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
-   freeimage? ( media-libs/freeimage )
-   readline? ( sys-libs/readline:0 )
-   dolphin? ( kde-apps/dolphin )
-   nautilus? ( >=gnome-base/nautilus-3 )
-   thunar? ( xfce-ba

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2020-12-11 Thread Andrew Ammerlaan
commit: 17b1a1064a770fde8b4f8a8b9a9e9d57312268d1
Author: Theo Anderson  posteo  de>
AuthorDate: Thu Dec 10 23:03:23 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Dec 10 23:03:23 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=17b1a106

net-misc/megasync: fix 

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson  posteo.de>

 net-misc/megasync/megasync-4.3.7.ebuild | 11 ++-
 net-misc/megasync/megasync-.ebuild  |  9 +
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/net-misc/megasync/megasync-4.3.7.ebuild 
b/net-misc/megasync/megasync-4.3.7.ebuild
index 390ce338..61ef362c 100644
--- a/net-misc/megasync/megasync-4.3.7.ebuild
+++ b/net-misc/megasync/megasync-4.3.7.ebuild
@@ -3,9 +3,7 @@
 
 EAPI=7
 
-inherit autotools cmake desktop qmake-utils
-
-MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
+inherit autotools desktop qmake-utils xdg cmake
 
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
 HOMEPAGE="http://mega.co.nz";
@@ -14,6 +12,7 @@ if [[ ${PV} ==  ]];then
inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
 else
+   MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
SRC_URI="

https://github.com/meganz/MEGAsync/archive/v${PV}.0_Linux.tar.gz -> ${P}.tar.gz
https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
@@ -71,8 +70,10 @@ BDEPEND="
 DOCS=( CREDITS.md README.md )
 
 src_prepare() {
-   rmdir src/MEGASync/mega
-   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   if [[ ${PV} !=  ]]; then
+   rmdir src/MEGASync/mega
+   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   fi
default
cd src/MEGASync/mega
eautoreconf

diff --git a/net-misc/megasync/megasync-.ebuild 
b/net-misc/megasync/megasync-.ebuild
index 5a8311e0..61ef362c 100644
--- a/net-misc/megasync/megasync-.ebuild
+++ b/net-misc/megasync/megasync-.ebuild
@@ -5,8 +5,6 @@ EAPI=7
 
 inherit autotools desktop qmake-utils xdg cmake
 
-MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
-
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
 HOMEPAGE="http://mega.co.nz";
 
@@ -14,6 +12,7 @@ if [[ ${PV} ==  ]];then
inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
 else
+   MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
SRC_URI="

https://github.com/meganz/MEGAsync/archive/v${PV}.0_Linux.tar.gz -> ${P}.tar.gz
https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
@@ -71,8 +70,10 @@ BDEPEND="
 DOCS=( CREDITS.md README.md )
 
 src_prepare() {
-   rmdir src/MEGASync/mega
-   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   if [[ ${PV} !=  ]]; then
+   rmdir src/MEGASync/mega
+   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   fi
default
cd src/MEGASync/mega
eautoreconf



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2020-12-11 Thread Andrew Ammerlaan
commit: 4f8fa2320d6fb0b8b66c28f70d9080f258179f82
Author: Theo Anderson  posteo  de>
AuthorDate: Thu Dec 10 21:47:24 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Dec 10 21:59:58 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4f8fa232

net-misc/megasync: bump to 4.3.7; update live ebuild

- uses tag archives instead of the git repo
- removed multilib (was it even used?)
- libressl support
- general ebuild cleanup

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson  posteo.de>

 net-misc/megasync/Manifest |   2 +
 ...{megasync-.ebuild => megasync-4.3.7.ebuild} | 122 ++---
 net-misc/megasync/megasync-.ebuild | 122 ++---
 3 files changed, 118 insertions(+), 128 deletions(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
new file mode 100644
index ..2e3f9444
--- /dev/null
+++ b/net-misc/megasync/Manifest
@@ -0,0 +1,2 @@
+DIST megasync-4.3.7.tar.gz 16020207 BLAKE2B 
f38b40594c0cb1ed3e93715842f3c161e09ef66deb017d2e5fa03d9d0ac2863ba02b88d1fe779960c07664b19250fa29115a87d62d0934157370c1faa85345a5
 SHA512 
6852390e05da13effd059a5e0dc7fe400f3456668925fbed5e34bc5018b3664d72aebd78847dfdb4f6dda39fe615a79e5c0eb99e72a401fb833d4eba8216010c
+DIST megasync-sdk-4.3.7.tar.gz 3362032 BLAKE2B 
36ab643252d27475f34c7a5ee0e71a6470f2c830ea5c8331a094b79da5cd751699390c36e107cb0da06e6f46932e10e5fefbfc8eec3e8645ba84c365835088f3
 SHA512 
45dcc285c194cc347d9d562638658d2f0dd8099371e7408995cad68811e720905ad6f9810b24079c1112d16bfb87f7986cf3180520dc7edd611e703c251b182a

diff --git a/net-misc/megasync/megasync-.ebuild 
b/net-misc/megasync/megasync-4.3.7.ebuild
similarity index 60%
copy from net-misc/megasync/megasync-.ebuild
copy to net-misc/megasync/megasync-4.3.7.ebuild
index a1edfca1..390ce338 100644
--- a/net-misc/megasync/megasync-.ebuild
+++ b/net-misc/megasync/megasync-4.3.7.ebuild
@@ -3,27 +3,54 @@
 
 EAPI=7
 
-inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
+inherit autotools cmake desktop qmake-utils
+
+MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
 
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
 HOMEPAGE="http://mega.co.nz";
-RTAG="_Linux"
-if [[ ${PV} == ** ]];then
+
+if [[ ${PV} ==  ]];then
+   inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
-   KEYWORDS=""
-   EGIT_SUBMODULES=( '*' )
 else
-   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
-   EGIT_COMMIT="v${PV}.0${RTAG}"
-   EGIT_SUBMODULES=( '*' )
+   SRC_URI="
+   
https://github.com/meganz/MEGAsync/archive/v${PV}.0_Linux.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}.0_Linux
 fi
 
 LICENSE="MEGA"
 SLOT="0"
-IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads java php python gnome"
+IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java libressl 
nautilus php python readline threads thunar"
 
-CDEPEND="
+RDEPEND="
+   app-arch/xz-utils
+   dev-libs/libgcrypt
+   dev-libs/libsodium
+   dev-libs/libuv
+   media-libs/libpng
+   net-dns/c-ares
+   x11-themes/hicolor-icon-theme
+   cryptopp? ( dev-libs/crypto++ )
+   curl? (
+   !libressl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   libressl? ( net-misc/curl[ssl,curl_ssl_libressl] )
+   )
+   dolphin? ( kde-apps/dolphin )
+   freeimage? ( media-libs/freeimage )
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   readline? ( sys-libs/readline:0 )
+   sqlite? ( dev-db/sqlite:3 )
+   thunar? ( xfce-base/thunar )
+   zlib? ( sys-libs/zlib )
+"
+DEPEND="
+   ${RDEPEND}
media-libs/libmediainfo
media-libs/libraw
dev-qt/qtcore:5
@@ -35,57 +62,24 @@ CDEPEND="
dev-qt/qtimageformats:5
dev-qt/qtsvg:5
 "
-
-BDEPEND="${CDEPEND}
-   dev-lang/swig
+BDEPEND="
app-doc/doxygen
+   dev-lang/swig
dev-qt/linguist-tools
 "
 
-RDEPEND="${CDEPEND}
-   x11-themes/hicolor-icon-theme
-   dev-libs/openssl
-   dev-libs/libgcrypt
-   media-libs/libpng
-   net-dns/c-ares
-   cryptopp? ( dev-libs/crypto++ )
-   app-arch/xz-utils
-   dev-libs/libuv
-   sqlite? ( dev-db/sqlite:3 )
-   dev-libs/libsodium
-   zlib? ( sys-libs/zlib )
-   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
-   freeimage? ( media-libs/freeimage )
-   readline? ( sys-libs/readline:0 )
-   dolphin? ( kde-apps/dolphin )
-   nautilus? ( >=gnome-base/nautilus-3 )
-   thunar? ( xfce-ba

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2021-05-22 Thread Andrew Ammerlaan
commit: 11c911d7e031dcd453dd4bdb5f4dd497fb482de5
Author: Marcin Woźniak  aol  com>
AuthorDate: Sat May 22 11:41:51 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sat May 22 11:41:51 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=11c911d7

net-misc/megasync: Bump version to 4.5.0.0

Signed-off-by: Marcin Woźniak  aol.com>

 net-misc/megasync/Manifest|   2 +
 net-misc/megasync/megasync-4.5.0.0.ebuild | 140 ++
 2 files changed, 142 insertions(+)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index a97a7f706..099a944ed 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,2 +1,4 @@
 DIST megasync-4.3.8.0.tar.gz 16019709 BLAKE2B 
493ac0df0e8ca5c6617e493b5b3d81e45cedf2212a83ec9f5f6c07eee6fdf1d749b3735e10082b89f376f261ebfb825a3a7c457b8aa3be64702cddca34558558
 SHA512 
597b1d4a5a806514449b55e8bf81688b3c6d275372ebb56a45841b2f4c7caf8d9db363cf627fa0b6b84f4c662dc8cf87179b4478cd50b7b7efa1e23a9dca3389
+DIST megasync-4.5.0.0.tar.gz 16162074 BLAKE2B 
9ad09b61614992fc48572c168bb3b9692145289b945c01e371babe78a3b75bcc20a842f524279f6db35f8d93c914e9ba68ee5d187614b5041638813cb304531e
 SHA512 
f0c78d741be4a9ee9411be63667ea76cca3ff50ab70a81c904011e1ce1c6f0287ab5c90fc2b1a7a7c040b2d568819f91ecd10f8d570b22231df7b99166eacb11
 DIST megasync-sdk-4.3.8.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e
+DIST megasync-sdk-4.5.0.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e

diff --git a/net-misc/megasync/megasync-4.5.0.0.ebuild 
b/net-misc/megasync/megasync-4.5.0.0.ebuild
new file mode 100644
index 0..604202807
--- /dev/null
+++ b/net-misc/megasync/megasync-4.5.0.0.ebuild
@@ -0,0 +1,140 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools desktop qmake-utils xdg cmake
+
+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} ==  ]];then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+else
+   MEGA_SDK_REV="37b346c2e119559e40c08f43e1a8f54353e7ad59" # commit of 
src/MEGASync/mega submodule
+   SRC_URI="
+   https://github.com/meganz/MEGAsync/archive/v${PV}_Win.tar.gz -> 
${P}.tar.gz
+   https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
+   "
+   KEYWORDS="~amd64 ~x86"
+   # 4.3.8.0 has no dedicated linux tag
+   S="${WORKDIR}"/MEGAsync-${PV}_Win
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java nautilus 
php python readline threads thunar"
+
+RDEPEND="
+   app-arch/xz-utils
+   dev-libs/libgcrypt
+   dev-libs/libsodium
+   dev-libs/libuv
+   dev-libs/openssl:0=
+   media-libs/libpng
+   net-dns/c-ares
+   x11-themes/hicolor-icon-theme
+   cryptopp? ( dev-libs/crypto++ )
+   curl? ( net-misc/curl[ssl,curl_ssl_openssl(-)] )
+   dolphin? ( kde-apps/dolphin )
+   freeimage? ( media-libs/freeimage )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   readline? ( sys-libs/readline:0 )
+   sqlite? ( dev-db/sqlite:3 )
+   thunar? ( xfce-base/thunar )
+   zlib? ( sys-libs/zlib )
+"
+DEPEND="
+   ${RDEPEND}
+   media-libs/libmediainfo
+   media-libs/libraw
+   dev-qt/qtcore:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5
+   dev-qt/qtx11extras:5
+"
+BDEPEND="
+   dev-lang/swig
+   dev-qt/linguist-tools
+"
+
+DOCS=( CREDITS.md README.md )
+
+CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin"
+
+src_prepare() {
+   if [[ ${PV} !=  ]]; then
+   rmdir src/MEGASync/mega
+   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   fi
+   if use dolphin; then
+   # use the kde5 CMakeLists instead of the kde 4 version
+   mv src/MEGAShellExtDolphin/CMakeLists_kde5.txt 
src/MEGAShellExtDolphin/CMakeLists.txt || die
+   cmake_src_prepare
+   else
+   default
+   fi
+   cd src/MEGASync/mega
+   eautoreconf
+}
+
+src_configure() {
+   cd src/MEGASync/mega
+   econf \
+   "--disable-silent-rules" \
+  

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2021-05-24 Thread Haelwenn Monnier
commit: 41520970849558a3e4be96879583335b6bb9f9f3
Author: Samuel Bernardo  gmail  com>
AuthorDate: Mon May 24 19:54:43 2021 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Mon May 24 19:54:43 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=41520970

net-misc/megasync: update sdk hash for 4.5.0.0

Update hash of megasync-sdk-4.5.0.0.tar.gz since it is referenced to a
new commit.

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Samuel Bernardo  gmail.com>

 net-misc/megasync/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 099a944ed..84ee83762 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,4 +1,4 @@
 DIST megasync-4.3.8.0.tar.gz 16019709 BLAKE2B 
493ac0df0e8ca5c6617e493b5b3d81e45cedf2212a83ec9f5f6c07eee6fdf1d749b3735e10082b89f376f261ebfb825a3a7c457b8aa3be64702cddca34558558
 SHA512 
597b1d4a5a806514449b55e8bf81688b3c6d275372ebb56a45841b2f4c7caf8d9db363cf627fa0b6b84f4c662dc8cf87179b4478cd50b7b7efa1e23a9dca3389
 DIST megasync-4.5.0.0.tar.gz 16162074 BLAKE2B 
9ad09b61614992fc48572c168bb3b9692145289b945c01e371babe78a3b75bcc20a842f524279f6db35f8d93c914e9ba68ee5d187614b5041638813cb304531e
 SHA512 
f0c78d741be4a9ee9411be63667ea76cca3ff50ab70a81c904011e1ce1c6f0287ab5c90fc2b1a7a7c040b2d568819f91ecd10f8d570b22231df7b99166eacb11
 DIST megasync-sdk-4.3.8.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e
-DIST megasync-sdk-4.5.0.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e
+DIST megasync-sdk-4.5.0.0.tar.gz 3497367 BLAKE2B 
1594d792f38df4df29acd25ea5c920acf27410513544abc618a692e3ed2e6e1a459123b043a9aa3bfdc4647d753d6c14cc5ee1bde02abd6c0f6d7ce66b118821
 SHA512 
177b9e31f2aacfa370132657bb70ec315edcfbcfe043f067f4c67b69a47ade7235699183541de2462d2ab2a18b4688006cd938ae80da603df9bd79d908b58140



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2021-05-06 Thread Andrew Ammerlaan
commit: 4247d662afe536d192d00a7ad6fb4a0ae3f6e2a7
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Thu May  6 00:18:58 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu May  6 00:22:56 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4247d662

net-misc/megasync: fix usptream

Signed-off-by: Alessandro Barbieri  gmail.com>

 net-misc/megasync/megasync-4.3.8.0.ebuild | 5 -
 net-misc/megasync/megasync-.ebuild| 5 -
 net-misc/megasync/metadata.xml| 3 +++
 3 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/net-misc/megasync/megasync-4.3.8.0.ebuild 
b/net-misc/megasync/megasync-4.3.8.0.ebuild
index 8d9107581..604202807 100644
--- a/net-misc/megasync/megasync-4.3.8.0.ebuild
+++ b/net-misc/megasync/megasync-4.3.8.0.ebuild
@@ -6,7 +6,10 @@ EAPI=7
 inherit autotools desktop qmake-utils xdg cmake
 
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
-HOMEPAGE="http://mega.co.nz";
+HOMEPAGE="
+   https://mega.io
+   https://github.com/meganz/MEGAsync
+"
 
 if [[ ${PV} ==  ]];then
inherit git-r3

diff --git a/net-misc/megasync/megasync-.ebuild 
b/net-misc/megasync/megasync-.ebuild
index 64ae5753b..5447073f4 100644
--- a/net-misc/megasync/megasync-.ebuild
+++ b/net-misc/megasync/megasync-.ebuild
@@ -6,7 +6,10 @@ EAPI=7
 inherit autotools desktop qmake-utils xdg cmake
 
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
-HOMEPAGE="http://mega.co.nz";
+HOMEPAGE="
+   https://mega.io
+   https://github.com/meganz/MEGAsync
+"
 
 if [[ ${PV} ==  ]];then
inherit git-r3

diff --git a/net-misc/megasync/metadata.xml b/net-misc/megasync/metadata.xml
index dbb25160c..045a9632b 100644
--- a/net-misc/megasync/metadata.xml
+++ b/net-misc/megasync/metadata.xml
@@ -6,6 +6,9 @@
Samuel Bernardo
megasync client from mega.nz

+   
+   meganz/MEGAsync
+   

Upload your files to your Mega account 
from Dolphin file manager.
Upload your files to your Mega account 
from nautilus.



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2021-05-24 Thread Haelwenn Monnier
commit: 41520970849558a3e4be96879583335b6bb9f9f3
Author: Samuel Bernardo  gmail  com>
AuthorDate: Mon May 24 19:54:43 2021 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Mon May 24 19:54:43 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=41520970

net-misc/megasync: update sdk hash for 4.5.0.0

Update hash of megasync-sdk-4.5.0.0.tar.gz since it is referenced to a
new commit.

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Samuel Bernardo  gmail.com>

 net-misc/megasync/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 099a944ed..84ee83762 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,4 +1,4 @@
 DIST megasync-4.3.8.0.tar.gz 16019709 BLAKE2B 
493ac0df0e8ca5c6617e493b5b3d81e45cedf2212a83ec9f5f6c07eee6fdf1d749b3735e10082b89f376f261ebfb825a3a7c457b8aa3be64702cddca34558558
 SHA512 
597b1d4a5a806514449b55e8bf81688b3c6d275372ebb56a45841b2f4c7caf8d9db363cf627fa0b6b84f4c662dc8cf87179b4478cd50b7b7efa1e23a9dca3389
 DIST megasync-4.5.0.0.tar.gz 16162074 BLAKE2B 
9ad09b61614992fc48572c168bb3b9692145289b945c01e371babe78a3b75bcc20a842f524279f6db35f8d93c914e9ba68ee5d187614b5041638813cb304531e
 SHA512 
f0c78d741be4a9ee9411be63667ea76cca3ff50ab70a81c904011e1ce1c6f0287ab5c90fc2b1a7a7c040b2d568819f91ecd10f8d570b22231df7b99166eacb11
 DIST megasync-sdk-4.3.8.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e
-DIST megasync-sdk-4.5.0.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e
+DIST megasync-sdk-4.5.0.0.tar.gz 3497367 BLAKE2B 
1594d792f38df4df29acd25ea5c920acf27410513544abc618a692e3ed2e6e1a459123b043a9aa3bfdc4647d753d6c14cc5ee1bde02abd6c0f6d7ce66b118821
 SHA512 
177b9e31f2aacfa370132657bb70ec315edcfbcfe043f067f4c67b69a47ade7235699183541de2462d2ab2a18b4688006cd938ae80da603df9bd79d908b58140



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2021-05-22 Thread Andrew Ammerlaan
commit: 11c911d7e031dcd453dd4bdb5f4dd497fb482de5
Author: Marcin Woźniak  aol  com>
AuthorDate: Sat May 22 11:41:51 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sat May 22 11:41:51 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=11c911d7

net-misc/megasync: Bump version to 4.5.0.0

Signed-off-by: Marcin Woźniak  aol.com>

 net-misc/megasync/Manifest|   2 +
 net-misc/megasync/megasync-4.5.0.0.ebuild | 140 ++
 2 files changed, 142 insertions(+)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index a97a7f706..099a944ed 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,2 +1,4 @@
 DIST megasync-4.3.8.0.tar.gz 16019709 BLAKE2B 
493ac0df0e8ca5c6617e493b5b3d81e45cedf2212a83ec9f5f6c07eee6fdf1d749b3735e10082b89f376f261ebfb825a3a7c457b8aa3be64702cddca34558558
 SHA512 
597b1d4a5a806514449b55e8bf81688b3c6d275372ebb56a45841b2f4c7caf8d9db363cf627fa0b6b84f4c662dc8cf87179b4478cd50b7b7efa1e23a9dca3389
+DIST megasync-4.5.0.0.tar.gz 16162074 BLAKE2B 
9ad09b61614992fc48572c168bb3b9692145289b945c01e371babe78a3b75bcc20a842f524279f6db35f8d93c914e9ba68ee5d187614b5041638813cb304531e
 SHA512 
f0c78d741be4a9ee9411be63667ea76cca3ff50ab70a81c904011e1ce1c6f0287ab5c90fc2b1a7a7c040b2d568819f91ecd10f8d570b22231df7b99166eacb11
 DIST megasync-sdk-4.3.8.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e
+DIST megasync-sdk-4.5.0.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e

diff --git a/net-misc/megasync/megasync-4.5.0.0.ebuild 
b/net-misc/megasync/megasync-4.5.0.0.ebuild
new file mode 100644
index 0..604202807
--- /dev/null
+++ b/net-misc/megasync/megasync-4.5.0.0.ebuild
@@ -0,0 +1,140 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools desktop qmake-utils xdg cmake
+
+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} ==  ]];then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+else
+   MEGA_SDK_REV="37b346c2e119559e40c08f43e1a8f54353e7ad59" # commit of 
src/MEGASync/mega submodule
+   SRC_URI="
+   https://github.com/meganz/MEGAsync/archive/v${PV}_Win.tar.gz -> 
${P}.tar.gz
+   https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
+   "
+   KEYWORDS="~amd64 ~x86"
+   # 4.3.8.0 has no dedicated linux tag
+   S="${WORKDIR}"/MEGAsync-${PV}_Win
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java nautilus 
php python readline threads thunar"
+
+RDEPEND="
+   app-arch/xz-utils
+   dev-libs/libgcrypt
+   dev-libs/libsodium
+   dev-libs/libuv
+   dev-libs/openssl:0=
+   media-libs/libpng
+   net-dns/c-ares
+   x11-themes/hicolor-icon-theme
+   cryptopp? ( dev-libs/crypto++ )
+   curl? ( net-misc/curl[ssl,curl_ssl_openssl(-)] )
+   dolphin? ( kde-apps/dolphin )
+   freeimage? ( media-libs/freeimage )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   readline? ( sys-libs/readline:0 )
+   sqlite? ( dev-db/sqlite:3 )
+   thunar? ( xfce-base/thunar )
+   zlib? ( sys-libs/zlib )
+"
+DEPEND="
+   ${RDEPEND}
+   media-libs/libmediainfo
+   media-libs/libraw
+   dev-qt/qtcore:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5
+   dev-qt/qtx11extras:5
+"
+BDEPEND="
+   dev-lang/swig
+   dev-qt/linguist-tools
+"
+
+DOCS=( CREDITS.md README.md )
+
+CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin"
+
+src_prepare() {
+   if [[ ${PV} !=  ]]; then
+   rmdir src/MEGASync/mega
+   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   fi
+   if use dolphin; then
+   # use the kde5 CMakeLists instead of the kde 4 version
+   mv src/MEGAShellExtDolphin/CMakeLists_kde5.txt 
src/MEGAShellExtDolphin/CMakeLists.txt || die
+   cmake_src_prepare
+   else
+   default
+   fi
+   cd src/MEGASync/mega
+   eautoreconf
+}
+
+src_configure() {
+   cd src/MEGASync/mega
+   econf \
+   "--disable-silent-rules" \
+  

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2021-05-06 Thread Andrew Ammerlaan
commit: 4247d662afe536d192d00a7ad6fb4a0ae3f6e2a7
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Thu May  6 00:18:58 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu May  6 00:22:56 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4247d662

net-misc/megasync: fix usptream

Signed-off-by: Alessandro Barbieri  gmail.com>

 net-misc/megasync/megasync-4.3.8.0.ebuild | 5 -
 net-misc/megasync/megasync-.ebuild| 5 -
 net-misc/megasync/metadata.xml| 3 +++
 3 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/net-misc/megasync/megasync-4.3.8.0.ebuild 
b/net-misc/megasync/megasync-4.3.8.0.ebuild
index 8d9107581..604202807 100644
--- a/net-misc/megasync/megasync-4.3.8.0.ebuild
+++ b/net-misc/megasync/megasync-4.3.8.0.ebuild
@@ -6,7 +6,10 @@ EAPI=7
 inherit autotools desktop qmake-utils xdg cmake
 
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
-HOMEPAGE="http://mega.co.nz";
+HOMEPAGE="
+   https://mega.io
+   https://github.com/meganz/MEGAsync
+"
 
 if [[ ${PV} ==  ]];then
inherit git-r3

diff --git a/net-misc/megasync/megasync-.ebuild 
b/net-misc/megasync/megasync-.ebuild
index 64ae5753b..5447073f4 100644
--- a/net-misc/megasync/megasync-.ebuild
+++ b/net-misc/megasync/megasync-.ebuild
@@ -6,7 +6,10 @@ EAPI=7
 inherit autotools desktop qmake-utils xdg cmake
 
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
-HOMEPAGE="http://mega.co.nz";
+HOMEPAGE="
+   https://mega.io
+   https://github.com/meganz/MEGAsync
+"
 
 if [[ ${PV} ==  ]];then
inherit git-r3

diff --git a/net-misc/megasync/metadata.xml b/net-misc/megasync/metadata.xml
index dbb25160c..045a9632b 100644
--- a/net-misc/megasync/metadata.xml
+++ b/net-misc/megasync/metadata.xml
@@ -6,6 +6,9 @@
Samuel Bernardo
megasync client from mega.nz

+   
+   meganz/MEGAsync
+   

Upload your files to your Mega account 
from Dolphin file manager.
Upload your files to your Mega account 
from nautilus.



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2020-11-08 Thread Andrew Ammerlaan
commit: 3bedd6fe12c78b02faa3041c5aab6f72e725c625
Author: Samuel Bernardo  gmail  com>
AuthorDate: Sat Nov  7 10:42:16 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat Nov  7 10:42:16 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3bedd6fe

net-misc/megasync: add version 4.3.3

Correct previous push and add repoman verified megasync ebuild.

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Samuel Bernardo  gmail.com>

 net-misc/megasync/megasync-4.3.3.ebuild | 78 +
 net-misc/megasync/metadata.xml  |  7 +++
 2 files changed, 38 insertions(+), 47 deletions(-)

diff --git a/net-misc/megasync/megasync-4.3.3.ebuild 
b/net-misc/megasync/megasync-4.3.3.ebuild
index 91734a74..aa7d2f2d 100644
--- a/net-misc/megasync/megasync-4.3.3.ebuild
+++ b/net-misc/megasync/megasync-4.3.3.ebuild
@@ -22,51 +22,41 @@ fi
 
 LICENSE="MEGA"
 SLOT="0"
-IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads qt5 java php python gnome"
+IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads java php python gnome"
 
 DEPEND="
dev-lang/swig
app-doc/doxygen
media-libs/libmediainfo
media-libs/libraw
-   !qt5? ( 
-   dev-qt/qtcore:4
-   dev-qt/qtgui:4
-   dev-qt/qtdbus:4
-   dev-libs/sni-qt
-   dev-qt/qtimageformats:5
-   dev-qt/qtsvg:5
-   )
-   qt5? ( 
-   dev-qt/qtcore:5
-   dev-qt/linguist-tools
-   dev-qt/qtwidgets:5
-   dev-qt/qtgui:5
-   dev-qt/qtconcurrent:5
-   dev-qt/qtnetwork:5
-   dev-qt/qtdbus:5
-   dev-qt/qtimageformats:5
-   dev-qt/qtsvg:5
-   )"
+   dev-qt/qtcore:5
+   dev-qt/linguist-tools
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5"
 RDEPEND="${DEPEND}
-   x11-themes/hicolor-icon-theme
-   dev-libs/openssl
-   dev-libs/libgcrypt
-   media-libs/libpng
-   net-dns/c-ares
-   cryptopp? ( dev-libs/crypto++ )
-   app-arch/xz-utils
-   dev-libs/libuv
-   sqlite? ( dev-db/sqlite:3 )
-   dev-libs/libsodium
-   zlib? ( sys-libs/zlib )
-   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
-   freeimage? ( media-libs/freeimage )
-   readline? ( sys-libs/readline:0 )
-   dolphin? ( kde-apps/dolphin )
-   nautilus? ( >=gnome-base/nautilus-3 )
-   thunar? ( xfce-base/thunar )
-   "
+   x11-themes/hicolor-icon-theme
+   dev-libs/openssl
+   dev-libs/libgcrypt
+   media-libs/libpng
+   net-dns/c-ares
+   cryptopp? ( dev-libs/crypto++ )
+   app-arch/xz-utils
+   dev-libs/libuv
+   sqlite? ( dev-db/sqlite:3 )
+   dev-libs/libsodium
+   zlib? ( sys-libs/zlib )
+   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   freeimage? ( media-libs/freeimage )
+   readline? ( sys-libs/readline:0 )
+   dolphin? ( kde-apps/dolphin )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   thunar? ( xfce-base/thunar )
+   "
 
 PATCHES=( )
 
@@ -116,15 +106,9 @@ src_configure(){
MEGA.pro
CONFIG+="release"
)
-   if use qt5; then
-   eqmake5 ${myeqmakeargs[@]}
-   use dolphin && cmake-utils_src_configure
-   $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
-   else
-   eqmake4 ${myeqmakeargs[@]}
-   use dolphin && cmake-utils_src_configure
-   $(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro
-   fi
+   eqmake5 ${myeqmakeargs[@]}
+   use dolphin && cmake-utils_src_configure
+   $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
 }
 
 src_compile(){

diff --git a/net-misc/megasync/metadata.xml b/net-misc/megasync/metadata.xml
index a9aac563..dbb25160 100644
--- a/net-misc/megasync/metadata.xml
+++ b/net-misc/megasync/metadata.xml
@@ -6,4 +6,11 @@
Samuel Bernardo
megasync client from mega.nz

+   
+   Upload your files to your Mega account 
from Dolphin file manager.
+   Upload your files to your Mega account 
from nautilus.
+   Upload your files to your Mega account from 
Thunar.
+   Compile with Crypto++ Library.
+   Use freeimage to manage graphic images 
format.
+   
 



[gentoo-commits] repo/proj/guru:master commit in: /, net-misc/megasync/

2020-11-08 Thread Andrew Ammerlaan
commit: 09f7ca3c417d4f6f6dcc80b8b22546c6c64d0a66
Author: Samuel Bernardo  gmail  com>
AuthorDate: Sat Nov  7 09:29:47 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat Nov  7 09:32:29 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=09f7ca3c

megasync client

Signed-off-by: Samuel Bernardo  gmail.com>

 megasync-4.3.3.ebuild   | 150 
 megasync-.ebuild| 142 ++
 net-misc/megasync/megasync-4.3.3.ebuild | 150 
 net-misc/megasync/megasync-.ebuild  |   1 +
 net-misc/megasync/metadata.xml  |   9 ++
 5 files changed, 452 insertions(+)

diff --git a/megasync-4.3.3.ebuild b/megasync-4.3.3.ebuild
new file mode 100644
index ..91734a74
--- /dev/null
+++ b/megasync-4.3.3.ebuild
@@ -0,0 +1,150 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=7
+
+inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
+
+DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This 
is the official app."
+HOMEPAGE="http://mega.co.nz";
+RTAG="_Linux"
+if [[ ${PV} == ** ]];then
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   KEYWORDS=""
+   EGIT_SUBMODULES=( '*' )
+else
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   EGIT_COMMIT="v${PV}.0${RTAG}"
+   EGIT_SUBMODULES=( '*' )
+   KEYWORDS="~x86 ~amd64"
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads qt5 java php python gnome"
+
+DEPEND="
+   dev-lang/swig
+   app-doc/doxygen
+   media-libs/libmediainfo
+   media-libs/libraw
+   !qt5? ( 
+   dev-qt/qtcore:4
+   dev-qt/qtgui:4
+   dev-qt/qtdbus:4
+   dev-libs/sni-qt
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5
+   )
+   qt5? ( 
+   dev-qt/qtcore:5
+   dev-qt/linguist-tools
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5
+   )"
+RDEPEND="${DEPEND}
+   x11-themes/hicolor-icon-theme
+   dev-libs/openssl
+   dev-libs/libgcrypt
+   media-libs/libpng
+   net-dns/c-ares
+   cryptopp? ( dev-libs/crypto++ )
+   app-arch/xz-utils
+   dev-libs/libuv
+   sqlite? ( dev-db/sqlite:3 )
+   dev-libs/libsodium
+   zlib? ( sys-libs/zlib )
+   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   freeimage? ( media-libs/freeimage )
+   readline? ( sys-libs/readline:0 )
+   dolphin? ( kde-apps/dolphin )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   thunar? ( xfce-base/thunar )
+   "
+
+PATCHES=( )
+
+if [[ ${PV} != ** ]];then
+   src_prepare(){
+   if [ -e "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch" ]; then
+   EPATCH_OPTS="-p0" epatch 
"${FILESDIR}/MEGAsync-${PV}.0_Linux.patch"
+   fi
+   if [ ! -z ${PATCHES} ]; then
+   epatch ${PATCHES}
+   fi
+   if use gnome; then
+   if [ -e "${FILESDIR}${P}-gnome.patch" ]; then
+   epatch "${FILESDIR}/${P}-gnome.patch"
+   fi
+   fi
+   eapply_user
+   cd src/MEGASync/mega
+   eautoreconf
+   }
+fi
+
+src_configure(){
+   cd "${S}"/src/MEGASync/mega
+   econf \
+   "--disable-silent-rules" \
+   "--disable-curl-checks" \
+   "--disable-megaapi" \
+   $(use_with zlib) \
+   $(use_with sqlite) \
+   $(use_with cryptopp) \
+   "--with-cares" \
+   $(use_with curl) \
+   "--without-termcap" \
+   $(use_enable threads posix-threads) \
+   "--with-sodium" \
+   $(use_with freeimage) \
+   $(use_with readline) \
+   $(use_enable examples) \
+   $(use_enable java) \
+   $(use_enable php) \
+   $(use_enable python) \
+   "--enable-chat" \
+   "--enable-gcc-hardening" 
+   cd ../..
+   local myeqmakeargs=(
+   MEGA.pro
+   CONFIG+="release"
+   )
+   if use qt5; then
+   eqmake5 ${myeqmakeargs[@]}
+   use dolphin && cmake-utils_src_configure
+   $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
+   else

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2020-11-08 Thread Andrew Ammerlaan
commit: a5a96c375906ca3ab4cdfee37fc3190baf91248b
Author: Samuel Bernardo  gmail  com>
AuthorDate: Sat Nov  7 11:09:31 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat Nov  7 11:09:31 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a5a96c37

net-misc/megasync: update to 4.3.5

Update to latest version

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Samuel Bernardo  gmail.com>

 net-misc/megasync/megasync-4.3.5.ebuild | 134 
 1 file changed, 134 insertions(+)

diff --git a/net-misc/megasync/megasync-4.3.5.ebuild 
b/net-misc/megasync/megasync-4.3.5.ebuild
new file mode 100644
index ..aa7d2f2d
--- /dev/null
+++ b/net-misc/megasync/megasync-4.3.5.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=7
+
+inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
+
+DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This 
is the official app."
+HOMEPAGE="http://mega.co.nz";
+RTAG="_Linux"
+if [[ ${PV} == ** ]];then
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   KEYWORDS=""
+   EGIT_SUBMODULES=( '*' )
+else
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   EGIT_COMMIT="v${PV}.0${RTAG}"
+   EGIT_SUBMODULES=( '*' )
+   KEYWORDS="~x86 ~amd64"
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads java php python gnome"
+
+DEPEND="
+   dev-lang/swig
+   app-doc/doxygen
+   media-libs/libmediainfo
+   media-libs/libraw
+   dev-qt/qtcore:5
+   dev-qt/linguist-tools
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5"
+RDEPEND="${DEPEND}
+   x11-themes/hicolor-icon-theme
+   dev-libs/openssl
+   dev-libs/libgcrypt
+   media-libs/libpng
+   net-dns/c-ares
+   cryptopp? ( dev-libs/crypto++ )
+   app-arch/xz-utils
+   dev-libs/libuv
+   sqlite? ( dev-db/sqlite:3 )
+   dev-libs/libsodium
+   zlib? ( sys-libs/zlib )
+   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   freeimage? ( media-libs/freeimage )
+   readline? ( sys-libs/readline:0 )
+   dolphin? ( kde-apps/dolphin )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   thunar? ( xfce-base/thunar )
+   "
+
+PATCHES=( )
+
+if [[ ${PV} != ** ]];then
+   src_prepare(){
+   if [ -e "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch" ]; then
+   EPATCH_OPTS="-p0" epatch 
"${FILESDIR}/MEGAsync-${PV}.0_Linux.patch"
+   fi
+   if [ ! -z ${PATCHES} ]; then
+   epatch ${PATCHES}
+   fi
+   if use gnome; then
+   if [ -e "${FILESDIR}${P}-gnome.patch" ]; then
+   epatch "${FILESDIR}/${P}-gnome.patch"
+   fi
+   fi
+   eapply_user
+   cd src/MEGASync/mega
+   eautoreconf
+   }
+fi
+
+src_configure(){
+   cd "${S}"/src/MEGASync/mega
+   econf \
+   "--disable-silent-rules" \
+   "--disable-curl-checks" \
+   "--disable-megaapi" \
+   $(use_with zlib) \
+   $(use_with sqlite) \
+   $(use_with cryptopp) \
+   "--with-cares" \
+   $(use_with curl) \
+   "--without-termcap" \
+   $(use_enable threads posix-threads) \
+   "--with-sodium" \
+   $(use_with freeimage) \
+   $(use_with readline) \
+   $(use_enable examples) \
+   $(use_enable java) \
+   $(use_enable php) \
+   $(use_enable python) \
+   "--enable-chat" \
+   "--enable-gcc-hardening" 
+   cd ../..
+   local myeqmakeargs=(
+   MEGA.pro
+   CONFIG+="release"
+   )
+   eqmake5 ${myeqmakeargs[@]}
+   use dolphin && cmake-utils_src_configure
+   $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
+}
+
+src_compile(){
+   emake -C src INSTALL_ROOT="${D}" || die
+   use dolphin && cmake-utils_src_compile
+}
+
+src_install(){
+   use dolphin && cmake-utils_src_install
+   local DOCS=( CREDITS.md README.md )
+   einstalldocs
+   insinto usr/share/licenses/${PN}
+   doins LICENCE.md installer/terms.txt
+   cd src/MEGASync
+   dobin ${PN}
+   cd platform/linux/data
+   insinto usr/share/applications
+   doins ${PN}.desktop
+   cd icons/hicolor
+   for size in 16x16 32x32 48x48 128x128 256x256;do
+   doicon -s $size $size/apps/mega.png
+   done
+}



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2021-01-01 Thread Andrew Ammerlaan
commit: db62cbf2ce66e8c66cceb6a5b5eba8dda16dfd46
Author: Theo Anderson  posteo  de>
AuthorDate: Thu Dec 31 08:31:13 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Dec 31 08:31:13 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=db62cbf2

net-misc/megasync: bump to 4.3.8.0

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson  posteo.de>

 net-misc/megasync/Manifest|   2 +
 net-misc/megasync/megasync-4.3.8.0.ebuild | 133 ++
 2 files changed, 135 insertions(+)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 2e3f9444..996b96d0 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,2 +1,4 @@
 DIST megasync-4.3.7.tar.gz 16020207 BLAKE2B 
f38b40594c0cb1ed3e93715842f3c161e09ef66deb017d2e5fa03d9d0ac2863ba02b88d1fe779960c07664b19250fa29115a87d62d0934157370c1faa85345a5
 SHA512 
6852390e05da13effd059a5e0dc7fe400f3456668925fbed5e34bc5018b3664d72aebd78847dfdb4f6dda39fe615a79e5c0eb99e72a401fb833d4eba8216010c
+DIST megasync-4.3.8.0.tar.gz 16019709 BLAKE2B 
493ac0df0e8ca5c6617e493b5b3d81e45cedf2212a83ec9f5f6c07eee6fdf1d749b3735e10082b89f376f261ebfb825a3a7c457b8aa3be64702cddca34558558
 SHA512 
597b1d4a5a806514449b55e8bf81688b3c6d275372ebb56a45841b2f4c7caf8d9db363cf627fa0b6b84f4c662dc8cf87179b4478cd50b7b7efa1e23a9dca3389
 DIST megasync-sdk-4.3.7.tar.gz 3362032 BLAKE2B 
36ab643252d27475f34c7a5ee0e71a6470f2c830ea5c8331a094b79da5cd751699390c36e107cb0da06e6f46932e10e5fefbfc8eec3e8645ba84c365835088f3
 SHA512 
45dcc285c194cc347d9d562638658d2f0dd8099371e7408995cad68811e720905ad6f9810b24079c1112d16bfb87f7986cf3180520dc7edd611e703c251b182a
+DIST megasync-sdk-4.3.8.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e

diff --git a/net-misc/megasync/megasync-4.3.8.0.ebuild 
b/net-misc/megasync/megasync-4.3.8.0.ebuild
new file mode 100644
index ..eb91b2e5
--- /dev/null
+++ b/net-misc/megasync/megasync-4.3.8.0.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools desktop qmake-utils xdg cmake
+
+DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
+HOMEPAGE="http://mega.co.nz";
+
+if [[ ${PV} ==  ]];then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+else
+   MEGA_SDK_REV="37b346c2e119559e40c08f43e1a8f54353e7ad59" # commit of 
src/MEGASync/mega submodule
+   SRC_URI="
+   https://github.com/meganz/MEGAsync/archive/v${PV}_Win.tar.gz -> 
${P}.tar.gz
+   https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
+   "
+   KEYWORDS="~amd64 ~x86"
+   # 4.3.8.0 has no dedicated linux tag
+   S="${WORKDIR}"/MEGAsync-${PV}_Win
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java libressl 
nautilus php python readline threads thunar"
+
+RDEPEND="
+   app-arch/xz-utils
+   dev-libs/libgcrypt
+   dev-libs/libsodium
+   dev-libs/libuv
+   media-libs/libpng
+   net-dns/c-ares
+   x11-themes/hicolor-icon-theme
+   cryptopp? ( dev-libs/crypto++ )
+   curl? (
+   !libressl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   libressl? ( net-misc/curl[ssl,curl_ssl_libressl] )
+   )
+   dolphin? ( kde-apps/dolphin )
+   freeimage? ( media-libs/freeimage )
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   readline? ( sys-libs/readline:0 )
+   sqlite? ( dev-db/sqlite:3 )
+   thunar? ( xfce-base/thunar )
+   zlib? ( sys-libs/zlib )
+"
+DEPEND="
+   ${RDEPEND}
+   media-libs/libmediainfo
+   media-libs/libraw
+   dev-qt/qtcore:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5
+"
+BDEPEND="
+   app-doc/doxygen
+   dev-lang/swig
+   dev-qt/linguist-tools
+"
+
+DOCS=( CREDITS.md README.md )
+
+src_prepare() {
+   if [[ ${PV} !=  ]]; then
+   rmdir src/MEGASync/mega
+   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   fi
+   default
+   cd src/MEGASync/mega
+   eautoreconf
+}
+
+src_configure() {
+   cd src/MEGASync/mega
+   econf \
+   "--disable-silent-rules" \
+   "--disable-curl-checks" \
+   "--disable-megaapi" \
+   $(use_with zlib) \
+   $(use_with sqlite) \
+   $(use_with c

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2020-12-11 Thread Andrew Ammerlaan
commit: 17b1a1064a770fde8b4f8a8b9a9e9d57312268d1
Author: Theo Anderson  posteo  de>
AuthorDate: Thu Dec 10 23:03:23 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Dec 10 23:03:23 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=17b1a106

net-misc/megasync: fix 

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson  posteo.de>

 net-misc/megasync/megasync-4.3.7.ebuild | 11 ++-
 net-misc/megasync/megasync-.ebuild  |  9 +
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/net-misc/megasync/megasync-4.3.7.ebuild 
b/net-misc/megasync/megasync-4.3.7.ebuild
index 390ce338..61ef362c 100644
--- a/net-misc/megasync/megasync-4.3.7.ebuild
+++ b/net-misc/megasync/megasync-4.3.7.ebuild
@@ -3,9 +3,7 @@
 
 EAPI=7
 
-inherit autotools cmake desktop qmake-utils
-
-MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
+inherit autotools desktop qmake-utils xdg cmake
 
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
 HOMEPAGE="http://mega.co.nz";
@@ -14,6 +12,7 @@ if [[ ${PV} ==  ]];then
inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
 else
+   MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
SRC_URI="

https://github.com/meganz/MEGAsync/archive/v${PV}.0_Linux.tar.gz -> ${P}.tar.gz
https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
@@ -71,8 +70,10 @@ BDEPEND="
 DOCS=( CREDITS.md README.md )
 
 src_prepare() {
-   rmdir src/MEGASync/mega
-   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   if [[ ${PV} !=  ]]; then
+   rmdir src/MEGASync/mega
+   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   fi
default
cd src/MEGASync/mega
eautoreconf

diff --git a/net-misc/megasync/megasync-.ebuild 
b/net-misc/megasync/megasync-.ebuild
index 5a8311e0..61ef362c 100644
--- a/net-misc/megasync/megasync-.ebuild
+++ b/net-misc/megasync/megasync-.ebuild
@@ -5,8 +5,6 @@ EAPI=7
 
 inherit autotools desktop qmake-utils xdg cmake
 
-MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
-
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
 HOMEPAGE="http://mega.co.nz";
 
@@ -14,6 +12,7 @@ if [[ ${PV} ==  ]];then
inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
 else
+   MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
SRC_URI="

https://github.com/meganz/MEGAsync/archive/v${PV}.0_Linux.tar.gz -> ${P}.tar.gz
https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
@@ -71,8 +70,10 @@ BDEPEND="
 DOCS=( CREDITS.md README.md )
 
 src_prepare() {
-   rmdir src/MEGASync/mega
-   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   if [[ ${PV} !=  ]]; then
+   rmdir src/MEGASync/mega
+   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   fi
default
cd src/MEGASync/mega
eautoreconf



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2020-12-11 Thread Andrew Ammerlaan
commit: 4f8fa2320d6fb0b8b66c28f70d9080f258179f82
Author: Theo Anderson  posteo  de>
AuthorDate: Thu Dec 10 21:47:24 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Dec 10 21:59:58 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4f8fa232

net-misc/megasync: bump to 4.3.7; update live ebuild

- uses tag archives instead of the git repo
- removed multilib (was it even used?)
- libressl support
- general ebuild cleanup

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson  posteo.de>

 net-misc/megasync/Manifest |   2 +
 ...{megasync-.ebuild => megasync-4.3.7.ebuild} | 122 ++---
 net-misc/megasync/megasync-.ebuild | 122 ++---
 3 files changed, 118 insertions(+), 128 deletions(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
new file mode 100644
index ..2e3f9444
--- /dev/null
+++ b/net-misc/megasync/Manifest
@@ -0,0 +1,2 @@
+DIST megasync-4.3.7.tar.gz 16020207 BLAKE2B 
f38b40594c0cb1ed3e93715842f3c161e09ef66deb017d2e5fa03d9d0ac2863ba02b88d1fe779960c07664b19250fa29115a87d62d0934157370c1faa85345a5
 SHA512 
6852390e05da13effd059a5e0dc7fe400f3456668925fbed5e34bc5018b3664d72aebd78847dfdb4f6dda39fe615a79e5c0eb99e72a401fb833d4eba8216010c
+DIST megasync-sdk-4.3.7.tar.gz 3362032 BLAKE2B 
36ab643252d27475f34c7a5ee0e71a6470f2c830ea5c8331a094b79da5cd751699390c36e107cb0da06e6f46932e10e5fefbfc8eec3e8645ba84c365835088f3
 SHA512 
45dcc285c194cc347d9d562638658d2f0dd8099371e7408995cad68811e720905ad6f9810b24079c1112d16bfb87f7986cf3180520dc7edd611e703c251b182a

diff --git a/net-misc/megasync/megasync-.ebuild 
b/net-misc/megasync/megasync-4.3.7.ebuild
similarity index 60%
copy from net-misc/megasync/megasync-.ebuild
copy to net-misc/megasync/megasync-4.3.7.ebuild
index a1edfca1..390ce338 100644
--- a/net-misc/megasync/megasync-.ebuild
+++ b/net-misc/megasync/megasync-4.3.7.ebuild
@@ -3,27 +3,54 @@
 
 EAPI=7
 
-inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
+inherit autotools cmake desktop qmake-utils
+
+MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
 
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
 HOMEPAGE="http://mega.co.nz";
-RTAG="_Linux"
-if [[ ${PV} == ** ]];then
+
+if [[ ${PV} ==  ]];then
+   inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
-   KEYWORDS=""
-   EGIT_SUBMODULES=( '*' )
 else
-   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
-   EGIT_COMMIT="v${PV}.0${RTAG}"
-   EGIT_SUBMODULES=( '*' )
+   SRC_URI="
+   
https://github.com/meganz/MEGAsync/archive/v${PV}.0_Linux.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}.0_Linux
 fi
 
 LICENSE="MEGA"
 SLOT="0"
-IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads java php python gnome"
+IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java libressl 
nautilus php python readline threads thunar"
 
-CDEPEND="
+RDEPEND="
+   app-arch/xz-utils
+   dev-libs/libgcrypt
+   dev-libs/libsodium
+   dev-libs/libuv
+   media-libs/libpng
+   net-dns/c-ares
+   x11-themes/hicolor-icon-theme
+   cryptopp? ( dev-libs/crypto++ )
+   curl? (
+   !libressl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   libressl? ( net-misc/curl[ssl,curl_ssl_libressl] )
+   )
+   dolphin? ( kde-apps/dolphin )
+   freeimage? ( media-libs/freeimage )
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   readline? ( sys-libs/readline:0 )
+   sqlite? ( dev-db/sqlite:3 )
+   thunar? ( xfce-base/thunar )
+   zlib? ( sys-libs/zlib )
+"
+DEPEND="
+   ${RDEPEND}
media-libs/libmediainfo
media-libs/libraw
dev-qt/qtcore:5
@@ -35,57 +62,24 @@ CDEPEND="
dev-qt/qtimageformats:5
dev-qt/qtsvg:5
 "
-
-BDEPEND="${CDEPEND}
-   dev-lang/swig
+BDEPEND="
app-doc/doxygen
+   dev-lang/swig
dev-qt/linguist-tools
 "
 
-RDEPEND="${CDEPEND}
-   x11-themes/hicolor-icon-theme
-   dev-libs/openssl
-   dev-libs/libgcrypt
-   media-libs/libpng
-   net-dns/c-ares
-   cryptopp? ( dev-libs/crypto++ )
-   app-arch/xz-utils
-   dev-libs/libuv
-   sqlite? ( dev-db/sqlite:3 )
-   dev-libs/libsodium
-   zlib? ( sys-libs/zlib )
-   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
-   freeimage? ( media-libs/freeimage )
-   readline? ( sys-libs/readline:0 )
-   dolphin? ( kde-apps/dolphin )
-   nautilus? ( >=gnome-base/nautilus-3 )
-   thunar? ( xfce-ba

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2020-11-08 Thread Andrew Ammerlaan
commit: 3bedd6fe12c78b02faa3041c5aab6f72e725c625
Author: Samuel Bernardo  gmail  com>
AuthorDate: Sat Nov  7 10:42:16 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat Nov  7 10:42:16 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3bedd6fe

net-misc/megasync: add version 4.3.3

Correct previous push and add repoman verified megasync ebuild.

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Samuel Bernardo  gmail.com>

 net-misc/megasync/megasync-4.3.3.ebuild | 78 +
 net-misc/megasync/metadata.xml  |  7 +++
 2 files changed, 38 insertions(+), 47 deletions(-)

diff --git a/net-misc/megasync/megasync-4.3.3.ebuild 
b/net-misc/megasync/megasync-4.3.3.ebuild
index 91734a74..aa7d2f2d 100644
--- a/net-misc/megasync/megasync-4.3.3.ebuild
+++ b/net-misc/megasync/megasync-4.3.3.ebuild
@@ -22,51 +22,41 @@ fi
 
 LICENSE="MEGA"
 SLOT="0"
-IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads qt5 java php python gnome"
+IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads java php python gnome"
 
 DEPEND="
dev-lang/swig
app-doc/doxygen
media-libs/libmediainfo
media-libs/libraw
-   !qt5? ( 
-   dev-qt/qtcore:4
-   dev-qt/qtgui:4
-   dev-qt/qtdbus:4
-   dev-libs/sni-qt
-   dev-qt/qtimageformats:5
-   dev-qt/qtsvg:5
-   )
-   qt5? ( 
-   dev-qt/qtcore:5
-   dev-qt/linguist-tools
-   dev-qt/qtwidgets:5
-   dev-qt/qtgui:5
-   dev-qt/qtconcurrent:5
-   dev-qt/qtnetwork:5
-   dev-qt/qtdbus:5
-   dev-qt/qtimageformats:5
-   dev-qt/qtsvg:5
-   )"
+   dev-qt/qtcore:5
+   dev-qt/linguist-tools
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5"
 RDEPEND="${DEPEND}
-   x11-themes/hicolor-icon-theme
-   dev-libs/openssl
-   dev-libs/libgcrypt
-   media-libs/libpng
-   net-dns/c-ares
-   cryptopp? ( dev-libs/crypto++ )
-   app-arch/xz-utils
-   dev-libs/libuv
-   sqlite? ( dev-db/sqlite:3 )
-   dev-libs/libsodium
-   zlib? ( sys-libs/zlib )
-   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
-   freeimage? ( media-libs/freeimage )
-   readline? ( sys-libs/readline:0 )
-   dolphin? ( kde-apps/dolphin )
-   nautilus? ( >=gnome-base/nautilus-3 )
-   thunar? ( xfce-base/thunar )
-   "
+   x11-themes/hicolor-icon-theme
+   dev-libs/openssl
+   dev-libs/libgcrypt
+   media-libs/libpng
+   net-dns/c-ares
+   cryptopp? ( dev-libs/crypto++ )
+   app-arch/xz-utils
+   dev-libs/libuv
+   sqlite? ( dev-db/sqlite:3 )
+   dev-libs/libsodium
+   zlib? ( sys-libs/zlib )
+   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   freeimage? ( media-libs/freeimage )
+   readline? ( sys-libs/readline:0 )
+   dolphin? ( kde-apps/dolphin )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   thunar? ( xfce-base/thunar )
+   "
 
 PATCHES=( )
 
@@ -116,15 +106,9 @@ src_configure(){
MEGA.pro
CONFIG+="release"
)
-   if use qt5; then
-   eqmake5 ${myeqmakeargs[@]}
-   use dolphin && cmake-utils_src_configure
-   $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
-   else
-   eqmake4 ${myeqmakeargs[@]}
-   use dolphin && cmake-utils_src_configure
-   $(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro
-   fi
+   eqmake5 ${myeqmakeargs[@]}
+   use dolphin && cmake-utils_src_configure
+   $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
 }
 
 src_compile(){

diff --git a/net-misc/megasync/metadata.xml b/net-misc/megasync/metadata.xml
index a9aac563..dbb25160 100644
--- a/net-misc/megasync/metadata.xml
+++ b/net-misc/megasync/metadata.xml
@@ -6,4 +6,11 @@
Samuel Bernardo
megasync client from mega.nz

+   
+   Upload your files to your Mega account 
from Dolphin file manager.
+   Upload your files to your Mega account 
from nautilus.
+   Upload your files to your Mega account from 
Thunar.
+   Compile with Crypto++ Library.
+   Use freeimage to manage graphic images 
format.
+   
 



[gentoo-commits] repo/proj/guru:master commit in: /, net-misc/megasync/

2020-11-08 Thread Andrew Ammerlaan
commit: 09f7ca3c417d4f6f6dcc80b8b22546c6c64d0a66
Author: Samuel Bernardo  gmail  com>
AuthorDate: Sat Nov  7 09:29:47 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat Nov  7 09:32:29 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=09f7ca3c

megasync client

Signed-off-by: Samuel Bernardo  gmail.com>

 megasync-4.3.3.ebuild   | 150 
 megasync-.ebuild| 142 ++
 net-misc/megasync/megasync-4.3.3.ebuild | 150 
 net-misc/megasync/megasync-.ebuild  |   1 +
 net-misc/megasync/metadata.xml  |   9 ++
 5 files changed, 452 insertions(+)

diff --git a/megasync-4.3.3.ebuild b/megasync-4.3.3.ebuild
new file mode 100644
index ..91734a74
--- /dev/null
+++ b/megasync-4.3.3.ebuild
@@ -0,0 +1,150 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=7
+
+inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
+
+DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This 
is the official app."
+HOMEPAGE="http://mega.co.nz";
+RTAG="_Linux"
+if [[ ${PV} == ** ]];then
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   KEYWORDS=""
+   EGIT_SUBMODULES=( '*' )
+else
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   EGIT_COMMIT="v${PV}.0${RTAG}"
+   EGIT_SUBMODULES=( '*' )
+   KEYWORDS="~x86 ~amd64"
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads qt5 java php python gnome"
+
+DEPEND="
+   dev-lang/swig
+   app-doc/doxygen
+   media-libs/libmediainfo
+   media-libs/libraw
+   !qt5? ( 
+   dev-qt/qtcore:4
+   dev-qt/qtgui:4
+   dev-qt/qtdbus:4
+   dev-libs/sni-qt
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5
+   )
+   qt5? ( 
+   dev-qt/qtcore:5
+   dev-qt/linguist-tools
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5
+   )"
+RDEPEND="${DEPEND}
+   x11-themes/hicolor-icon-theme
+   dev-libs/openssl
+   dev-libs/libgcrypt
+   media-libs/libpng
+   net-dns/c-ares
+   cryptopp? ( dev-libs/crypto++ )
+   app-arch/xz-utils
+   dev-libs/libuv
+   sqlite? ( dev-db/sqlite:3 )
+   dev-libs/libsodium
+   zlib? ( sys-libs/zlib )
+   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   freeimage? ( media-libs/freeimage )
+   readline? ( sys-libs/readline:0 )
+   dolphin? ( kde-apps/dolphin )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   thunar? ( xfce-base/thunar )
+   "
+
+PATCHES=( )
+
+if [[ ${PV} != ** ]];then
+   src_prepare(){
+   if [ -e "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch" ]; then
+   EPATCH_OPTS="-p0" epatch 
"${FILESDIR}/MEGAsync-${PV}.0_Linux.patch"
+   fi
+   if [ ! -z ${PATCHES} ]; then
+   epatch ${PATCHES}
+   fi
+   if use gnome; then
+   if [ -e "${FILESDIR}${P}-gnome.patch" ]; then
+   epatch "${FILESDIR}/${P}-gnome.patch"
+   fi
+   fi
+   eapply_user
+   cd src/MEGASync/mega
+   eautoreconf
+   }
+fi
+
+src_configure(){
+   cd "${S}"/src/MEGASync/mega
+   econf \
+   "--disable-silent-rules" \
+   "--disable-curl-checks" \
+   "--disable-megaapi" \
+   $(use_with zlib) \
+   $(use_with sqlite) \
+   $(use_with cryptopp) \
+   "--with-cares" \
+   $(use_with curl) \
+   "--without-termcap" \
+   $(use_enable threads posix-threads) \
+   "--with-sodium" \
+   $(use_with freeimage) \
+   $(use_with readline) \
+   $(use_enable examples) \
+   $(use_enable java) \
+   $(use_enable php) \
+   $(use_enable python) \
+   "--enable-chat" \
+   "--enable-gcc-hardening" 
+   cd ../..
+   local myeqmakeargs=(
+   MEGA.pro
+   CONFIG+="release"
+   )
+   if use qt5; then
+   eqmake5 ${myeqmakeargs[@]}
+   use dolphin && cmake-utils_src_configure
+   $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
+   else

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2020-11-08 Thread Andrew Ammerlaan
commit: a5a96c375906ca3ab4cdfee37fc3190baf91248b
Author: Samuel Bernardo  gmail  com>
AuthorDate: Sat Nov  7 11:09:31 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat Nov  7 11:09:31 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a5a96c37

net-misc/megasync: update to 4.3.5

Update to latest version

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Samuel Bernardo  gmail.com>

 net-misc/megasync/megasync-4.3.5.ebuild | 134 
 1 file changed, 134 insertions(+)

diff --git a/net-misc/megasync/megasync-4.3.5.ebuild 
b/net-misc/megasync/megasync-4.3.5.ebuild
new file mode 100644
index ..aa7d2f2d
--- /dev/null
+++ b/net-misc/megasync/megasync-4.3.5.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=7
+
+inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
+
+DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This 
is the official app."
+HOMEPAGE="http://mega.co.nz";
+RTAG="_Linux"
+if [[ ${PV} == ** ]];then
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   KEYWORDS=""
+   EGIT_SUBMODULES=( '*' )
+else
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   EGIT_COMMIT="v${PV}.0${RTAG}"
+   EGIT_SUBMODULES=( '*' )
+   KEYWORDS="~x86 ~amd64"
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads java php python gnome"
+
+DEPEND="
+   dev-lang/swig
+   app-doc/doxygen
+   media-libs/libmediainfo
+   media-libs/libraw
+   dev-qt/qtcore:5
+   dev-qt/linguist-tools
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5"
+RDEPEND="${DEPEND}
+   x11-themes/hicolor-icon-theme
+   dev-libs/openssl
+   dev-libs/libgcrypt
+   media-libs/libpng
+   net-dns/c-ares
+   cryptopp? ( dev-libs/crypto++ )
+   app-arch/xz-utils
+   dev-libs/libuv
+   sqlite? ( dev-db/sqlite:3 )
+   dev-libs/libsodium
+   zlib? ( sys-libs/zlib )
+   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   freeimage? ( media-libs/freeimage )
+   readline? ( sys-libs/readline:0 )
+   dolphin? ( kde-apps/dolphin )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   thunar? ( xfce-base/thunar )
+   "
+
+PATCHES=( )
+
+if [[ ${PV} != ** ]];then
+   src_prepare(){
+   if [ -e "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch" ]; then
+   EPATCH_OPTS="-p0" epatch 
"${FILESDIR}/MEGAsync-${PV}.0_Linux.patch"
+   fi
+   if [ ! -z ${PATCHES} ]; then
+   epatch ${PATCHES}
+   fi
+   if use gnome; then
+   if [ -e "${FILESDIR}${P}-gnome.patch" ]; then
+   epatch "${FILESDIR}/${P}-gnome.patch"
+   fi
+   fi
+   eapply_user
+   cd src/MEGASync/mega
+   eautoreconf
+   }
+fi
+
+src_configure(){
+   cd "${S}"/src/MEGASync/mega
+   econf \
+   "--disable-silent-rules" \
+   "--disable-curl-checks" \
+   "--disable-megaapi" \
+   $(use_with zlib) \
+   $(use_with sqlite) \
+   $(use_with cryptopp) \
+   "--with-cares" \
+   $(use_with curl) \
+   "--without-termcap" \
+   $(use_enable threads posix-threads) \
+   "--with-sodium" \
+   $(use_with freeimage) \
+   $(use_with readline) \
+   $(use_enable examples) \
+   $(use_enable java) \
+   $(use_enable php) \
+   $(use_enable python) \
+   "--enable-chat" \
+   "--enable-gcc-hardening" 
+   cd ../..
+   local myeqmakeargs=(
+   MEGA.pro
+   CONFIG+="release"
+   )
+   eqmake5 ${myeqmakeargs[@]}
+   use dolphin && cmake-utils_src_configure
+   $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
+}
+
+src_compile(){
+   emake -C src INSTALL_ROOT="${D}" || die
+   use dolphin && cmake-utils_src_compile
+}
+
+src_install(){
+   use dolphin && cmake-utils_src_install
+   local DOCS=( CREDITS.md README.md )
+   einstalldocs
+   insinto usr/share/licenses/${PN}
+   doins LICENCE.md installer/terms.txt
+   cd src/MEGASync
+   dobin ${PN}
+   cd platform/linux/data
+   insinto usr/share/applications
+   doins ${PN}.desktop
+   cd icons/hicolor
+   for size in 16x16 32x32 48x48 128x128 256x256;do
+   doicon -s $size $size/apps/mega.png
+   done
+}



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2021-01-01 Thread Andrew Ammerlaan
commit: db62cbf2ce66e8c66cceb6a5b5eba8dda16dfd46
Author: Theo Anderson  posteo  de>
AuthorDate: Thu Dec 31 08:31:13 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Dec 31 08:31:13 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=db62cbf2

net-misc/megasync: bump to 4.3.8.0

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson  posteo.de>

 net-misc/megasync/Manifest|   2 +
 net-misc/megasync/megasync-4.3.8.0.ebuild | 133 ++
 2 files changed, 135 insertions(+)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 2e3f9444..996b96d0 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,2 +1,4 @@
 DIST megasync-4.3.7.tar.gz 16020207 BLAKE2B 
f38b40594c0cb1ed3e93715842f3c161e09ef66deb017d2e5fa03d9d0ac2863ba02b88d1fe779960c07664b19250fa29115a87d62d0934157370c1faa85345a5
 SHA512 
6852390e05da13effd059a5e0dc7fe400f3456668925fbed5e34bc5018b3664d72aebd78847dfdb4f6dda39fe615a79e5c0eb99e72a401fb833d4eba8216010c
+DIST megasync-4.3.8.0.tar.gz 16019709 BLAKE2B 
493ac0df0e8ca5c6617e493b5b3d81e45cedf2212a83ec9f5f6c07eee6fdf1d749b3735e10082b89f376f261ebfb825a3a7c457b8aa3be64702cddca34558558
 SHA512 
597b1d4a5a806514449b55e8bf81688b3c6d275372ebb56a45841b2f4c7caf8d9db363cf627fa0b6b84f4c662dc8cf87179b4478cd50b7b7efa1e23a9dca3389
 DIST megasync-sdk-4.3.7.tar.gz 3362032 BLAKE2B 
36ab643252d27475f34c7a5ee0e71a6470f2c830ea5c8331a094b79da5cd751699390c36e107cb0da06e6f46932e10e5fefbfc8eec3e8645ba84c365835088f3
 SHA512 
45dcc285c194cc347d9d562638658d2f0dd8099371e7408995cad68811e720905ad6f9810b24079c1112d16bfb87f7986cf3180520dc7edd611e703c251b182a
+DIST megasync-sdk-4.3.8.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e

diff --git a/net-misc/megasync/megasync-4.3.8.0.ebuild 
b/net-misc/megasync/megasync-4.3.8.0.ebuild
new file mode 100644
index ..eb91b2e5
--- /dev/null
+++ b/net-misc/megasync/megasync-4.3.8.0.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools desktop qmake-utils xdg cmake
+
+DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
+HOMEPAGE="http://mega.co.nz";
+
+if [[ ${PV} ==  ]];then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+else
+   MEGA_SDK_REV="37b346c2e119559e40c08f43e1a8f54353e7ad59" # commit of 
src/MEGASync/mega submodule
+   SRC_URI="
+   https://github.com/meganz/MEGAsync/archive/v${PV}_Win.tar.gz -> 
${P}.tar.gz
+   https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
+   "
+   KEYWORDS="~amd64 ~x86"
+   # 4.3.8.0 has no dedicated linux tag
+   S="${WORKDIR}"/MEGAsync-${PV}_Win
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java libressl 
nautilus php python readline threads thunar"
+
+RDEPEND="
+   app-arch/xz-utils
+   dev-libs/libgcrypt
+   dev-libs/libsodium
+   dev-libs/libuv
+   media-libs/libpng
+   net-dns/c-ares
+   x11-themes/hicolor-icon-theme
+   cryptopp? ( dev-libs/crypto++ )
+   curl? (
+   !libressl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   libressl? ( net-misc/curl[ssl,curl_ssl_libressl] )
+   )
+   dolphin? ( kde-apps/dolphin )
+   freeimage? ( media-libs/freeimage )
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   readline? ( sys-libs/readline:0 )
+   sqlite? ( dev-db/sqlite:3 )
+   thunar? ( xfce-base/thunar )
+   zlib? ( sys-libs/zlib )
+"
+DEPEND="
+   ${RDEPEND}
+   media-libs/libmediainfo
+   media-libs/libraw
+   dev-qt/qtcore:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5
+"
+BDEPEND="
+   app-doc/doxygen
+   dev-lang/swig
+   dev-qt/linguist-tools
+"
+
+DOCS=( CREDITS.md README.md )
+
+src_prepare() {
+   if [[ ${PV} !=  ]]; then
+   rmdir src/MEGASync/mega
+   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   fi
+   default
+   cd src/MEGASync/mega
+   eautoreconf
+}
+
+src_configure() {
+   cd src/MEGASync/mega
+   econf \
+   "--disable-silent-rules" \
+   "--disable-curl-checks" \
+   "--disable-megaapi" \
+   $(use_with zlib) \
+   $(use_with sqlite) \
+   $(use_with c

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2020-11-08 Thread Andrew Ammerlaan
commit: 3bedd6fe12c78b02faa3041c5aab6f72e725c625
Author: Samuel Bernardo  gmail  com>
AuthorDate: Sat Nov  7 10:42:16 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat Nov  7 10:42:16 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3bedd6fe

net-misc/megasync: add version 4.3.3

Correct previous push and add repoman verified megasync ebuild.

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Samuel Bernardo  gmail.com>

 net-misc/megasync/megasync-4.3.3.ebuild | 78 +
 net-misc/megasync/metadata.xml  |  7 +++
 2 files changed, 38 insertions(+), 47 deletions(-)

diff --git a/net-misc/megasync/megasync-4.3.3.ebuild 
b/net-misc/megasync/megasync-4.3.3.ebuild
index 91734a74..aa7d2f2d 100644
--- a/net-misc/megasync/megasync-4.3.3.ebuild
+++ b/net-misc/megasync/megasync-4.3.3.ebuild
@@ -22,51 +22,41 @@ fi
 
 LICENSE="MEGA"
 SLOT="0"
-IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads qt5 java php python gnome"
+IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads java php python gnome"
 
 DEPEND="
dev-lang/swig
app-doc/doxygen
media-libs/libmediainfo
media-libs/libraw
-   !qt5? ( 
-   dev-qt/qtcore:4
-   dev-qt/qtgui:4
-   dev-qt/qtdbus:4
-   dev-libs/sni-qt
-   dev-qt/qtimageformats:5
-   dev-qt/qtsvg:5
-   )
-   qt5? ( 
-   dev-qt/qtcore:5
-   dev-qt/linguist-tools
-   dev-qt/qtwidgets:5
-   dev-qt/qtgui:5
-   dev-qt/qtconcurrent:5
-   dev-qt/qtnetwork:5
-   dev-qt/qtdbus:5
-   dev-qt/qtimageformats:5
-   dev-qt/qtsvg:5
-   )"
+   dev-qt/qtcore:5
+   dev-qt/linguist-tools
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5"
 RDEPEND="${DEPEND}
-   x11-themes/hicolor-icon-theme
-   dev-libs/openssl
-   dev-libs/libgcrypt
-   media-libs/libpng
-   net-dns/c-ares
-   cryptopp? ( dev-libs/crypto++ )
-   app-arch/xz-utils
-   dev-libs/libuv
-   sqlite? ( dev-db/sqlite:3 )
-   dev-libs/libsodium
-   zlib? ( sys-libs/zlib )
-   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
-   freeimage? ( media-libs/freeimage )
-   readline? ( sys-libs/readline:0 )
-   dolphin? ( kde-apps/dolphin )
-   nautilus? ( >=gnome-base/nautilus-3 )
-   thunar? ( xfce-base/thunar )
-   "
+   x11-themes/hicolor-icon-theme
+   dev-libs/openssl
+   dev-libs/libgcrypt
+   media-libs/libpng
+   net-dns/c-ares
+   cryptopp? ( dev-libs/crypto++ )
+   app-arch/xz-utils
+   dev-libs/libuv
+   sqlite? ( dev-db/sqlite:3 )
+   dev-libs/libsodium
+   zlib? ( sys-libs/zlib )
+   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   freeimage? ( media-libs/freeimage )
+   readline? ( sys-libs/readline:0 )
+   dolphin? ( kde-apps/dolphin )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   thunar? ( xfce-base/thunar )
+   "
 
 PATCHES=( )
 
@@ -116,15 +106,9 @@ src_configure(){
MEGA.pro
CONFIG+="release"
)
-   if use qt5; then
-   eqmake5 ${myeqmakeargs[@]}
-   use dolphin && cmake-utils_src_configure
-   $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
-   else
-   eqmake4 ${myeqmakeargs[@]}
-   use dolphin && cmake-utils_src_configure
-   $(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro
-   fi
+   eqmake5 ${myeqmakeargs[@]}
+   use dolphin && cmake-utils_src_configure
+   $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
 }
 
 src_compile(){

diff --git a/net-misc/megasync/metadata.xml b/net-misc/megasync/metadata.xml
index a9aac563..dbb25160 100644
--- a/net-misc/megasync/metadata.xml
+++ b/net-misc/megasync/metadata.xml
@@ -6,4 +6,11 @@
Samuel Bernardo
megasync client from mega.nz

+   
+   Upload your files to your Mega account 
from Dolphin file manager.
+   Upload your files to your Mega account 
from nautilus.
+   Upload your files to your Mega account from 
Thunar.
+   Compile with Crypto++ Library.
+   Use freeimage to manage graphic images 
format.
+   
 



[gentoo-commits] repo/proj/guru:master commit in: /, net-misc/megasync/

2020-11-08 Thread Andrew Ammerlaan
commit: 09f7ca3c417d4f6f6dcc80b8b22546c6c64d0a66
Author: Samuel Bernardo  gmail  com>
AuthorDate: Sat Nov  7 09:29:47 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat Nov  7 09:32:29 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=09f7ca3c

megasync client

Signed-off-by: Samuel Bernardo  gmail.com>

 megasync-4.3.3.ebuild   | 150 
 megasync-.ebuild| 142 ++
 net-misc/megasync/megasync-4.3.3.ebuild | 150 
 net-misc/megasync/megasync-.ebuild  |   1 +
 net-misc/megasync/metadata.xml  |   9 ++
 5 files changed, 452 insertions(+)

diff --git a/megasync-4.3.3.ebuild b/megasync-4.3.3.ebuild
new file mode 100644
index ..91734a74
--- /dev/null
+++ b/megasync-4.3.3.ebuild
@@ -0,0 +1,150 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=7
+
+inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
+
+DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This 
is the official app."
+HOMEPAGE="http://mega.co.nz";
+RTAG="_Linux"
+if [[ ${PV} == ** ]];then
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   KEYWORDS=""
+   EGIT_SUBMODULES=( '*' )
+else
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   EGIT_COMMIT="v${PV}.0${RTAG}"
+   EGIT_SUBMODULES=( '*' )
+   KEYWORDS="~x86 ~amd64"
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads qt5 java php python gnome"
+
+DEPEND="
+   dev-lang/swig
+   app-doc/doxygen
+   media-libs/libmediainfo
+   media-libs/libraw
+   !qt5? ( 
+   dev-qt/qtcore:4
+   dev-qt/qtgui:4
+   dev-qt/qtdbus:4
+   dev-libs/sni-qt
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5
+   )
+   qt5? ( 
+   dev-qt/qtcore:5
+   dev-qt/linguist-tools
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5
+   )"
+RDEPEND="${DEPEND}
+   x11-themes/hicolor-icon-theme
+   dev-libs/openssl
+   dev-libs/libgcrypt
+   media-libs/libpng
+   net-dns/c-ares
+   cryptopp? ( dev-libs/crypto++ )
+   app-arch/xz-utils
+   dev-libs/libuv
+   sqlite? ( dev-db/sqlite:3 )
+   dev-libs/libsodium
+   zlib? ( sys-libs/zlib )
+   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   freeimage? ( media-libs/freeimage )
+   readline? ( sys-libs/readline:0 )
+   dolphin? ( kde-apps/dolphin )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   thunar? ( xfce-base/thunar )
+   "
+
+PATCHES=( )
+
+if [[ ${PV} != ** ]];then
+   src_prepare(){
+   if [ -e "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch" ]; then
+   EPATCH_OPTS="-p0" epatch 
"${FILESDIR}/MEGAsync-${PV}.0_Linux.patch"
+   fi
+   if [ ! -z ${PATCHES} ]; then
+   epatch ${PATCHES}
+   fi
+   if use gnome; then
+   if [ -e "${FILESDIR}${P}-gnome.patch" ]; then
+   epatch "${FILESDIR}/${P}-gnome.patch"
+   fi
+   fi
+   eapply_user
+   cd src/MEGASync/mega
+   eautoreconf
+   }
+fi
+
+src_configure(){
+   cd "${S}"/src/MEGASync/mega
+   econf \
+   "--disable-silent-rules" \
+   "--disable-curl-checks" \
+   "--disable-megaapi" \
+   $(use_with zlib) \
+   $(use_with sqlite) \
+   $(use_with cryptopp) \
+   "--with-cares" \
+   $(use_with curl) \
+   "--without-termcap" \
+   $(use_enable threads posix-threads) \
+   "--with-sodium" \
+   $(use_with freeimage) \
+   $(use_with readline) \
+   $(use_enable examples) \
+   $(use_enable java) \
+   $(use_enable php) \
+   $(use_enable python) \
+   "--enable-chat" \
+   "--enable-gcc-hardening" 
+   cd ../..
+   local myeqmakeargs=(
+   MEGA.pro
+   CONFIG+="release"
+   )
+   if use qt5; then
+   eqmake5 ${myeqmakeargs[@]}
+   use dolphin && cmake-utils_src_configure
+   $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
+   else

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2020-11-08 Thread Andrew Ammerlaan
commit: a5a96c375906ca3ab4cdfee37fc3190baf91248b
Author: Samuel Bernardo  gmail  com>
AuthorDate: Sat Nov  7 11:09:31 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat Nov  7 11:09:31 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a5a96c37

net-misc/megasync: update to 4.3.5

Update to latest version

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Samuel Bernardo  gmail.com>

 net-misc/megasync/megasync-4.3.5.ebuild | 134 
 1 file changed, 134 insertions(+)

diff --git a/net-misc/megasync/megasync-4.3.5.ebuild 
b/net-misc/megasync/megasync-4.3.5.ebuild
new file mode 100644
index ..aa7d2f2d
--- /dev/null
+++ b/net-misc/megasync/megasync-4.3.5.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=7
+
+inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
+
+DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This 
is the official app."
+HOMEPAGE="http://mega.co.nz";
+RTAG="_Linux"
+if [[ ${PV} == ** ]];then
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   KEYWORDS=""
+   EGIT_SUBMODULES=( '*' )
+else
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   EGIT_COMMIT="v${PV}.0${RTAG}"
+   EGIT_SUBMODULES=( '*' )
+   KEYWORDS="~x86 ~amd64"
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads java php python gnome"
+
+DEPEND="
+   dev-lang/swig
+   app-doc/doxygen
+   media-libs/libmediainfo
+   media-libs/libraw
+   dev-qt/qtcore:5
+   dev-qt/linguist-tools
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5"
+RDEPEND="${DEPEND}
+   x11-themes/hicolor-icon-theme
+   dev-libs/openssl
+   dev-libs/libgcrypt
+   media-libs/libpng
+   net-dns/c-ares
+   cryptopp? ( dev-libs/crypto++ )
+   app-arch/xz-utils
+   dev-libs/libuv
+   sqlite? ( dev-db/sqlite:3 )
+   dev-libs/libsodium
+   zlib? ( sys-libs/zlib )
+   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   freeimage? ( media-libs/freeimage )
+   readline? ( sys-libs/readline:0 )
+   dolphin? ( kde-apps/dolphin )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   thunar? ( xfce-base/thunar )
+   "
+
+PATCHES=( )
+
+if [[ ${PV} != ** ]];then
+   src_prepare(){
+   if [ -e "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch" ]; then
+   EPATCH_OPTS="-p0" epatch 
"${FILESDIR}/MEGAsync-${PV}.0_Linux.patch"
+   fi
+   if [ ! -z ${PATCHES} ]; then
+   epatch ${PATCHES}
+   fi
+   if use gnome; then
+   if [ -e "${FILESDIR}${P}-gnome.patch" ]; then
+   epatch "${FILESDIR}/${P}-gnome.patch"
+   fi
+   fi
+   eapply_user
+   cd src/MEGASync/mega
+   eautoreconf
+   }
+fi
+
+src_configure(){
+   cd "${S}"/src/MEGASync/mega
+   econf \
+   "--disable-silent-rules" \
+   "--disable-curl-checks" \
+   "--disable-megaapi" \
+   $(use_with zlib) \
+   $(use_with sqlite) \
+   $(use_with cryptopp) \
+   "--with-cares" \
+   $(use_with curl) \
+   "--without-termcap" \
+   $(use_enable threads posix-threads) \
+   "--with-sodium" \
+   $(use_with freeimage) \
+   $(use_with readline) \
+   $(use_enable examples) \
+   $(use_enable java) \
+   $(use_enable php) \
+   $(use_enable python) \
+   "--enable-chat" \
+   "--enable-gcc-hardening" 
+   cd ../..
+   local myeqmakeargs=(
+   MEGA.pro
+   CONFIG+="release"
+   )
+   eqmake5 ${myeqmakeargs[@]}
+   use dolphin && cmake-utils_src_configure
+   $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
+}
+
+src_compile(){
+   emake -C src INSTALL_ROOT="${D}" || die
+   use dolphin && cmake-utils_src_compile
+}
+
+src_install(){
+   use dolphin && cmake-utils_src_install
+   local DOCS=( CREDITS.md README.md )
+   einstalldocs
+   insinto usr/share/licenses/${PN}
+   doins LICENCE.md installer/terms.txt
+   cd src/MEGASync
+   dobin ${PN}
+   cd platform/linux/data
+   insinto usr/share/applications
+   doins ${PN}.desktop
+   cd icons/hicolor
+   for size in 16x16 32x32 48x48 128x128 256x256;do
+   doicon -s $size $size/apps/mega.png
+   done
+}



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2021-05-24 Thread Haelwenn Monnier
commit: 41520970849558a3e4be96879583335b6bb9f9f3
Author: Samuel Bernardo  gmail  com>
AuthorDate: Mon May 24 19:54:43 2021 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Mon May 24 19:54:43 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=41520970

net-misc/megasync: update sdk hash for 4.5.0.0

Update hash of megasync-sdk-4.5.0.0.tar.gz since it is referenced to a
new commit.

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Samuel Bernardo  gmail.com>

 net-misc/megasync/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 099a944ed..84ee83762 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,4 +1,4 @@
 DIST megasync-4.3.8.0.tar.gz 16019709 BLAKE2B 
493ac0df0e8ca5c6617e493b5b3d81e45cedf2212a83ec9f5f6c07eee6fdf1d749b3735e10082b89f376f261ebfb825a3a7c457b8aa3be64702cddca34558558
 SHA512 
597b1d4a5a806514449b55e8bf81688b3c6d275372ebb56a45841b2f4c7caf8d9db363cf627fa0b6b84f4c662dc8cf87179b4478cd50b7b7efa1e23a9dca3389
 DIST megasync-4.5.0.0.tar.gz 16162074 BLAKE2B 
9ad09b61614992fc48572c168bb3b9692145289b945c01e371babe78a3b75bcc20a842f524279f6db35f8d93c914e9ba68ee5d187614b5041638813cb304531e
 SHA512 
f0c78d741be4a9ee9411be63667ea76cca3ff50ab70a81c904011e1ce1c6f0287ab5c90fc2b1a7a7c040b2d568819f91ecd10f8d570b22231df7b99166eacb11
 DIST megasync-sdk-4.3.8.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e
-DIST megasync-sdk-4.5.0.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e
+DIST megasync-sdk-4.5.0.0.tar.gz 3497367 BLAKE2B 
1594d792f38df4df29acd25ea5c920acf27410513544abc618a692e3ed2e6e1a459123b043a9aa3bfdc4647d753d6c14cc5ee1bde02abd6c0f6d7ce66b118821
 SHA512 
177b9e31f2aacfa370132657bb70ec315edcfbcfe043f067f4c67b69a47ade7235699183541de2462d2ab2a18b4688006cd938ae80da603df9bd79d908b58140



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2021-05-22 Thread Andrew Ammerlaan
commit: 11c911d7e031dcd453dd4bdb5f4dd497fb482de5
Author: Marcin Woźniak  aol  com>
AuthorDate: Sat May 22 11:41:51 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sat May 22 11:41:51 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=11c911d7

net-misc/megasync: Bump version to 4.5.0.0

Signed-off-by: Marcin Woźniak  aol.com>

 net-misc/megasync/Manifest|   2 +
 net-misc/megasync/megasync-4.5.0.0.ebuild | 140 ++
 2 files changed, 142 insertions(+)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index a97a7f706..099a944ed 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,2 +1,4 @@
 DIST megasync-4.3.8.0.tar.gz 16019709 BLAKE2B 
493ac0df0e8ca5c6617e493b5b3d81e45cedf2212a83ec9f5f6c07eee6fdf1d749b3735e10082b89f376f261ebfb825a3a7c457b8aa3be64702cddca34558558
 SHA512 
597b1d4a5a806514449b55e8bf81688b3c6d275372ebb56a45841b2f4c7caf8d9db363cf627fa0b6b84f4c662dc8cf87179b4478cd50b7b7efa1e23a9dca3389
+DIST megasync-4.5.0.0.tar.gz 16162074 BLAKE2B 
9ad09b61614992fc48572c168bb3b9692145289b945c01e371babe78a3b75bcc20a842f524279f6db35f8d93c914e9ba68ee5d187614b5041638813cb304531e
 SHA512 
f0c78d741be4a9ee9411be63667ea76cca3ff50ab70a81c904011e1ce1c6f0287ab5c90fc2b1a7a7c040b2d568819f91ecd10f8d570b22231df7b99166eacb11
 DIST megasync-sdk-4.3.8.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e
+DIST megasync-sdk-4.5.0.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e

diff --git a/net-misc/megasync/megasync-4.5.0.0.ebuild 
b/net-misc/megasync/megasync-4.5.0.0.ebuild
new file mode 100644
index 0..604202807
--- /dev/null
+++ b/net-misc/megasync/megasync-4.5.0.0.ebuild
@@ -0,0 +1,140 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools desktop qmake-utils xdg cmake
+
+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} ==  ]];then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+else
+   MEGA_SDK_REV="37b346c2e119559e40c08f43e1a8f54353e7ad59" # commit of 
src/MEGASync/mega submodule
+   SRC_URI="
+   https://github.com/meganz/MEGAsync/archive/v${PV}_Win.tar.gz -> 
${P}.tar.gz
+   https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
+   "
+   KEYWORDS="~amd64 ~x86"
+   # 4.3.8.0 has no dedicated linux tag
+   S="${WORKDIR}"/MEGAsync-${PV}_Win
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java nautilus 
php python readline threads thunar"
+
+RDEPEND="
+   app-arch/xz-utils
+   dev-libs/libgcrypt
+   dev-libs/libsodium
+   dev-libs/libuv
+   dev-libs/openssl:0=
+   media-libs/libpng
+   net-dns/c-ares
+   x11-themes/hicolor-icon-theme
+   cryptopp? ( dev-libs/crypto++ )
+   curl? ( net-misc/curl[ssl,curl_ssl_openssl(-)] )
+   dolphin? ( kde-apps/dolphin )
+   freeimage? ( media-libs/freeimage )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   readline? ( sys-libs/readline:0 )
+   sqlite? ( dev-db/sqlite:3 )
+   thunar? ( xfce-base/thunar )
+   zlib? ( sys-libs/zlib )
+"
+DEPEND="
+   ${RDEPEND}
+   media-libs/libmediainfo
+   media-libs/libraw
+   dev-qt/qtcore:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5
+   dev-qt/qtx11extras:5
+"
+BDEPEND="
+   dev-lang/swig
+   dev-qt/linguist-tools
+"
+
+DOCS=( CREDITS.md README.md )
+
+CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin"
+
+src_prepare() {
+   if [[ ${PV} !=  ]]; then
+   rmdir src/MEGASync/mega
+   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   fi
+   if use dolphin; then
+   # use the kde5 CMakeLists instead of the kde 4 version
+   mv src/MEGAShellExtDolphin/CMakeLists_kde5.txt 
src/MEGAShellExtDolphin/CMakeLists.txt || die
+   cmake_src_prepare
+   else
+   default
+   fi
+   cd src/MEGASync/mega
+   eautoreconf
+}
+
+src_configure() {
+   cd src/MEGASync/mega
+   econf \
+   "--disable-silent-rules" \
+  

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2021-05-06 Thread Andrew Ammerlaan
commit: 4247d662afe536d192d00a7ad6fb4a0ae3f6e2a7
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Thu May  6 00:18:58 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu May  6 00:22:56 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4247d662

net-misc/megasync: fix usptream

Signed-off-by: Alessandro Barbieri  gmail.com>

 net-misc/megasync/megasync-4.3.8.0.ebuild | 5 -
 net-misc/megasync/megasync-.ebuild| 5 -
 net-misc/megasync/metadata.xml| 3 +++
 3 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/net-misc/megasync/megasync-4.3.8.0.ebuild 
b/net-misc/megasync/megasync-4.3.8.0.ebuild
index 8d9107581..604202807 100644
--- a/net-misc/megasync/megasync-4.3.8.0.ebuild
+++ b/net-misc/megasync/megasync-4.3.8.0.ebuild
@@ -6,7 +6,10 @@ EAPI=7
 inherit autotools desktop qmake-utils xdg cmake
 
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
-HOMEPAGE="http://mega.co.nz";
+HOMEPAGE="
+   https://mega.io
+   https://github.com/meganz/MEGAsync
+"
 
 if [[ ${PV} ==  ]];then
inherit git-r3

diff --git a/net-misc/megasync/megasync-.ebuild 
b/net-misc/megasync/megasync-.ebuild
index 64ae5753b..5447073f4 100644
--- a/net-misc/megasync/megasync-.ebuild
+++ b/net-misc/megasync/megasync-.ebuild
@@ -6,7 +6,10 @@ EAPI=7
 inherit autotools desktop qmake-utils xdg cmake
 
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
-HOMEPAGE="http://mega.co.nz";
+HOMEPAGE="
+   https://mega.io
+   https://github.com/meganz/MEGAsync
+"
 
 if [[ ${PV} ==  ]];then
inherit git-r3

diff --git a/net-misc/megasync/metadata.xml b/net-misc/megasync/metadata.xml
index dbb25160c..045a9632b 100644
--- a/net-misc/megasync/metadata.xml
+++ b/net-misc/megasync/metadata.xml
@@ -6,6 +6,9 @@
Samuel Bernardo
megasync client from mega.nz

+   
+   meganz/MEGAsync
+   

Upload your files to your Mega account 
from Dolphin file manager.
Upload your files to your Mega account 
from nautilus.



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2020-12-11 Thread Andrew Ammerlaan
commit: 17b1a1064a770fde8b4f8a8b9a9e9d57312268d1
Author: Theo Anderson  posteo  de>
AuthorDate: Thu Dec 10 23:03:23 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Dec 10 23:03:23 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=17b1a106

net-misc/megasync: fix 

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson  posteo.de>

 net-misc/megasync/megasync-4.3.7.ebuild | 11 ++-
 net-misc/megasync/megasync-.ebuild  |  9 +
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/net-misc/megasync/megasync-4.3.7.ebuild 
b/net-misc/megasync/megasync-4.3.7.ebuild
index 390ce338..61ef362c 100644
--- a/net-misc/megasync/megasync-4.3.7.ebuild
+++ b/net-misc/megasync/megasync-4.3.7.ebuild
@@ -3,9 +3,7 @@
 
 EAPI=7
 
-inherit autotools cmake desktop qmake-utils
-
-MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
+inherit autotools desktop qmake-utils xdg cmake
 
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
 HOMEPAGE="http://mega.co.nz";
@@ -14,6 +12,7 @@ if [[ ${PV} ==  ]];then
inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
 else
+   MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
SRC_URI="

https://github.com/meganz/MEGAsync/archive/v${PV}.0_Linux.tar.gz -> ${P}.tar.gz
https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
@@ -71,8 +70,10 @@ BDEPEND="
 DOCS=( CREDITS.md README.md )
 
 src_prepare() {
-   rmdir src/MEGASync/mega
-   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   if [[ ${PV} !=  ]]; then
+   rmdir src/MEGASync/mega
+   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   fi
default
cd src/MEGASync/mega
eautoreconf

diff --git a/net-misc/megasync/megasync-.ebuild 
b/net-misc/megasync/megasync-.ebuild
index 5a8311e0..61ef362c 100644
--- a/net-misc/megasync/megasync-.ebuild
+++ b/net-misc/megasync/megasync-.ebuild
@@ -5,8 +5,6 @@ EAPI=7
 
 inherit autotools desktop qmake-utils xdg cmake
 
-MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
-
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
 HOMEPAGE="http://mega.co.nz";
 
@@ -14,6 +12,7 @@ if [[ ${PV} ==  ]];then
inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
 else
+   MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
SRC_URI="

https://github.com/meganz/MEGAsync/archive/v${PV}.0_Linux.tar.gz -> ${P}.tar.gz
https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
@@ -71,8 +70,10 @@ BDEPEND="
 DOCS=( CREDITS.md README.md )
 
 src_prepare() {
-   rmdir src/MEGASync/mega
-   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   if [[ ${PV} !=  ]]; then
+   rmdir src/MEGASync/mega
+   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   fi
default
cd src/MEGASync/mega
eautoreconf



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2020-12-11 Thread Andrew Ammerlaan
commit: 4f8fa2320d6fb0b8b66c28f70d9080f258179f82
Author: Theo Anderson  posteo  de>
AuthorDate: Thu Dec 10 21:47:24 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Dec 10 21:59:58 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4f8fa232

net-misc/megasync: bump to 4.3.7; update live ebuild

- uses tag archives instead of the git repo
- removed multilib (was it even used?)
- libressl support
- general ebuild cleanup

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson  posteo.de>

 net-misc/megasync/Manifest |   2 +
 ...{megasync-.ebuild => megasync-4.3.7.ebuild} | 122 ++---
 net-misc/megasync/megasync-.ebuild | 122 ++---
 3 files changed, 118 insertions(+), 128 deletions(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
new file mode 100644
index ..2e3f9444
--- /dev/null
+++ b/net-misc/megasync/Manifest
@@ -0,0 +1,2 @@
+DIST megasync-4.3.7.tar.gz 16020207 BLAKE2B 
f38b40594c0cb1ed3e93715842f3c161e09ef66deb017d2e5fa03d9d0ac2863ba02b88d1fe779960c07664b19250fa29115a87d62d0934157370c1faa85345a5
 SHA512 
6852390e05da13effd059a5e0dc7fe400f3456668925fbed5e34bc5018b3664d72aebd78847dfdb4f6dda39fe615a79e5c0eb99e72a401fb833d4eba8216010c
+DIST megasync-sdk-4.3.7.tar.gz 3362032 BLAKE2B 
36ab643252d27475f34c7a5ee0e71a6470f2c830ea5c8331a094b79da5cd751699390c36e107cb0da06e6f46932e10e5fefbfc8eec3e8645ba84c365835088f3
 SHA512 
45dcc285c194cc347d9d562638658d2f0dd8099371e7408995cad68811e720905ad6f9810b24079c1112d16bfb87f7986cf3180520dc7edd611e703c251b182a

diff --git a/net-misc/megasync/megasync-.ebuild 
b/net-misc/megasync/megasync-4.3.7.ebuild
similarity index 60%
copy from net-misc/megasync/megasync-.ebuild
copy to net-misc/megasync/megasync-4.3.7.ebuild
index a1edfca1..390ce338 100644
--- a/net-misc/megasync/megasync-.ebuild
+++ b/net-misc/megasync/megasync-4.3.7.ebuild
@@ -3,27 +3,54 @@
 
 EAPI=7
 
-inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
+inherit autotools cmake desktop qmake-utils
+
+MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
 
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
 HOMEPAGE="http://mega.co.nz";
-RTAG="_Linux"
-if [[ ${PV} == ** ]];then
+
+if [[ ${PV} ==  ]];then
+   inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
-   KEYWORDS=""
-   EGIT_SUBMODULES=( '*' )
 else
-   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
-   EGIT_COMMIT="v${PV}.0${RTAG}"
-   EGIT_SUBMODULES=( '*' )
+   SRC_URI="
+   
https://github.com/meganz/MEGAsync/archive/v${PV}.0_Linux.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}.0_Linux
 fi
 
 LICENSE="MEGA"
 SLOT="0"
-IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads java php python gnome"
+IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java libressl 
nautilus php python readline threads thunar"
 
-CDEPEND="
+RDEPEND="
+   app-arch/xz-utils
+   dev-libs/libgcrypt
+   dev-libs/libsodium
+   dev-libs/libuv
+   media-libs/libpng
+   net-dns/c-ares
+   x11-themes/hicolor-icon-theme
+   cryptopp? ( dev-libs/crypto++ )
+   curl? (
+   !libressl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   libressl? ( net-misc/curl[ssl,curl_ssl_libressl] )
+   )
+   dolphin? ( kde-apps/dolphin )
+   freeimage? ( media-libs/freeimage )
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   readline? ( sys-libs/readline:0 )
+   sqlite? ( dev-db/sqlite:3 )
+   thunar? ( xfce-base/thunar )
+   zlib? ( sys-libs/zlib )
+"
+DEPEND="
+   ${RDEPEND}
media-libs/libmediainfo
media-libs/libraw
dev-qt/qtcore:5
@@ -35,57 +62,24 @@ CDEPEND="
dev-qt/qtimageformats:5
dev-qt/qtsvg:5
 "
-
-BDEPEND="${CDEPEND}
-   dev-lang/swig
+BDEPEND="
app-doc/doxygen
+   dev-lang/swig
dev-qt/linguist-tools
 "
 
-RDEPEND="${CDEPEND}
-   x11-themes/hicolor-icon-theme
-   dev-libs/openssl
-   dev-libs/libgcrypt
-   media-libs/libpng
-   net-dns/c-ares
-   cryptopp? ( dev-libs/crypto++ )
-   app-arch/xz-utils
-   dev-libs/libuv
-   sqlite? ( dev-db/sqlite:3 )
-   dev-libs/libsodium
-   zlib? ( sys-libs/zlib )
-   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
-   freeimage? ( media-libs/freeimage )
-   readline? ( sys-libs/readline:0 )
-   dolphin? ( kde-apps/dolphin )
-   nautilus? ( >=gnome-base/nautilus-3 )
-   thunar? ( xfce-ba

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2021-01-01 Thread Andrew Ammerlaan
commit: db62cbf2ce66e8c66cceb6a5b5eba8dda16dfd46
Author: Theo Anderson  posteo  de>
AuthorDate: Thu Dec 31 08:31:13 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Dec 31 08:31:13 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=db62cbf2

net-misc/megasync: bump to 4.3.8.0

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson  posteo.de>

 net-misc/megasync/Manifest|   2 +
 net-misc/megasync/megasync-4.3.8.0.ebuild | 133 ++
 2 files changed, 135 insertions(+)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 2e3f9444..996b96d0 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,2 +1,4 @@
 DIST megasync-4.3.7.tar.gz 16020207 BLAKE2B 
f38b40594c0cb1ed3e93715842f3c161e09ef66deb017d2e5fa03d9d0ac2863ba02b88d1fe779960c07664b19250fa29115a87d62d0934157370c1faa85345a5
 SHA512 
6852390e05da13effd059a5e0dc7fe400f3456668925fbed5e34bc5018b3664d72aebd78847dfdb4f6dda39fe615a79e5c0eb99e72a401fb833d4eba8216010c
+DIST megasync-4.3.8.0.tar.gz 16019709 BLAKE2B 
493ac0df0e8ca5c6617e493b5b3d81e45cedf2212a83ec9f5f6c07eee6fdf1d749b3735e10082b89f376f261ebfb825a3a7c457b8aa3be64702cddca34558558
 SHA512 
597b1d4a5a806514449b55e8bf81688b3c6d275372ebb56a45841b2f4c7caf8d9db363cf627fa0b6b84f4c662dc8cf87179b4478cd50b7b7efa1e23a9dca3389
 DIST megasync-sdk-4.3.7.tar.gz 3362032 BLAKE2B 
36ab643252d27475f34c7a5ee0e71a6470f2c830ea5c8331a094b79da5cd751699390c36e107cb0da06e6f46932e10e5fefbfc8eec3e8645ba84c365835088f3
 SHA512 
45dcc285c194cc347d9d562638658d2f0dd8099371e7408995cad68811e720905ad6f9810b24079c1112d16bfb87f7986cf3180520dc7edd611e703c251b182a
+DIST megasync-sdk-4.3.8.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e

diff --git a/net-misc/megasync/megasync-4.3.8.0.ebuild 
b/net-misc/megasync/megasync-4.3.8.0.ebuild
new file mode 100644
index ..eb91b2e5
--- /dev/null
+++ b/net-misc/megasync/megasync-4.3.8.0.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools desktop qmake-utils xdg cmake
+
+DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
+HOMEPAGE="http://mega.co.nz";
+
+if [[ ${PV} ==  ]];then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+else
+   MEGA_SDK_REV="37b346c2e119559e40c08f43e1a8f54353e7ad59" # commit of 
src/MEGASync/mega submodule
+   SRC_URI="
+   https://github.com/meganz/MEGAsync/archive/v${PV}_Win.tar.gz -> 
${P}.tar.gz
+   https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
+   "
+   KEYWORDS="~amd64 ~x86"
+   # 4.3.8.0 has no dedicated linux tag
+   S="${WORKDIR}"/MEGAsync-${PV}_Win
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java libressl 
nautilus php python readline threads thunar"
+
+RDEPEND="
+   app-arch/xz-utils
+   dev-libs/libgcrypt
+   dev-libs/libsodium
+   dev-libs/libuv
+   media-libs/libpng
+   net-dns/c-ares
+   x11-themes/hicolor-icon-theme
+   cryptopp? ( dev-libs/crypto++ )
+   curl? (
+   !libressl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   libressl? ( net-misc/curl[ssl,curl_ssl_libressl] )
+   )
+   dolphin? ( kde-apps/dolphin )
+   freeimage? ( media-libs/freeimage )
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   readline? ( sys-libs/readline:0 )
+   sqlite? ( dev-db/sqlite:3 )
+   thunar? ( xfce-base/thunar )
+   zlib? ( sys-libs/zlib )
+"
+DEPEND="
+   ${RDEPEND}
+   media-libs/libmediainfo
+   media-libs/libraw
+   dev-qt/qtcore:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5
+"
+BDEPEND="
+   app-doc/doxygen
+   dev-lang/swig
+   dev-qt/linguist-tools
+"
+
+DOCS=( CREDITS.md README.md )
+
+src_prepare() {
+   if [[ ${PV} !=  ]]; then
+   rmdir src/MEGASync/mega
+   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   fi
+   default
+   cd src/MEGASync/mega
+   eautoreconf
+}
+
+src_configure() {
+   cd src/MEGASync/mega
+   econf \
+   "--disable-silent-rules" \
+   "--disable-curl-checks" \
+   "--disable-megaapi" \
+   $(use_with zlib) \
+   $(use_with sqlite) \
+   $(use_with c

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2020-11-08 Thread Andrew Ammerlaan
commit: 3bedd6fe12c78b02faa3041c5aab6f72e725c625
Author: Samuel Bernardo  gmail  com>
AuthorDate: Sat Nov  7 10:42:16 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat Nov  7 10:42:16 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3bedd6fe

net-misc/megasync: add version 4.3.3

Correct previous push and add repoman verified megasync ebuild.

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Samuel Bernardo  gmail.com>

 net-misc/megasync/megasync-4.3.3.ebuild | 78 +
 net-misc/megasync/metadata.xml  |  7 +++
 2 files changed, 38 insertions(+), 47 deletions(-)

diff --git a/net-misc/megasync/megasync-4.3.3.ebuild 
b/net-misc/megasync/megasync-4.3.3.ebuild
index 91734a74..aa7d2f2d 100644
--- a/net-misc/megasync/megasync-4.3.3.ebuild
+++ b/net-misc/megasync/megasync-4.3.3.ebuild
@@ -22,51 +22,41 @@ fi
 
 LICENSE="MEGA"
 SLOT="0"
-IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads qt5 java php python gnome"
+IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads java php python gnome"
 
 DEPEND="
dev-lang/swig
app-doc/doxygen
media-libs/libmediainfo
media-libs/libraw
-   !qt5? ( 
-   dev-qt/qtcore:4
-   dev-qt/qtgui:4
-   dev-qt/qtdbus:4
-   dev-libs/sni-qt
-   dev-qt/qtimageformats:5
-   dev-qt/qtsvg:5
-   )
-   qt5? ( 
-   dev-qt/qtcore:5
-   dev-qt/linguist-tools
-   dev-qt/qtwidgets:5
-   dev-qt/qtgui:5
-   dev-qt/qtconcurrent:5
-   dev-qt/qtnetwork:5
-   dev-qt/qtdbus:5
-   dev-qt/qtimageformats:5
-   dev-qt/qtsvg:5
-   )"
+   dev-qt/qtcore:5
+   dev-qt/linguist-tools
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5"
 RDEPEND="${DEPEND}
-   x11-themes/hicolor-icon-theme
-   dev-libs/openssl
-   dev-libs/libgcrypt
-   media-libs/libpng
-   net-dns/c-ares
-   cryptopp? ( dev-libs/crypto++ )
-   app-arch/xz-utils
-   dev-libs/libuv
-   sqlite? ( dev-db/sqlite:3 )
-   dev-libs/libsodium
-   zlib? ( sys-libs/zlib )
-   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
-   freeimage? ( media-libs/freeimage )
-   readline? ( sys-libs/readline:0 )
-   dolphin? ( kde-apps/dolphin )
-   nautilus? ( >=gnome-base/nautilus-3 )
-   thunar? ( xfce-base/thunar )
-   "
+   x11-themes/hicolor-icon-theme
+   dev-libs/openssl
+   dev-libs/libgcrypt
+   media-libs/libpng
+   net-dns/c-ares
+   cryptopp? ( dev-libs/crypto++ )
+   app-arch/xz-utils
+   dev-libs/libuv
+   sqlite? ( dev-db/sqlite:3 )
+   dev-libs/libsodium
+   zlib? ( sys-libs/zlib )
+   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   freeimage? ( media-libs/freeimage )
+   readline? ( sys-libs/readline:0 )
+   dolphin? ( kde-apps/dolphin )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   thunar? ( xfce-base/thunar )
+   "
 
 PATCHES=( )
 
@@ -116,15 +106,9 @@ src_configure(){
MEGA.pro
CONFIG+="release"
)
-   if use qt5; then
-   eqmake5 ${myeqmakeargs[@]}
-   use dolphin && cmake-utils_src_configure
-   $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
-   else
-   eqmake4 ${myeqmakeargs[@]}
-   use dolphin && cmake-utils_src_configure
-   $(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro
-   fi
+   eqmake5 ${myeqmakeargs[@]}
+   use dolphin && cmake-utils_src_configure
+   $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
 }
 
 src_compile(){

diff --git a/net-misc/megasync/metadata.xml b/net-misc/megasync/metadata.xml
index a9aac563..dbb25160 100644
--- a/net-misc/megasync/metadata.xml
+++ b/net-misc/megasync/metadata.xml
@@ -6,4 +6,11 @@
Samuel Bernardo
megasync client from mega.nz

+   
+   Upload your files to your Mega account 
from Dolphin file manager.
+   Upload your files to your Mega account 
from nautilus.
+   Upload your files to your Mega account from 
Thunar.
+   Compile with Crypto++ Library.
+   Use freeimage to manage graphic images 
format.
+   
 



[gentoo-commits] repo/proj/guru:master commit in: /, net-misc/megasync/

2020-11-08 Thread Andrew Ammerlaan
commit: 09f7ca3c417d4f6f6dcc80b8b22546c6c64d0a66
Author: Samuel Bernardo  gmail  com>
AuthorDate: Sat Nov  7 09:29:47 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat Nov  7 09:32:29 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=09f7ca3c

megasync client

Signed-off-by: Samuel Bernardo  gmail.com>

 megasync-4.3.3.ebuild   | 150 
 megasync-.ebuild| 142 ++
 net-misc/megasync/megasync-4.3.3.ebuild | 150 
 net-misc/megasync/megasync-.ebuild  |   1 +
 net-misc/megasync/metadata.xml  |   9 ++
 5 files changed, 452 insertions(+)

diff --git a/megasync-4.3.3.ebuild b/megasync-4.3.3.ebuild
new file mode 100644
index ..91734a74
--- /dev/null
+++ b/megasync-4.3.3.ebuild
@@ -0,0 +1,150 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=7
+
+inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
+
+DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This 
is the official app."
+HOMEPAGE="http://mega.co.nz";
+RTAG="_Linux"
+if [[ ${PV} == ** ]];then
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   KEYWORDS=""
+   EGIT_SUBMODULES=( '*' )
+else
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   EGIT_COMMIT="v${PV}.0${RTAG}"
+   EGIT_SUBMODULES=( '*' )
+   KEYWORDS="~x86 ~amd64"
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads qt5 java php python gnome"
+
+DEPEND="
+   dev-lang/swig
+   app-doc/doxygen
+   media-libs/libmediainfo
+   media-libs/libraw
+   !qt5? ( 
+   dev-qt/qtcore:4
+   dev-qt/qtgui:4
+   dev-qt/qtdbus:4
+   dev-libs/sni-qt
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5
+   )
+   qt5? ( 
+   dev-qt/qtcore:5
+   dev-qt/linguist-tools
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5
+   )"
+RDEPEND="${DEPEND}
+   x11-themes/hicolor-icon-theme
+   dev-libs/openssl
+   dev-libs/libgcrypt
+   media-libs/libpng
+   net-dns/c-ares
+   cryptopp? ( dev-libs/crypto++ )
+   app-arch/xz-utils
+   dev-libs/libuv
+   sqlite? ( dev-db/sqlite:3 )
+   dev-libs/libsodium
+   zlib? ( sys-libs/zlib )
+   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   freeimage? ( media-libs/freeimage )
+   readline? ( sys-libs/readline:0 )
+   dolphin? ( kde-apps/dolphin )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   thunar? ( xfce-base/thunar )
+   "
+
+PATCHES=( )
+
+if [[ ${PV} != ** ]];then
+   src_prepare(){
+   if [ -e "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch" ]; then
+   EPATCH_OPTS="-p0" epatch 
"${FILESDIR}/MEGAsync-${PV}.0_Linux.patch"
+   fi
+   if [ ! -z ${PATCHES} ]; then
+   epatch ${PATCHES}
+   fi
+   if use gnome; then
+   if [ -e "${FILESDIR}${P}-gnome.patch" ]; then
+   epatch "${FILESDIR}/${P}-gnome.patch"
+   fi
+   fi
+   eapply_user
+   cd src/MEGASync/mega
+   eautoreconf
+   }
+fi
+
+src_configure(){
+   cd "${S}"/src/MEGASync/mega
+   econf \
+   "--disable-silent-rules" \
+   "--disable-curl-checks" \
+   "--disable-megaapi" \
+   $(use_with zlib) \
+   $(use_with sqlite) \
+   $(use_with cryptopp) \
+   "--with-cares" \
+   $(use_with curl) \
+   "--without-termcap" \
+   $(use_enable threads posix-threads) \
+   "--with-sodium" \
+   $(use_with freeimage) \
+   $(use_with readline) \
+   $(use_enable examples) \
+   $(use_enable java) \
+   $(use_enable php) \
+   $(use_enable python) \
+   "--enable-chat" \
+   "--enable-gcc-hardening" 
+   cd ../..
+   local myeqmakeargs=(
+   MEGA.pro
+   CONFIG+="release"
+   )
+   if use qt5; then
+   eqmake5 ${myeqmakeargs[@]}
+   use dolphin && cmake-utils_src_configure
+   $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
+   else

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2020-11-08 Thread Andrew Ammerlaan
commit: a5a96c375906ca3ab4cdfee37fc3190baf91248b
Author: Samuel Bernardo  gmail  com>
AuthorDate: Sat Nov  7 11:09:31 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat Nov  7 11:09:31 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a5a96c37

net-misc/megasync: update to 4.3.5

Update to latest version

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Samuel Bernardo  gmail.com>

 net-misc/megasync/megasync-4.3.5.ebuild | 134 
 1 file changed, 134 insertions(+)

diff --git a/net-misc/megasync/megasync-4.3.5.ebuild 
b/net-misc/megasync/megasync-4.3.5.ebuild
new file mode 100644
index ..aa7d2f2d
--- /dev/null
+++ b/net-misc/megasync/megasync-4.3.5.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=7
+
+inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
+
+DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This 
is the official app."
+HOMEPAGE="http://mega.co.nz";
+RTAG="_Linux"
+if [[ ${PV} == ** ]];then
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   KEYWORDS=""
+   EGIT_SUBMODULES=( '*' )
+else
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   EGIT_COMMIT="v${PV}.0${RTAG}"
+   EGIT_SUBMODULES=( '*' )
+   KEYWORDS="~x86 ~amd64"
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads java php python gnome"
+
+DEPEND="
+   dev-lang/swig
+   app-doc/doxygen
+   media-libs/libmediainfo
+   media-libs/libraw
+   dev-qt/qtcore:5
+   dev-qt/linguist-tools
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5"
+RDEPEND="${DEPEND}
+   x11-themes/hicolor-icon-theme
+   dev-libs/openssl
+   dev-libs/libgcrypt
+   media-libs/libpng
+   net-dns/c-ares
+   cryptopp? ( dev-libs/crypto++ )
+   app-arch/xz-utils
+   dev-libs/libuv
+   sqlite? ( dev-db/sqlite:3 )
+   dev-libs/libsodium
+   zlib? ( sys-libs/zlib )
+   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   freeimage? ( media-libs/freeimage )
+   readline? ( sys-libs/readline:0 )
+   dolphin? ( kde-apps/dolphin )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   thunar? ( xfce-base/thunar )
+   "
+
+PATCHES=( )
+
+if [[ ${PV} != ** ]];then
+   src_prepare(){
+   if [ -e "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch" ]; then
+   EPATCH_OPTS="-p0" epatch 
"${FILESDIR}/MEGAsync-${PV}.0_Linux.patch"
+   fi
+   if [ ! -z ${PATCHES} ]; then
+   epatch ${PATCHES}
+   fi
+   if use gnome; then
+   if [ -e "${FILESDIR}${P}-gnome.patch" ]; then
+   epatch "${FILESDIR}/${P}-gnome.patch"
+   fi
+   fi
+   eapply_user
+   cd src/MEGASync/mega
+   eautoreconf
+   }
+fi
+
+src_configure(){
+   cd "${S}"/src/MEGASync/mega
+   econf \
+   "--disable-silent-rules" \
+   "--disable-curl-checks" \
+   "--disable-megaapi" \
+   $(use_with zlib) \
+   $(use_with sqlite) \
+   $(use_with cryptopp) \
+   "--with-cares" \
+   $(use_with curl) \
+   "--without-termcap" \
+   $(use_enable threads posix-threads) \
+   "--with-sodium" \
+   $(use_with freeimage) \
+   $(use_with readline) \
+   $(use_enable examples) \
+   $(use_enable java) \
+   $(use_enable php) \
+   $(use_enable python) \
+   "--enable-chat" \
+   "--enable-gcc-hardening" 
+   cd ../..
+   local myeqmakeargs=(
+   MEGA.pro
+   CONFIG+="release"
+   )
+   eqmake5 ${myeqmakeargs[@]}
+   use dolphin && cmake-utils_src_configure
+   $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
+}
+
+src_compile(){
+   emake -C src INSTALL_ROOT="${D}" || die
+   use dolphin && cmake-utils_src_compile
+}
+
+src_install(){
+   use dolphin && cmake-utils_src_install
+   local DOCS=( CREDITS.md README.md )
+   einstalldocs
+   insinto usr/share/licenses/${PN}
+   doins LICENCE.md installer/terms.txt
+   cd src/MEGASync
+   dobin ${PN}
+   cd platform/linux/data
+   insinto usr/share/applications
+   doins ${PN}.desktop
+   cd icons/hicolor
+   for size in 16x16 32x32 48x48 128x128 256x256;do
+   doicon -s $size $size/apps/mega.png
+   done
+}



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2021-05-24 Thread Haelwenn Monnier
commit: 41520970849558a3e4be96879583335b6bb9f9f3
Author: Samuel Bernardo  gmail  com>
AuthorDate: Mon May 24 19:54:43 2021 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Mon May 24 19:54:43 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=41520970

net-misc/megasync: update sdk hash for 4.5.0.0

Update hash of megasync-sdk-4.5.0.0.tar.gz since it is referenced to a
new commit.

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Samuel Bernardo  gmail.com>

 net-misc/megasync/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 099a944ed..84ee83762 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,4 +1,4 @@
 DIST megasync-4.3.8.0.tar.gz 16019709 BLAKE2B 
493ac0df0e8ca5c6617e493b5b3d81e45cedf2212a83ec9f5f6c07eee6fdf1d749b3735e10082b89f376f261ebfb825a3a7c457b8aa3be64702cddca34558558
 SHA512 
597b1d4a5a806514449b55e8bf81688b3c6d275372ebb56a45841b2f4c7caf8d9db363cf627fa0b6b84f4c662dc8cf87179b4478cd50b7b7efa1e23a9dca3389
 DIST megasync-4.5.0.0.tar.gz 16162074 BLAKE2B 
9ad09b61614992fc48572c168bb3b9692145289b945c01e371babe78a3b75bcc20a842f524279f6db35f8d93c914e9ba68ee5d187614b5041638813cb304531e
 SHA512 
f0c78d741be4a9ee9411be63667ea76cca3ff50ab70a81c904011e1ce1c6f0287ab5c90fc2b1a7a7c040b2d568819f91ecd10f8d570b22231df7b99166eacb11
 DIST megasync-sdk-4.3.8.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e
-DIST megasync-sdk-4.5.0.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e
+DIST megasync-sdk-4.5.0.0.tar.gz 3497367 BLAKE2B 
1594d792f38df4df29acd25ea5c920acf27410513544abc618a692e3ed2e6e1a459123b043a9aa3bfdc4647d753d6c14cc5ee1bde02abd6c0f6d7ce66b118821
 SHA512 
177b9e31f2aacfa370132657bb70ec315edcfbcfe043f067f4c67b69a47ade7235699183541de2462d2ab2a18b4688006cd938ae80da603df9bd79d908b58140



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2021-05-22 Thread Andrew Ammerlaan
commit: 11c911d7e031dcd453dd4bdb5f4dd497fb482de5
Author: Marcin Woźniak  aol  com>
AuthorDate: Sat May 22 11:41:51 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sat May 22 11:41:51 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=11c911d7

net-misc/megasync: Bump version to 4.5.0.0

Signed-off-by: Marcin Woźniak  aol.com>

 net-misc/megasync/Manifest|   2 +
 net-misc/megasync/megasync-4.5.0.0.ebuild | 140 ++
 2 files changed, 142 insertions(+)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index a97a7f706..099a944ed 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,2 +1,4 @@
 DIST megasync-4.3.8.0.tar.gz 16019709 BLAKE2B 
493ac0df0e8ca5c6617e493b5b3d81e45cedf2212a83ec9f5f6c07eee6fdf1d749b3735e10082b89f376f261ebfb825a3a7c457b8aa3be64702cddca34558558
 SHA512 
597b1d4a5a806514449b55e8bf81688b3c6d275372ebb56a45841b2f4c7caf8d9db363cf627fa0b6b84f4c662dc8cf87179b4478cd50b7b7efa1e23a9dca3389
+DIST megasync-4.5.0.0.tar.gz 16162074 BLAKE2B 
9ad09b61614992fc48572c168bb3b9692145289b945c01e371babe78a3b75bcc20a842f524279f6db35f8d93c914e9ba68ee5d187614b5041638813cb304531e
 SHA512 
f0c78d741be4a9ee9411be63667ea76cca3ff50ab70a81c904011e1ce1c6f0287ab5c90fc2b1a7a7c040b2d568819f91ecd10f8d570b22231df7b99166eacb11
 DIST megasync-sdk-4.3.8.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e
+DIST megasync-sdk-4.5.0.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e

diff --git a/net-misc/megasync/megasync-4.5.0.0.ebuild 
b/net-misc/megasync/megasync-4.5.0.0.ebuild
new file mode 100644
index 0..604202807
--- /dev/null
+++ b/net-misc/megasync/megasync-4.5.0.0.ebuild
@@ -0,0 +1,140 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools desktop qmake-utils xdg cmake
+
+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} ==  ]];then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+else
+   MEGA_SDK_REV="37b346c2e119559e40c08f43e1a8f54353e7ad59" # commit of 
src/MEGASync/mega submodule
+   SRC_URI="
+   https://github.com/meganz/MEGAsync/archive/v${PV}_Win.tar.gz -> 
${P}.tar.gz
+   https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
+   "
+   KEYWORDS="~amd64 ~x86"
+   # 4.3.8.0 has no dedicated linux tag
+   S="${WORKDIR}"/MEGAsync-${PV}_Win
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java nautilus 
php python readline threads thunar"
+
+RDEPEND="
+   app-arch/xz-utils
+   dev-libs/libgcrypt
+   dev-libs/libsodium
+   dev-libs/libuv
+   dev-libs/openssl:0=
+   media-libs/libpng
+   net-dns/c-ares
+   x11-themes/hicolor-icon-theme
+   cryptopp? ( dev-libs/crypto++ )
+   curl? ( net-misc/curl[ssl,curl_ssl_openssl(-)] )
+   dolphin? ( kde-apps/dolphin )
+   freeimage? ( media-libs/freeimage )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   readline? ( sys-libs/readline:0 )
+   sqlite? ( dev-db/sqlite:3 )
+   thunar? ( xfce-base/thunar )
+   zlib? ( sys-libs/zlib )
+"
+DEPEND="
+   ${RDEPEND}
+   media-libs/libmediainfo
+   media-libs/libraw
+   dev-qt/qtcore:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5
+   dev-qt/qtx11extras:5
+"
+BDEPEND="
+   dev-lang/swig
+   dev-qt/linguist-tools
+"
+
+DOCS=( CREDITS.md README.md )
+
+CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin"
+
+src_prepare() {
+   if [[ ${PV} !=  ]]; then
+   rmdir src/MEGASync/mega
+   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   fi
+   if use dolphin; then
+   # use the kde5 CMakeLists instead of the kde 4 version
+   mv src/MEGAShellExtDolphin/CMakeLists_kde5.txt 
src/MEGAShellExtDolphin/CMakeLists.txt || die
+   cmake_src_prepare
+   else
+   default
+   fi
+   cd src/MEGASync/mega
+   eautoreconf
+}
+
+src_configure() {
+   cd src/MEGASync/mega
+   econf \
+   "--disable-silent-rules" \
+  

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2021-05-06 Thread Andrew Ammerlaan
commit: 4247d662afe536d192d00a7ad6fb4a0ae3f6e2a7
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Thu May  6 00:18:58 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu May  6 00:22:56 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4247d662

net-misc/megasync: fix usptream

Signed-off-by: Alessandro Barbieri  gmail.com>

 net-misc/megasync/megasync-4.3.8.0.ebuild | 5 -
 net-misc/megasync/megasync-.ebuild| 5 -
 net-misc/megasync/metadata.xml| 3 +++
 3 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/net-misc/megasync/megasync-4.3.8.0.ebuild 
b/net-misc/megasync/megasync-4.3.8.0.ebuild
index 8d9107581..604202807 100644
--- a/net-misc/megasync/megasync-4.3.8.0.ebuild
+++ b/net-misc/megasync/megasync-4.3.8.0.ebuild
@@ -6,7 +6,10 @@ EAPI=7
 inherit autotools desktop qmake-utils xdg cmake
 
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
-HOMEPAGE="http://mega.co.nz";
+HOMEPAGE="
+   https://mega.io
+   https://github.com/meganz/MEGAsync
+"
 
 if [[ ${PV} ==  ]];then
inherit git-r3

diff --git a/net-misc/megasync/megasync-.ebuild 
b/net-misc/megasync/megasync-.ebuild
index 64ae5753b..5447073f4 100644
--- a/net-misc/megasync/megasync-.ebuild
+++ b/net-misc/megasync/megasync-.ebuild
@@ -6,7 +6,10 @@ EAPI=7
 inherit autotools desktop qmake-utils xdg cmake
 
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
-HOMEPAGE="http://mega.co.nz";
+HOMEPAGE="
+   https://mega.io
+   https://github.com/meganz/MEGAsync
+"
 
 if [[ ${PV} ==  ]];then
inherit git-r3

diff --git a/net-misc/megasync/metadata.xml b/net-misc/megasync/metadata.xml
index dbb25160c..045a9632b 100644
--- a/net-misc/megasync/metadata.xml
+++ b/net-misc/megasync/metadata.xml
@@ -6,6 +6,9 @@
Samuel Bernardo
megasync client from mega.nz

+   
+   meganz/MEGAsync
+   

Upload your files to your Mega account 
from Dolphin file manager.
Upload your files to your Mega account 
from nautilus.



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2021-01-01 Thread Andrew Ammerlaan
commit: db62cbf2ce66e8c66cceb6a5b5eba8dda16dfd46
Author: Theo Anderson  posteo  de>
AuthorDate: Thu Dec 31 08:31:13 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Dec 31 08:31:13 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=db62cbf2

net-misc/megasync: bump to 4.3.8.0

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson  posteo.de>

 net-misc/megasync/Manifest|   2 +
 net-misc/megasync/megasync-4.3.8.0.ebuild | 133 ++
 2 files changed, 135 insertions(+)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 2e3f9444..996b96d0 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,2 +1,4 @@
 DIST megasync-4.3.7.tar.gz 16020207 BLAKE2B 
f38b40594c0cb1ed3e93715842f3c161e09ef66deb017d2e5fa03d9d0ac2863ba02b88d1fe779960c07664b19250fa29115a87d62d0934157370c1faa85345a5
 SHA512 
6852390e05da13effd059a5e0dc7fe400f3456668925fbed5e34bc5018b3664d72aebd78847dfdb4f6dda39fe615a79e5c0eb99e72a401fb833d4eba8216010c
+DIST megasync-4.3.8.0.tar.gz 16019709 BLAKE2B 
493ac0df0e8ca5c6617e493b5b3d81e45cedf2212a83ec9f5f6c07eee6fdf1d749b3735e10082b89f376f261ebfb825a3a7c457b8aa3be64702cddca34558558
 SHA512 
597b1d4a5a806514449b55e8bf81688b3c6d275372ebb56a45841b2f4c7caf8d9db363cf627fa0b6b84f4c662dc8cf87179b4478cd50b7b7efa1e23a9dca3389
 DIST megasync-sdk-4.3.7.tar.gz 3362032 BLAKE2B 
36ab643252d27475f34c7a5ee0e71a6470f2c830ea5c8331a094b79da5cd751699390c36e107cb0da06e6f46932e10e5fefbfc8eec3e8645ba84c365835088f3
 SHA512 
45dcc285c194cc347d9d562638658d2f0dd8099371e7408995cad68811e720905ad6f9810b24079c1112d16bfb87f7986cf3180520dc7edd611e703c251b182a
+DIST megasync-sdk-4.3.8.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e

diff --git a/net-misc/megasync/megasync-4.3.8.0.ebuild 
b/net-misc/megasync/megasync-4.3.8.0.ebuild
new file mode 100644
index ..eb91b2e5
--- /dev/null
+++ b/net-misc/megasync/megasync-4.3.8.0.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools desktop qmake-utils xdg cmake
+
+DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
+HOMEPAGE="http://mega.co.nz";
+
+if [[ ${PV} ==  ]];then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+else
+   MEGA_SDK_REV="37b346c2e119559e40c08f43e1a8f54353e7ad59" # commit of 
src/MEGASync/mega submodule
+   SRC_URI="
+   https://github.com/meganz/MEGAsync/archive/v${PV}_Win.tar.gz -> 
${P}.tar.gz
+   https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
+   "
+   KEYWORDS="~amd64 ~x86"
+   # 4.3.8.0 has no dedicated linux tag
+   S="${WORKDIR}"/MEGAsync-${PV}_Win
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java libressl 
nautilus php python readline threads thunar"
+
+RDEPEND="
+   app-arch/xz-utils
+   dev-libs/libgcrypt
+   dev-libs/libsodium
+   dev-libs/libuv
+   media-libs/libpng
+   net-dns/c-ares
+   x11-themes/hicolor-icon-theme
+   cryptopp? ( dev-libs/crypto++ )
+   curl? (
+   !libressl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   libressl? ( net-misc/curl[ssl,curl_ssl_libressl] )
+   )
+   dolphin? ( kde-apps/dolphin )
+   freeimage? ( media-libs/freeimage )
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   readline? ( sys-libs/readline:0 )
+   sqlite? ( dev-db/sqlite:3 )
+   thunar? ( xfce-base/thunar )
+   zlib? ( sys-libs/zlib )
+"
+DEPEND="
+   ${RDEPEND}
+   media-libs/libmediainfo
+   media-libs/libraw
+   dev-qt/qtcore:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5
+"
+BDEPEND="
+   app-doc/doxygen
+   dev-lang/swig
+   dev-qt/linguist-tools
+"
+
+DOCS=( CREDITS.md README.md )
+
+src_prepare() {
+   if [[ ${PV} !=  ]]; then
+   rmdir src/MEGASync/mega
+   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   fi
+   default
+   cd src/MEGASync/mega
+   eautoreconf
+}
+
+src_configure() {
+   cd src/MEGASync/mega
+   econf \
+   "--disable-silent-rules" \
+   "--disable-curl-checks" \
+   "--disable-megaapi" \
+   $(use_with zlib) \
+   $(use_with sqlite) \
+   $(use_with c

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2020-12-11 Thread Andrew Ammerlaan
commit: 17b1a1064a770fde8b4f8a8b9a9e9d57312268d1
Author: Theo Anderson  posteo  de>
AuthorDate: Thu Dec 10 23:03:23 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Dec 10 23:03:23 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=17b1a106

net-misc/megasync: fix 

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson  posteo.de>

 net-misc/megasync/megasync-4.3.7.ebuild | 11 ++-
 net-misc/megasync/megasync-.ebuild  |  9 +
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/net-misc/megasync/megasync-4.3.7.ebuild 
b/net-misc/megasync/megasync-4.3.7.ebuild
index 390ce338..61ef362c 100644
--- a/net-misc/megasync/megasync-4.3.7.ebuild
+++ b/net-misc/megasync/megasync-4.3.7.ebuild
@@ -3,9 +3,7 @@
 
 EAPI=7
 
-inherit autotools cmake desktop qmake-utils
-
-MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
+inherit autotools desktop qmake-utils xdg cmake
 
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
 HOMEPAGE="http://mega.co.nz";
@@ -14,6 +12,7 @@ if [[ ${PV} ==  ]];then
inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
 else
+   MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
SRC_URI="

https://github.com/meganz/MEGAsync/archive/v${PV}.0_Linux.tar.gz -> ${P}.tar.gz
https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
@@ -71,8 +70,10 @@ BDEPEND="
 DOCS=( CREDITS.md README.md )
 
 src_prepare() {
-   rmdir src/MEGASync/mega
-   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   if [[ ${PV} !=  ]]; then
+   rmdir src/MEGASync/mega
+   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   fi
default
cd src/MEGASync/mega
eautoreconf

diff --git a/net-misc/megasync/megasync-.ebuild 
b/net-misc/megasync/megasync-.ebuild
index 5a8311e0..61ef362c 100644
--- a/net-misc/megasync/megasync-.ebuild
+++ b/net-misc/megasync/megasync-.ebuild
@@ -5,8 +5,6 @@ EAPI=7
 
 inherit autotools desktop qmake-utils xdg cmake
 
-MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
-
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
 HOMEPAGE="http://mega.co.nz";
 
@@ -14,6 +12,7 @@ if [[ ${PV} ==  ]];then
inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
 else
+   MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
SRC_URI="

https://github.com/meganz/MEGAsync/archive/v${PV}.0_Linux.tar.gz -> ${P}.tar.gz
https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
@@ -71,8 +70,10 @@ BDEPEND="
 DOCS=( CREDITS.md README.md )
 
 src_prepare() {
-   rmdir src/MEGASync/mega
-   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   if [[ ${PV} !=  ]]; then
+   rmdir src/MEGASync/mega
+   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   fi
default
cd src/MEGASync/mega
eautoreconf



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2020-12-11 Thread Andrew Ammerlaan
commit: 4f8fa2320d6fb0b8b66c28f70d9080f258179f82
Author: Theo Anderson  posteo  de>
AuthorDate: Thu Dec 10 21:47:24 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Dec 10 21:59:58 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4f8fa232

net-misc/megasync: bump to 4.3.7; update live ebuild

- uses tag archives instead of the git repo
- removed multilib (was it even used?)
- libressl support
- general ebuild cleanup

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson  posteo.de>

 net-misc/megasync/Manifest |   2 +
 ...{megasync-.ebuild => megasync-4.3.7.ebuild} | 122 ++---
 net-misc/megasync/megasync-.ebuild | 122 ++---
 3 files changed, 118 insertions(+), 128 deletions(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
new file mode 100644
index ..2e3f9444
--- /dev/null
+++ b/net-misc/megasync/Manifest
@@ -0,0 +1,2 @@
+DIST megasync-4.3.7.tar.gz 16020207 BLAKE2B 
f38b40594c0cb1ed3e93715842f3c161e09ef66deb017d2e5fa03d9d0ac2863ba02b88d1fe779960c07664b19250fa29115a87d62d0934157370c1faa85345a5
 SHA512 
6852390e05da13effd059a5e0dc7fe400f3456668925fbed5e34bc5018b3664d72aebd78847dfdb4f6dda39fe615a79e5c0eb99e72a401fb833d4eba8216010c
+DIST megasync-sdk-4.3.7.tar.gz 3362032 BLAKE2B 
36ab643252d27475f34c7a5ee0e71a6470f2c830ea5c8331a094b79da5cd751699390c36e107cb0da06e6f46932e10e5fefbfc8eec3e8645ba84c365835088f3
 SHA512 
45dcc285c194cc347d9d562638658d2f0dd8099371e7408995cad68811e720905ad6f9810b24079c1112d16bfb87f7986cf3180520dc7edd611e703c251b182a

diff --git a/net-misc/megasync/megasync-.ebuild 
b/net-misc/megasync/megasync-4.3.7.ebuild
similarity index 60%
copy from net-misc/megasync/megasync-.ebuild
copy to net-misc/megasync/megasync-4.3.7.ebuild
index a1edfca1..390ce338 100644
--- a/net-misc/megasync/megasync-.ebuild
+++ b/net-misc/megasync/megasync-4.3.7.ebuild
@@ -3,27 +3,54 @@
 
 EAPI=7
 
-inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
+inherit autotools cmake desktop qmake-utils
+
+MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
 
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
 HOMEPAGE="http://mega.co.nz";
-RTAG="_Linux"
-if [[ ${PV} == ** ]];then
+
+if [[ ${PV} ==  ]];then
+   inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
-   KEYWORDS=""
-   EGIT_SUBMODULES=( '*' )
 else
-   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
-   EGIT_COMMIT="v${PV}.0${RTAG}"
-   EGIT_SUBMODULES=( '*' )
+   SRC_URI="
+   
https://github.com/meganz/MEGAsync/archive/v${PV}.0_Linux.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}.0_Linux
 fi
 
 LICENSE="MEGA"
 SLOT="0"
-IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads java php python gnome"
+IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java libressl 
nautilus php python readline threads thunar"
 
-CDEPEND="
+RDEPEND="
+   app-arch/xz-utils
+   dev-libs/libgcrypt
+   dev-libs/libsodium
+   dev-libs/libuv
+   media-libs/libpng
+   net-dns/c-ares
+   x11-themes/hicolor-icon-theme
+   cryptopp? ( dev-libs/crypto++ )
+   curl? (
+   !libressl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   libressl? ( net-misc/curl[ssl,curl_ssl_libressl] )
+   )
+   dolphin? ( kde-apps/dolphin )
+   freeimage? ( media-libs/freeimage )
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   readline? ( sys-libs/readline:0 )
+   sqlite? ( dev-db/sqlite:3 )
+   thunar? ( xfce-base/thunar )
+   zlib? ( sys-libs/zlib )
+"
+DEPEND="
+   ${RDEPEND}
media-libs/libmediainfo
media-libs/libraw
dev-qt/qtcore:5
@@ -35,57 +62,24 @@ CDEPEND="
dev-qt/qtimageformats:5
dev-qt/qtsvg:5
 "
-
-BDEPEND="${CDEPEND}
-   dev-lang/swig
+BDEPEND="
app-doc/doxygen
+   dev-lang/swig
dev-qt/linguist-tools
 "
 
-RDEPEND="${CDEPEND}
-   x11-themes/hicolor-icon-theme
-   dev-libs/openssl
-   dev-libs/libgcrypt
-   media-libs/libpng
-   net-dns/c-ares
-   cryptopp? ( dev-libs/crypto++ )
-   app-arch/xz-utils
-   dev-libs/libuv
-   sqlite? ( dev-db/sqlite:3 )
-   dev-libs/libsodium
-   zlib? ( sys-libs/zlib )
-   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
-   freeimage? ( media-libs/freeimage )
-   readline? ( sys-libs/readline:0 )
-   dolphin? ( kde-apps/dolphin )
-   nautilus? ( >=gnome-base/nautilus-3 )
-   thunar? ( xfce-ba

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2021-05-22 Thread Andrew Ammerlaan
commit: 11c911d7e031dcd453dd4bdb5f4dd497fb482de5
Author: Marcin Woźniak  aol  com>
AuthorDate: Sat May 22 11:41:51 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sat May 22 11:41:51 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=11c911d7

net-misc/megasync: Bump version to 4.5.0.0

Signed-off-by: Marcin Woźniak  aol.com>

 net-misc/megasync/Manifest|   2 +
 net-misc/megasync/megasync-4.5.0.0.ebuild | 140 ++
 2 files changed, 142 insertions(+)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index a97a7f706..099a944ed 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,2 +1,4 @@
 DIST megasync-4.3.8.0.tar.gz 16019709 BLAKE2B 
493ac0df0e8ca5c6617e493b5b3d81e45cedf2212a83ec9f5f6c07eee6fdf1d749b3735e10082b89f376f261ebfb825a3a7c457b8aa3be64702cddca34558558
 SHA512 
597b1d4a5a806514449b55e8bf81688b3c6d275372ebb56a45841b2f4c7caf8d9db363cf627fa0b6b84f4c662dc8cf87179b4478cd50b7b7efa1e23a9dca3389
+DIST megasync-4.5.0.0.tar.gz 16162074 BLAKE2B 
9ad09b61614992fc48572c168bb3b9692145289b945c01e371babe78a3b75bcc20a842f524279f6db35f8d93c914e9ba68ee5d187614b5041638813cb304531e
 SHA512 
f0c78d741be4a9ee9411be63667ea76cca3ff50ab70a81c904011e1ce1c6f0287ab5c90fc2b1a7a7c040b2d568819f91ecd10f8d570b22231df7b99166eacb11
 DIST megasync-sdk-4.3.8.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e
+DIST megasync-sdk-4.5.0.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e

diff --git a/net-misc/megasync/megasync-4.5.0.0.ebuild 
b/net-misc/megasync/megasync-4.5.0.0.ebuild
new file mode 100644
index 0..604202807
--- /dev/null
+++ b/net-misc/megasync/megasync-4.5.0.0.ebuild
@@ -0,0 +1,140 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools desktop qmake-utils xdg cmake
+
+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} ==  ]];then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+else
+   MEGA_SDK_REV="37b346c2e119559e40c08f43e1a8f54353e7ad59" # commit of 
src/MEGASync/mega submodule
+   SRC_URI="
+   https://github.com/meganz/MEGAsync/archive/v${PV}_Win.tar.gz -> 
${P}.tar.gz
+   https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
+   "
+   KEYWORDS="~amd64 ~x86"
+   # 4.3.8.0 has no dedicated linux tag
+   S="${WORKDIR}"/MEGAsync-${PV}_Win
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java nautilus 
php python readline threads thunar"
+
+RDEPEND="
+   app-arch/xz-utils
+   dev-libs/libgcrypt
+   dev-libs/libsodium
+   dev-libs/libuv
+   dev-libs/openssl:0=
+   media-libs/libpng
+   net-dns/c-ares
+   x11-themes/hicolor-icon-theme
+   cryptopp? ( dev-libs/crypto++ )
+   curl? ( net-misc/curl[ssl,curl_ssl_openssl(-)] )
+   dolphin? ( kde-apps/dolphin )
+   freeimage? ( media-libs/freeimage )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   readline? ( sys-libs/readline:0 )
+   sqlite? ( dev-db/sqlite:3 )
+   thunar? ( xfce-base/thunar )
+   zlib? ( sys-libs/zlib )
+"
+DEPEND="
+   ${RDEPEND}
+   media-libs/libmediainfo
+   media-libs/libraw
+   dev-qt/qtcore:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5
+   dev-qt/qtx11extras:5
+"
+BDEPEND="
+   dev-lang/swig
+   dev-qt/linguist-tools
+"
+
+DOCS=( CREDITS.md README.md )
+
+CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin"
+
+src_prepare() {
+   if [[ ${PV} !=  ]]; then
+   rmdir src/MEGASync/mega
+   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   fi
+   if use dolphin; then
+   # use the kde5 CMakeLists instead of the kde 4 version
+   mv src/MEGAShellExtDolphin/CMakeLists_kde5.txt 
src/MEGAShellExtDolphin/CMakeLists.txt || die
+   cmake_src_prepare
+   else
+   default
+   fi
+   cd src/MEGASync/mega
+   eautoreconf
+}
+
+src_configure() {
+   cd src/MEGASync/mega
+   econf \
+   "--disable-silent-rules" \
+  

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2021-05-24 Thread Haelwenn Monnier
commit: 41520970849558a3e4be96879583335b6bb9f9f3
Author: Samuel Bernardo  gmail  com>
AuthorDate: Mon May 24 19:54:43 2021 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Mon May 24 19:54:43 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=41520970

net-misc/megasync: update sdk hash for 4.5.0.0

Update hash of megasync-sdk-4.5.0.0.tar.gz since it is referenced to a
new commit.

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Samuel Bernardo  gmail.com>

 net-misc/megasync/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 099a944ed..84ee83762 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,4 +1,4 @@
 DIST megasync-4.3.8.0.tar.gz 16019709 BLAKE2B 
493ac0df0e8ca5c6617e493b5b3d81e45cedf2212a83ec9f5f6c07eee6fdf1d749b3735e10082b89f376f261ebfb825a3a7c457b8aa3be64702cddca34558558
 SHA512 
597b1d4a5a806514449b55e8bf81688b3c6d275372ebb56a45841b2f4c7caf8d9db363cf627fa0b6b84f4c662dc8cf87179b4478cd50b7b7efa1e23a9dca3389
 DIST megasync-4.5.0.0.tar.gz 16162074 BLAKE2B 
9ad09b61614992fc48572c168bb3b9692145289b945c01e371babe78a3b75bcc20a842f524279f6db35f8d93c914e9ba68ee5d187614b5041638813cb304531e
 SHA512 
f0c78d741be4a9ee9411be63667ea76cca3ff50ab70a81c904011e1ce1c6f0287ab5c90fc2b1a7a7c040b2d568819f91ecd10f8d570b22231df7b99166eacb11
 DIST megasync-sdk-4.3.8.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e
-DIST megasync-sdk-4.5.0.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e
+DIST megasync-sdk-4.5.0.0.tar.gz 3497367 BLAKE2B 
1594d792f38df4df29acd25ea5c920acf27410513544abc618a692e3ed2e6e1a459123b043a9aa3bfdc4647d753d6c14cc5ee1bde02abd6c0f6d7ce66b118821
 SHA512 
177b9e31f2aacfa370132657bb70ec315edcfbcfe043f067f4c67b69a47ade7235699183541de2462d2ab2a18b4688006cd938ae80da603df9bd79d908b58140



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2021-05-06 Thread Andrew Ammerlaan
commit: 4247d662afe536d192d00a7ad6fb4a0ae3f6e2a7
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Thu May  6 00:18:58 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu May  6 00:22:56 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4247d662

net-misc/megasync: fix usptream

Signed-off-by: Alessandro Barbieri  gmail.com>

 net-misc/megasync/megasync-4.3.8.0.ebuild | 5 -
 net-misc/megasync/megasync-.ebuild| 5 -
 net-misc/megasync/metadata.xml| 3 +++
 3 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/net-misc/megasync/megasync-4.3.8.0.ebuild 
b/net-misc/megasync/megasync-4.3.8.0.ebuild
index 8d9107581..604202807 100644
--- a/net-misc/megasync/megasync-4.3.8.0.ebuild
+++ b/net-misc/megasync/megasync-4.3.8.0.ebuild
@@ -6,7 +6,10 @@ EAPI=7
 inherit autotools desktop qmake-utils xdg cmake
 
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
-HOMEPAGE="http://mega.co.nz";
+HOMEPAGE="
+   https://mega.io
+   https://github.com/meganz/MEGAsync
+"
 
 if [[ ${PV} ==  ]];then
inherit git-r3

diff --git a/net-misc/megasync/megasync-.ebuild 
b/net-misc/megasync/megasync-.ebuild
index 64ae5753b..5447073f4 100644
--- a/net-misc/megasync/megasync-.ebuild
+++ b/net-misc/megasync/megasync-.ebuild
@@ -6,7 +6,10 @@ EAPI=7
 inherit autotools desktop qmake-utils xdg cmake
 
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
-HOMEPAGE="http://mega.co.nz";
+HOMEPAGE="
+   https://mega.io
+   https://github.com/meganz/MEGAsync
+"
 
 if [[ ${PV} ==  ]];then
inherit git-r3

diff --git a/net-misc/megasync/metadata.xml b/net-misc/megasync/metadata.xml
index dbb25160c..045a9632b 100644
--- a/net-misc/megasync/metadata.xml
+++ b/net-misc/megasync/metadata.xml
@@ -6,6 +6,9 @@
Samuel Bernardo
megasync client from mega.nz

+   
+   meganz/MEGAsync
+   

Upload your files to your Mega account 
from Dolphin file manager.
Upload your files to your Mega account 
from nautilus.



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2020-12-11 Thread Andrew Ammerlaan
commit: 17b1a1064a770fde8b4f8a8b9a9e9d57312268d1
Author: Theo Anderson  posteo  de>
AuthorDate: Thu Dec 10 23:03:23 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Dec 10 23:03:23 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=17b1a106

net-misc/megasync: fix 

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson  posteo.de>

 net-misc/megasync/megasync-4.3.7.ebuild | 11 ++-
 net-misc/megasync/megasync-.ebuild  |  9 +
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/net-misc/megasync/megasync-4.3.7.ebuild 
b/net-misc/megasync/megasync-4.3.7.ebuild
index 390ce338..61ef362c 100644
--- a/net-misc/megasync/megasync-4.3.7.ebuild
+++ b/net-misc/megasync/megasync-4.3.7.ebuild
@@ -3,9 +3,7 @@
 
 EAPI=7
 
-inherit autotools cmake desktop qmake-utils
-
-MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
+inherit autotools desktop qmake-utils xdg cmake
 
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
 HOMEPAGE="http://mega.co.nz";
@@ -14,6 +12,7 @@ if [[ ${PV} ==  ]];then
inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
 else
+   MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
SRC_URI="

https://github.com/meganz/MEGAsync/archive/v${PV}.0_Linux.tar.gz -> ${P}.tar.gz
https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
@@ -71,8 +70,10 @@ BDEPEND="
 DOCS=( CREDITS.md README.md )
 
 src_prepare() {
-   rmdir src/MEGASync/mega
-   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   if [[ ${PV} !=  ]]; then
+   rmdir src/MEGASync/mega
+   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   fi
default
cd src/MEGASync/mega
eautoreconf

diff --git a/net-misc/megasync/megasync-.ebuild 
b/net-misc/megasync/megasync-.ebuild
index 5a8311e0..61ef362c 100644
--- a/net-misc/megasync/megasync-.ebuild
+++ b/net-misc/megasync/megasync-.ebuild
@@ -5,8 +5,6 @@ EAPI=7
 
 inherit autotools desktop qmake-utils xdg cmake
 
-MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
-
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
 HOMEPAGE="http://mega.co.nz";
 
@@ -14,6 +12,7 @@ if [[ ${PV} ==  ]];then
inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
 else
+   MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
SRC_URI="

https://github.com/meganz/MEGAsync/archive/v${PV}.0_Linux.tar.gz -> ${P}.tar.gz
https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
@@ -71,8 +70,10 @@ BDEPEND="
 DOCS=( CREDITS.md README.md )
 
 src_prepare() {
-   rmdir src/MEGASync/mega
-   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   if [[ ${PV} !=  ]]; then
+   rmdir src/MEGASync/mega
+   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   fi
default
cd src/MEGASync/mega
eautoreconf



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2020-12-11 Thread Andrew Ammerlaan
commit: 4f8fa2320d6fb0b8b66c28f70d9080f258179f82
Author: Theo Anderson  posteo  de>
AuthorDate: Thu Dec 10 21:47:24 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Dec 10 21:59:58 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4f8fa232

net-misc/megasync: bump to 4.3.7; update live ebuild

- uses tag archives instead of the git repo
- removed multilib (was it even used?)
- libressl support
- general ebuild cleanup

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson  posteo.de>

 net-misc/megasync/Manifest |   2 +
 ...{megasync-.ebuild => megasync-4.3.7.ebuild} | 122 ++---
 net-misc/megasync/megasync-.ebuild | 122 ++---
 3 files changed, 118 insertions(+), 128 deletions(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
new file mode 100644
index ..2e3f9444
--- /dev/null
+++ b/net-misc/megasync/Manifest
@@ -0,0 +1,2 @@
+DIST megasync-4.3.7.tar.gz 16020207 BLAKE2B 
f38b40594c0cb1ed3e93715842f3c161e09ef66deb017d2e5fa03d9d0ac2863ba02b88d1fe779960c07664b19250fa29115a87d62d0934157370c1faa85345a5
 SHA512 
6852390e05da13effd059a5e0dc7fe400f3456668925fbed5e34bc5018b3664d72aebd78847dfdb4f6dda39fe615a79e5c0eb99e72a401fb833d4eba8216010c
+DIST megasync-sdk-4.3.7.tar.gz 3362032 BLAKE2B 
36ab643252d27475f34c7a5ee0e71a6470f2c830ea5c8331a094b79da5cd751699390c36e107cb0da06e6f46932e10e5fefbfc8eec3e8645ba84c365835088f3
 SHA512 
45dcc285c194cc347d9d562638658d2f0dd8099371e7408995cad68811e720905ad6f9810b24079c1112d16bfb87f7986cf3180520dc7edd611e703c251b182a

diff --git a/net-misc/megasync/megasync-.ebuild 
b/net-misc/megasync/megasync-4.3.7.ebuild
similarity index 60%
copy from net-misc/megasync/megasync-.ebuild
copy to net-misc/megasync/megasync-4.3.7.ebuild
index a1edfca1..390ce338 100644
--- a/net-misc/megasync/megasync-.ebuild
+++ b/net-misc/megasync/megasync-4.3.7.ebuild
@@ -3,27 +3,54 @@
 
 EAPI=7
 
-inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
+inherit autotools cmake desktop qmake-utils
+
+MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
 
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
 HOMEPAGE="http://mega.co.nz";
-RTAG="_Linux"
-if [[ ${PV} == ** ]];then
+
+if [[ ${PV} ==  ]];then
+   inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
-   KEYWORDS=""
-   EGIT_SUBMODULES=( '*' )
 else
-   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
-   EGIT_COMMIT="v${PV}.0${RTAG}"
-   EGIT_SUBMODULES=( '*' )
+   SRC_URI="
+   
https://github.com/meganz/MEGAsync/archive/v${PV}.0_Linux.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}.0_Linux
 fi
 
 LICENSE="MEGA"
 SLOT="0"
-IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads java php python gnome"
+IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java libressl 
nautilus php python readline threads thunar"
 
-CDEPEND="
+RDEPEND="
+   app-arch/xz-utils
+   dev-libs/libgcrypt
+   dev-libs/libsodium
+   dev-libs/libuv
+   media-libs/libpng
+   net-dns/c-ares
+   x11-themes/hicolor-icon-theme
+   cryptopp? ( dev-libs/crypto++ )
+   curl? (
+   !libressl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   libressl? ( net-misc/curl[ssl,curl_ssl_libressl] )
+   )
+   dolphin? ( kde-apps/dolphin )
+   freeimage? ( media-libs/freeimage )
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   readline? ( sys-libs/readline:0 )
+   sqlite? ( dev-db/sqlite:3 )
+   thunar? ( xfce-base/thunar )
+   zlib? ( sys-libs/zlib )
+"
+DEPEND="
+   ${RDEPEND}
media-libs/libmediainfo
media-libs/libraw
dev-qt/qtcore:5
@@ -35,57 +62,24 @@ CDEPEND="
dev-qt/qtimageformats:5
dev-qt/qtsvg:5
 "
-
-BDEPEND="${CDEPEND}
-   dev-lang/swig
+BDEPEND="
app-doc/doxygen
+   dev-lang/swig
dev-qt/linguist-tools
 "
 
-RDEPEND="${CDEPEND}
-   x11-themes/hicolor-icon-theme
-   dev-libs/openssl
-   dev-libs/libgcrypt
-   media-libs/libpng
-   net-dns/c-ares
-   cryptopp? ( dev-libs/crypto++ )
-   app-arch/xz-utils
-   dev-libs/libuv
-   sqlite? ( dev-db/sqlite:3 )
-   dev-libs/libsodium
-   zlib? ( sys-libs/zlib )
-   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
-   freeimage? ( media-libs/freeimage )
-   readline? ( sys-libs/readline:0 )
-   dolphin? ( kde-apps/dolphin )
-   nautilus? ( >=gnome-base/nautilus-3 )
-   thunar? ( xfce-ba

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2020-11-08 Thread Andrew Ammerlaan
commit: 3bedd6fe12c78b02faa3041c5aab6f72e725c625
Author: Samuel Bernardo  gmail  com>
AuthorDate: Sat Nov  7 10:42:16 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat Nov  7 10:42:16 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3bedd6fe

net-misc/megasync: add version 4.3.3

Correct previous push and add repoman verified megasync ebuild.

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Samuel Bernardo  gmail.com>

 net-misc/megasync/megasync-4.3.3.ebuild | 78 +
 net-misc/megasync/metadata.xml  |  7 +++
 2 files changed, 38 insertions(+), 47 deletions(-)

diff --git a/net-misc/megasync/megasync-4.3.3.ebuild 
b/net-misc/megasync/megasync-4.3.3.ebuild
index 91734a74..aa7d2f2d 100644
--- a/net-misc/megasync/megasync-4.3.3.ebuild
+++ b/net-misc/megasync/megasync-4.3.3.ebuild
@@ -22,51 +22,41 @@ fi
 
 LICENSE="MEGA"
 SLOT="0"
-IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads qt5 java php python gnome"
+IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads java php python gnome"
 
 DEPEND="
dev-lang/swig
app-doc/doxygen
media-libs/libmediainfo
media-libs/libraw
-   !qt5? ( 
-   dev-qt/qtcore:4
-   dev-qt/qtgui:4
-   dev-qt/qtdbus:4
-   dev-libs/sni-qt
-   dev-qt/qtimageformats:5
-   dev-qt/qtsvg:5
-   )
-   qt5? ( 
-   dev-qt/qtcore:5
-   dev-qt/linguist-tools
-   dev-qt/qtwidgets:5
-   dev-qt/qtgui:5
-   dev-qt/qtconcurrent:5
-   dev-qt/qtnetwork:5
-   dev-qt/qtdbus:5
-   dev-qt/qtimageformats:5
-   dev-qt/qtsvg:5
-   )"
+   dev-qt/qtcore:5
+   dev-qt/linguist-tools
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5"
 RDEPEND="${DEPEND}
-   x11-themes/hicolor-icon-theme
-   dev-libs/openssl
-   dev-libs/libgcrypt
-   media-libs/libpng
-   net-dns/c-ares
-   cryptopp? ( dev-libs/crypto++ )
-   app-arch/xz-utils
-   dev-libs/libuv
-   sqlite? ( dev-db/sqlite:3 )
-   dev-libs/libsodium
-   zlib? ( sys-libs/zlib )
-   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
-   freeimage? ( media-libs/freeimage )
-   readline? ( sys-libs/readline:0 )
-   dolphin? ( kde-apps/dolphin )
-   nautilus? ( >=gnome-base/nautilus-3 )
-   thunar? ( xfce-base/thunar )
-   "
+   x11-themes/hicolor-icon-theme
+   dev-libs/openssl
+   dev-libs/libgcrypt
+   media-libs/libpng
+   net-dns/c-ares
+   cryptopp? ( dev-libs/crypto++ )
+   app-arch/xz-utils
+   dev-libs/libuv
+   sqlite? ( dev-db/sqlite:3 )
+   dev-libs/libsodium
+   zlib? ( sys-libs/zlib )
+   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   freeimage? ( media-libs/freeimage )
+   readline? ( sys-libs/readline:0 )
+   dolphin? ( kde-apps/dolphin )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   thunar? ( xfce-base/thunar )
+   "
 
 PATCHES=( )
 
@@ -116,15 +106,9 @@ src_configure(){
MEGA.pro
CONFIG+="release"
)
-   if use qt5; then
-   eqmake5 ${myeqmakeargs[@]}
-   use dolphin && cmake-utils_src_configure
-   $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
-   else
-   eqmake4 ${myeqmakeargs[@]}
-   use dolphin && cmake-utils_src_configure
-   $(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro
-   fi
+   eqmake5 ${myeqmakeargs[@]}
+   use dolphin && cmake-utils_src_configure
+   $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
 }
 
 src_compile(){

diff --git a/net-misc/megasync/metadata.xml b/net-misc/megasync/metadata.xml
index a9aac563..dbb25160 100644
--- a/net-misc/megasync/metadata.xml
+++ b/net-misc/megasync/metadata.xml
@@ -6,4 +6,11 @@
Samuel Bernardo
megasync client from mega.nz

+   
+   Upload your files to your Mega account 
from Dolphin file manager.
+   Upload your files to your Mega account 
from nautilus.
+   Upload your files to your Mega account from 
Thunar.
+   Compile with Crypto++ Library.
+   Use freeimage to manage graphic images 
format.
+   
 



[gentoo-commits] repo/proj/guru:master commit in: /, net-misc/megasync/

2020-11-08 Thread Andrew Ammerlaan
commit: 09f7ca3c417d4f6f6dcc80b8b22546c6c64d0a66
Author: Samuel Bernardo  gmail  com>
AuthorDate: Sat Nov  7 09:29:47 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat Nov  7 09:32:29 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=09f7ca3c

megasync client

Signed-off-by: Samuel Bernardo  gmail.com>

 megasync-4.3.3.ebuild   | 150 
 megasync-.ebuild| 142 ++
 net-misc/megasync/megasync-4.3.3.ebuild | 150 
 net-misc/megasync/megasync-.ebuild  |   1 +
 net-misc/megasync/metadata.xml  |   9 ++
 5 files changed, 452 insertions(+)

diff --git a/megasync-4.3.3.ebuild b/megasync-4.3.3.ebuild
new file mode 100644
index ..91734a74
--- /dev/null
+++ b/megasync-4.3.3.ebuild
@@ -0,0 +1,150 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=7
+
+inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
+
+DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This 
is the official app."
+HOMEPAGE="http://mega.co.nz";
+RTAG="_Linux"
+if [[ ${PV} == ** ]];then
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   KEYWORDS=""
+   EGIT_SUBMODULES=( '*' )
+else
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   EGIT_COMMIT="v${PV}.0${RTAG}"
+   EGIT_SUBMODULES=( '*' )
+   KEYWORDS="~x86 ~amd64"
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads qt5 java php python gnome"
+
+DEPEND="
+   dev-lang/swig
+   app-doc/doxygen
+   media-libs/libmediainfo
+   media-libs/libraw
+   !qt5? ( 
+   dev-qt/qtcore:4
+   dev-qt/qtgui:4
+   dev-qt/qtdbus:4
+   dev-libs/sni-qt
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5
+   )
+   qt5? ( 
+   dev-qt/qtcore:5
+   dev-qt/linguist-tools
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5
+   )"
+RDEPEND="${DEPEND}
+   x11-themes/hicolor-icon-theme
+   dev-libs/openssl
+   dev-libs/libgcrypt
+   media-libs/libpng
+   net-dns/c-ares
+   cryptopp? ( dev-libs/crypto++ )
+   app-arch/xz-utils
+   dev-libs/libuv
+   sqlite? ( dev-db/sqlite:3 )
+   dev-libs/libsodium
+   zlib? ( sys-libs/zlib )
+   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   freeimage? ( media-libs/freeimage )
+   readline? ( sys-libs/readline:0 )
+   dolphin? ( kde-apps/dolphin )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   thunar? ( xfce-base/thunar )
+   "
+
+PATCHES=( )
+
+if [[ ${PV} != ** ]];then
+   src_prepare(){
+   if [ -e "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch" ]; then
+   EPATCH_OPTS="-p0" epatch 
"${FILESDIR}/MEGAsync-${PV}.0_Linux.patch"
+   fi
+   if [ ! -z ${PATCHES} ]; then
+   epatch ${PATCHES}
+   fi
+   if use gnome; then
+   if [ -e "${FILESDIR}${P}-gnome.patch" ]; then
+   epatch "${FILESDIR}/${P}-gnome.patch"
+   fi
+   fi
+   eapply_user
+   cd src/MEGASync/mega
+   eautoreconf
+   }
+fi
+
+src_configure(){
+   cd "${S}"/src/MEGASync/mega
+   econf \
+   "--disable-silent-rules" \
+   "--disable-curl-checks" \
+   "--disable-megaapi" \
+   $(use_with zlib) \
+   $(use_with sqlite) \
+   $(use_with cryptopp) \
+   "--with-cares" \
+   $(use_with curl) \
+   "--without-termcap" \
+   $(use_enable threads posix-threads) \
+   "--with-sodium" \
+   $(use_with freeimage) \
+   $(use_with readline) \
+   $(use_enable examples) \
+   $(use_enable java) \
+   $(use_enable php) \
+   $(use_enable python) \
+   "--enable-chat" \
+   "--enable-gcc-hardening" 
+   cd ../..
+   local myeqmakeargs=(
+   MEGA.pro
+   CONFIG+="release"
+   )
+   if use qt5; then
+   eqmake5 ${myeqmakeargs[@]}
+   use dolphin && cmake-utils_src_configure
+   $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
+   else

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2020-11-08 Thread Andrew Ammerlaan
commit: a5a96c375906ca3ab4cdfee37fc3190baf91248b
Author: Samuel Bernardo  gmail  com>
AuthorDate: Sat Nov  7 11:09:31 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat Nov  7 11:09:31 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a5a96c37

net-misc/megasync: update to 4.3.5

Update to latest version

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Samuel Bernardo  gmail.com>

 net-misc/megasync/megasync-4.3.5.ebuild | 134 
 1 file changed, 134 insertions(+)

diff --git a/net-misc/megasync/megasync-4.3.5.ebuild 
b/net-misc/megasync/megasync-4.3.5.ebuild
new file mode 100644
index ..aa7d2f2d
--- /dev/null
+++ b/net-misc/megasync/megasync-4.3.5.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=7
+
+inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
+
+DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This 
is the official app."
+HOMEPAGE="http://mega.co.nz";
+RTAG="_Linux"
+if [[ ${PV} == ** ]];then
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   KEYWORDS=""
+   EGIT_SUBMODULES=( '*' )
+else
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   EGIT_COMMIT="v${PV}.0${RTAG}"
+   EGIT_SUBMODULES=( '*' )
+   KEYWORDS="~x86 ~amd64"
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads java php python gnome"
+
+DEPEND="
+   dev-lang/swig
+   app-doc/doxygen
+   media-libs/libmediainfo
+   media-libs/libraw
+   dev-qt/qtcore:5
+   dev-qt/linguist-tools
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5"
+RDEPEND="${DEPEND}
+   x11-themes/hicolor-icon-theme
+   dev-libs/openssl
+   dev-libs/libgcrypt
+   media-libs/libpng
+   net-dns/c-ares
+   cryptopp? ( dev-libs/crypto++ )
+   app-arch/xz-utils
+   dev-libs/libuv
+   sqlite? ( dev-db/sqlite:3 )
+   dev-libs/libsodium
+   zlib? ( sys-libs/zlib )
+   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   freeimage? ( media-libs/freeimage )
+   readline? ( sys-libs/readline:0 )
+   dolphin? ( kde-apps/dolphin )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   thunar? ( xfce-base/thunar )
+   "
+
+PATCHES=( )
+
+if [[ ${PV} != ** ]];then
+   src_prepare(){
+   if [ -e "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch" ]; then
+   EPATCH_OPTS="-p0" epatch 
"${FILESDIR}/MEGAsync-${PV}.0_Linux.patch"
+   fi
+   if [ ! -z ${PATCHES} ]; then
+   epatch ${PATCHES}
+   fi
+   if use gnome; then
+   if [ -e "${FILESDIR}${P}-gnome.patch" ]; then
+   epatch "${FILESDIR}/${P}-gnome.patch"
+   fi
+   fi
+   eapply_user
+   cd src/MEGASync/mega
+   eautoreconf
+   }
+fi
+
+src_configure(){
+   cd "${S}"/src/MEGASync/mega
+   econf \
+   "--disable-silent-rules" \
+   "--disable-curl-checks" \
+   "--disable-megaapi" \
+   $(use_with zlib) \
+   $(use_with sqlite) \
+   $(use_with cryptopp) \
+   "--with-cares" \
+   $(use_with curl) \
+   "--without-termcap" \
+   $(use_enable threads posix-threads) \
+   "--with-sodium" \
+   $(use_with freeimage) \
+   $(use_with readline) \
+   $(use_enable examples) \
+   $(use_enable java) \
+   $(use_enable php) \
+   $(use_enable python) \
+   "--enable-chat" \
+   "--enable-gcc-hardening" 
+   cd ../..
+   local myeqmakeargs=(
+   MEGA.pro
+   CONFIG+="release"
+   )
+   eqmake5 ${myeqmakeargs[@]}
+   use dolphin && cmake-utils_src_configure
+   $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
+}
+
+src_compile(){
+   emake -C src INSTALL_ROOT="${D}" || die
+   use dolphin && cmake-utils_src_compile
+}
+
+src_install(){
+   use dolphin && cmake-utils_src_install
+   local DOCS=( CREDITS.md README.md )
+   einstalldocs
+   insinto usr/share/licenses/${PN}
+   doins LICENCE.md installer/terms.txt
+   cd src/MEGASync
+   dobin ${PN}
+   cd platform/linux/data
+   insinto usr/share/applications
+   doins ${PN}.desktop
+   cd icons/hicolor
+   for size in 16x16 32x32 48x48 128x128 256x256;do
+   doicon -s $size $size/apps/mega.png
+   done
+}



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2021-01-01 Thread Andrew Ammerlaan
commit: db62cbf2ce66e8c66cceb6a5b5eba8dda16dfd46
Author: Theo Anderson  posteo  de>
AuthorDate: Thu Dec 31 08:31:13 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Dec 31 08:31:13 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=db62cbf2

net-misc/megasync: bump to 4.3.8.0

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson  posteo.de>

 net-misc/megasync/Manifest|   2 +
 net-misc/megasync/megasync-4.3.8.0.ebuild | 133 ++
 2 files changed, 135 insertions(+)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 2e3f9444..996b96d0 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,2 +1,4 @@
 DIST megasync-4.3.7.tar.gz 16020207 BLAKE2B 
f38b40594c0cb1ed3e93715842f3c161e09ef66deb017d2e5fa03d9d0ac2863ba02b88d1fe779960c07664b19250fa29115a87d62d0934157370c1faa85345a5
 SHA512 
6852390e05da13effd059a5e0dc7fe400f3456668925fbed5e34bc5018b3664d72aebd78847dfdb4f6dda39fe615a79e5c0eb99e72a401fb833d4eba8216010c
+DIST megasync-4.3.8.0.tar.gz 16019709 BLAKE2B 
493ac0df0e8ca5c6617e493b5b3d81e45cedf2212a83ec9f5f6c07eee6fdf1d749b3735e10082b89f376f261ebfb825a3a7c457b8aa3be64702cddca34558558
 SHA512 
597b1d4a5a806514449b55e8bf81688b3c6d275372ebb56a45841b2f4c7caf8d9db363cf627fa0b6b84f4c662dc8cf87179b4478cd50b7b7efa1e23a9dca3389
 DIST megasync-sdk-4.3.7.tar.gz 3362032 BLAKE2B 
36ab643252d27475f34c7a5ee0e71a6470f2c830ea5c8331a094b79da5cd751699390c36e107cb0da06e6f46932e10e5fefbfc8eec3e8645ba84c365835088f3
 SHA512 
45dcc285c194cc347d9d562638658d2f0dd8099371e7408995cad68811e720905ad6f9810b24079c1112d16bfb87f7986cf3180520dc7edd611e703c251b182a
+DIST megasync-sdk-4.3.8.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e

diff --git a/net-misc/megasync/megasync-4.3.8.0.ebuild 
b/net-misc/megasync/megasync-4.3.8.0.ebuild
new file mode 100644
index ..eb91b2e5
--- /dev/null
+++ b/net-misc/megasync/megasync-4.3.8.0.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools desktop qmake-utils xdg cmake
+
+DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
+HOMEPAGE="http://mega.co.nz";
+
+if [[ ${PV} ==  ]];then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+else
+   MEGA_SDK_REV="37b346c2e119559e40c08f43e1a8f54353e7ad59" # commit of 
src/MEGASync/mega submodule
+   SRC_URI="
+   https://github.com/meganz/MEGAsync/archive/v${PV}_Win.tar.gz -> 
${P}.tar.gz
+   https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
+   "
+   KEYWORDS="~amd64 ~x86"
+   # 4.3.8.0 has no dedicated linux tag
+   S="${WORKDIR}"/MEGAsync-${PV}_Win
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java libressl 
nautilus php python readline threads thunar"
+
+RDEPEND="
+   app-arch/xz-utils
+   dev-libs/libgcrypt
+   dev-libs/libsodium
+   dev-libs/libuv
+   media-libs/libpng
+   net-dns/c-ares
+   x11-themes/hicolor-icon-theme
+   cryptopp? ( dev-libs/crypto++ )
+   curl? (
+   !libressl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   libressl? ( net-misc/curl[ssl,curl_ssl_libressl] )
+   )
+   dolphin? ( kde-apps/dolphin )
+   freeimage? ( media-libs/freeimage )
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   readline? ( sys-libs/readline:0 )
+   sqlite? ( dev-db/sqlite:3 )
+   thunar? ( xfce-base/thunar )
+   zlib? ( sys-libs/zlib )
+"
+DEPEND="
+   ${RDEPEND}
+   media-libs/libmediainfo
+   media-libs/libraw
+   dev-qt/qtcore:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5
+"
+BDEPEND="
+   app-doc/doxygen
+   dev-lang/swig
+   dev-qt/linguist-tools
+"
+
+DOCS=( CREDITS.md README.md )
+
+src_prepare() {
+   if [[ ${PV} !=  ]]; then
+   rmdir src/MEGASync/mega
+   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   fi
+   default
+   cd src/MEGASync/mega
+   eautoreconf
+}
+
+src_configure() {
+   cd src/MEGASync/mega
+   econf \
+   "--disable-silent-rules" \
+   "--disable-curl-checks" \
+   "--disable-megaapi" \
+   $(use_with zlib) \
+   $(use_with sqlite) \
+   $(use_with c

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2021-05-06 Thread Andrew Ammerlaan
commit: 4247d662afe536d192d00a7ad6fb4a0ae3f6e2a7
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Thu May  6 00:18:58 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu May  6 00:22:56 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4247d662

net-misc/megasync: fix usptream

Signed-off-by: Alessandro Barbieri  gmail.com>

 net-misc/megasync/megasync-4.3.8.0.ebuild | 5 -
 net-misc/megasync/megasync-.ebuild| 5 -
 net-misc/megasync/metadata.xml| 3 +++
 3 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/net-misc/megasync/megasync-4.3.8.0.ebuild 
b/net-misc/megasync/megasync-4.3.8.0.ebuild
index 8d9107581..604202807 100644
--- a/net-misc/megasync/megasync-4.3.8.0.ebuild
+++ b/net-misc/megasync/megasync-4.3.8.0.ebuild
@@ -6,7 +6,10 @@ EAPI=7
 inherit autotools desktop qmake-utils xdg cmake
 
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
-HOMEPAGE="http://mega.co.nz";
+HOMEPAGE="
+   https://mega.io
+   https://github.com/meganz/MEGAsync
+"
 
 if [[ ${PV} ==  ]];then
inherit git-r3

diff --git a/net-misc/megasync/megasync-.ebuild 
b/net-misc/megasync/megasync-.ebuild
index 64ae5753b..5447073f4 100644
--- a/net-misc/megasync/megasync-.ebuild
+++ b/net-misc/megasync/megasync-.ebuild
@@ -6,7 +6,10 @@ EAPI=7
 inherit autotools desktop qmake-utils xdg cmake
 
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
-HOMEPAGE="http://mega.co.nz";
+HOMEPAGE="
+   https://mega.io
+   https://github.com/meganz/MEGAsync
+"
 
 if [[ ${PV} ==  ]];then
inherit git-r3

diff --git a/net-misc/megasync/metadata.xml b/net-misc/megasync/metadata.xml
index dbb25160c..045a9632b 100644
--- a/net-misc/megasync/metadata.xml
+++ b/net-misc/megasync/metadata.xml
@@ -6,6 +6,9 @@
Samuel Bernardo
megasync client from mega.nz

+   
+   meganz/MEGAsync
+   

Upload your files to your Mega account 
from Dolphin file manager.
Upload your files to your Mega account 
from nautilus.



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2021-05-22 Thread Andrew Ammerlaan
commit: 11c911d7e031dcd453dd4bdb5f4dd497fb482de5
Author: Marcin Woźniak  aol  com>
AuthorDate: Sat May 22 11:41:51 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sat May 22 11:41:51 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=11c911d7

net-misc/megasync: Bump version to 4.5.0.0

Signed-off-by: Marcin Woźniak  aol.com>

 net-misc/megasync/Manifest|   2 +
 net-misc/megasync/megasync-4.5.0.0.ebuild | 140 ++
 2 files changed, 142 insertions(+)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index a97a7f706..099a944ed 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,2 +1,4 @@
 DIST megasync-4.3.8.0.tar.gz 16019709 BLAKE2B 
493ac0df0e8ca5c6617e493b5b3d81e45cedf2212a83ec9f5f6c07eee6fdf1d749b3735e10082b89f376f261ebfb825a3a7c457b8aa3be64702cddca34558558
 SHA512 
597b1d4a5a806514449b55e8bf81688b3c6d275372ebb56a45841b2f4c7caf8d9db363cf627fa0b6b84f4c662dc8cf87179b4478cd50b7b7efa1e23a9dca3389
+DIST megasync-4.5.0.0.tar.gz 16162074 BLAKE2B 
9ad09b61614992fc48572c168bb3b9692145289b945c01e371babe78a3b75bcc20a842f524279f6db35f8d93c914e9ba68ee5d187614b5041638813cb304531e
 SHA512 
f0c78d741be4a9ee9411be63667ea76cca3ff50ab70a81c904011e1ce1c6f0287ab5c90fc2b1a7a7c040b2d568819f91ecd10f8d570b22231df7b99166eacb11
 DIST megasync-sdk-4.3.8.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e
+DIST megasync-sdk-4.5.0.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e

diff --git a/net-misc/megasync/megasync-4.5.0.0.ebuild 
b/net-misc/megasync/megasync-4.5.0.0.ebuild
new file mode 100644
index 0..604202807
--- /dev/null
+++ b/net-misc/megasync/megasync-4.5.0.0.ebuild
@@ -0,0 +1,140 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools desktop qmake-utils xdg cmake
+
+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} ==  ]];then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+else
+   MEGA_SDK_REV="37b346c2e119559e40c08f43e1a8f54353e7ad59" # commit of 
src/MEGASync/mega submodule
+   SRC_URI="
+   https://github.com/meganz/MEGAsync/archive/v${PV}_Win.tar.gz -> 
${P}.tar.gz
+   https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
+   "
+   KEYWORDS="~amd64 ~x86"
+   # 4.3.8.0 has no dedicated linux tag
+   S="${WORKDIR}"/MEGAsync-${PV}_Win
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java nautilus 
php python readline threads thunar"
+
+RDEPEND="
+   app-arch/xz-utils
+   dev-libs/libgcrypt
+   dev-libs/libsodium
+   dev-libs/libuv
+   dev-libs/openssl:0=
+   media-libs/libpng
+   net-dns/c-ares
+   x11-themes/hicolor-icon-theme
+   cryptopp? ( dev-libs/crypto++ )
+   curl? ( net-misc/curl[ssl,curl_ssl_openssl(-)] )
+   dolphin? ( kde-apps/dolphin )
+   freeimage? ( media-libs/freeimage )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   readline? ( sys-libs/readline:0 )
+   sqlite? ( dev-db/sqlite:3 )
+   thunar? ( xfce-base/thunar )
+   zlib? ( sys-libs/zlib )
+"
+DEPEND="
+   ${RDEPEND}
+   media-libs/libmediainfo
+   media-libs/libraw
+   dev-qt/qtcore:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5
+   dev-qt/qtx11extras:5
+"
+BDEPEND="
+   dev-lang/swig
+   dev-qt/linguist-tools
+"
+
+DOCS=( CREDITS.md README.md )
+
+CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin"
+
+src_prepare() {
+   if [[ ${PV} !=  ]]; then
+   rmdir src/MEGASync/mega
+   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   fi
+   if use dolphin; then
+   # use the kde5 CMakeLists instead of the kde 4 version
+   mv src/MEGAShellExtDolphin/CMakeLists_kde5.txt 
src/MEGAShellExtDolphin/CMakeLists.txt || die
+   cmake_src_prepare
+   else
+   default
+   fi
+   cd src/MEGASync/mega
+   eautoreconf
+}
+
+src_configure() {
+   cd src/MEGASync/mega
+   econf \
+   "--disable-silent-rules" \
+  

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2021-05-24 Thread Haelwenn Monnier
commit: 41520970849558a3e4be96879583335b6bb9f9f3
Author: Samuel Bernardo  gmail  com>
AuthorDate: Mon May 24 19:54:43 2021 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Mon May 24 19:54:43 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=41520970

net-misc/megasync: update sdk hash for 4.5.0.0

Update hash of megasync-sdk-4.5.0.0.tar.gz since it is referenced to a
new commit.

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Samuel Bernardo  gmail.com>

 net-misc/megasync/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 099a944ed..84ee83762 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,4 +1,4 @@
 DIST megasync-4.3.8.0.tar.gz 16019709 BLAKE2B 
493ac0df0e8ca5c6617e493b5b3d81e45cedf2212a83ec9f5f6c07eee6fdf1d749b3735e10082b89f376f261ebfb825a3a7c457b8aa3be64702cddca34558558
 SHA512 
597b1d4a5a806514449b55e8bf81688b3c6d275372ebb56a45841b2f4c7caf8d9db363cf627fa0b6b84f4c662dc8cf87179b4478cd50b7b7efa1e23a9dca3389
 DIST megasync-4.5.0.0.tar.gz 16162074 BLAKE2B 
9ad09b61614992fc48572c168bb3b9692145289b945c01e371babe78a3b75bcc20a842f524279f6db35f8d93c914e9ba68ee5d187614b5041638813cb304531e
 SHA512 
f0c78d741be4a9ee9411be63667ea76cca3ff50ab70a81c904011e1ce1c6f0287ab5c90fc2b1a7a7c040b2d568819f91ecd10f8d570b22231df7b99166eacb11
 DIST megasync-sdk-4.3.8.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e
-DIST megasync-sdk-4.5.0.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e
+DIST megasync-sdk-4.5.0.0.tar.gz 3497367 BLAKE2B 
1594d792f38df4df29acd25ea5c920acf27410513544abc618a692e3ed2e6e1a459123b043a9aa3bfdc4647d753d6c14cc5ee1bde02abd6c0f6d7ce66b118821
 SHA512 
177b9e31f2aacfa370132657bb70ec315edcfbcfe043f067f4c67b69a47ade7235699183541de2462d2ab2a18b4688006cd938ae80da603df9bd79d908b58140



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2020-12-11 Thread Andrew Ammerlaan
commit: 17b1a1064a770fde8b4f8a8b9a9e9d57312268d1
Author: Theo Anderson  posteo  de>
AuthorDate: Thu Dec 10 23:03:23 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Dec 10 23:03:23 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=17b1a106

net-misc/megasync: fix 

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson  posteo.de>

 net-misc/megasync/megasync-4.3.7.ebuild | 11 ++-
 net-misc/megasync/megasync-.ebuild  |  9 +
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/net-misc/megasync/megasync-4.3.7.ebuild 
b/net-misc/megasync/megasync-4.3.7.ebuild
index 390ce338..61ef362c 100644
--- a/net-misc/megasync/megasync-4.3.7.ebuild
+++ b/net-misc/megasync/megasync-4.3.7.ebuild
@@ -3,9 +3,7 @@
 
 EAPI=7
 
-inherit autotools cmake desktop qmake-utils
-
-MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
+inherit autotools desktop qmake-utils xdg cmake
 
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
 HOMEPAGE="http://mega.co.nz";
@@ -14,6 +12,7 @@ if [[ ${PV} ==  ]];then
inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
 else
+   MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
SRC_URI="

https://github.com/meganz/MEGAsync/archive/v${PV}.0_Linux.tar.gz -> ${P}.tar.gz
https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
@@ -71,8 +70,10 @@ BDEPEND="
 DOCS=( CREDITS.md README.md )
 
 src_prepare() {
-   rmdir src/MEGASync/mega
-   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   if [[ ${PV} !=  ]]; then
+   rmdir src/MEGASync/mega
+   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   fi
default
cd src/MEGASync/mega
eautoreconf

diff --git a/net-misc/megasync/megasync-.ebuild 
b/net-misc/megasync/megasync-.ebuild
index 5a8311e0..61ef362c 100644
--- a/net-misc/megasync/megasync-.ebuild
+++ b/net-misc/megasync/megasync-.ebuild
@@ -5,8 +5,6 @@ EAPI=7
 
 inherit autotools desktop qmake-utils xdg cmake
 
-MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
-
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
 HOMEPAGE="http://mega.co.nz";
 
@@ -14,6 +12,7 @@ if [[ ${PV} ==  ]];then
inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
 else
+   MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
SRC_URI="

https://github.com/meganz/MEGAsync/archive/v${PV}.0_Linux.tar.gz -> ${P}.tar.gz
https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
@@ -71,8 +70,10 @@ BDEPEND="
 DOCS=( CREDITS.md README.md )
 
 src_prepare() {
-   rmdir src/MEGASync/mega
-   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   if [[ ${PV} !=  ]]; then
+   rmdir src/MEGASync/mega
+   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   fi
default
cd src/MEGASync/mega
eautoreconf



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2020-12-11 Thread Andrew Ammerlaan
commit: 4f8fa2320d6fb0b8b66c28f70d9080f258179f82
Author: Theo Anderson  posteo  de>
AuthorDate: Thu Dec 10 21:47:24 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Dec 10 21:59:58 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4f8fa232

net-misc/megasync: bump to 4.3.7; update live ebuild

- uses tag archives instead of the git repo
- removed multilib (was it even used?)
- libressl support
- general ebuild cleanup

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson  posteo.de>

 net-misc/megasync/Manifest |   2 +
 ...{megasync-.ebuild => megasync-4.3.7.ebuild} | 122 ++---
 net-misc/megasync/megasync-.ebuild | 122 ++---
 3 files changed, 118 insertions(+), 128 deletions(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
new file mode 100644
index ..2e3f9444
--- /dev/null
+++ b/net-misc/megasync/Manifest
@@ -0,0 +1,2 @@
+DIST megasync-4.3.7.tar.gz 16020207 BLAKE2B 
f38b40594c0cb1ed3e93715842f3c161e09ef66deb017d2e5fa03d9d0ac2863ba02b88d1fe779960c07664b19250fa29115a87d62d0934157370c1faa85345a5
 SHA512 
6852390e05da13effd059a5e0dc7fe400f3456668925fbed5e34bc5018b3664d72aebd78847dfdb4f6dda39fe615a79e5c0eb99e72a401fb833d4eba8216010c
+DIST megasync-sdk-4.3.7.tar.gz 3362032 BLAKE2B 
36ab643252d27475f34c7a5ee0e71a6470f2c830ea5c8331a094b79da5cd751699390c36e107cb0da06e6f46932e10e5fefbfc8eec3e8645ba84c365835088f3
 SHA512 
45dcc285c194cc347d9d562638658d2f0dd8099371e7408995cad68811e720905ad6f9810b24079c1112d16bfb87f7986cf3180520dc7edd611e703c251b182a

diff --git a/net-misc/megasync/megasync-.ebuild 
b/net-misc/megasync/megasync-4.3.7.ebuild
similarity index 60%
copy from net-misc/megasync/megasync-.ebuild
copy to net-misc/megasync/megasync-4.3.7.ebuild
index a1edfca1..390ce338 100644
--- a/net-misc/megasync/megasync-.ebuild
+++ b/net-misc/megasync/megasync-4.3.7.ebuild
@@ -3,27 +3,54 @@
 
 EAPI=7
 
-inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
+inherit autotools cmake desktop qmake-utils
+
+MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of 
src/MEGASync/mega submodule
 
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
 HOMEPAGE="http://mega.co.nz";
-RTAG="_Linux"
-if [[ ${PV} == ** ]];then
+
+if [[ ${PV} ==  ]];then
+   inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
-   KEYWORDS=""
-   EGIT_SUBMODULES=( '*' )
 else
-   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
-   EGIT_COMMIT="v${PV}.0${RTAG}"
-   EGIT_SUBMODULES=( '*' )
+   SRC_URI="
+   
https://github.com/meganz/MEGAsync/archive/v${PV}.0_Linux.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}.0_Linux
 fi
 
 LICENSE="MEGA"
 SLOT="0"
-IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads java php python gnome"
+IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java libressl 
nautilus php python readline threads thunar"
 
-CDEPEND="
+RDEPEND="
+   app-arch/xz-utils
+   dev-libs/libgcrypt
+   dev-libs/libsodium
+   dev-libs/libuv
+   media-libs/libpng
+   net-dns/c-ares
+   x11-themes/hicolor-icon-theme
+   cryptopp? ( dev-libs/crypto++ )
+   curl? (
+   !libressl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   libressl? ( net-misc/curl[ssl,curl_ssl_libressl] )
+   )
+   dolphin? ( kde-apps/dolphin )
+   freeimage? ( media-libs/freeimage )
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   readline? ( sys-libs/readline:0 )
+   sqlite? ( dev-db/sqlite:3 )
+   thunar? ( xfce-base/thunar )
+   zlib? ( sys-libs/zlib )
+"
+DEPEND="
+   ${RDEPEND}
media-libs/libmediainfo
media-libs/libraw
dev-qt/qtcore:5
@@ -35,57 +62,24 @@ CDEPEND="
dev-qt/qtimageformats:5
dev-qt/qtsvg:5
 "
-
-BDEPEND="${CDEPEND}
-   dev-lang/swig
+BDEPEND="
app-doc/doxygen
+   dev-lang/swig
dev-qt/linguist-tools
 "
 
-RDEPEND="${CDEPEND}
-   x11-themes/hicolor-icon-theme
-   dev-libs/openssl
-   dev-libs/libgcrypt
-   media-libs/libpng
-   net-dns/c-ares
-   cryptopp? ( dev-libs/crypto++ )
-   app-arch/xz-utils
-   dev-libs/libuv
-   sqlite? ( dev-db/sqlite:3 )
-   dev-libs/libsodium
-   zlib? ( sys-libs/zlib )
-   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
-   freeimage? ( media-libs/freeimage )
-   readline? ( sys-libs/readline:0 )
-   dolphin? ( kde-apps/dolphin )
-   nautilus? ( >=gnome-base/nautilus-3 )
-   thunar? ( xfce-ba

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2021-01-01 Thread Andrew Ammerlaan
commit: db62cbf2ce66e8c66cceb6a5b5eba8dda16dfd46
Author: Theo Anderson  posteo  de>
AuthorDate: Thu Dec 31 08:31:13 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Dec 31 08:31:13 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=db62cbf2

net-misc/megasync: bump to 4.3.8.0

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson  posteo.de>

 net-misc/megasync/Manifest|   2 +
 net-misc/megasync/megasync-4.3.8.0.ebuild | 133 ++
 2 files changed, 135 insertions(+)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 2e3f9444..996b96d0 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,2 +1,4 @@
 DIST megasync-4.3.7.tar.gz 16020207 BLAKE2B 
f38b40594c0cb1ed3e93715842f3c161e09ef66deb017d2e5fa03d9d0ac2863ba02b88d1fe779960c07664b19250fa29115a87d62d0934157370c1faa85345a5
 SHA512 
6852390e05da13effd059a5e0dc7fe400f3456668925fbed5e34bc5018b3664d72aebd78847dfdb4f6dda39fe615a79e5c0eb99e72a401fb833d4eba8216010c
+DIST megasync-4.3.8.0.tar.gz 16019709 BLAKE2B 
493ac0df0e8ca5c6617e493b5b3d81e45cedf2212a83ec9f5f6c07eee6fdf1d749b3735e10082b89f376f261ebfb825a3a7c457b8aa3be64702cddca34558558
 SHA512 
597b1d4a5a806514449b55e8bf81688b3c6d275372ebb56a45841b2f4c7caf8d9db363cf627fa0b6b84f4c662dc8cf87179b4478cd50b7b7efa1e23a9dca3389
 DIST megasync-sdk-4.3.7.tar.gz 3362032 BLAKE2B 
36ab643252d27475f34c7a5ee0e71a6470f2c830ea5c8331a094b79da5cd751699390c36e107cb0da06e6f46932e10e5fefbfc8eec3e8645ba84c365835088f3
 SHA512 
45dcc285c194cc347d9d562638658d2f0dd8099371e7408995cad68811e720905ad6f9810b24079c1112d16bfb87f7986cf3180520dc7edd611e703c251b182a
+DIST megasync-sdk-4.3.8.0.tar.gz 3363057 BLAKE2B 
fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b
 SHA512 
e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e1f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e

diff --git a/net-misc/megasync/megasync-4.3.8.0.ebuild 
b/net-misc/megasync/megasync-4.3.8.0.ebuild
new file mode 100644
index ..eb91b2e5
--- /dev/null
+++ b/net-misc/megasync/megasync-4.3.8.0.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools desktop qmake-utils xdg cmake
+
+DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
+HOMEPAGE="http://mega.co.nz";
+
+if [[ ${PV} ==  ]];then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+else
+   MEGA_SDK_REV="37b346c2e119559e40c08f43e1a8f54353e7ad59" # commit of 
src/MEGASync/mega submodule
+   SRC_URI="
+   https://github.com/meganz/MEGAsync/archive/v${PV}_Win.tar.gz -> 
${P}.tar.gz
+   https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
+   "
+   KEYWORDS="~amd64 ~x86"
+   # 4.3.8.0 has no dedicated linux tag
+   S="${WORKDIR}"/MEGAsync-${PV}_Win
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java libressl 
nautilus php python readline threads thunar"
+
+RDEPEND="
+   app-arch/xz-utils
+   dev-libs/libgcrypt
+   dev-libs/libsodium
+   dev-libs/libuv
+   media-libs/libpng
+   net-dns/c-ares
+   x11-themes/hicolor-icon-theme
+   cryptopp? ( dev-libs/crypto++ )
+   curl? (
+   !libressl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   libressl? ( net-misc/curl[ssl,curl_ssl_libressl] )
+   )
+   dolphin? ( kde-apps/dolphin )
+   freeimage? ( media-libs/freeimage )
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   readline? ( sys-libs/readline:0 )
+   sqlite? ( dev-db/sqlite:3 )
+   thunar? ( xfce-base/thunar )
+   zlib? ( sys-libs/zlib )
+"
+DEPEND="
+   ${RDEPEND}
+   media-libs/libmediainfo
+   media-libs/libraw
+   dev-qt/qtcore:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5
+"
+BDEPEND="
+   app-doc/doxygen
+   dev-lang/swig
+   dev-qt/linguist-tools
+"
+
+DOCS=( CREDITS.md README.md )
+
+src_prepare() {
+   if [[ ${PV} !=  ]]; then
+   rmdir src/MEGASync/mega
+   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+   fi
+   default
+   cd src/MEGASync/mega
+   eautoreconf
+}
+
+src_configure() {
+   cd src/MEGASync/mega
+   econf \
+   "--disable-silent-rules" \
+   "--disable-curl-checks" \
+   "--disable-megaapi" \
+   $(use_with zlib) \
+   $(use_with sqlite) \
+   $(use_with c

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2020-11-08 Thread Andrew Ammerlaan
commit: 3bedd6fe12c78b02faa3041c5aab6f72e725c625
Author: Samuel Bernardo  gmail  com>
AuthorDate: Sat Nov  7 10:42:16 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat Nov  7 10:42:16 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3bedd6fe

net-misc/megasync: add version 4.3.3

Correct previous push and add repoman verified megasync ebuild.

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Samuel Bernardo  gmail.com>

 net-misc/megasync/megasync-4.3.3.ebuild | 78 +
 net-misc/megasync/metadata.xml  |  7 +++
 2 files changed, 38 insertions(+), 47 deletions(-)

diff --git a/net-misc/megasync/megasync-4.3.3.ebuild 
b/net-misc/megasync/megasync-4.3.3.ebuild
index 91734a74..aa7d2f2d 100644
--- a/net-misc/megasync/megasync-4.3.3.ebuild
+++ b/net-misc/megasync/megasync-4.3.3.ebuild
@@ -22,51 +22,41 @@ fi
 
 LICENSE="MEGA"
 SLOT="0"
-IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads qt5 java php python gnome"
+IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads java php python gnome"
 
 DEPEND="
dev-lang/swig
app-doc/doxygen
media-libs/libmediainfo
media-libs/libraw
-   !qt5? ( 
-   dev-qt/qtcore:4
-   dev-qt/qtgui:4
-   dev-qt/qtdbus:4
-   dev-libs/sni-qt
-   dev-qt/qtimageformats:5
-   dev-qt/qtsvg:5
-   )
-   qt5? ( 
-   dev-qt/qtcore:5
-   dev-qt/linguist-tools
-   dev-qt/qtwidgets:5
-   dev-qt/qtgui:5
-   dev-qt/qtconcurrent:5
-   dev-qt/qtnetwork:5
-   dev-qt/qtdbus:5
-   dev-qt/qtimageformats:5
-   dev-qt/qtsvg:5
-   )"
+   dev-qt/qtcore:5
+   dev-qt/linguist-tools
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5"
 RDEPEND="${DEPEND}
-   x11-themes/hicolor-icon-theme
-   dev-libs/openssl
-   dev-libs/libgcrypt
-   media-libs/libpng
-   net-dns/c-ares
-   cryptopp? ( dev-libs/crypto++ )
-   app-arch/xz-utils
-   dev-libs/libuv
-   sqlite? ( dev-db/sqlite:3 )
-   dev-libs/libsodium
-   zlib? ( sys-libs/zlib )
-   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
-   freeimage? ( media-libs/freeimage )
-   readline? ( sys-libs/readline:0 )
-   dolphin? ( kde-apps/dolphin )
-   nautilus? ( >=gnome-base/nautilus-3 )
-   thunar? ( xfce-base/thunar )
-   "
+   x11-themes/hicolor-icon-theme
+   dev-libs/openssl
+   dev-libs/libgcrypt
+   media-libs/libpng
+   net-dns/c-ares
+   cryptopp? ( dev-libs/crypto++ )
+   app-arch/xz-utils
+   dev-libs/libuv
+   sqlite? ( dev-db/sqlite:3 )
+   dev-libs/libsodium
+   zlib? ( sys-libs/zlib )
+   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   freeimage? ( media-libs/freeimage )
+   readline? ( sys-libs/readline:0 )
+   dolphin? ( kde-apps/dolphin )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   thunar? ( xfce-base/thunar )
+   "
 
 PATCHES=( )
 
@@ -116,15 +106,9 @@ src_configure(){
MEGA.pro
CONFIG+="release"
)
-   if use qt5; then
-   eqmake5 ${myeqmakeargs[@]}
-   use dolphin && cmake-utils_src_configure
-   $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
-   else
-   eqmake4 ${myeqmakeargs[@]}
-   use dolphin && cmake-utils_src_configure
-   $(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro
-   fi
+   eqmake5 ${myeqmakeargs[@]}
+   use dolphin && cmake-utils_src_configure
+   $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
 }
 
 src_compile(){

diff --git a/net-misc/megasync/metadata.xml b/net-misc/megasync/metadata.xml
index a9aac563..dbb25160 100644
--- a/net-misc/megasync/metadata.xml
+++ b/net-misc/megasync/metadata.xml
@@ -6,4 +6,11 @@
Samuel Bernardo
megasync client from mega.nz

+   
+   Upload your files to your Mega account 
from Dolphin file manager.
+   Upload your files to your Mega account 
from nautilus.
+   Upload your files to your Mega account from 
Thunar.
+   Compile with Crypto++ Library.
+   Use freeimage to manage graphic images 
format.
+   
 



[gentoo-commits] repo/proj/guru:master commit in: /, net-misc/megasync/

2020-11-08 Thread Andrew Ammerlaan
commit: 09f7ca3c417d4f6f6dcc80b8b22546c6c64d0a66
Author: Samuel Bernardo  gmail  com>
AuthorDate: Sat Nov  7 09:29:47 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat Nov  7 09:32:29 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=09f7ca3c

megasync client

Signed-off-by: Samuel Bernardo  gmail.com>

 megasync-4.3.3.ebuild   | 150 
 megasync-.ebuild| 142 ++
 net-misc/megasync/megasync-4.3.3.ebuild | 150 
 net-misc/megasync/megasync-.ebuild  |   1 +
 net-misc/megasync/metadata.xml  |   9 ++
 5 files changed, 452 insertions(+)

diff --git a/megasync-4.3.3.ebuild b/megasync-4.3.3.ebuild
new file mode 100644
index ..91734a74
--- /dev/null
+++ b/megasync-4.3.3.ebuild
@@ -0,0 +1,150 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=7
+
+inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
+
+DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This 
is the official app."
+HOMEPAGE="http://mega.co.nz";
+RTAG="_Linux"
+if [[ ${PV} == ** ]];then
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   KEYWORDS=""
+   EGIT_SUBMODULES=( '*' )
+else
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   EGIT_COMMIT="v${PV}.0${RTAG}"
+   EGIT_SUBMODULES=( '*' )
+   KEYWORDS="~x86 ~amd64"
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads qt5 java php python gnome"
+
+DEPEND="
+   dev-lang/swig
+   app-doc/doxygen
+   media-libs/libmediainfo
+   media-libs/libraw
+   !qt5? ( 
+   dev-qt/qtcore:4
+   dev-qt/qtgui:4
+   dev-qt/qtdbus:4
+   dev-libs/sni-qt
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5
+   )
+   qt5? ( 
+   dev-qt/qtcore:5
+   dev-qt/linguist-tools
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5
+   )"
+RDEPEND="${DEPEND}
+   x11-themes/hicolor-icon-theme
+   dev-libs/openssl
+   dev-libs/libgcrypt
+   media-libs/libpng
+   net-dns/c-ares
+   cryptopp? ( dev-libs/crypto++ )
+   app-arch/xz-utils
+   dev-libs/libuv
+   sqlite? ( dev-db/sqlite:3 )
+   dev-libs/libsodium
+   zlib? ( sys-libs/zlib )
+   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   freeimage? ( media-libs/freeimage )
+   readline? ( sys-libs/readline:0 )
+   dolphin? ( kde-apps/dolphin )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   thunar? ( xfce-base/thunar )
+   "
+
+PATCHES=( )
+
+if [[ ${PV} != ** ]];then
+   src_prepare(){
+   if [ -e "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch" ]; then
+   EPATCH_OPTS="-p0" epatch 
"${FILESDIR}/MEGAsync-${PV}.0_Linux.patch"
+   fi
+   if [ ! -z ${PATCHES} ]; then
+   epatch ${PATCHES}
+   fi
+   if use gnome; then
+   if [ -e "${FILESDIR}${P}-gnome.patch" ]; then
+   epatch "${FILESDIR}/${P}-gnome.patch"
+   fi
+   fi
+   eapply_user
+   cd src/MEGASync/mega
+   eautoreconf
+   }
+fi
+
+src_configure(){
+   cd "${S}"/src/MEGASync/mega
+   econf \
+   "--disable-silent-rules" \
+   "--disable-curl-checks" \
+   "--disable-megaapi" \
+   $(use_with zlib) \
+   $(use_with sqlite) \
+   $(use_with cryptopp) \
+   "--with-cares" \
+   $(use_with curl) \
+   "--without-termcap" \
+   $(use_enable threads posix-threads) \
+   "--with-sodium" \
+   $(use_with freeimage) \
+   $(use_with readline) \
+   $(use_enable examples) \
+   $(use_enable java) \
+   $(use_enable php) \
+   $(use_enable python) \
+   "--enable-chat" \
+   "--enable-gcc-hardening" 
+   cd ../..
+   local myeqmakeargs=(
+   MEGA.pro
+   CONFIG+="release"
+   )
+   if use qt5; then
+   eqmake5 ${myeqmakeargs[@]}
+   use dolphin && cmake-utils_src_configure
+   $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
+   else

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2020-11-08 Thread Andrew Ammerlaan
commit: a5a96c375906ca3ab4cdfee37fc3190baf91248b
Author: Samuel Bernardo  gmail  com>
AuthorDate: Sat Nov  7 11:09:31 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat Nov  7 11:09:31 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a5a96c37

net-misc/megasync: update to 4.3.5

Update to latest version

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Samuel Bernardo  gmail.com>

 net-misc/megasync/megasync-4.3.5.ebuild | 134 
 1 file changed, 134 insertions(+)

diff --git a/net-misc/megasync/megasync-4.3.5.ebuild 
b/net-misc/megasync/megasync-4.3.5.ebuild
new file mode 100644
index ..aa7d2f2d
--- /dev/null
+++ b/net-misc/megasync/megasync-4.3.5.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=7
+
+inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
+
+DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This 
is the official app."
+HOMEPAGE="http://mega.co.nz";
+RTAG="_Linux"
+if [[ ${PV} == ** ]];then
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   KEYWORDS=""
+   EGIT_SUBMODULES=( '*' )
+else
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   EGIT_COMMIT="v${PV}.0${RTAG}"
+   EGIT_SUBMODULES=( '*' )
+   KEYWORDS="~x86 ~amd64"
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline 
examples threads java php python gnome"
+
+DEPEND="
+   dev-lang/swig
+   app-doc/doxygen
+   media-libs/libmediainfo
+   media-libs/libraw
+   dev-qt/qtcore:5
+   dev-qt/linguist-tools
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5"
+RDEPEND="${DEPEND}
+   x11-themes/hicolor-icon-theme
+   dev-libs/openssl
+   dev-libs/libgcrypt
+   media-libs/libpng
+   net-dns/c-ares
+   cryptopp? ( dev-libs/crypto++ )
+   app-arch/xz-utils
+   dev-libs/libuv
+   sqlite? ( dev-db/sqlite:3 )
+   dev-libs/libsodium
+   zlib? ( sys-libs/zlib )
+   curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+   freeimage? ( media-libs/freeimage )
+   readline? ( sys-libs/readline:0 )
+   dolphin? ( kde-apps/dolphin )
+   nautilus? ( >=gnome-base/nautilus-3 )
+   thunar? ( xfce-base/thunar )
+   "
+
+PATCHES=( )
+
+if [[ ${PV} != ** ]];then
+   src_prepare(){
+   if [ -e "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch" ]; then
+   EPATCH_OPTS="-p0" epatch 
"${FILESDIR}/MEGAsync-${PV}.0_Linux.patch"
+   fi
+   if [ ! -z ${PATCHES} ]; then
+   epatch ${PATCHES}
+   fi
+   if use gnome; then
+   if [ -e "${FILESDIR}${P}-gnome.patch" ]; then
+   epatch "${FILESDIR}/${P}-gnome.patch"
+   fi
+   fi
+   eapply_user
+   cd src/MEGASync/mega
+   eautoreconf
+   }
+fi
+
+src_configure(){
+   cd "${S}"/src/MEGASync/mega
+   econf \
+   "--disable-silent-rules" \
+   "--disable-curl-checks" \
+   "--disable-megaapi" \
+   $(use_with zlib) \
+   $(use_with sqlite) \
+   $(use_with cryptopp) \
+   "--with-cares" \
+   $(use_with curl) \
+   "--without-termcap" \
+   $(use_enable threads posix-threads) \
+   "--with-sodium" \
+   $(use_with freeimage) \
+   $(use_with readline) \
+   $(use_enable examples) \
+   $(use_enable java) \
+   $(use_enable php) \
+   $(use_enable python) \
+   "--enable-chat" \
+   "--enable-gcc-hardening" 
+   cd ../..
+   local myeqmakeargs=(
+   MEGA.pro
+   CONFIG+="release"
+   )
+   eqmake5 ${myeqmakeargs[@]}
+   use dolphin && cmake-utils_src_configure
+   $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
+}
+
+src_compile(){
+   emake -C src INSTALL_ROOT="${D}" || die
+   use dolphin && cmake-utils_src_compile
+}
+
+src_install(){
+   use dolphin && cmake-utils_src_install
+   local DOCS=( CREDITS.md README.md )
+   einstalldocs
+   insinto usr/share/licenses/${PN}
+   doins LICENCE.md installer/terms.txt
+   cd src/MEGASync
+   dobin ${PN}
+   cd platform/linux/data
+   insinto usr/share/applications
+   doins ${PN}.desktop
+   cd icons/hicolor
+   for size in 16x16 32x32 48x48 128x128 256x256;do
+   doicon -s $size $size/apps/mega.png
+   done
+}



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2024-08-20 Thread David Roman
commit: b3930fd0261a7ba0bb6756bdafc793d24618230c
Author: Takuya Wakazono  gmail  com>
AuthorDate: Tue Aug 20 13:15:49 2024 +
Commit: David Roman  gmail  com>
CommitDate: Tue Aug 20 15:02:21 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b3930fd0

net-misc/megasync: drop 5.4.0.0

Signed-off-by: Takuya Wakazono  gmail.com>

 net-misc/megasync/Manifest|   2 -
 net-misc/megasync/megasync-5.4.0.0.ebuild | 176 --
 2 files changed, 178 deletions(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 4ed04a019..83dd07b40 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,4 +1,2 @@
-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.0.0.ebuild 
b/net-misc/megasync/megasync-5.4.0.0.ebuild
deleted file mode 100644
index 01f7ff31d..0
--- a/net-misc/megasync/megasync-5.4.0.0.ebuild
+++ /dev/null
@@ -1,176 +0,0 @@
-# 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} ==  ]];then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
-   EGIT_BRANCH="master"
-   EGIT_SUBMODULES=( '*' )
-else
-   MEGA_SDK_REV="8ffa53c73b8295415f965139daf78cecbac70482" # 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"

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2024-08-20 Thread David Roman
commit: 97583a71f5611a9a3d502fc778d0e3f395c8677a
Author: Takuya Wakazono  gmail  com>
AuthorDate: Tue Aug 20 13:15:42 2024 +
Commit: David Roman  gmail  com>
CommitDate: Tue Aug 20 15:02:21 2024 +
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  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 0..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} ==  ]];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"
+
+d

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2024-07-27 Thread David Roman
commit: d9e9474617f2bbd4abbdb599a1a16c9e5dd0940c
Author: Takuya Wakazono  gmail  com>
AuthorDate: Sat Jul 27 04:48:28 2024 +
Commit: David Roman  gmail  com>
CommitDate: Sat Jul 27 04:48:48 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d9e94746

net-misc/megasync: drop 5.3.0.0-r1

Signed-off-by: Takuya Wakazono  gmail.com>

 net-misc/megasync/Manifest   |   2 -
 net-misc/megasync/megasync-5.3.0.0-r1.ebuild | 176 ---
 2 files changed, 178 deletions(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index d65fb57cf..e2f4fca5a 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,4 +1,2 @@
-DIST megasync-5.3.0.0.tar.gz 24307650 BLAKE2B 
4b4253f40abea54856d869ba5094d18dd7239f3c7a9d25611e1a053d370e943f29f3cbb4a672b559b1908600f6eafea586ec65e8a24cceb44a592337ff5e0f8a
 SHA512 
61a4e0bf351816113bca23328dfe1872a031f6457368127dd1ec55f5147d22059e3cbb8998497398dbf706050eb228e09b41ed6300262a89c3abf71e1152f0e7
 DIST megasync-5.4.0.0.tar.gz 24716654 BLAKE2B 
06b2bfbdf6f0bda00bd53ae062c99352a71fa5f50fa88c75b9a2dcafb9b1f5d6b47be48bee2f052945e9a80f144024d8c1519698f5a951f140fa9170bfbbae27
 SHA512 
1e323fe637f6e32e893d3e22f512c3fbc1aca17eb5c85df24ef75d7492de9386fc18f20baa5fa7d28a83e763835e531da486c89c74e9223aa0e9216b9e343459
-DIST megasync-sdk-5.3.0.0.tar.gz 4146154 BLAKE2B 
7b73f4475958f0d2ad341638f0f5c7ab1c9570f38ecceb7393268b4307cd4052a6ba5b358fabf3138ba7ad6e503c18c4314204d2a4c8c2d19846e4093889b24e
 SHA512 
8b301cf8654112893bb79e3ce8f9f2c7ee27bafcc68df6f4bceb88bb54a2f5168cedf34bd262dfeb0ef0c67b46c9420259d7f0f13bc067f9ae7799cc09d28abc
 DIST megasync-sdk-5.4.0.0.tar.gz 4158786 BLAKE2B 
bfaa09a358ba692477c8ba85fd86e9d919bb267b54390c02e2aa593d52ea6dd245721a854855576f72561500d6c8a763c4dbef9935e6defc38dede12b7fcd40f
 SHA512 
78a7d478f1586c6dfa4b7f954e7cd00272b484996c4296fe18ea965198cfa6a342e9084a898a69b036e1e96b72aab28ac731e9397474713375f63e8dd9170e1d

diff --git a/net-misc/megasync/megasync-5.3.0.0-r1.ebuild 
b/net-misc/megasync/megasync-5.3.0.0-r1.ebuild
deleted file mode 100644
index 8b25de399..0
--- a/net-misc/megasync/megasync-5.3.0.0-r1.ebuild
+++ /dev/null
@@ -1,176 +0,0 @@
-# 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} ==  ]];then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
-   EGIT_BRANCH="master"
-   EGIT_SUBMODULES=( '*' )
-else
-   MEGA_SDK_REV="eb8dba09149e1aad0210c3591f3ef6e50022f714" # 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=

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2024-07-27 Thread David Roman
commit: 93e169e5beb997307214e568e426e9bfe26278b3
Author: Takuya Wakazono  gmail  com>
AuthorDate: Sat Jul 27 04:48:18 2024 +
Commit: David Roman  gmail  com>
CommitDate: Sat Jul 27 04:48:48 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=93e169e5

net-misc/megasync: add 5.4.0.0

Signed-off-by: Takuya Wakazono  gmail.com>

 net-misc/megasync/Manifest|   2 +
 net-misc/megasync/megasync-5.4.0.0.ebuild | 176 ++
 2 files changed, 178 insertions(+)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 18f80eb0a..d65fb57cf 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,2 +1,4 @@
 DIST megasync-5.3.0.0.tar.gz 24307650 BLAKE2B 
4b4253f40abea54856d869ba5094d18dd7239f3c7a9d25611e1a053d370e943f29f3cbb4a672b559b1908600f6eafea586ec65e8a24cceb44a592337ff5e0f8a
 SHA512 
61a4e0bf351816113bca23328dfe1872a031f6457368127dd1ec55f5147d22059e3cbb8998497398dbf706050eb228e09b41ed6300262a89c3abf71e1152f0e7
+DIST megasync-5.4.0.0.tar.gz 24716654 BLAKE2B 
06b2bfbdf6f0bda00bd53ae062c99352a71fa5f50fa88c75b9a2dcafb9b1f5d6b47be48bee2f052945e9a80f144024d8c1519698f5a951f140fa9170bfbbae27
 SHA512 
1e323fe637f6e32e893d3e22f512c3fbc1aca17eb5c85df24ef75d7492de9386fc18f20baa5fa7d28a83e763835e531da486c89c74e9223aa0e9216b9e343459
 DIST megasync-sdk-5.3.0.0.tar.gz 4146154 BLAKE2B 
7b73f4475958f0d2ad341638f0f5c7ab1c9570f38ecceb7393268b4307cd4052a6ba5b358fabf3138ba7ad6e503c18c4314204d2a4c8c2d19846e4093889b24e
 SHA512 
8b301cf8654112893bb79e3ce8f9f2c7ee27bafcc68df6f4bceb88bb54a2f5168cedf34bd262dfeb0ef0c67b46c9420259d7f0f13bc067f9ae7799cc09d28abc
+DIST megasync-sdk-5.4.0.0.tar.gz 4158786 BLAKE2B 
bfaa09a358ba692477c8ba85fd86e9d919bb267b54390c02e2aa593d52ea6dd245721a854855576f72561500d6c8a763c4dbef9935e6defc38dede12b7fcd40f
 SHA512 
78a7d478f1586c6dfa4b7f954e7cd00272b484996c4296fe18ea965198cfa6a342e9084a898a69b036e1e96b72aab28ac731e9397474713375f63e8dd9170e1d

diff --git a/net-misc/megasync/megasync-5.4.0.0.ebuild 
b/net-misc/megasync/megasync-5.4.0.0.ebuild
new file mode 100644
index 0..01f7ff31d
--- /dev/null
+++ b/net-misc/megasync/megasync-5.4.0.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} ==  ]];then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   EGIT_BRANCH="master"
+   EGIT_SUBMODULES=( '*' )
+else
+   MEGA_SDK_REV="8ffa53c73b8295415f965139daf78cecbac70482" # 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"
+
+d

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2024-07-13 Thread David Roman
commit: ebc9f264aaac18628b03185b566f77ccaef119dc
Author: Takuya Wakazono  gmail  com>
AuthorDate: Fri Jul 12 17:34:58 2024 +
Commit: David Roman  gmail  com>
CommitDate: Fri Jul 12 17:55:55 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ebc9f264

net-misc/megasync: drop 5.2.1.0-r1

Signed-off-by: Takuya Wakazono  gmail.com>

 net-misc/megasync/Manifest   |   2 -
 net-misc/megasync/megasync-5.2.1.0-r1.ebuild | 137 ---
 2 files changed, 139 deletions(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 432a384e0..18f80eb0a 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,4 +1,2 @@
-DIST megasync-5.2.1.0.tar.gz 23819376 BLAKE2B 
249471d14f146b0bbe4c97690c1832d63f06005b2dcc6f334a9fe2a33672d0b1bce3b738270d28a1674804320f53b25e3533548ed4a6f1af01ce91e24d138e32
 SHA512 
f667e73a8e6527cb79608584d486aeb9a8ebde4b6f3bc10f560030ee725575622c561fe75a217e8d9d97ddf204fd94ce258cc2b70a200baead7a5e44ab285aa8
 DIST megasync-5.3.0.0.tar.gz 24307650 BLAKE2B 
4b4253f40abea54856d869ba5094d18dd7239f3c7a9d25611e1a053d370e943f29f3cbb4a672b559b1908600f6eafea586ec65e8a24cceb44a592337ff5e0f8a
 SHA512 
61a4e0bf351816113bca23328dfe1872a031f6457368127dd1ec55f5147d22059e3cbb8998497398dbf706050eb228e09b41ed6300262a89c3abf71e1152f0e7
-DIST megasync-sdk-5.2.1.0.tar.gz 3809248 BLAKE2B 
acf9be7b3d0faf843e394b717cb75ee703aadfdf2b79a6ea06eccb49d6d179ef8b2f3d430edce4bc37e6e53a45f1eab3865c433d015cf8d8412d6b037edbd81a
 SHA512 
2c65c53050dcd7757a1015200d4e25ca260e833105e577c6506d36efa280c5e5e511e8b5ea029a6efac09f36ffd6bfdb49b71417d32457d42397de83240451ec
 DIST megasync-sdk-5.3.0.0.tar.gz 4146154 BLAKE2B 
7b73f4475958f0d2ad341638f0f5c7ab1c9570f38ecceb7393268b4307cd4052a6ba5b358fabf3138ba7ad6e503c18c4314204d2a4c8c2d19846e4093889b24e
 SHA512 
8b301cf8654112893bb79e3ce8f9f2c7ee27bafcc68df6f4bceb88bb54a2f5168cedf34bd262dfeb0ef0c67b46c9420259d7f0f13bc067f9ae7799cc09d28abc

diff --git a/net-misc/megasync/megasync-5.2.1.0-r1.ebuild 
b/net-misc/megasync/megasync-5.2.1.0-r1.ebuild
deleted file mode 100644
index f9b4f301f..0
--- a/net-misc/megasync/megasync-5.2.1.0-r1.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# 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} ==  ]];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
-   media-libs/libzen
-   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} !=  ]]; 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 \
-

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2024-01-29 Thread David Roman
commit: 2610935c733ce060145232acd3f9cce0808d6992
Author: Takuya Wakazono  gmail  com>
AuthorDate: Mon Jan 29 09:38:50 2024 +
Commit: David Roman  gmail  com>
CommitDate: Mon Jan 29 09:40:55 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2610935c

net-misc/megasync: add 4.12.2.0

Signed-off-by: Takuya Wakazono  gmail.com>

 net-misc/megasync/Manifest |   2 +
 net-misc/megasync/megasync-4.12.2.0.ebuild | 135 +
 2 files changed, 137 insertions(+)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 66528c..68503f8b29 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,2 +1,4 @@
 DIST megasync-4.12.0.0.tar.gz 25266988 BLAKE2B 
0c126feb273d6d11e05a3ec3a5e7925f27bfd86e2ef23306fce4c9b2564b178dc5918b7bef9dcea33a8a5d0462e9c1e8d771c299de6e0f8ed5d4bed616ed58f9
 SHA512 
fd3ea7b624e66e3d4576c436d983a027e711783d41c585eedf540ba6bbf25ab9128ab4a3c0d2e6806705d54cea5e470d7339d49cc72a635385861f9efd64faf9
+DIST megasync-4.12.2.0.tar.gz 25267623 BLAKE2B 
e1a7e6f7e3509f8a8cdb402f228ffaf1809a16c134428ff3d0de59684b3440882ae9c0f5e4be38325044305589c988bbb83953cf6c06408b7d319dee9712cc5b
 SHA512 
c99e29e1999eb257bec8d97dea92094c3c429e8b12380ac9097abe5092a8005ad67e09b9d893a69c2bccc061705ffb78ceeedbf5a7923849f4b2cff9e2f98333
 DIST megasync-sdk-4.12.0.0.tar.gz 3580874 BLAKE2B 
7fe63ccd998ac0fe4f6d31d4fb38041d01180044b6a36658da28b0793c2c0c9a95984a937ffa74b11449818ca63a55d7d1faef65e69ea29309d42c4d7646b2c3
 SHA512 
e97d5901e5445bd677b2d7c50d684dbd6975efcba43ed6618b76d9452b33f5c42eaa8279e920987cf5af63da6ad951589e644bf01814b69739e4260c651aa68b
+DIST megasync-sdk-4.12.2.0.tar.gz 3580874 BLAKE2B 
7fe63ccd998ac0fe4f6d31d4fb38041d01180044b6a36658da28b0793c2c0c9a95984a937ffa74b11449818ca63a55d7d1faef65e69ea29309d42c4d7646b2c3
 SHA512 
e97d5901e5445bd677b2d7c50d684dbd6975efcba43ed6618b76d9452b33f5c42eaa8279e920987cf5af63da6ad951589e644bf01814b69739e4260c651aa68b

diff --git a/net-misc/megasync/megasync-4.12.2.0.ebuild 
b/net-misc/megasync/megasync-4.12.2.0.ebuild
new file mode 100644
index 00..78d77b1684
--- /dev/null
+++ b/net-misc/megasync/megasync-4.12.2.0.ebuild
@@ -0,0 +1,135 @@
+# 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} ==  ]];then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   EGIT_BRANCH="master"
+   EGIT_SUBMODULES=( '*' )
+else
+   MEGA_SDK_REV="2e9307d114c379967f415211d466262162e074d4" # commit of 
src/MEGASync/mega submodule
+   MEGA_TAG_SUFFIX="Win"
+   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 threads thunar"
+
+DEPEND="
+   dev-db/sqlite:3
+   dev-libs/crypto++:=
+   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
+   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} !=  ]]; 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" \

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2024-01-29 Thread David Roman
commit: a1b469f9ba91fda145d0e61d067c8e617055656c
Author: Takuya Wakazono  gmail  com>
AuthorDate: Mon Jan 29 09:39:03 2024 +
Commit: David Roman  gmail  com>
CommitDate: Mon Jan 29 09:40:55 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a1b469f9

net-misc/megasync: drop 4.12.0.0

Signed-off-by: Takuya Wakazono  gmail.com>

 net-misc/megasync/Manifest |   2 -
 net-misc/megasync/megasync-4.12.0.0.ebuild | 135 -
 2 files changed, 137 deletions(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 68503f8b29..608392b6f7 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,4 +1,2 @@
-DIST megasync-4.12.0.0.tar.gz 25266988 BLAKE2B 
0c126feb273d6d11e05a3ec3a5e7925f27bfd86e2ef23306fce4c9b2564b178dc5918b7bef9dcea33a8a5d0462e9c1e8d771c299de6e0f8ed5d4bed616ed58f9
 SHA512 
fd3ea7b624e66e3d4576c436d983a027e711783d41c585eedf540ba6bbf25ab9128ab4a3c0d2e6806705d54cea5e470d7339d49cc72a635385861f9efd64faf9
 DIST megasync-4.12.2.0.tar.gz 25267623 BLAKE2B 
e1a7e6f7e3509f8a8cdb402f228ffaf1809a16c134428ff3d0de59684b3440882ae9c0f5e4be38325044305589c988bbb83953cf6c06408b7d319dee9712cc5b
 SHA512 
c99e29e1999eb257bec8d97dea92094c3c429e8b12380ac9097abe5092a8005ad67e09b9d893a69c2bccc061705ffb78ceeedbf5a7923849f4b2cff9e2f98333
-DIST megasync-sdk-4.12.0.0.tar.gz 3580874 BLAKE2B 
7fe63ccd998ac0fe4f6d31d4fb38041d01180044b6a36658da28b0793c2c0c9a95984a937ffa74b11449818ca63a55d7d1faef65e69ea29309d42c4d7646b2c3
 SHA512 
e97d5901e5445bd677b2d7c50d684dbd6975efcba43ed6618b76d9452b33f5c42eaa8279e920987cf5af63da6ad951589e644bf01814b69739e4260c651aa68b
 DIST megasync-sdk-4.12.2.0.tar.gz 3580874 BLAKE2B 
7fe63ccd998ac0fe4f6d31d4fb38041d01180044b6a36658da28b0793c2c0c9a95984a937ffa74b11449818ca63a55d7d1faef65e69ea29309d42c4d7646b2c3
 SHA512 
e97d5901e5445bd677b2d7c50d684dbd6975efcba43ed6618b76d9452b33f5c42eaa8279e920987cf5af63da6ad951589e644bf01814b69739e4260c651aa68b

diff --git a/net-misc/megasync/megasync-4.12.0.0.ebuild 
b/net-misc/megasync/megasync-4.12.0.0.ebuild
deleted file mode 100644
index 78d77b1684..00
--- a/net-misc/megasync/megasync-4.12.0.0.ebuild
+++ /dev/null
@@ -1,135 +0,0 @@
-# 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} ==  ]];then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
-   EGIT_BRANCH="master"
-   EGIT_SUBMODULES=( '*' )
-else
-   MEGA_SDK_REV="2e9307d114c379967f415211d466262162e074d4" # commit of 
src/MEGASync/mega submodule
-   MEGA_TAG_SUFFIX="Win"
-   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 threads thunar"
-
-DEPEND="
-   dev-db/sqlite:3
-   dev-libs/crypto++:=
-   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
-   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} !=  ]]; 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-example

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2024-01-26 Thread David Roman
commit: cd5a69edc3604a6348eb3c6eeb4ddeb447c7b5ab
Author: Takuya Wakazono  gmail  com>
AuthorDate: Fri Jan 26 08:15:45 2024 +
Commit: David Roman  gmail  com>
CommitDate: Fri Jan 26 08:15:45 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cd5a69ed

net-misc/megasync: add 4.12.0.0, sync live

Signed-off-by: Takuya Wakazono  gmail.com>

 net-misc/megasync/Manifest |  2 ++
 ...gasync-.ebuild => megasync-4.12.0.0.ebuild} | 41 +++---
 net-misc/megasync/megasync-.ebuild | 41 +++---
 3 files changed, 44 insertions(+), 40 deletions(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 701233efc4..bf22d45e39 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,2 +1,4 @@
 DIST megasync-4.11.0.0.tar.gz 20313571 BLAKE2B 
8c5c58912fef730bf3e4c56c5de0b2c6f4825be6c91ec19e6c5f5946a76efa5fd9f36f6afdee3d886b31a13c924dea81f7999d29fbab0bb0f1acefbe52c449f5
 SHA512 
ab43b83d05d56b8eb1bf66ed89801889cfb8d21d9bae86245607a1d7c36f7436fa8879f6fd94cb07c4a2e8567532b9e0919ec9e78e2ca85d8fca262b1479b482
+DIST megasync-4.12.0.0.tar.gz 25266988 BLAKE2B 
0c126feb273d6d11e05a3ec3a5e7925f27bfd86e2ef23306fce4c9b2564b178dc5918b7bef9dcea33a8a5d0462e9c1e8d771c299de6e0f8ed5d4bed616ed58f9
 SHA512 
fd3ea7b624e66e3d4576c436d983a027e711783d41c585eedf540ba6bbf25ab9128ab4a3c0d2e6806705d54cea5e470d7339d49cc72a635385861f9efd64faf9
 DIST megasync-sdk-4.11.0.0.tar.gz 3714994 BLAKE2B 
6d6d217d8acb7f191c88f18bc0b2ef9b6f743502a9916841177a93452c1818cffcb8275134cc2a32162693c59af829d42249497f2ed18b66e3c0f032f0ba6780
 SHA512 
471102d280d02b90f41c46f5700c0d71d88f74ccf7c605c717a66ad154c84c725ce231d11779fd480b2eb81b073da0bbea00dbc149918e6519fe89694b185ef4
+DIST megasync-sdk-4.12.0.0.tar.gz 3580874 BLAKE2B 
7fe63ccd998ac0fe4f6d31d4fb38041d01180044b6a36658da28b0793c2c0c9a95984a937ffa74b11449818ca63a55d7d1faef65e69ea29309d42c4d7646b2c3
 SHA512 
e97d5901e5445bd677b2d7c50d684dbd6975efcba43ed6618b76d9452b33f5c42eaa8279e920987cf5af63da6ad951589e644bf01814b69739e4260c651aa68b

diff --git a/net-misc/megasync/megasync-.ebuild 
b/net-misc/megasync/megasync-4.12.0.0.ebuild
similarity index 79%
copy from net-misc/megasync/megasync-.ebuild
copy to net-misc/megasync/megasync-4.12.0.0.ebuild
index 0d4b8ab3f4..78d77b1684 100644
--- a/net-misc/megasync/megasync-.ebuild
+++ b/net-misc/megasync/megasync-4.12.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -17,7 +17,7 @@ if [[ ${PV} ==  ]];then
EGIT_BRANCH="master"
EGIT_SUBMODULES=( '*' )
 else
-   MEGA_SDK_REV="6d4c102940dab277974090cd4292e58f08ac6032" # commit of 
src/MEGASync/mega submodule
+   MEGA_SDK_REV="2e9307d114c379967f415211d466262162e074d4" # commit of 
src/MEGASync/mega submodule
MEGA_TAG_SUFFIX="Win"
SRC_URI="

https://github.com/meganz/MEGAsync/archive/v${PV}_${MEGA_TAG_SUFFIX}.tar.gz -> 
${P}.tar.gz
@@ -37,14 +37,15 @@ DEPEND="
dev-libs/libsodium:=
dev-libs/libuv:=
dev-libs/openssl:0=
+   dev-qt/qtconcurrent:5
dev-qt/qtcore:5
-   dev-qt/qtwidgets:5
+   dev-qt/qtdbus:5
+   dev-qt/qtdeclarative:5
dev-qt/qtgui:5
-   dev-qt/qtconcurrent:5
dev-qt/qtnetwork:5
-   dev-qt/qtdbus:5
dev-qt/qtimageformats:5
dev-qt/qtsvg:5
+   dev-qt/qtwidgets:5
dev-qt/qtx11extras:5
media-libs/libmediainfo
media-libs/libraw
@@ -69,18 +70,18 @@ BDEPEND="
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} !=  ]]; then
-   rmdir src/MEGASync/mega
-   mv "${WORKDIR}/sdk-${MEGA_SDK_REV}" src/MEGASync/mega
-   fi
-
-   if has_version ">=media-video/ffmpeg-6.0"; then
-   eapply "${FILESDIR}/${PN}-4.10.0.0_ffmpeg6.patch"
+   rmdir src/MEGASync/mega || die
+   mv "${WORKDIR}/sdk-${MEGA_SDK_REV}" src/MEGASync/mega || die
fi
-   eapply "${FILESDIR}/${PN}-4.10.0.0_fix-build.patch"
 
if use dolphin; then
cmake_src_prepare
@@ -88,20 +89,20 @@ src_prepare() {
default
fi
 
-   cd "${S}/src/MEGASync/mega"
+   cd "${S}/src/MEGASync/mega" || die
eautoreconf
 }
 
 src_configure() {
-   cd "${S}/src/MEGASync/mega"
+   cd "${S}/src/MEGASync/mega" || die
econf \
"--disable-curl-checks" \
"--disable-examples" \
$(use_enable threads posix-threads) \
$(use_with freeimage)
 
-   cd "${S}/src"
-   local myeqmakeargs=(
+   cd "${S}/src" || die
+  

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2024-01-26 Thread David Roman
commit: 7290793c03d2f9da35ff3c3bf8dc7b523c6b10ce
Author: Takuya Wakazono  gmail  com>
AuthorDate: Fri Jan 26 08:16:17 2024 +
Commit: David Roman  gmail  com>
CommitDate: Fri Jan 26 08:16:17 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7290793c

net-misc/megasync: drop 4.11.0.0

Signed-off-by: Takuya Wakazono  gmail.com>

 net-misc/megasync/Manifest |   2 -
 net-misc/megasync/megasync-4.11.0.0.ebuild | 134 -
 2 files changed, 136 deletions(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index bf22d45e39..66528c 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,4 +1,2 @@
-DIST megasync-4.11.0.0.tar.gz 20313571 BLAKE2B 
8c5c58912fef730bf3e4c56c5de0b2c6f4825be6c91ec19e6c5f5946a76efa5fd9f36f6afdee3d886b31a13c924dea81f7999d29fbab0bb0f1acefbe52c449f5
 SHA512 
ab43b83d05d56b8eb1bf66ed89801889cfb8d21d9bae86245607a1d7c36f7436fa8879f6fd94cb07c4a2e8567532b9e0919ec9e78e2ca85d8fca262b1479b482
 DIST megasync-4.12.0.0.tar.gz 25266988 BLAKE2B 
0c126feb273d6d11e05a3ec3a5e7925f27bfd86e2ef23306fce4c9b2564b178dc5918b7bef9dcea33a8a5d0462e9c1e8d771c299de6e0f8ed5d4bed616ed58f9
 SHA512 
fd3ea7b624e66e3d4576c436d983a027e711783d41c585eedf540ba6bbf25ab9128ab4a3c0d2e6806705d54cea5e470d7339d49cc72a635385861f9efd64faf9
-DIST megasync-sdk-4.11.0.0.tar.gz 3714994 BLAKE2B 
6d6d217d8acb7f191c88f18bc0b2ef9b6f743502a9916841177a93452c1818cffcb8275134cc2a32162693c59af829d42249497f2ed18b66e3c0f032f0ba6780
 SHA512 
471102d280d02b90f41c46f5700c0d71d88f74ccf7c605c717a66ad154c84c725ce231d11779fd480b2eb81b073da0bbea00dbc149918e6519fe89694b185ef4
 DIST megasync-sdk-4.12.0.0.tar.gz 3580874 BLAKE2B 
7fe63ccd998ac0fe4f6d31d4fb38041d01180044b6a36658da28b0793c2c0c9a95984a937ffa74b11449818ca63a55d7d1faef65e69ea29309d42c4d7646b2c3
 SHA512 
e97d5901e5445bd677b2d7c50d684dbd6975efcba43ed6618b76d9452b33f5c42eaa8279e920987cf5af63da6ad951589e644bf01814b69739e4260c651aa68b

diff --git a/net-misc/megasync/megasync-4.11.0.0.ebuild 
b/net-misc/megasync/megasync-4.11.0.0.ebuild
deleted file mode 100644
index 0d4b8ab3f4..00
--- a/net-misc/megasync/megasync-4.11.0.0.ebuild
+++ /dev/null
@@ -1,134 +0,0 @@
-# Copyright 2023 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} ==  ]];then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
-   EGIT_BRANCH="master"
-   EGIT_SUBMODULES=( '*' )
-else
-   MEGA_SDK_REV="6d4c102940dab277974090cd4292e58f08ac6032" # commit of 
src/MEGASync/mega submodule
-   MEGA_TAG_SUFFIX="Win"
-   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 threads thunar"
-
-DEPEND="
-   dev-db/sqlite:3
-   dev-libs/crypto++:=
-   dev-libs/libsodium:=
-   dev-libs/libuv:=
-   dev-libs/openssl:0=
-   dev-qt/qtcore:5
-   dev-qt/qtwidgets:5
-   dev-qt/qtgui:5
-   dev-qt/qtconcurrent:5
-   dev-qt/qtnetwork:5
-   dev-qt/qtdbus:5
-   dev-qt/qtimageformats:5
-   dev-qt/qtsvg: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
-   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 )
-"
-
-CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin"
-
-src_prepare() {
-   if [[ ${PV} !=  ]]; then
-   rmdir src/MEGASync/mega
-   mv "${WORKDIR}/sdk-${MEGA_SDK_REV}" src/MEGASync/mega
-   fi
-
-   if has_version ">=media-video/ffmpeg-6.0"; then
-   eapply "${FILESDIR}/${PN}-4.10.0.0_ffmpeg6.patch"
-   fi
-   eapply "${FILESDIR}/${PN}-4.10.0.0_fix-build.patch"
-
-   if use dolphin; then
-   cmake_src_prepare
-   else
-   default
-   fi
-
-   cd "${S}/src/MEGASync/mega"
-   eautoreconf
-}
-
-src_configure() {
-   cd "${S}/src/MEGASync/mega"
-   econf \
-   "--disable-curl-checks" \
-   "--disa

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2024-03-25 Thread Julien Roy
commit: fad52ae19c0abf09643e629352425cdcaf906443
Author: Takuya Wakazono  gmail  com>
AuthorDate: Mon Mar 25 13:11:29 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Mon Mar 25 13:15:11 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fad52ae1

net-misc/megasync: drop useless USE flags

It doesn't affect the actual build.

Signed-off-by: Takuya Wakazono  gmail.com>

 net-misc/megasync/megasync-5.2.0.0.ebuild | 3 +--
 net-misc/megasync/megasync-.ebuild| 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/net-misc/megasync/megasync-5.2.0.0.ebuild 
b/net-misc/megasync/megasync-5.2.0.0.ebuild
index c8a98542b6..5c874d29c7 100644
--- a/net-misc/megasync/megasync-5.2.0.0.ebuild
+++ b/net-misc/megasync/megasync-5.2.0.0.ebuild
@@ -29,7 +29,7 @@ fi
 
 LICENSE="MEGA"
 SLOT="0"
-IUSE="dolphin freeimage nautilus nemo threads thunar"
+IUSE="dolphin freeimage nautilus nemo thunar"
 
 DEPEND="
dev-db/sqlite:3
@@ -100,7 +100,6 @@ src_configure() {
econf \
"--disable-curl-checks" \
"--disable-examples" \
-   $(use_enable threads posix-threads) \
$(use_with freeimage)
 
cd "${S}/src" || die

diff --git a/net-misc/megasync/megasync-.ebuild 
b/net-misc/megasync/megasync-.ebuild
index c8a98542b6..5c874d29c7 100644
--- a/net-misc/megasync/megasync-.ebuild
+++ b/net-misc/megasync/megasync-.ebuild
@@ -29,7 +29,7 @@ fi
 
 LICENSE="MEGA"
 SLOT="0"
-IUSE="dolphin freeimage nautilus nemo threads thunar"
+IUSE="dolphin freeimage nautilus nemo thunar"
 
 DEPEND="
dev-db/sqlite:3
@@ -100,7 +100,6 @@ src_configure() {
econf \
"--disable-curl-checks" \
"--disable-examples" \
-   $(use_enable threads posix-threads) \
$(use_with freeimage)
 
cd "${S}/src" || die



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2024-03-19 Thread Julien Roy
commit: 66f83a98a5974bdb1f6545263c5c230f97bd5505
Author: Takuya Wakazono  gmail  com>
AuthorDate: Tue Mar 19 09:43:23 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Tue Mar 19 10:00:51 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=66f83a98

net-misc/megasync: drop 4.12.2.0

Signed-off-by: Takuya Wakazono  gmail.com>

 net-misc/megasync/Manifest |   2 -
 net-misc/megasync/megasync-4.12.2.0.ebuild | 135 -
 2 files changed, 137 deletions(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 929f0a39ed..7a20b659e1 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,4 +1,2 @@
-DIST megasync-4.12.2.0.tar.gz 25267623 BLAKE2B 
e1a7e6f7e3509f8a8cdb402f228ffaf1809a16c134428ff3d0de59684b3440882ae9c0f5e4be38325044305589c988bbb83953cf6c06408b7d319dee9712cc5b
 SHA512 
c99e29e1999eb257bec8d97dea92094c3c429e8b12380ac9097abe5092a8005ad67e09b9d893a69c2bccc061705ffb78ceeedbf5a7923849f4b2cff9e2f98333
 DIST megasync-5.2.0.0.tar.gz 23815622 BLAKE2B 
04c1ff1b6516ca72e3e17a59ab1ba3142f7ef130e479aee5595e010be1993651aa57e8d977d85ffa547a20ae2569c77d5b3907aba8122fb3d6ea686d7e1a5b4a
 SHA512 
c8dd39f7a432aca3956f929bcaf0e86881a819719f184c07a389ae568edee9b54a21e807f5517bcc42c18290d96f7fef875f0308d5411f1e36df60f245aa601b
-DIST megasync-sdk-4.12.2.0.tar.gz 3580874 BLAKE2B 
7fe63ccd998ac0fe4f6d31d4fb38041d01180044b6a36658da28b0793c2c0c9a95984a937ffa74b11449818ca63a55d7d1faef65e69ea29309d42c4d7646b2c3
 SHA512 
e97d5901e5445bd677b2d7c50d684dbd6975efcba43ed6618b76d9452b33f5c42eaa8279e920987cf5af63da6ad951589e644bf01814b69739e4260c651aa68b
 DIST megasync-sdk-5.2.0.0.tar.gz 3809248 BLAKE2B 
acf9be7b3d0faf843e394b717cb75ee703aadfdf2b79a6ea06eccb49d6d179ef8b2f3d430edce4bc37e6e53a45f1eab3865c433d015cf8d8412d6b037edbd81a
 SHA512 
2c65c53050dcd7757a1015200d4e25ca260e833105e577c6506d36efa280c5e5e511e8b5ea029a6efac09f36ffd6bfdb49b71417d32457d42397de83240451ec

diff --git a/net-misc/megasync/megasync-4.12.2.0.ebuild 
b/net-misc/megasync/megasync-4.12.2.0.ebuild
deleted file mode 100644
index 78d77b1684..00
--- a/net-misc/megasync/megasync-4.12.2.0.ebuild
+++ /dev/null
@@ -1,135 +0,0 @@
-# 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} ==  ]];then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
-   EGIT_BRANCH="master"
-   EGIT_SUBMODULES=( '*' )
-else
-   MEGA_SDK_REV="2e9307d114c379967f415211d466262162e074d4" # commit of 
src/MEGASync/mega submodule
-   MEGA_TAG_SUFFIX="Win"
-   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 threads thunar"
-
-DEPEND="
-   dev-db/sqlite:3
-   dev-libs/crypto++:=
-   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
-   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} !=  ]]; 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" \

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2024-03-19 Thread Julien Roy
commit: 7dd3f1ad548843f316cd65a31e1cc4e2da7f2854
Author: Takuya Wakazono  gmail  com>
AuthorDate: Tue Mar 19 09:42:30 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Tue Mar 19 10:00:50 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7dd3f1ad

net-misc/megasync: add 5.2.0.0

Signed-off-by: Takuya Wakazono  gmail.com>

 net-misc/megasync/Manifest  | 2 ++
 net-misc/megasync/{megasync-.ebuild => megasync-5.2.0.0.ebuild} | 6 --
 net-misc/megasync/megasync-.ebuild  | 6 --
 3 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 608392b6f7..929f0a39ed 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,2 +1,4 @@
 DIST megasync-4.12.2.0.tar.gz 25267623 BLAKE2B 
e1a7e6f7e3509f8a8cdb402f228ffaf1809a16c134428ff3d0de59684b3440882ae9c0f5e4be38325044305589c988bbb83953cf6c06408b7d319dee9712cc5b
 SHA512 
c99e29e1999eb257bec8d97dea92094c3c429e8b12380ac9097abe5092a8005ad67e09b9d893a69c2bccc061705ffb78ceeedbf5a7923849f4b2cff9e2f98333
+DIST megasync-5.2.0.0.tar.gz 23815622 BLAKE2B 
04c1ff1b6516ca72e3e17a59ab1ba3142f7ef130e479aee5595e010be1993651aa57e8d977d85ffa547a20ae2569c77d5b3907aba8122fb3d6ea686d7e1a5b4a
 SHA512 
c8dd39f7a432aca3956f929bcaf0e86881a819719f184c07a389ae568edee9b54a21e807f5517bcc42c18290d96f7fef875f0308d5411f1e36df60f245aa601b
 DIST megasync-sdk-4.12.2.0.tar.gz 3580874 BLAKE2B 
7fe63ccd998ac0fe4f6d31d4fb38041d01180044b6a36658da28b0793c2c0c9a95984a937ffa74b11449818ca63a55d7d1faef65e69ea29309d42c4d7646b2c3
 SHA512 
e97d5901e5445bd677b2d7c50d684dbd6975efcba43ed6618b76d9452b33f5c42eaa8279e920987cf5af63da6ad951589e644bf01814b69739e4260c651aa68b
+DIST megasync-sdk-5.2.0.0.tar.gz 3809248 BLAKE2B 
acf9be7b3d0faf843e394b717cb75ee703aadfdf2b79a6ea06eccb49d6d179ef8b2f3d430edce4bc37e6e53a45f1eab3865c433d015cf8d8412d6b037edbd81a
 SHA512 
2c65c53050dcd7757a1015200d4e25ca260e833105e577c6506d36efa280c5e5e511e8b5ea029a6efac09f36ffd6bfdb49b71417d32457d42397de83240451ec

diff --git a/net-misc/megasync/megasync-.ebuild 
b/net-misc/megasync/megasync-5.2.0.0.ebuild
similarity index 95%
copy from net-misc/megasync/megasync-.ebuild
copy to net-misc/megasync/megasync-5.2.0.0.ebuild
index 78d77b1684..c8a98542b6 100644
--- a/net-misc/megasync/megasync-.ebuild
+++ b/net-misc/megasync/megasync-5.2.0.0.ebuild
@@ -17,8 +17,8 @@ if [[ ${PV} ==  ]];then
EGIT_BRANCH="master"
EGIT_SUBMODULES=( '*' )
 else
-   MEGA_SDK_REV="2e9307d114c379967f415211d466262162e074d4" # commit of 
src/MEGASync/mega submodule
-   MEGA_TAG_SUFFIX="Win"
+   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
@@ -34,6 +34,7 @@ IUSE="dolphin freeimage nautilus nemo threads thunar"
 DEPEND="
dev-db/sqlite:3
dev-libs/crypto++:=
+   dev-libs/icu:=
dev-libs/libsodium:=
dev-libs/libuv:=
dev-libs/openssl:0=
@@ -52,6 +53,7 @@ DEPEND="
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

diff --git a/net-misc/megasync/megasync-.ebuild 
b/net-misc/megasync/megasync-.ebuild
index 78d77b1684..c8a98542b6 100644
--- a/net-misc/megasync/megasync-.ebuild
+++ b/net-misc/megasync/megasync-.ebuild
@@ -17,8 +17,8 @@ if [[ ${PV} ==  ]];then
EGIT_BRANCH="master"
EGIT_SUBMODULES=( '*' )
 else
-   MEGA_SDK_REV="2e9307d114c379967f415211d466262162e074d4" # commit of 
src/MEGASync/mega submodule
-   MEGA_TAG_SUFFIX="Win"
+   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
@@ -34,6 +34,7 @@ IUSE="dolphin freeimage nautilus nemo threads thunar"
 DEPEND="
dev-db/sqlite:3
dev-libs/crypto++:=
+   dev-libs/icu:=
dev-libs/libsodium:=
dev-libs/libuv:=
dev-libs/openssl:0=
@@ -52,6 +53,7 @@ DEPEND="
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



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2023-11-16 Thread David Roman
commit: 5dd335988fa9622079c7599a373a31ff1bff4e75
Author: Takuya Wakazono  gmail  com>
AuthorDate: Tue Nov 14 14:27:09 2023 +
Commit: David Roman  gmail  com>
CommitDate: Tue Nov 14 14:27:09 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5dd33598

net-misc/megasync: add 4.11.0.0

Signed-off-by: Takuya Wakazono  gmail.com>

 net-misc/megasync/Manifest |   2 +
 net-misc/megasync/megasync-4.11.0.0.ebuild | 149 +
 2 files changed, 151 insertions(+)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index c522358232..8d5dff5f09 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,4 +1,6 @@
 DIST megasync-4.10.0.0.tar.gz 20254658 BLAKE2B 
c36a715ec4da883f5f8b9bf2f9f223b0701ba7b74399cba448bbf93dbc210bc2b3ff4b538af0eba08ea8a92f0134749fa2eeb3eba00b1de6cfad5d42117d2ab8
 SHA512 
3f37c39dd0552e64f802cebb63f275a8cbc2b445aad1f74576b732022563f79c8264257494f7778d6fec6dff98f06cc7276022edc6e6279bd6e683fdcfcddb94
+DIST megasync-4.11.0.0.tar.gz 20313571 BLAKE2B 
8c5c58912fef730bf3e4c56c5de0b2c6f4825be6c91ec19e6c5f5946a76efa5fd9f36f6afdee3d886b31a13c924dea81f7999d29fbab0bb0f1acefbe52c449f5
 SHA512 
ab43b83d05d56b8eb1bf66ed89801889cfb8d21d9bae86245607a1d7c36f7436fa8879f6fd94cb07c4a2e8567532b9e0919ec9e78e2ca85d8fca262b1479b482
 DIST megasync-4.5.0.0.tar.gz 16162074 BLAKE2B 
9ad09b61614992fc48572c168bb3b9692145289b945c01e371babe78a3b75bcc20a842f524279f6db35f8d93c914e9ba68ee5d187614b5041638813cb304531e
 SHA512 
f0c78d741be4a9ee9411be63667ea76cca3ff50ab70a81c904011e1ce1c6f0287ab5c90fc2b1a7a7c040b2d568819f91ecd10f8d570b22231df7b99166eacb11
 DIST megasync-sdk-4.10.0.0.tar.gz 3696547 BLAKE2B 
13f69a0bd24a4aac6e73af1bd883bd0abdfd5ceef6e9e558286fc9002acd5f4822c762b57c4ca7fcd3f5ec3a1a00459e3b0a2d2d1c4963d7fc8caacd2b6a
 SHA512 
8dcbd0a0b086616a432ff0979695ddb799a01a32550f0777ddf26fe795b340a754dbcd3f77af55e9286673bca3c366cdaa07432c1c2b552b2ecf23f9500e8a2c
+DIST megasync-sdk-4.11.0.0.tar.gz 3714994 BLAKE2B 
6d6d217d8acb7f191c88f18bc0b2ef9b6f743502a9916841177a93452c1818cffcb8275134cc2a32162693c59af829d42249497f2ed18b66e3c0f032f0ba6780
 SHA512 
471102d280d02b90f41c46f5700c0d71d88f74ccf7c605c717a66ad154c84c725ce231d11779fd480b2eb81b073da0bbea00dbc149918e6519fe89694b185ef4
 DIST megasync-sdk-4.5.0.0.tar.gz 3497367 BLAKE2B 
1594d792f38df4df29acd25ea5c920acf27410513544abc618a692e3ed2e6e1a459123b043a9aa3bfdc4647d753d6c14cc5ee1bde02abd6c0f6d7ce66b118821
 SHA512 
177b9e31f2aacfa370132657bb70ec315edcfbcfe043f067f4c67b69a47ade7235699183541de2462d2ab2a18b4688006cd938ae80da603df9bd79d908b58140

diff --git a/net-misc/megasync/megasync-4.11.0.0.ebuild 
b/net-misc/megasync/megasync-4.11.0.0.ebuild
new file mode 100644
index 00..e1d99aa78a
--- /dev/null
+++ b/net-misc/megasync/megasync-4.11.0.0.ebuild
@@ -0,0 +1,149 @@
+# Copyright 2023 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} ==  ]];then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   EGIT_BRANCH="master"
+   EGIT_SUBMODULES=( '*' )
+else
+   MEGA_SDK_REV="6d4c102940dab277974090cd4292e58f08ac6032" # commit of 
src/MEGASync/mega submodule
+   MEGA_TAG_SUFFIX="Win"
+   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="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java nautilus 
nemo php python readline threads thunar"
+
+RDEPEND="
+   app-arch/xz-utils
+   dev-libs/libgcrypt
+   dev-libs/libsodium
+   dev-libs/libuv
+   dev-libs/openssl:0=
+   media-libs/libpng
+   net-dns/c-ares
+   x11-themes/hicolor-icon-theme
+   cryptopp? ( dev-libs/crypto++ )
+   curl? ( net-misc/curl[ssl,curl_ssl_openssl(-)] )
+   dolphin? ( kde-apps/dolphin )
+   freeimage? ( media-libs/freeimage )
+   nautilus? ( >=gnome-base/nautilus-43 )
+   nemo? ( gnome-extra/nemo )
+   readline? ( sys-libs/readline:0 )
+   sqlite? ( dev-db/sqlite:3 )
+   thunar? ( xfce-base/thunar )
+   zlib? ( sys-libs/zlib )
+"
+DEPEND="
+   ${RDEPEND}
+   media-libs/libmediainfo
+   media-libs/libraw
+   dev-qt/qtcore:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5
+   dev-qt/qtconcurrent:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtdbus:5
+   dev-qt/qtimageformats:5
+   dev-qt/qtsvg:5
+   dev-qt/qtx11extras:5
+"
+BDEPEND="
+   dev-lang/swig
+   

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2023-11-16 Thread David Roman
commit: 343cecdeeece284313cea82ca0e5bc6008374b18
Author: Takuya Wakazono  gmail  com>
AuthorDate: Tue Nov 14 14:29:14 2023 +
Commit: David Roman  gmail  com>
CommitDate: Tue Nov 14 14:29:14 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=343cecde

net-misc/megasync: drop 4.5.0.0

Signed-off-by: Takuya Wakazono  gmail.com>

 net-misc/megasync/Manifest|   2 -
 net-misc/megasync/megasync-4.5.0.0.ebuild | 150 --
 2 files changed, 152 deletions(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 8d5dff5f09..8850fd168a 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,6 +1,4 @@
 DIST megasync-4.10.0.0.tar.gz 20254658 BLAKE2B 
c36a715ec4da883f5f8b9bf2f9f223b0701ba7b74399cba448bbf93dbc210bc2b3ff4b538af0eba08ea8a92f0134749fa2eeb3eba00b1de6cfad5d42117d2ab8
 SHA512 
3f37c39dd0552e64f802cebb63f275a8cbc2b445aad1f74576b732022563f79c8264257494f7778d6fec6dff98f06cc7276022edc6e6279bd6e683fdcfcddb94
 DIST megasync-4.11.0.0.tar.gz 20313571 BLAKE2B 
8c5c58912fef730bf3e4c56c5de0b2c6f4825be6c91ec19e6c5f5946a76efa5fd9f36f6afdee3d886b31a13c924dea81f7999d29fbab0bb0f1acefbe52c449f5
 SHA512 
ab43b83d05d56b8eb1bf66ed89801889cfb8d21d9bae86245607a1d7c36f7436fa8879f6fd94cb07c4a2e8567532b9e0919ec9e78e2ca85d8fca262b1479b482
-DIST megasync-4.5.0.0.tar.gz 16162074 BLAKE2B 
9ad09b61614992fc48572c168bb3b9692145289b945c01e371babe78a3b75bcc20a842f524279f6db35f8d93c914e9ba68ee5d187614b5041638813cb304531e
 SHA512 
f0c78d741be4a9ee9411be63667ea76cca3ff50ab70a81c904011e1ce1c6f0287ab5c90fc2b1a7a7c040b2d568819f91ecd10f8d570b22231df7b99166eacb11
 DIST megasync-sdk-4.10.0.0.tar.gz 3696547 BLAKE2B 
13f69a0bd24a4aac6e73af1bd883bd0abdfd5ceef6e9e558286fc9002acd5f4822c762b57c4ca7fcd3f5ec3a1a00459e3b0a2d2d1c4963d7fc8caacd2b6a
 SHA512 
8dcbd0a0b086616a432ff0979695ddb799a01a32550f0777ddf26fe795b340a754dbcd3f77af55e9286673bca3c366cdaa07432c1c2b552b2ecf23f9500e8a2c
 DIST megasync-sdk-4.11.0.0.tar.gz 3714994 BLAKE2B 
6d6d217d8acb7f191c88f18bc0b2ef9b6f743502a9916841177a93452c1818cffcb8275134cc2a32162693c59af829d42249497f2ed18b66e3c0f032f0ba6780
 SHA512 
471102d280d02b90f41c46f5700c0d71d88f74ccf7c605c717a66ad154c84c725ce231d11779fd480b2eb81b073da0bbea00dbc149918e6519fe89694b185ef4
-DIST megasync-sdk-4.5.0.0.tar.gz 3497367 BLAKE2B 
1594d792f38df4df29acd25ea5c920acf27410513544abc618a692e3ed2e6e1a459123b043a9aa3bfdc4647d753d6c14cc5ee1bde02abd6c0f6d7ce66b118821
 SHA512 
177b9e31f2aacfa370132657bb70ec315edcfbcfe043f067f4c67b69a47ade7235699183541de2462d2ab2a18b4688006cd938ae80da603df9bd79d908b58140

diff --git a/net-misc/megasync/megasync-4.5.0.0.ebuild 
b/net-misc/megasync/megasync-4.5.0.0.ebuild
deleted file mode 100644
index 52f96e01ed..00
--- a/net-misc/megasync/megasync-4.5.0.0.ebuild
+++ /dev/null
@@ -1,150 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools desktop qmake-utils xdg cmake
-
-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} ==  ]];then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
-   EGIT_BRANCH="master"
-   EGIT_SUBMODULES=( '*' )
-else
-   MEGA_SDK_REV="c11a688d578e16dc25d4c94fee7995730be1aa50" # commit of 
src/MEGASync/mega submodule
-   SRC_URI="
-   https://github.com/meganz/MEGAsync/archive/v${PV}_Win.tar.gz -> 
${P}.tar.gz
-   https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
-   "
-   KEYWORDS="~amd64 ~x86"
-   # 4.5.0.0 has no dedicated linux tag
-   S="${WORKDIR}"/MEGAsync-${PV}_Win
-fi
-
-LICENSE="MEGA"
-SLOT="0"
-IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java nautilus 
php python readline threads thunar"
-
-RDEPEND="
-   app-arch/xz-utils
-   dev-libs/libgcrypt
-   dev-libs/libsodium
-   dev-libs/libuv
-   dev-libs/openssl:0=
-   media-libs/libpng
-   net-dns/c-ares
-   x11-themes/hicolor-icon-theme
-   cryptopp? ( dev-libs/crypto++ )
-   curl? ( net-misc/curl[ssl,curl_ssl_openssl(-)] )
-   dolphin? ( kde-apps/dolphin )
-   freeimage? ( media-libs/freeimage )
-   nautilus? ( >=gnome-base/nautilus-3 )
-   readline? ( sys-libs/readline:0 )
-   sqlite? ( dev-db/sqlite:3 )
-   thunar? ( xfce-base/thunar )
-   zlib? ( sys-libs/zlib )
-"
-DEPEND="
-   ${RDEPEND}
-   media-libs/libmediainfo
-   media-libs/libraw
-   dev-qt/qtcore:5
-   dev-qt/qtwidgets:5
-   dev-qt/qtgui:5
-   dev-qt/qtconcurrent:5
-   dev-qt/qtnetwork:5
-   dev-qt/qtdbus:5
-   dev-qt/qtimageformats:5
-   dev-qt/qtsvg:5
-   dev-qt/qtx11extras:5
-"
-BDEPEND="
-   dev-lang/swig
-   dev-qt/linguist-tools
-"
-
-DOCS=( CREDITS.md

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2023-11-16 Thread David Roman
commit: ca76f952b8cef293fa06485cc46e4410976b601c
Author: Takuya Wakazono  gmail  com>
AuthorDate: Thu Nov 16 15:25:32 2023 +
Commit: David Roman  gmail  com>
CommitDate: Thu Nov 16 15:25:32 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ca76f952

net-misc/megasync: cleanup USE flags

Most of the old flags were useless, not affecting the actual binary.

Signed-off-by: Takuya Wakazono  gmail.com>

 net-misc/megasync/megasync-4.11.0.0.ebuild | 60 +++---
 1 file changed, 22 insertions(+), 38 deletions(-)

diff --git a/net-misc/megasync/megasync-4.11.0.0.ebuild 
b/net-misc/megasync/megasync-4.11.0.0.ebuild
index e1d99aa78a..435105f4a9 100644
--- a/net-misc/megasync/megasync-4.11.0.0.ebuild
+++ b/net-misc/megasync/megasync-4.11.0.0.ebuild
@@ -29,32 +29,15 @@ fi
 
 LICENSE="MEGA"
 SLOT="0"
-IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java nautilus 
nemo php python readline threads thunar"
+IUSE="dolphin freeimage nautilus nemo threads thunar"
 
-RDEPEND="
-   app-arch/xz-utils
+DEPEND="
+   dev-db/sqlite:3
+   dev-libs/crypto++
dev-libs/libgcrypt
dev-libs/libsodium
dev-libs/libuv
dev-libs/openssl:0=
-   media-libs/libpng
-   net-dns/c-ares
-   x11-themes/hicolor-icon-theme
-   cryptopp? ( dev-libs/crypto++ )
-   curl? ( net-misc/curl[ssl,curl_ssl_openssl(-)] )
-   dolphin? ( kde-apps/dolphin )
-   freeimage? ( media-libs/freeimage )
-   nautilus? ( >=gnome-base/nautilus-43 )
-   nemo? ( gnome-extra/nemo )
-   readline? ( sys-libs/readline:0 )
-   sqlite? ( dev-db/sqlite:3 )
-   thunar? ( xfce-base/thunar )
-   zlib? ( sys-libs/zlib )
-"
-DEPEND="
-   ${RDEPEND}
-   media-libs/libmediainfo
-   media-libs/libraw
dev-qt/qtcore:5
dev-qt/qtwidgets:5
dev-qt/qtgui:5
@@ -64,10 +47,24 @@ DEPEND="
dev-qt/qtimageformats:5
dev-qt/qtsvg:5
dev-qt/qtx11extras:5
+   media-libs/libmediainfo
+   media-libs/libpng
+   media-libs/libraw
+   net-dns/c-ares
+   net-misc/curl[ssl,curl_ssl_openssl(-)]
+   sys-libs/zlib
+   dolphin? ( kde-apps/dolphin )
+   freeimage? ( media-libs/freeimage )
+   nautilus? ( >=gnome-base/nautilus-43 )
+   nemo? ( gnome-extra/nemo )
+   thunar? ( xfce-base/thunar )
+"
+RDEPEND="
+   ${DEPEND}
+   x11-themes/hicolor-icon-theme
 "
 BDEPEND="
-   dev-lang/swig
-   dev-qt/linguist-tools
+   dev-qt/linguist-tools:5
dolphin? ( kde-frameworks/extra-cmake-modules )
 "
 
@@ -97,23 +94,10 @@ src_prepare() {
 src_configure() {
cd "${S}/src/MEGASync/mega"
econf \
-   "--disable-silent-rules" \
"--disable-curl-checks" \
-   "--disable-megaapi" \
-   $(use_with zlib) \
-   $(use_with sqlite) \
-   $(use_with cryptopp) \
-   "--with-cares" \
-   $(use_with curl) \
-   "--without-termcap" \
+   "--disable-examples" \
$(use_enable threads posix-threads) \
-   "--with-sodium" \
-   $(use_with freeimage) \
-   $(use_with readline) \
-   $(use_enable examples) \
-   $(use_enable java) \
-   $(use_enable php) \
-   $(use_enable python)
+   $(use_with freeimage)
 
cd "${S}/src"
local myeqmakeargs=(



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2023-11-20 Thread David Roman
commit: d6c9e4f85baae7c7f033b0cb63cfcdd4a75b1a3e
Author: Takuya Wakazono  gmail  com>
AuthorDate: Sun Nov 19 11:24:56 2023 +
Commit: David Roman  gmail  com>
CommitDate: Sun Nov 19 11:24:56 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d6c9e4f8

net-misc/megasync: add myself as a maintainer

Signed-off-by: Takuya Wakazono  gmail.com>

 net-misc/megasync/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/net-misc/megasync/metadata.xml b/net-misc/megasync/metadata.xml
index 548893d860..011305ed0d 100644
--- a/net-misc/megasync/metadata.xml
+++ b/net-misc/megasync/metadata.xml
@@ -6,6 +6,10 @@
Samuel Bernardo
megasync client from mega.nz

+   
+   pastalia...@gmail.com
+   Takuya Wakazono
+   

meganz/MEGAsync




[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2023-11-24 Thread David Roman
commit: ec7a13b111388a2d9fe857ff037f549a1bf413c2
Author: Takuya Wakazono  gmail  com>
AuthorDate: Thu Nov 23 05:51:04 2023 +
Commit: David Roman  gmail  com>
CommitDate: Thu Nov 23 05:51:04 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ec7a13b1

net-misc/megasync: sync live

Closes: https://bugs.gentoo.org/893436
Signed-off-by: Takuya Wakazono  gmail.com>

 net-misc/megasync/megasync-.ebuild | 126 ++---
 1 file changed, 55 insertions(+), 71 deletions(-)

diff --git a/net-misc/megasync/megasync-.ebuild 
b/net-misc/megasync/megasync-.ebuild
index 52f96e01ed..0d4b8ab3f4 100644
--- a/net-misc/megasync/megasync-.ebuild
+++ b/net-misc/megasync/megasync-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit autotools desktop qmake-utils xdg cmake
+inherit autotools cmake qmake-utils xdg
 
 DESCRIPTION="The official Qt-based program for syncing your MEGA account in 
your PC"
 HOMEPAGE="
@@ -17,43 +17,26 @@ if [[ ${PV} ==  ]];then
EGIT_BRANCH="master"
EGIT_SUBMODULES=( '*' )
 else
-   MEGA_SDK_REV="c11a688d578e16dc25d4c94fee7995730be1aa50" # commit of 
src/MEGASync/mega submodule
+   MEGA_SDK_REV="6d4c102940dab277974090cd4292e58f08ac6032" # commit of 
src/MEGASync/mega submodule
+   MEGA_TAG_SUFFIX="Win"
SRC_URI="
-   https://github.com/meganz/MEGAsync/archive/v${PV}_Win.tar.gz -> 
${P}.tar.gz
+   
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"
-   # 4.5.0.0 has no dedicated linux tag
-   S="${WORKDIR}"/MEGAsync-${PV}_Win
+   S="${WORKDIR}"/MEGAsync-${PV}_${MEGA_TAG_SUFFIX}
 fi
 
 LICENSE="MEGA"
 SLOT="0"
-IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java nautilus 
php python readline threads thunar"
+IUSE="dolphin freeimage nautilus nemo threads thunar"
 
-RDEPEND="
-   app-arch/xz-utils
-   dev-libs/libgcrypt
-   dev-libs/libsodium
-   dev-libs/libuv
-   dev-libs/openssl:0=
-   media-libs/libpng
-   net-dns/c-ares
-   x11-themes/hicolor-icon-theme
-   cryptopp? ( dev-libs/crypto++ )
-   curl? ( net-misc/curl[ssl,curl_ssl_openssl(-)] )
-   dolphin? ( kde-apps/dolphin )
-   freeimage? ( media-libs/freeimage )
-   nautilus? ( >=gnome-base/nautilus-3 )
-   readline? ( sys-libs/readline:0 )
-   sqlite? ( dev-db/sqlite:3 )
-   thunar? ( xfce-base/thunar )
-   zlib? ( sys-libs/zlib )
-"
 DEPEND="
-   ${RDEPEND}
-   media-libs/libmediainfo
-   media-libs/libraw
+   dev-db/sqlite:3
+   dev-libs/crypto++:=
+   dev-libs/libsodium:=
+   dev-libs/libuv:=
+   dev-libs/openssl:0=
dev-qt/qtcore:5
dev-qt/qtwidgets:5
dev-qt/qtgui:5
@@ -63,36 +46,48 @@ DEPEND="
dev-qt/qtimageformats:5
dev-qt/qtsvg: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
+   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-lang/swig
-   dev-qt/linguist-tools
+   dev-qt/linguist-tools:5
+   dolphin? ( kde-frameworks/extra-cmake-modules )
 "
 
-DOCS=( CREDITS.md README.md )
-
 CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin"
 
 src_prepare() {
if [[ ${PV} !=  ]]; then
rmdir src/MEGASync/mega
-   mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
-   fi
-   if [ -e "${FILESDIR}/${P}_pdfium.patch" ]; then
-   cd "${S}/src/MEGASync/mega"
-   eapply -Np1 "${FILESDIR}/${P}_pdfium.patch"
-   cd "${S}"
+   mv "${WORKDIR}/sdk-${MEGA_SDK_REV}" src/MEGASync/mega
fi
-   if has_version ">=media-video/ffmpeg-4.4" && [ -e 
"${FILESDIR}/${P}_ffmpeg.patch" ]; then
-   eapply "${FILESDIR}/${P}_ffmpeg.patch"
+
+   if has_version ">=media-video/ffmpeg-6.0"; then
+   eapply "${FILESDIR}/${PN}-4.10.0.0_ffmpeg6.patch"
fi
+   eapply "${FILESDIR}/${PN}-4.10.0.0_fix-build.patch"
+
if use dolphin; then
-   # use the kde5 CMakeLists instead of the kde 4 version
-   mv src/MEGAShellExtDolphin/CMakeLists_kde5.txt 
src/MEGAShellExtDolphin/CMakeLists.txt || die
cmake_src_prepare
else
default
   

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2023-11-24 Thread David Roman
commit: afefb2434447786f65367cc2f74102de2fbc7d0e
Author: Takuya Wakazono  gmail  com>
AuthorDate: Thu Nov 23 05:49:45 2023 +
Commit: David Roman  gmail  com>
CommitDate: Thu Nov 23 05:49:45 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=afefb243

net-misc/megasync: add conditional ffmpeg dep

Signed-off-by: Takuya Wakazono  gmail.com>

 net-misc/megasync/Manifest |  2 --
 net-misc/megasync/megasync-4.11.0.0.ebuild | 15 ---
 2 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 8850fd168a..701233efc4 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,4 +1,2 @@
-DIST megasync-4.10.0.0.tar.gz 20254658 BLAKE2B 
c36a715ec4da883f5f8b9bf2f9f223b0701ba7b74399cba448bbf93dbc210bc2b3ff4b538af0eba08ea8a92f0134749fa2eeb3eba00b1de6cfad5d42117d2ab8
 SHA512 
3f37c39dd0552e64f802cebb63f275a8cbc2b445aad1f74576b732022563f79c8264257494f7778d6fec6dff98f06cc7276022edc6e6279bd6e683fdcfcddb94
 DIST megasync-4.11.0.0.tar.gz 20313571 BLAKE2B 
8c5c58912fef730bf3e4c56c5de0b2c6f4825be6c91ec19e6c5f5946a76efa5fd9f36f6afdee3d886b31a13c924dea81f7999d29fbab0bb0f1acefbe52c449f5
 SHA512 
ab43b83d05d56b8eb1bf66ed89801889cfb8d21d9bae86245607a1d7c36f7436fa8879f6fd94cb07c4a2e8567532b9e0919ec9e78e2ca85d8fca262b1479b482
-DIST megasync-sdk-4.10.0.0.tar.gz 3696547 BLAKE2B 
13f69a0bd24a4aac6e73af1bd883bd0abdfd5ceef6e9e558286fc9002acd5f4822c762b57c4ca7fcd3f5ec3a1a00459e3b0a2d2d1c4963d7fc8caacd2b6a
 SHA512 
8dcbd0a0b086616a432ff0979695ddb799a01a32550f0777ddf26fe795b340a754dbcd3f77af55e9286673bca3c366cdaa07432c1c2b552b2ecf23f9500e8a2c
 DIST megasync-sdk-4.11.0.0.tar.gz 3714994 BLAKE2B 
6d6d217d8acb7f191c88f18bc0b2ef9b6f743502a9916841177a93452c1818cffcb8275134cc2a32162693c59af829d42249497f2ed18b66e3c0f032f0ba6780
 SHA512 
471102d280d02b90f41c46f5700c0d71d88f74ccf7c605c717a66ad154c84c725ce231d11779fd480b2eb81b073da0bbea00dbc149918e6519fe89694b185ef4

diff --git a/net-misc/megasync/megasync-4.11.0.0.ebuild 
b/net-misc/megasync/megasync-4.11.0.0.ebuild
index 435105f4a9..0d4b8ab3f4 100644
--- a/net-misc/megasync/megasync-4.11.0.0.ebuild
+++ b/net-misc/megasync/megasync-4.11.0.0.ebuild
@@ -33,10 +33,9 @@ IUSE="dolphin freeimage nautilus nemo threads thunar"
 
 DEPEND="
dev-db/sqlite:3
-   dev-libs/crypto++
-   dev-libs/libgcrypt
-   dev-libs/libsodium
-   dev-libs/libuv
+   dev-libs/crypto++:=
+   dev-libs/libsodium:=
+   dev-libs/libuv:=
dev-libs/openssl:0=
dev-qt/qtcore:5
dev-qt/qtwidgets:5
@@ -48,13 +47,15 @@ DEPEND="
dev-qt/qtsvg:5
dev-qt/qtx11extras:5
media-libs/libmediainfo
-   media-libs/libpng
media-libs/libraw
-   net-dns/c-ares
+   net-dns/c-ares:=
net-misc/curl[ssl,curl_ssl_openssl(-)]
sys-libs/zlib
dolphin? ( kde-apps/dolphin )
-   freeimage? ( media-libs/freeimage )
+   freeimage? (
+   media-libs/freeimage
+   media-video/ffmpeg:=
+   )
nautilus? ( >=gnome-base/nautilus-43 )
nemo? ( gnome-extra/nemo )
thunar? ( xfce-base/thunar )



[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2024-05-07 Thread Florian Schmaus
commit: 4fbd7faabde29d3cd9a3e69dbf1df15ba54f4322
Author: Takuya Wakazono  gmail  com>
AuthorDate: Tue May  7 12:18:33 2024 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Tue May  7 12:22:03 2024 +
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  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 00..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} ==  ]];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} !=  ]]; 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" \

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/

2024-05-07 Thread Florian Schmaus
commit: 83cf8c0cbd5a594acdc3fd18d910e5e173706789
Author: Takuya Wakazono  gmail  com>
AuthorDate: Tue May  7 12:18:44 2024 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Tue May  7 12:22:03 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=83cf8c0c

net-misc/megasync: drop 5.2.0.0

Signed-off-by: Takuya Wakazono  gmail.com>

 net-misc/megasync/Manifest|   2 -
 net-misc/megasync/megasync-5.2.0.0.ebuild | 136 --
 2 files changed, 138 deletions(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 88e44b6b2c..0fbd277950 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,4 +1,2 @@
-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.0.0.ebuild 
b/net-misc/megasync/megasync-5.2.0.0.ebuild
deleted file mode 100644
index 5c874d29c7..00
--- a/net-misc/megasync/megasync-5.2.0.0.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# 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} ==  ]];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} !=  ]]; 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-check

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/, net-misc/megasync/files/

2021-05-24 Thread Andrew Ammerlaan
commit: 917e847bf4d5c4f60544b3638bc16e0975b20e27
Author: Samuel Bernardo  gmail  com>
AuthorDate: Mon May 24 10:37:27 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon May 24 10:38:16 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=917e847b

net-misc/megasync: 4.5.0.0 and 

Correct pending upstream bugs and set the correct sdk commit.
Some additional improvements in ebuild.

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Samuel Bernardo  gmail.com>

 .../megasync/files/megasync-4.5.0.0_ffmpeg.patch   | 24 +++
 .../megasync/files/megasync-4.5.0.0_pdfium.patch   | 16 ++
 net-misc/megasync/megasync-4.5.0.0.ebuild  | 20 +
 net-misc/megasync/megasync-.ebuild | 34 +-
 4 files changed, 81 insertions(+), 13 deletions(-)

diff --git a/net-misc/megasync/files/megasync-4.5.0.0_ffmpeg.patch 
b/net-misc/megasync/files/megasync-4.5.0.0_ffmpeg.patch
new file mode 100644
index 0..a30d4a1ef
--- /dev/null
+++ b/net-misc/megasync/files/megasync-4.5.0.0_ffmpeg.patch
@@ -0,0 +1,24 @@
+diff -Naur a/src/MEGASync/mega/src/gfx/freeimage.cpp 
b/src/MEGASync/mega/src/gfx/freeimage.cpp
+--- a/src/MEGASync/mega/src/gfx/freeimage.cpp  2021-05-23 02:28:08.69408 
+0100
 b/src/MEGASync/mega/src/gfx/freeimage.cpp  2021-05-23 02:29:56.189964969 
+0100
+@@ -188,7 +188,7 @@
+ 
+ // Force seeking to key frames
+ formatContext->seek2any = false;
+-videoStream->skip_to_keyframe = true;
++//videoStream->skip_to_keyframe = true;
+ if (decoder->capabilities & CAP_TRUNCATED)
+ {
+ codecContext.flags |= CAP_TRUNCATED;
+diff -Naur a/src/MEGASync/mega/src/gfx/qt.cpp 
b/src/MEGASync/mega/src/gfx/qt.cpp
+--- a/src/MEGASync/mega/src/gfx/qt.cpp 2021-05-23 02:28:08.69408 +0100
 b/src/MEGASync/mega/src/gfx/qt.cpp 2021-05-23 02:29:36.172545153 +0100
+@@ -1209,7 +1209,7 @@
+ 
+ // Force seeking to key frames
+ formatContext->seek2any = false;
+-videoStream->skip_to_keyframe = true;
++//videoStream->skip_to_keyframe = true;
+ if (decoder->capabilities & CAP_TRUNCATED)
+ {
+ codecContext.flags |= CAP_TRUNCATED;

diff --git a/net-misc/megasync/files/megasync-4.5.0.0_pdfium.patch 
b/net-misc/megasync/files/megasync-4.5.0.0_pdfium.patch
new file mode 100644
index 0..141ab3057
--- /dev/null
+++ b/net-misc/megasync/files/megasync-4.5.0.0_pdfium.patch
@@ -0,0 +1,16 @@
+diff --git a/bindings/qt/sdk.pri b/bindings/qt/sdk.pri
+index 83ddc2e2f..46aa06d33 100644
+--- a/bindings/qt/sdk.pri
 b/bindings/qt/sdk.pri
+@@ -255,6 +255,11 @@ CONFIG(USE_PDFIUM) {
+ DEFINES += HAVE_PDFIUM
+ LIBS += -lpdfium
+ }
++else:exists(/usr/include/pdfium/fpdfview.h) {
++DEFINES += HAVE_PDFIUM
++INCLUDEPATH += /usr/include/pdfium
++LIBS += -lpdfium
++}
+ }
+ else {#win/mac
+ DEFINES += HAVE_PDFIUM

diff --git a/net-misc/megasync/megasync-4.5.0.0.ebuild 
b/net-misc/megasync/megasync-4.5.0.0.ebuild
index 604202807..54c24108f 100644
--- a/net-misc/megasync/megasync-4.5.0.0.ebuild
+++ b/net-misc/megasync/megasync-4.5.0.0.ebuild
@@ -14,14 +14,16 @@ HOMEPAGE="
 if [[ ${PV} ==  ]];then
inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   EGIT_BRANCH="master"
+   EGIT_SUBMODULES=( '*' )
 else
-   MEGA_SDK_REV="37b346c2e119559e40c08f43e1a8f54353e7ad59" # commit of 
src/MEGASync/mega submodule
+   MEGA_SDK_REV="c11a688d578e16dc25d4c94fee7995730be1aa50" # commit of 
src/MEGASync/mega submodule
SRC_URI="
https://github.com/meganz/MEGAsync/archive/v${PV}_Win.tar.gz -> 
${P}.tar.gz
https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
"
KEYWORDS="~amd64 ~x86"
-   # 4.3.8.0 has no dedicated linux tag
+   # 4.5.0.0 has no dedicated linux tag
S="${WORKDIR}"/MEGAsync-${PV}_Win
 fi
 
@@ -76,6 +78,14 @@ src_prepare() {
rmdir src/MEGASync/mega
mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
fi
+   if [ -e "${FILESDIR}/${P}_pdfium.patch" ]; then
+   cd "${S}/src/MEGASync/mega"
+   eapply -Np1 "${FILESDIR}/${P}_pdfium.patch"
+   cd "${S}"
+   fi
+   if has_version ">=media-video/ffmpeg-4.4" && [ -e 
"${FILESDIR}/${P}_ffmpeg.patch" ]; then
+   eapply "${FILESDIR}/${P}_ffmpeg.patch"
+   fi
if use dolphin; then
# use the kde5 CMakeLists instead of the kde 4 version
mv src/MEGAShellExtDolphin/CMakeLists_kde5.txt 
src/MEGAShellExtDolphin/CMakeLists.txt || die
@@ -83,12 +93,12 @@ src_prepare() {
else
default
fi
-   cd src/MEGASync/mega
+   cd "${S}/src/MEGASync/mega"
eautoreconf
 }

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/, net-misc/megasync/files/

2021-05-24 Thread Andrew Ammerlaan
commit: 917e847bf4d5c4f60544b3638bc16e0975b20e27
Author: Samuel Bernardo  gmail  com>
AuthorDate: Mon May 24 10:37:27 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon May 24 10:38:16 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=917e847b

net-misc/megasync: 4.5.0.0 and 

Correct pending upstream bugs and set the correct sdk commit.
Some additional improvements in ebuild.

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Samuel Bernardo  gmail.com>

 .../megasync/files/megasync-4.5.0.0_ffmpeg.patch   | 24 +++
 .../megasync/files/megasync-4.5.0.0_pdfium.patch   | 16 ++
 net-misc/megasync/megasync-4.5.0.0.ebuild  | 20 +
 net-misc/megasync/megasync-.ebuild | 34 +-
 4 files changed, 81 insertions(+), 13 deletions(-)

diff --git a/net-misc/megasync/files/megasync-4.5.0.0_ffmpeg.patch 
b/net-misc/megasync/files/megasync-4.5.0.0_ffmpeg.patch
new file mode 100644
index 0..a30d4a1ef
--- /dev/null
+++ b/net-misc/megasync/files/megasync-4.5.0.0_ffmpeg.patch
@@ -0,0 +1,24 @@
+diff -Naur a/src/MEGASync/mega/src/gfx/freeimage.cpp 
b/src/MEGASync/mega/src/gfx/freeimage.cpp
+--- a/src/MEGASync/mega/src/gfx/freeimage.cpp  2021-05-23 02:28:08.69408 
+0100
 b/src/MEGASync/mega/src/gfx/freeimage.cpp  2021-05-23 02:29:56.189964969 
+0100
+@@ -188,7 +188,7 @@
+ 
+ // Force seeking to key frames
+ formatContext->seek2any = false;
+-videoStream->skip_to_keyframe = true;
++//videoStream->skip_to_keyframe = true;
+ if (decoder->capabilities & CAP_TRUNCATED)
+ {
+ codecContext.flags |= CAP_TRUNCATED;
+diff -Naur a/src/MEGASync/mega/src/gfx/qt.cpp 
b/src/MEGASync/mega/src/gfx/qt.cpp
+--- a/src/MEGASync/mega/src/gfx/qt.cpp 2021-05-23 02:28:08.69408 +0100
 b/src/MEGASync/mega/src/gfx/qt.cpp 2021-05-23 02:29:36.172545153 +0100
+@@ -1209,7 +1209,7 @@
+ 
+ // Force seeking to key frames
+ formatContext->seek2any = false;
+-videoStream->skip_to_keyframe = true;
++//videoStream->skip_to_keyframe = true;
+ if (decoder->capabilities & CAP_TRUNCATED)
+ {
+ codecContext.flags |= CAP_TRUNCATED;

diff --git a/net-misc/megasync/files/megasync-4.5.0.0_pdfium.patch 
b/net-misc/megasync/files/megasync-4.5.0.0_pdfium.patch
new file mode 100644
index 0..141ab3057
--- /dev/null
+++ b/net-misc/megasync/files/megasync-4.5.0.0_pdfium.patch
@@ -0,0 +1,16 @@
+diff --git a/bindings/qt/sdk.pri b/bindings/qt/sdk.pri
+index 83ddc2e2f..46aa06d33 100644
+--- a/bindings/qt/sdk.pri
 b/bindings/qt/sdk.pri
+@@ -255,6 +255,11 @@ CONFIG(USE_PDFIUM) {
+ DEFINES += HAVE_PDFIUM
+ LIBS += -lpdfium
+ }
++else:exists(/usr/include/pdfium/fpdfview.h) {
++DEFINES += HAVE_PDFIUM
++INCLUDEPATH += /usr/include/pdfium
++LIBS += -lpdfium
++}
+ }
+ else {#win/mac
+ DEFINES += HAVE_PDFIUM

diff --git a/net-misc/megasync/megasync-4.5.0.0.ebuild 
b/net-misc/megasync/megasync-4.5.0.0.ebuild
index 604202807..54c24108f 100644
--- a/net-misc/megasync/megasync-4.5.0.0.ebuild
+++ b/net-misc/megasync/megasync-4.5.0.0.ebuild
@@ -14,14 +14,16 @@ HOMEPAGE="
 if [[ ${PV} ==  ]];then
inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   EGIT_BRANCH="master"
+   EGIT_SUBMODULES=( '*' )
 else
-   MEGA_SDK_REV="37b346c2e119559e40c08f43e1a8f54353e7ad59" # commit of 
src/MEGASync/mega submodule
+   MEGA_SDK_REV="c11a688d578e16dc25d4c94fee7995730be1aa50" # commit of 
src/MEGASync/mega submodule
SRC_URI="
https://github.com/meganz/MEGAsync/archive/v${PV}_Win.tar.gz -> 
${P}.tar.gz
https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
"
KEYWORDS="~amd64 ~x86"
-   # 4.3.8.0 has no dedicated linux tag
+   # 4.5.0.0 has no dedicated linux tag
S="${WORKDIR}"/MEGAsync-${PV}_Win
 fi
 
@@ -76,6 +78,14 @@ src_prepare() {
rmdir src/MEGASync/mega
mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
fi
+   if [ -e "${FILESDIR}/${P}_pdfium.patch" ]; then
+   cd "${S}/src/MEGASync/mega"
+   eapply -Np1 "${FILESDIR}/${P}_pdfium.patch"
+   cd "${S}"
+   fi
+   if has_version ">=media-video/ffmpeg-4.4" && [ -e 
"${FILESDIR}/${P}_ffmpeg.patch" ]; then
+   eapply "${FILESDIR}/${P}_ffmpeg.patch"
+   fi
if use dolphin; then
# use the kde5 CMakeLists instead of the kde 4 version
mv src/MEGAShellExtDolphin/CMakeLists_kde5.txt 
src/MEGAShellExtDolphin/CMakeLists.txt || die
@@ -83,12 +93,12 @@ src_prepare() {
else
default
fi
-   cd src/MEGASync/mega
+   cd "${S}/src/MEGASync/mega"
eautoreconf
 }

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/, net-misc/megasync/files/

2021-05-24 Thread Andrew Ammerlaan
commit: 917e847bf4d5c4f60544b3638bc16e0975b20e27
Author: Samuel Bernardo  gmail  com>
AuthorDate: Mon May 24 10:37:27 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon May 24 10:38:16 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=917e847b

net-misc/megasync: 4.5.0.0 and 

Correct pending upstream bugs and set the correct sdk commit.
Some additional improvements in ebuild.

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Samuel Bernardo  gmail.com>

 .../megasync/files/megasync-4.5.0.0_ffmpeg.patch   | 24 +++
 .../megasync/files/megasync-4.5.0.0_pdfium.patch   | 16 ++
 net-misc/megasync/megasync-4.5.0.0.ebuild  | 20 +
 net-misc/megasync/megasync-.ebuild | 34 +-
 4 files changed, 81 insertions(+), 13 deletions(-)

diff --git a/net-misc/megasync/files/megasync-4.5.0.0_ffmpeg.patch 
b/net-misc/megasync/files/megasync-4.5.0.0_ffmpeg.patch
new file mode 100644
index 0..a30d4a1ef
--- /dev/null
+++ b/net-misc/megasync/files/megasync-4.5.0.0_ffmpeg.patch
@@ -0,0 +1,24 @@
+diff -Naur a/src/MEGASync/mega/src/gfx/freeimage.cpp 
b/src/MEGASync/mega/src/gfx/freeimage.cpp
+--- a/src/MEGASync/mega/src/gfx/freeimage.cpp  2021-05-23 02:28:08.69408 
+0100
 b/src/MEGASync/mega/src/gfx/freeimage.cpp  2021-05-23 02:29:56.189964969 
+0100
+@@ -188,7 +188,7 @@
+ 
+ // Force seeking to key frames
+ formatContext->seek2any = false;
+-videoStream->skip_to_keyframe = true;
++//videoStream->skip_to_keyframe = true;
+ if (decoder->capabilities & CAP_TRUNCATED)
+ {
+ codecContext.flags |= CAP_TRUNCATED;
+diff -Naur a/src/MEGASync/mega/src/gfx/qt.cpp 
b/src/MEGASync/mega/src/gfx/qt.cpp
+--- a/src/MEGASync/mega/src/gfx/qt.cpp 2021-05-23 02:28:08.69408 +0100
 b/src/MEGASync/mega/src/gfx/qt.cpp 2021-05-23 02:29:36.172545153 +0100
+@@ -1209,7 +1209,7 @@
+ 
+ // Force seeking to key frames
+ formatContext->seek2any = false;
+-videoStream->skip_to_keyframe = true;
++//videoStream->skip_to_keyframe = true;
+ if (decoder->capabilities & CAP_TRUNCATED)
+ {
+ codecContext.flags |= CAP_TRUNCATED;

diff --git a/net-misc/megasync/files/megasync-4.5.0.0_pdfium.patch 
b/net-misc/megasync/files/megasync-4.5.0.0_pdfium.patch
new file mode 100644
index 0..141ab3057
--- /dev/null
+++ b/net-misc/megasync/files/megasync-4.5.0.0_pdfium.patch
@@ -0,0 +1,16 @@
+diff --git a/bindings/qt/sdk.pri b/bindings/qt/sdk.pri
+index 83ddc2e2f..46aa06d33 100644
+--- a/bindings/qt/sdk.pri
 b/bindings/qt/sdk.pri
+@@ -255,6 +255,11 @@ CONFIG(USE_PDFIUM) {
+ DEFINES += HAVE_PDFIUM
+ LIBS += -lpdfium
+ }
++else:exists(/usr/include/pdfium/fpdfview.h) {
++DEFINES += HAVE_PDFIUM
++INCLUDEPATH += /usr/include/pdfium
++LIBS += -lpdfium
++}
+ }
+ else {#win/mac
+ DEFINES += HAVE_PDFIUM

diff --git a/net-misc/megasync/megasync-4.5.0.0.ebuild 
b/net-misc/megasync/megasync-4.5.0.0.ebuild
index 604202807..54c24108f 100644
--- a/net-misc/megasync/megasync-4.5.0.0.ebuild
+++ b/net-misc/megasync/megasync-4.5.0.0.ebuild
@@ -14,14 +14,16 @@ HOMEPAGE="
 if [[ ${PV} ==  ]];then
inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   EGIT_BRANCH="master"
+   EGIT_SUBMODULES=( '*' )
 else
-   MEGA_SDK_REV="37b346c2e119559e40c08f43e1a8f54353e7ad59" # commit of 
src/MEGASync/mega submodule
+   MEGA_SDK_REV="c11a688d578e16dc25d4c94fee7995730be1aa50" # commit of 
src/MEGASync/mega submodule
SRC_URI="
https://github.com/meganz/MEGAsync/archive/v${PV}_Win.tar.gz -> 
${P}.tar.gz
https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
"
KEYWORDS="~amd64 ~x86"
-   # 4.3.8.0 has no dedicated linux tag
+   # 4.5.0.0 has no dedicated linux tag
S="${WORKDIR}"/MEGAsync-${PV}_Win
 fi
 
@@ -76,6 +78,14 @@ src_prepare() {
rmdir src/MEGASync/mega
mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
fi
+   if [ -e "${FILESDIR}/${P}_pdfium.patch" ]; then
+   cd "${S}/src/MEGASync/mega"
+   eapply -Np1 "${FILESDIR}/${P}_pdfium.patch"
+   cd "${S}"
+   fi
+   if has_version ">=media-video/ffmpeg-4.4" && [ -e 
"${FILESDIR}/${P}_ffmpeg.patch" ]; then
+   eapply "${FILESDIR}/${P}_ffmpeg.patch"
+   fi
if use dolphin; then
# use the kde5 CMakeLists instead of the kde 4 version
mv src/MEGAShellExtDolphin/CMakeLists_kde5.txt 
src/MEGAShellExtDolphin/CMakeLists.txt || die
@@ -83,12 +93,12 @@ src_prepare() {
else
default
fi
-   cd src/MEGASync/mega
+   cd "${S}/src/MEGASync/mega"
eautoreconf
 }

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/, net-misc/megasync/files/

2021-05-24 Thread Andrew Ammerlaan
commit: 917e847bf4d5c4f60544b3638bc16e0975b20e27
Author: Samuel Bernardo  gmail  com>
AuthorDate: Mon May 24 10:37:27 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon May 24 10:38:16 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=917e847b

net-misc/megasync: 4.5.0.0 and 

Correct pending upstream bugs and set the correct sdk commit.
Some additional improvements in ebuild.

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Samuel Bernardo  gmail.com>

 .../megasync/files/megasync-4.5.0.0_ffmpeg.patch   | 24 +++
 .../megasync/files/megasync-4.5.0.0_pdfium.patch   | 16 ++
 net-misc/megasync/megasync-4.5.0.0.ebuild  | 20 +
 net-misc/megasync/megasync-.ebuild | 34 +-
 4 files changed, 81 insertions(+), 13 deletions(-)

diff --git a/net-misc/megasync/files/megasync-4.5.0.0_ffmpeg.patch 
b/net-misc/megasync/files/megasync-4.5.0.0_ffmpeg.patch
new file mode 100644
index 0..a30d4a1ef
--- /dev/null
+++ b/net-misc/megasync/files/megasync-4.5.0.0_ffmpeg.patch
@@ -0,0 +1,24 @@
+diff -Naur a/src/MEGASync/mega/src/gfx/freeimage.cpp 
b/src/MEGASync/mega/src/gfx/freeimage.cpp
+--- a/src/MEGASync/mega/src/gfx/freeimage.cpp  2021-05-23 02:28:08.69408 
+0100
 b/src/MEGASync/mega/src/gfx/freeimage.cpp  2021-05-23 02:29:56.189964969 
+0100
+@@ -188,7 +188,7 @@
+ 
+ // Force seeking to key frames
+ formatContext->seek2any = false;
+-videoStream->skip_to_keyframe = true;
++//videoStream->skip_to_keyframe = true;
+ if (decoder->capabilities & CAP_TRUNCATED)
+ {
+ codecContext.flags |= CAP_TRUNCATED;
+diff -Naur a/src/MEGASync/mega/src/gfx/qt.cpp 
b/src/MEGASync/mega/src/gfx/qt.cpp
+--- a/src/MEGASync/mega/src/gfx/qt.cpp 2021-05-23 02:28:08.69408 +0100
 b/src/MEGASync/mega/src/gfx/qt.cpp 2021-05-23 02:29:36.172545153 +0100
+@@ -1209,7 +1209,7 @@
+ 
+ // Force seeking to key frames
+ formatContext->seek2any = false;
+-videoStream->skip_to_keyframe = true;
++//videoStream->skip_to_keyframe = true;
+ if (decoder->capabilities & CAP_TRUNCATED)
+ {
+ codecContext.flags |= CAP_TRUNCATED;

diff --git a/net-misc/megasync/files/megasync-4.5.0.0_pdfium.patch 
b/net-misc/megasync/files/megasync-4.5.0.0_pdfium.patch
new file mode 100644
index 0..141ab3057
--- /dev/null
+++ b/net-misc/megasync/files/megasync-4.5.0.0_pdfium.patch
@@ -0,0 +1,16 @@
+diff --git a/bindings/qt/sdk.pri b/bindings/qt/sdk.pri
+index 83ddc2e2f..46aa06d33 100644
+--- a/bindings/qt/sdk.pri
 b/bindings/qt/sdk.pri
+@@ -255,6 +255,11 @@ CONFIG(USE_PDFIUM) {
+ DEFINES += HAVE_PDFIUM
+ LIBS += -lpdfium
+ }
++else:exists(/usr/include/pdfium/fpdfview.h) {
++DEFINES += HAVE_PDFIUM
++INCLUDEPATH += /usr/include/pdfium
++LIBS += -lpdfium
++}
+ }
+ else {#win/mac
+ DEFINES += HAVE_PDFIUM

diff --git a/net-misc/megasync/megasync-4.5.0.0.ebuild 
b/net-misc/megasync/megasync-4.5.0.0.ebuild
index 604202807..54c24108f 100644
--- a/net-misc/megasync/megasync-4.5.0.0.ebuild
+++ b/net-misc/megasync/megasync-4.5.0.0.ebuild
@@ -14,14 +14,16 @@ HOMEPAGE="
 if [[ ${PV} ==  ]];then
inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   EGIT_BRANCH="master"
+   EGIT_SUBMODULES=( '*' )
 else
-   MEGA_SDK_REV="37b346c2e119559e40c08f43e1a8f54353e7ad59" # commit of 
src/MEGASync/mega submodule
+   MEGA_SDK_REV="c11a688d578e16dc25d4c94fee7995730be1aa50" # commit of 
src/MEGASync/mega submodule
SRC_URI="
https://github.com/meganz/MEGAsync/archive/v${PV}_Win.tar.gz -> 
${P}.tar.gz
https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
"
KEYWORDS="~amd64 ~x86"
-   # 4.3.8.0 has no dedicated linux tag
+   # 4.5.0.0 has no dedicated linux tag
S="${WORKDIR}"/MEGAsync-${PV}_Win
 fi
 
@@ -76,6 +78,14 @@ src_prepare() {
rmdir src/MEGASync/mega
mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
fi
+   if [ -e "${FILESDIR}/${P}_pdfium.patch" ]; then
+   cd "${S}/src/MEGASync/mega"
+   eapply -Np1 "${FILESDIR}/${P}_pdfium.patch"
+   cd "${S}"
+   fi
+   if has_version ">=media-video/ffmpeg-4.4" && [ -e 
"${FILESDIR}/${P}_ffmpeg.patch" ]; then
+   eapply "${FILESDIR}/${P}_ffmpeg.patch"
+   fi
if use dolphin; then
# use the kde5 CMakeLists instead of the kde 4 version
mv src/MEGAShellExtDolphin/CMakeLists_kde5.txt 
src/MEGAShellExtDolphin/CMakeLists.txt || die
@@ -83,12 +93,12 @@ src_prepare() {
else
default
fi
-   cd src/MEGASync/mega
+   cd "${S}/src/MEGASync/mega"
eautoreconf
 }

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/, net-misc/megasync/files/

2021-05-24 Thread Andrew Ammerlaan
commit: 917e847bf4d5c4f60544b3638bc16e0975b20e27
Author: Samuel Bernardo  gmail  com>
AuthorDate: Mon May 24 10:37:27 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon May 24 10:38:16 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=917e847b

net-misc/megasync: 4.5.0.0 and 

Correct pending upstream bugs and set the correct sdk commit.
Some additional improvements in ebuild.

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Samuel Bernardo  gmail.com>

 .../megasync/files/megasync-4.5.0.0_ffmpeg.patch   | 24 +++
 .../megasync/files/megasync-4.5.0.0_pdfium.patch   | 16 ++
 net-misc/megasync/megasync-4.5.0.0.ebuild  | 20 +
 net-misc/megasync/megasync-.ebuild | 34 +-
 4 files changed, 81 insertions(+), 13 deletions(-)

diff --git a/net-misc/megasync/files/megasync-4.5.0.0_ffmpeg.patch 
b/net-misc/megasync/files/megasync-4.5.0.0_ffmpeg.patch
new file mode 100644
index 0..a30d4a1ef
--- /dev/null
+++ b/net-misc/megasync/files/megasync-4.5.0.0_ffmpeg.patch
@@ -0,0 +1,24 @@
+diff -Naur a/src/MEGASync/mega/src/gfx/freeimage.cpp 
b/src/MEGASync/mega/src/gfx/freeimage.cpp
+--- a/src/MEGASync/mega/src/gfx/freeimage.cpp  2021-05-23 02:28:08.69408 
+0100
 b/src/MEGASync/mega/src/gfx/freeimage.cpp  2021-05-23 02:29:56.189964969 
+0100
+@@ -188,7 +188,7 @@
+ 
+ // Force seeking to key frames
+ formatContext->seek2any = false;
+-videoStream->skip_to_keyframe = true;
++//videoStream->skip_to_keyframe = true;
+ if (decoder->capabilities & CAP_TRUNCATED)
+ {
+ codecContext.flags |= CAP_TRUNCATED;
+diff -Naur a/src/MEGASync/mega/src/gfx/qt.cpp 
b/src/MEGASync/mega/src/gfx/qt.cpp
+--- a/src/MEGASync/mega/src/gfx/qt.cpp 2021-05-23 02:28:08.69408 +0100
 b/src/MEGASync/mega/src/gfx/qt.cpp 2021-05-23 02:29:36.172545153 +0100
+@@ -1209,7 +1209,7 @@
+ 
+ // Force seeking to key frames
+ formatContext->seek2any = false;
+-videoStream->skip_to_keyframe = true;
++//videoStream->skip_to_keyframe = true;
+ if (decoder->capabilities & CAP_TRUNCATED)
+ {
+ codecContext.flags |= CAP_TRUNCATED;

diff --git a/net-misc/megasync/files/megasync-4.5.0.0_pdfium.patch 
b/net-misc/megasync/files/megasync-4.5.0.0_pdfium.patch
new file mode 100644
index 0..141ab3057
--- /dev/null
+++ b/net-misc/megasync/files/megasync-4.5.0.0_pdfium.patch
@@ -0,0 +1,16 @@
+diff --git a/bindings/qt/sdk.pri b/bindings/qt/sdk.pri
+index 83ddc2e2f..46aa06d33 100644
+--- a/bindings/qt/sdk.pri
 b/bindings/qt/sdk.pri
+@@ -255,6 +255,11 @@ CONFIG(USE_PDFIUM) {
+ DEFINES += HAVE_PDFIUM
+ LIBS += -lpdfium
+ }
++else:exists(/usr/include/pdfium/fpdfview.h) {
++DEFINES += HAVE_PDFIUM
++INCLUDEPATH += /usr/include/pdfium
++LIBS += -lpdfium
++}
+ }
+ else {#win/mac
+ DEFINES += HAVE_PDFIUM

diff --git a/net-misc/megasync/megasync-4.5.0.0.ebuild 
b/net-misc/megasync/megasync-4.5.0.0.ebuild
index 604202807..54c24108f 100644
--- a/net-misc/megasync/megasync-4.5.0.0.ebuild
+++ b/net-misc/megasync/megasync-4.5.0.0.ebuild
@@ -14,14 +14,16 @@ HOMEPAGE="
 if [[ ${PV} ==  ]];then
inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   EGIT_BRANCH="master"
+   EGIT_SUBMODULES=( '*' )
 else
-   MEGA_SDK_REV="37b346c2e119559e40c08f43e1a8f54353e7ad59" # commit of 
src/MEGASync/mega submodule
+   MEGA_SDK_REV="c11a688d578e16dc25d4c94fee7995730be1aa50" # commit of 
src/MEGASync/mega submodule
SRC_URI="
https://github.com/meganz/MEGAsync/archive/v${PV}_Win.tar.gz -> 
${P}.tar.gz
https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
"
KEYWORDS="~amd64 ~x86"
-   # 4.3.8.0 has no dedicated linux tag
+   # 4.5.0.0 has no dedicated linux tag
S="${WORKDIR}"/MEGAsync-${PV}_Win
 fi
 
@@ -76,6 +78,14 @@ src_prepare() {
rmdir src/MEGASync/mega
mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
fi
+   if [ -e "${FILESDIR}/${P}_pdfium.patch" ]; then
+   cd "${S}/src/MEGASync/mega"
+   eapply -Np1 "${FILESDIR}/${P}_pdfium.patch"
+   cd "${S}"
+   fi
+   if has_version ">=media-video/ffmpeg-4.4" && [ -e 
"${FILESDIR}/${P}_ffmpeg.patch" ]; then
+   eapply "${FILESDIR}/${P}_ffmpeg.patch"
+   fi
if use dolphin; then
# use the kde5 CMakeLists instead of the kde 4 version
mv src/MEGAShellExtDolphin/CMakeLists_kde5.txt 
src/MEGAShellExtDolphin/CMakeLists.txt || die
@@ -83,12 +93,12 @@ src_prepare() {
else
default
fi
-   cd src/MEGASync/mega
+   cd "${S}/src/MEGASync/mega"
eautoreconf
 }

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/, net-misc/megasync/files/

2021-05-24 Thread Andrew Ammerlaan
commit: 917e847bf4d5c4f60544b3638bc16e0975b20e27
Author: Samuel Bernardo  gmail  com>
AuthorDate: Mon May 24 10:37:27 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon May 24 10:38:16 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=917e847b

net-misc/megasync: 4.5.0.0 and 

Correct pending upstream bugs and set the correct sdk commit.
Some additional improvements in ebuild.

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Samuel Bernardo  gmail.com>

 .../megasync/files/megasync-4.5.0.0_ffmpeg.patch   | 24 +++
 .../megasync/files/megasync-4.5.0.0_pdfium.patch   | 16 ++
 net-misc/megasync/megasync-4.5.0.0.ebuild  | 20 +
 net-misc/megasync/megasync-.ebuild | 34 +-
 4 files changed, 81 insertions(+), 13 deletions(-)

diff --git a/net-misc/megasync/files/megasync-4.5.0.0_ffmpeg.patch 
b/net-misc/megasync/files/megasync-4.5.0.0_ffmpeg.patch
new file mode 100644
index 0..a30d4a1ef
--- /dev/null
+++ b/net-misc/megasync/files/megasync-4.5.0.0_ffmpeg.patch
@@ -0,0 +1,24 @@
+diff -Naur a/src/MEGASync/mega/src/gfx/freeimage.cpp 
b/src/MEGASync/mega/src/gfx/freeimage.cpp
+--- a/src/MEGASync/mega/src/gfx/freeimage.cpp  2021-05-23 02:28:08.69408 
+0100
 b/src/MEGASync/mega/src/gfx/freeimage.cpp  2021-05-23 02:29:56.189964969 
+0100
+@@ -188,7 +188,7 @@
+ 
+ // Force seeking to key frames
+ formatContext->seek2any = false;
+-videoStream->skip_to_keyframe = true;
++//videoStream->skip_to_keyframe = true;
+ if (decoder->capabilities & CAP_TRUNCATED)
+ {
+ codecContext.flags |= CAP_TRUNCATED;
+diff -Naur a/src/MEGASync/mega/src/gfx/qt.cpp 
b/src/MEGASync/mega/src/gfx/qt.cpp
+--- a/src/MEGASync/mega/src/gfx/qt.cpp 2021-05-23 02:28:08.69408 +0100
 b/src/MEGASync/mega/src/gfx/qt.cpp 2021-05-23 02:29:36.172545153 +0100
+@@ -1209,7 +1209,7 @@
+ 
+ // Force seeking to key frames
+ formatContext->seek2any = false;
+-videoStream->skip_to_keyframe = true;
++//videoStream->skip_to_keyframe = true;
+ if (decoder->capabilities & CAP_TRUNCATED)
+ {
+ codecContext.flags |= CAP_TRUNCATED;

diff --git a/net-misc/megasync/files/megasync-4.5.0.0_pdfium.patch 
b/net-misc/megasync/files/megasync-4.5.0.0_pdfium.patch
new file mode 100644
index 0..141ab3057
--- /dev/null
+++ b/net-misc/megasync/files/megasync-4.5.0.0_pdfium.patch
@@ -0,0 +1,16 @@
+diff --git a/bindings/qt/sdk.pri b/bindings/qt/sdk.pri
+index 83ddc2e2f..46aa06d33 100644
+--- a/bindings/qt/sdk.pri
 b/bindings/qt/sdk.pri
+@@ -255,6 +255,11 @@ CONFIG(USE_PDFIUM) {
+ DEFINES += HAVE_PDFIUM
+ LIBS += -lpdfium
+ }
++else:exists(/usr/include/pdfium/fpdfview.h) {
++DEFINES += HAVE_PDFIUM
++INCLUDEPATH += /usr/include/pdfium
++LIBS += -lpdfium
++}
+ }
+ else {#win/mac
+ DEFINES += HAVE_PDFIUM

diff --git a/net-misc/megasync/megasync-4.5.0.0.ebuild 
b/net-misc/megasync/megasync-4.5.0.0.ebuild
index 604202807..54c24108f 100644
--- a/net-misc/megasync/megasync-4.5.0.0.ebuild
+++ b/net-misc/megasync/megasync-4.5.0.0.ebuild
@@ -14,14 +14,16 @@ HOMEPAGE="
 if [[ ${PV} ==  ]];then
inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   EGIT_BRANCH="master"
+   EGIT_SUBMODULES=( '*' )
 else
-   MEGA_SDK_REV="37b346c2e119559e40c08f43e1a8f54353e7ad59" # commit of 
src/MEGASync/mega submodule
+   MEGA_SDK_REV="c11a688d578e16dc25d4c94fee7995730be1aa50" # commit of 
src/MEGASync/mega submodule
SRC_URI="
https://github.com/meganz/MEGAsync/archive/v${PV}_Win.tar.gz -> 
${P}.tar.gz
https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
"
KEYWORDS="~amd64 ~x86"
-   # 4.3.8.0 has no dedicated linux tag
+   # 4.5.0.0 has no dedicated linux tag
S="${WORKDIR}"/MEGAsync-${PV}_Win
 fi
 
@@ -76,6 +78,14 @@ src_prepare() {
rmdir src/MEGASync/mega
mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
fi
+   if [ -e "${FILESDIR}/${P}_pdfium.patch" ]; then
+   cd "${S}/src/MEGASync/mega"
+   eapply -Np1 "${FILESDIR}/${P}_pdfium.patch"
+   cd "${S}"
+   fi
+   if has_version ">=media-video/ffmpeg-4.4" && [ -e 
"${FILESDIR}/${P}_ffmpeg.patch" ]; then
+   eapply "${FILESDIR}/${P}_ffmpeg.patch"
+   fi
if use dolphin; then
# use the kde5 CMakeLists instead of the kde 4 version
mv src/MEGAShellExtDolphin/CMakeLists_kde5.txt 
src/MEGAShellExtDolphin/CMakeLists.txt || die
@@ -83,12 +93,12 @@ src_prepare() {
else
default
fi
-   cd src/MEGASync/mega
+   cd "${S}/src/MEGASync/mega"
eautoreconf
 }

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/, net-misc/megasync/files/

2021-05-24 Thread Andrew Ammerlaan
commit: 917e847bf4d5c4f60544b3638bc16e0975b20e27
Author: Samuel Bernardo  gmail  com>
AuthorDate: Mon May 24 10:37:27 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon May 24 10:38:16 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=917e847b

net-misc/megasync: 4.5.0.0 and 

Correct pending upstream bugs and set the correct sdk commit.
Some additional improvements in ebuild.

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Samuel Bernardo  gmail.com>

 .../megasync/files/megasync-4.5.0.0_ffmpeg.patch   | 24 +++
 .../megasync/files/megasync-4.5.0.0_pdfium.patch   | 16 ++
 net-misc/megasync/megasync-4.5.0.0.ebuild  | 20 +
 net-misc/megasync/megasync-.ebuild | 34 +-
 4 files changed, 81 insertions(+), 13 deletions(-)

diff --git a/net-misc/megasync/files/megasync-4.5.0.0_ffmpeg.patch 
b/net-misc/megasync/files/megasync-4.5.0.0_ffmpeg.patch
new file mode 100644
index 0..a30d4a1ef
--- /dev/null
+++ b/net-misc/megasync/files/megasync-4.5.0.0_ffmpeg.patch
@@ -0,0 +1,24 @@
+diff -Naur a/src/MEGASync/mega/src/gfx/freeimage.cpp 
b/src/MEGASync/mega/src/gfx/freeimage.cpp
+--- a/src/MEGASync/mega/src/gfx/freeimage.cpp  2021-05-23 02:28:08.69408 
+0100
 b/src/MEGASync/mega/src/gfx/freeimage.cpp  2021-05-23 02:29:56.189964969 
+0100
+@@ -188,7 +188,7 @@
+ 
+ // Force seeking to key frames
+ formatContext->seek2any = false;
+-videoStream->skip_to_keyframe = true;
++//videoStream->skip_to_keyframe = true;
+ if (decoder->capabilities & CAP_TRUNCATED)
+ {
+ codecContext.flags |= CAP_TRUNCATED;
+diff -Naur a/src/MEGASync/mega/src/gfx/qt.cpp 
b/src/MEGASync/mega/src/gfx/qt.cpp
+--- a/src/MEGASync/mega/src/gfx/qt.cpp 2021-05-23 02:28:08.69408 +0100
 b/src/MEGASync/mega/src/gfx/qt.cpp 2021-05-23 02:29:36.172545153 +0100
+@@ -1209,7 +1209,7 @@
+ 
+ // Force seeking to key frames
+ formatContext->seek2any = false;
+-videoStream->skip_to_keyframe = true;
++//videoStream->skip_to_keyframe = true;
+ if (decoder->capabilities & CAP_TRUNCATED)
+ {
+ codecContext.flags |= CAP_TRUNCATED;

diff --git a/net-misc/megasync/files/megasync-4.5.0.0_pdfium.patch 
b/net-misc/megasync/files/megasync-4.5.0.0_pdfium.patch
new file mode 100644
index 0..141ab3057
--- /dev/null
+++ b/net-misc/megasync/files/megasync-4.5.0.0_pdfium.patch
@@ -0,0 +1,16 @@
+diff --git a/bindings/qt/sdk.pri b/bindings/qt/sdk.pri
+index 83ddc2e2f..46aa06d33 100644
+--- a/bindings/qt/sdk.pri
 b/bindings/qt/sdk.pri
+@@ -255,6 +255,11 @@ CONFIG(USE_PDFIUM) {
+ DEFINES += HAVE_PDFIUM
+ LIBS += -lpdfium
+ }
++else:exists(/usr/include/pdfium/fpdfview.h) {
++DEFINES += HAVE_PDFIUM
++INCLUDEPATH += /usr/include/pdfium
++LIBS += -lpdfium
++}
+ }
+ else {#win/mac
+ DEFINES += HAVE_PDFIUM

diff --git a/net-misc/megasync/megasync-4.5.0.0.ebuild 
b/net-misc/megasync/megasync-4.5.0.0.ebuild
index 604202807..54c24108f 100644
--- a/net-misc/megasync/megasync-4.5.0.0.ebuild
+++ b/net-misc/megasync/megasync-4.5.0.0.ebuild
@@ -14,14 +14,16 @@ HOMEPAGE="
 if [[ ${PV} ==  ]];then
inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   EGIT_BRANCH="master"
+   EGIT_SUBMODULES=( '*' )
 else
-   MEGA_SDK_REV="37b346c2e119559e40c08f43e1a8f54353e7ad59" # commit of 
src/MEGASync/mega submodule
+   MEGA_SDK_REV="c11a688d578e16dc25d4c94fee7995730be1aa50" # commit of 
src/MEGASync/mega submodule
SRC_URI="
https://github.com/meganz/MEGAsync/archive/v${PV}_Win.tar.gz -> 
${P}.tar.gz
https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
"
KEYWORDS="~amd64 ~x86"
-   # 4.3.8.0 has no dedicated linux tag
+   # 4.5.0.0 has no dedicated linux tag
S="${WORKDIR}"/MEGAsync-${PV}_Win
 fi
 
@@ -76,6 +78,14 @@ src_prepare() {
rmdir src/MEGASync/mega
mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
fi
+   if [ -e "${FILESDIR}/${P}_pdfium.patch" ]; then
+   cd "${S}/src/MEGASync/mega"
+   eapply -Np1 "${FILESDIR}/${P}_pdfium.patch"
+   cd "${S}"
+   fi
+   if has_version ">=media-video/ffmpeg-4.4" && [ -e 
"${FILESDIR}/${P}_ffmpeg.patch" ]; then
+   eapply "${FILESDIR}/${P}_ffmpeg.patch"
+   fi
if use dolphin; then
# use the kde5 CMakeLists instead of the kde 4 version
mv src/MEGAShellExtDolphin/CMakeLists_kde5.txt 
src/MEGAShellExtDolphin/CMakeLists.txt || die
@@ -83,12 +93,12 @@ src_prepare() {
else
default
fi
-   cd src/MEGASync/mega
+   cd "${S}/src/MEGASync/mega"
eautoreconf
 }

[gentoo-commits] repo/proj/guru:master commit in: net-misc/megasync/, net-misc/megasync/files/

2021-05-24 Thread Andrew Ammerlaan
commit: 917e847bf4d5c4f60544b3638bc16e0975b20e27
Author: Samuel Bernardo  gmail  com>
AuthorDate: Mon May 24 10:37:27 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon May 24 10:38:16 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=917e847b

net-misc/megasync: 4.5.0.0 and 

Correct pending upstream bugs and set the correct sdk commit.
Some additional improvements in ebuild.

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Samuel Bernardo  gmail.com>

 .../megasync/files/megasync-4.5.0.0_ffmpeg.patch   | 24 +++
 .../megasync/files/megasync-4.5.0.0_pdfium.patch   | 16 ++
 net-misc/megasync/megasync-4.5.0.0.ebuild  | 20 +
 net-misc/megasync/megasync-.ebuild | 34 +-
 4 files changed, 81 insertions(+), 13 deletions(-)

diff --git a/net-misc/megasync/files/megasync-4.5.0.0_ffmpeg.patch 
b/net-misc/megasync/files/megasync-4.5.0.0_ffmpeg.patch
new file mode 100644
index 0..a30d4a1ef
--- /dev/null
+++ b/net-misc/megasync/files/megasync-4.5.0.0_ffmpeg.patch
@@ -0,0 +1,24 @@
+diff -Naur a/src/MEGASync/mega/src/gfx/freeimage.cpp 
b/src/MEGASync/mega/src/gfx/freeimage.cpp
+--- a/src/MEGASync/mega/src/gfx/freeimage.cpp  2021-05-23 02:28:08.69408 
+0100
 b/src/MEGASync/mega/src/gfx/freeimage.cpp  2021-05-23 02:29:56.189964969 
+0100
+@@ -188,7 +188,7 @@
+ 
+ // Force seeking to key frames
+ formatContext->seek2any = false;
+-videoStream->skip_to_keyframe = true;
++//videoStream->skip_to_keyframe = true;
+ if (decoder->capabilities & CAP_TRUNCATED)
+ {
+ codecContext.flags |= CAP_TRUNCATED;
+diff -Naur a/src/MEGASync/mega/src/gfx/qt.cpp 
b/src/MEGASync/mega/src/gfx/qt.cpp
+--- a/src/MEGASync/mega/src/gfx/qt.cpp 2021-05-23 02:28:08.69408 +0100
 b/src/MEGASync/mega/src/gfx/qt.cpp 2021-05-23 02:29:36.172545153 +0100
+@@ -1209,7 +1209,7 @@
+ 
+ // Force seeking to key frames
+ formatContext->seek2any = false;
+-videoStream->skip_to_keyframe = true;
++//videoStream->skip_to_keyframe = true;
+ if (decoder->capabilities & CAP_TRUNCATED)
+ {
+ codecContext.flags |= CAP_TRUNCATED;

diff --git a/net-misc/megasync/files/megasync-4.5.0.0_pdfium.patch 
b/net-misc/megasync/files/megasync-4.5.0.0_pdfium.patch
new file mode 100644
index 0..141ab3057
--- /dev/null
+++ b/net-misc/megasync/files/megasync-4.5.0.0_pdfium.patch
@@ -0,0 +1,16 @@
+diff --git a/bindings/qt/sdk.pri b/bindings/qt/sdk.pri
+index 83ddc2e2f..46aa06d33 100644
+--- a/bindings/qt/sdk.pri
 b/bindings/qt/sdk.pri
+@@ -255,6 +255,11 @@ CONFIG(USE_PDFIUM) {
+ DEFINES += HAVE_PDFIUM
+ LIBS += -lpdfium
+ }
++else:exists(/usr/include/pdfium/fpdfview.h) {
++DEFINES += HAVE_PDFIUM
++INCLUDEPATH += /usr/include/pdfium
++LIBS += -lpdfium
++}
+ }
+ else {#win/mac
+ DEFINES += HAVE_PDFIUM

diff --git a/net-misc/megasync/megasync-4.5.0.0.ebuild 
b/net-misc/megasync/megasync-4.5.0.0.ebuild
index 604202807..54c24108f 100644
--- a/net-misc/megasync/megasync-4.5.0.0.ebuild
+++ b/net-misc/megasync/megasync-4.5.0.0.ebuild
@@ -14,14 +14,16 @@ HOMEPAGE="
 if [[ ${PV} ==  ]];then
inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync";
+   EGIT_BRANCH="master"
+   EGIT_SUBMODULES=( '*' )
 else
-   MEGA_SDK_REV="37b346c2e119559e40c08f43e1a8f54353e7ad59" # commit of 
src/MEGASync/mega submodule
+   MEGA_SDK_REV="c11a688d578e16dc25d4c94fee7995730be1aa50" # commit of 
src/MEGASync/mega submodule
SRC_URI="
https://github.com/meganz/MEGAsync/archive/v${PV}_Win.tar.gz -> 
${P}.tar.gz
https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> 
${PN}-sdk-${PV}.tar.gz
"
KEYWORDS="~amd64 ~x86"
-   # 4.3.8.0 has no dedicated linux tag
+   # 4.5.0.0 has no dedicated linux tag
S="${WORKDIR}"/MEGAsync-${PV}_Win
 fi
 
@@ -76,6 +78,14 @@ src_prepare() {
rmdir src/MEGASync/mega
mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
fi
+   if [ -e "${FILESDIR}/${P}_pdfium.patch" ]; then
+   cd "${S}/src/MEGASync/mega"
+   eapply -Np1 "${FILESDIR}/${P}_pdfium.patch"
+   cd "${S}"
+   fi
+   if has_version ">=media-video/ffmpeg-4.4" && [ -e 
"${FILESDIR}/${P}_ffmpeg.patch" ]; then
+   eapply "${FILESDIR}/${P}_ffmpeg.patch"
+   fi
if use dolphin; then
# use the kde5 CMakeLists instead of the kde 4 version
mv src/MEGAShellExtDolphin/CMakeLists_kde5.txt 
src/MEGAShellExtDolphin/CMakeLists.txt || die
@@ -83,12 +93,12 @@ src_prepare() {
else
default
fi
-   cd src/MEGASync/mega
+   cd "${S}/src/MEGASync/mega"
eautoreconf
 }

  1   2   >