commit:     3bedd6fe12c78b02faa3041c5aab6f72e725c625
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Sat Nov  7 10:42:16 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Nov  7 10:42:16 2020 +0000
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 <samuelbernardo.mail <AT> 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 @@
                <name>Samuel Bernardo</name>
                <description>megasync client from mega.nz</description>
        </maintainer>
+       <use>
+               <flag name='dolphin'>Upload your files to your Mega account 
from Dolphin file manager.</flag>
+               <flag name='nautilus'>Upload your files to your Mega account 
from nautilus.</flag>
+               <flag name='thunar'>Upload your files to your Mega account from 
Thunar.</flag>
+               <flag name='cryptopp'>Compile with Crypto++ Library.</flag>
+               <flag name='freeimage'>Use freeimage to manage graphic images 
format.</flag>
+       </use>
 </pkgmetadata>

Reply via email to