public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/user/ssnb:master commit in: net-misc/megasync/
@ 2019-07-28 12:27 Samuel Bernardo
  0 siblings, 0 replies; 29+ messages in thread
From: Samuel Bernardo @ 2019-07-28 12:27 UTC (permalink / raw
  To: gentoo-commits

commit:     7031c62f12824e3e2b0216261640cf31304db114
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Sun Jul 28 12:27:02 2019 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Sun Jul 28 12:27:02 2019 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=7031c62f

update megasync

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 net-misc/megasync/Manifest              |   2 +
 net-misc/megasync/megasync-4.1.1.ebuild | 146 ++++++++++++++++++++++++++++
 net-misc/megasync/megasync-4.2.0.ebuild | 163 ++++++++++++++++++++++++++++++++
 3 files changed, 311 insertions(+)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 8bc62cb..3814684 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -17,5 +17,7 @@ EBUILD megasync-3.6.6-r1.ebuild 3491 BLAKE2B 7981da7b9d40d9aee6a8eac180a6eba7b68
 EBUILD megasync-3.6.6.ebuild 3362 BLAKE2B 31b8246a1600d088d30ad26687f1d14ea372aa92141be2d779aede5da7a32ab53f41463080a4148fbe74402046ede9d797d3e6d3bbc375ab634885b82476dfba SHA512 e4dfb72321158c6befd757921bd70e7b275ec6b95e2297119d70c4cf1cdf708cec903575b8f3adc308b4a6071a7bd741061acefa2ab16ce78b9a1733e5f06e99
 EBUILD megasync-3.7.1-r1.ebuild 3478 BLAKE2B 7c1e3e43bb883856a53b595cf5dea8b546bace994c46653d4e1b144aae175122ea8be06d758a900c508af9bf9d9ae9e63cc02cdef085f74b571f14ee98a8ae49 SHA512 76761c259bbe503d0f5cfcda4116f3176162a46e5705e085e8fc7624d18c11d1a8b16d3c80566132e37abf6d04563446382e53ec21b7a1c4ced70f8a95e06ff7
 EBUILD megasync-4.0.2.ebuild 3478 BLAKE2B 7c1e3e43bb883856a53b595cf5dea8b546bace994c46653d4e1b144aae175122ea8be06d758a900c508af9bf9d9ae9e63cc02cdef085f74b571f14ee98a8ae49 SHA512 76761c259bbe503d0f5cfcda4116f3176162a46e5705e085e8fc7624d18c11d1a8b16d3c80566132e37abf6d04563446382e53ec21b7a1c4ced70f8a95e06ff7
+EBUILD megasync-4.1.1.ebuild 3478 BLAKE2B 7c1e3e43bb883856a53b595cf5dea8b546bace994c46653d4e1b144aae175122ea8be06d758a900c508af9bf9d9ae9e63cc02cdef085f74b571f14ee98a8ae49 SHA512 76761c259bbe503d0f5cfcda4116f3176162a46e5705e085e8fc7624d18c11d1a8b16d3c80566132e37abf6d04563446382e53ec21b7a1c4ced70f8a95e06ff7
+EBUILD megasync-4.2.0.ebuild 4035 BLAKE2B 5fe7a44ef5d10e12000b0dfe56960f06800f946b339f50c6ffa875be0f80a13ff548bdeee442b442536692a6c9291074d2137e9f59a6c56717044c9bd39eb5d4 SHA512 b2ee2b2bdf1cf878684d74d27ba6934a189abc1deefc90464b9632889976e7860e9a443752702a80036aff4b36fc5619b73bd05951e4e083ec24244cb0fbce45
 EBUILD megasync-9999.ebuild 3637 BLAKE2B 3333948364efa4ae9ce897da38659e669fbb509de374686832d4546caccc4f9333693749540c989f1bb074b9eb929b308978ed089f4b6be714dbf76c530e608b SHA512 020ca96d8972f66cc79673bc31083af2fffacbb02dfeb12677d5d62f08605e1a4f9b29d55d5509231a416c39e7b1cd2e6b20d16c4af00a415cbaf4c133fa6c6d
 MISC metadata.xml 318 BLAKE2B ffc32715f0597b63ba78c242a5adfad13c921b43da17b5e07b4cca5e5ef69dbb3c89a7d110165dcea06ed317f873a5210db21be0ac5941dfb433185fdcb7a6e7 SHA512 e4930a21d6f75f5395e2e96436b42c792771fd7167abceeff0db7a9036616c6feeb6beee890afa6ff5e4584f5bb6938084316e60df57997aa1c20ba0a025514c

diff --git a/net-misc/megasync/megasync-4.1.1.ebuild b/net-misc/megasync/megasync-4.1.1.ebuild
new file mode 100644
index 0000000..e4f6af8
--- /dev/null
+++ b/net-misc/megasync/megasync-4.1.1.ebuild
@@ -0,0 +1,146 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=6
+
+inherit eutils multilib qmake-utils autotools versionator git-r3
+
+DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This is the official app."
+HOMEPAGE="http://mega.co.nz"
+if [[ ${PV} == *9999* ]];then
+	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
+	KEYWORDS=""
+	EGIT_SUBMODULES=( '*' )
+else
+	#SDK_COMMIT="e8e66e9f030febfb35c9e4dd503d69091e28fc04"
+	#MY_PV="$(replace_all_version_separators _)"
+	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
+	EGIT_COMMIT="v${PV}.0_Linux"
+	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/${SDK_COMMIT}.tar.gz -> ${PN}-sdk-20170215.tar.gz"
+	KEYWORDS="~x86 ~amd64"
+	#RESTRICT="mirror"
+	#S="${WORKDIR}/MEGAsync-${PV}.0_Linux"
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="+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
+		)
+	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
+		)"
+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 )
+		"
+
+PATCHES=( )
+
+if [[ ${PV} != *9999* ]];then
+	src_prepare(){
+		#default
+		# Not needed, since using git submodules
+		#cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
+		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[@]}
+		$(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
+	else
+		eqmake4 ${myeqmakeargs[@]}
+		$(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro
+	fi
+}
+
+src_compile(){
+	cd "${S}"/src
+	emake INSTALL_ROOT="${D}" || die
+}
+
+src_install(){
+	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
+}

diff --git a/net-misc/megasync/megasync-4.2.0.ebuild b/net-misc/megasync/megasync-4.2.0.ebuild
new file mode 100644
index 0000000..5e66d5d
--- /dev/null
+++ b/net-misc/megasync/megasync-4.2.0.ebuild
@@ -0,0 +1,163 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=6
+
+inherit eutils multilib qmake-utils autotools versionator git-r3
+
+DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This is the official app."
+HOMEPAGE="http://mega.co.nz"
+RTAG="_ArchLinux"
+if [[ ${PV} == *9999* ]];then
+	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
+	KEYWORDS=""
+	EGIT_SUBMODULES=( '*' )
+else
+	#SDK_COMMIT="e8e66e9f030febfb35c9e4dd503d69091e28fc04"
+	#MY_PV="$(replace_all_version_separators _)"
+	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
+	EGIT_COMMIT="v${PV}${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/${SDK_COMMIT}.tar.gz -> ${PN}-sdk-20170215.tar.gz"
+	KEYWORDS="~x86 ~amd64"
+	#RESTRICT="mirror"
+	#S="${WORKDIR}/MEGAsync-${PV}.0_Linux"
+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} != *9999* ]];then
+	src_prepare(){
+		#default
+		# Not needed, since using git submodules
+		#cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
+		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$(usex nautilus + -)=with_ext
+		CONFIG$(usex thunar + -)=with_thu
+		CONFIG-=with_updater
+		CONFIG-=with_tools
+		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
+}
+
+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
+}


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: net-misc/megasync/
@ 2021-05-24 10:20 Samuel Bernardo
  0 siblings, 0 replies; 29+ messages in thread
From: Samuel Bernardo @ 2021-05-24 10:20 UTC (permalink / raw
  To: gentoo-commits

commit:     e3388496d52235665ede852526b0857b98379725
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Mon May 24 10:20:03 2021 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Mon May 24 10:20:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=e3388496

Change keyword settings for megasync 4.5.0.0

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

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

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index fbf9f64..89364d5 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,5 +1,5 @@
 AUX megasync-4.5.0.0_ffmpeg.patch 1062 BLAKE2B 12a4d861a628773c10de804b3c86c2bad022b3ed91f4823df184839105108283302269d0e40c0939ea3889e46154abecec6ccfa27cad4945ab2913bc06150883 SHA512 fa71543bbf4ab9d11410294820d1a9e454733028367bfa4b6bc2b8e53bab0563dba8c1d569daba0bc8e74a9c4aa46f1268a486826a0c7ba84ef62bb1e31c8598
 AUX megasync-4.5.0.0_pdfium.patch 543 BLAKE2B f01314b9a238d4ba723ab8eb1dd4470cf377cc8a24d8ae89744512b8774aab404b3671a3d82960e7bca90d8cf22d72136ab0d0e3e3e5ba8bb4cb8f40155d0e46 SHA512 948c1dc61b553cdec7bcd6278cd4033e7ed464ee42d54be56341047f103d285d226b69dc40ef37f447e43bd0648511b0b0c1a87a243041503ef6af161acfb566
-EBUILD megasync-4.5.0.0.ebuild 3258 BLAKE2B 9a895f35f8707d9f562b0f9d13b9e843f414a8695f3b6547bff9443e76249d1de524c0e0ad7f0f003eea758f2bd4b8742d88cf88862b86947a9e42699ea79041 SHA512 9d61aded8899b2f2bf86a471b9df77c7ac92458bd93f107fe0ed2c055d4b2cf8a32fb11d18bd7902157789d375d2f7d2938468b303a63d0512bc8c1984064280
+EBUILD megasync-4.5.0.0.ebuild 3272 BLAKE2B df11cbfcd3a817bb0e4b97bfc9bd39f3572b078a4dae50572ab72a6c6597a5f82959d366f1d10ac593b00d8b3b4250ccbe90eba7ca8e814ddaf0358ed851cb1f SHA512 f14eb8ef1bb67a76921cd3a46faf17da8560452c14e6ecc481c7999946a8075f5179d0a454365b84d4e21a73b82a910fbc3e4a4db4be33085fcba2d37b22aabb
 EBUILD megasync-9999.ebuild 3272 BLAKE2B df11cbfcd3a817bb0e4b97bfc9bd39f3572b078a4dae50572ab72a6c6597a5f82959d366f1d10ac593b00d8b3b4250ccbe90eba7ca8e814ddaf0358ed851cb1f SHA512 f14eb8ef1bb67a76921cd3a46faf17da8560452c14e6ecc481c7999946a8075f5179d0a454365b84d4e21a73b82a910fbc3e4a4db4be33085fcba2d37b22aabb
 MISC metadata.xml 736 BLAKE2B 607426e8fd147aca3e0d4d14bafa37f3741720596f32d745d6c9b001d15f44fe766a34ff1cc44be4dd05415d5255574e54865c212e9d388563f6682d18282077 SHA512 63dd47f49a21469c1491830a509c23d09daff2bc526780b970f7fc02ca63ca7e2ae14f5c43acfbc990e1b14736759cf366268e8a8a6df85fdb77b5c36819bdc0

diff --git a/net-misc/megasync/megasync-4.5.0.0.ebuild b/net-misc/megasync/megasync-4.5.0.0.ebuild
index 335b82f..12d1206 100644
--- a/net-misc/megasync/megasync-4.5.0.0.ebuild
+++ b/net-misc/megasync/megasync-4.5.0.0.ebuild
@@ -15,11 +15,12 @@ RTAG="_Win"
 EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
 if [[ ${PV} == 9999 ]]; then
 	EGIT_BRANCH="master"
+	KEYWORDS=""
 else
 	EGIT_COMMIT="v${PV}${RTAG}"
+	KEYWORDS="~x86 ~amd64"
 fi
 EGIT_SUBMODULES=( '*' )
-KEYWORDS="~x86 ~amd64"
 
 LICENSE="MEGA"
 SLOT="0"


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: net-misc/megasync/
@ 2021-05-24  9:47 Samuel Bernardo
  0 siblings, 0 replies; 29+ messages in thread
From: Samuel Bernardo @ 2021-05-24  9:47 UTC (permalink / raw
  To: gentoo-commits

commit:     325619ccca4288cd7cd6d1b3736ca81f2ceba9a2
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Mon May 24 09:46:40 2021 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Mon May 24 09:46:40 2021 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=325619cc

Correct megasync 9999 to be hard masked

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 net-misc/megasync/Manifest             | 2 +-
 net-misc/megasync/megasync-9999.ebuild | 6 ++----
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 9bb5f46..fbf9f64 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,5 +1,5 @@
 AUX megasync-4.5.0.0_ffmpeg.patch 1062 BLAKE2B 12a4d861a628773c10de804b3c86c2bad022b3ed91f4823df184839105108283302269d0e40c0939ea3889e46154abecec6ccfa27cad4945ab2913bc06150883 SHA512 fa71543bbf4ab9d11410294820d1a9e454733028367bfa4b6bc2b8e53bab0563dba8c1d569daba0bc8e74a9c4aa46f1268a486826a0c7ba84ef62bb1e31c8598
 AUX megasync-4.5.0.0_pdfium.patch 543 BLAKE2B f01314b9a238d4ba723ab8eb1dd4470cf377cc8a24d8ae89744512b8774aab404b3671a3d82960e7bca90d8cf22d72136ab0d0e3e3e5ba8bb4cb8f40155d0e46 SHA512 948c1dc61b553cdec7bcd6278cd4033e7ed464ee42d54be56341047f103d285d226b69dc40ef37f447e43bd0648511b0b0c1a87a243041503ef6af161acfb566
 EBUILD megasync-4.5.0.0.ebuild 3258 BLAKE2B 9a895f35f8707d9f562b0f9d13b9e843f414a8695f3b6547bff9443e76249d1de524c0e0ad7f0f003eea758f2bd4b8742d88cf88862b86947a9e42699ea79041 SHA512 9d61aded8899b2f2bf86a471b9df77c7ac92458bd93f107fe0ed2c055d4b2cf8a32fb11d18bd7902157789d375d2f7d2938468b303a63d0512bc8c1984064280
-EBUILD megasync-9999.ebuild 3378 BLAKE2B 27ff80b94ff831925a787695af9add365f30952d1eb079d5b50e5dd1c6455579e394da5576def9333bcec5f9eb5191fcd6279e9b56c30873a444503aa48358b1 SHA512 6f594260c08a5167fdfb6af09100bd8f3d84aa05a671b25ade51ced31e35b58ec3b8d4a5a6a3f509457cfe603e0c13b72402c37525ad60e2434df766c8d9d921
+EBUILD megasync-9999.ebuild 3272 BLAKE2B df11cbfcd3a817bb0e4b97bfc9bd39f3572b078a4dae50572ab72a6c6597a5f82959d366f1d10ac593b00d8b3b4250ccbe90eba7ca8e814ddaf0358ed851cb1f SHA512 f14eb8ef1bb67a76921cd3a46faf17da8560452c14e6ecc481c7999946a8075f5179d0a454365b84d4e21a73b82a910fbc3e4a4db4be33085fcba2d37b22aabb
 MISC metadata.xml 736 BLAKE2B 607426e8fd147aca3e0d4d14bafa37f3741720596f32d745d6c9b001d15f44fe766a34ff1cc44be4dd05415d5255574e54865c212e9d388563f6682d18282077 SHA512 63dd47f49a21469c1491830a509c23d09daff2bc526780b970f7fc02ca63ca7e2ae14f5c43acfbc990e1b14736759cf366268e8a8a6df85fdb77b5c36819bdc0

diff --git a/net-misc/megasync/megasync-9999.ebuild b/net-misc/megasync/megasync-9999.ebuild
index 79795f7..12d1206 100644
--- a/net-misc/megasync/megasync-9999.ebuild
+++ b/net-misc/megasync/megasync-9999.ebuild
@@ -15,11 +15,12 @@ RTAG="_Win"
 EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
 if [[ ${PV} == 9999 ]]; then
 	EGIT_BRANCH="master"
+	KEYWORDS=""
 else
 	EGIT_COMMIT="v${PV}${RTAG}"
+	KEYWORDS="~x86 ~amd64"
 fi
 EGIT_SUBMODULES=( '*' )
-KEYWORDS="~x86 ~amd64"
 
 LICENSE="MEGA"
 SLOT="0"
@@ -70,9 +71,6 @@ PATCHES=( )
 CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin"
 
 src_prepare() {
-	if [ -e "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch" ]; then
-		eapply -p0 "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch"
-	fi
 	if [ -e "${FILESDIR}/${P}_pdfium.patch" ]; then
 		cd "${S}/src/MEGASync/mega"
 		eapply -Np1 "${FILESDIR}/${P}_pdfium.patch"


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: net-misc/megasync/
@ 2021-01-17 18:16 Samuel Bernardo
  0 siblings, 0 replies; 29+ messages in thread
From: Samuel Bernardo @ 2021-01-17 18:16 UTC (permalink / raw
  To: gentoo-commits

commit:     7db2b3bc0ef33714d5a159d5a59f7f779fab7014
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Sun Jan 17 18:14:52 2021 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Sun Jan 17 18:14:52 2021 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=7db2b3bc

Update megasync

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 net-misc/megasync/Manifest | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index c5ab9fa..c5b09ac 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -4,8 +4,7 @@ AUX megasync-3.6.5-ffmpeg.patch 566 BLAKE2B c1e8bd4b5c4c2c6fd6cc2316e7372443672f
 AUX megasync-3.6.6-ffmpeg.patch 566 BLAKE2B c1e8bd4b5c4c2c6fd6cc2316e7372443672ff1b25fbc3332ffc60f524396b7f784669da26506dbf683962a7f3da63809b57ec7696be8cef0d6c720fdb924999b SHA512 741df967aece39bdd3b17b105bcad390d6cf817c1e4db9bf13d460ccc972af8ff6696f72a0253f2adea76526d7346474e65df18bfd485194e7ff8a479274c655
 AUX megasync-3.6.6-gnome.patch 446 BLAKE2B 5ceab726168f53f82b10c96b9a5761b21903b9d602cd6c9e0b9fb0f6d06eedefb3542668dce1381689ed947989f0ca2e70bc25e9cc15d526ac197c104219b5c2 SHA512 02427cf7d156e541986bc1c2b1a4dc67fffcb2a68d24fe8d1cec443ca84e230515e6650e741192b6be1ebfc57aaf02a71dc4443e8086087264cfeeaf612d278e
 AUX megasync-glibc2.26.patch 5958 BLAKE2B 990b5ddc9300979e9a059c285b05ef691566e2ec33ab40de76e9f5c251dc8c2f94ddc936eb13772c413c42b0d1122596f2e47805766fe6512ec09050f6b22111 SHA512 f8348b61028f34714dabe83fe88e5820686a35e1fa52206451152a97a286557168666142121936304d60aa18dae16d4474c3c3278274b62cc06d42587fc7016e
-EBUILD megasync-4.3.1-r1.ebuild 3478 BLAKE2B e1a3965a97a0eae7f098a49f7351e0d30d2187e7356f91c298507e8feb11313fd2d5af66fe4372a3e329233f8004a4395dfe483c53e8205e24629629e9476962 SHA512 acdb1cd095cd19de2c618952a8dc07b0d2dba3f26c53cd2e23f439f85fdd6850c1665f2d6fcff75fcc4650ebae27fc1596cd160c18c454421f86970c521aa0a7
-EBUILD megasync-4.3.3.ebuild 3149 BLAKE2B 1ece4f721d19279292624b517afe94e95c390c48e83de98b68e4a9f8e78535d8bef8579ecad38d221668da2205a9877539ffe61e1a5e9028e5ac63377989a7dc SHA512 9a8539c2a0084338086fe080f12cc085fe181ad9bbdf92d23aff829f6ea25bb669745c7bd0e58552175dc2af81a0f70e65a704d2bc1fb79ca8ee6e193236ffa3
 EBUILD megasync-4.3.5.ebuild 3149 BLAKE2B 1ece4f721d19279292624b517afe94e95c390c48e83de98b68e4a9f8e78535d8bef8579ecad38d221668da2205a9877539ffe61e1a5e9028e5ac63377989a7dc SHA512 9a8539c2a0084338086fe080f12cc085fe181ad9bbdf92d23aff829f6ea25bb669745c7bd0e58552175dc2af81a0f70e65a704d2bc1fb79ca8ee6e193236ffa3
-EBUILD megasync-9999.ebuild 3149 BLAKE2B 1ece4f721d19279292624b517afe94e95c390c48e83de98b68e4a9f8e78535d8bef8579ecad38d221668da2205a9877539ffe61e1a5e9028e5ac63377989a7dc SHA512 9a8539c2a0084338086fe080f12cc085fe181ad9bbdf92d23aff829f6ea25bb669745c7bd0e58552175dc2af81a0f70e65a704d2bc1fb79ca8ee6e193236ffa3
+EBUILD megasync-4.3.7.0.ebuild 3226 BLAKE2B d20875c506b6a80a50163491d92b2b4e615705296a8092d80d953166a6695aa11ac13c005d74a21d92d6bc06926456d41f9b2bbf03e0104fe4123156b191d480 SHA512 53d531f490e8fe9bc140a0207b52537f0bd0fbc6ee2340daf69caabe1cca178fa6c1f441d0c6e03623b152697a6f1dd1b0d8185812431b3536e35927877985c7
+EBUILD megasync-9999.ebuild 2665 BLAKE2B 98e1cb77713c7943a765ad01aaade91ba3ecd9bad78d8caccd90f4c117dd5426c4428c573aa1681e46c8293174ffd2ffb6547462a9ffbcd713b25cf37e57acaa SHA512 639505ab1183a3bd445daaae2dd3e9653f8237f8c05398561b01ca2521dda1da47608aba47e7bbc1afe75cc28161f83d8243d55e6ddd03296e1a99fad45df7a3
 MISC metadata.xml 736 BLAKE2B 607426e8fd147aca3e0d4d14bafa37f3741720596f32d745d6c9b001d15f44fe766a34ff1cc44be4dd05415d5255574e54865c212e9d388563f6682d18282077 SHA512 63dd47f49a21469c1491830a509c23d09daff2bc526780b970f7fc02ca63ca7e2ae14f5c43acfbc990e1b14736759cf366268e8a8a6df85fdb77b5c36819bdc0


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: net-misc/megasync/
@ 2021-01-17 18:05 Samuel Bernardo
  0 siblings, 0 replies; 29+ messages in thread
From: Samuel Bernardo @ 2021-01-17 18:05 UTC (permalink / raw
  To: gentoo-commits

commit:     7bfdff49c492ca882c53f6db90196d0940c2c2ff
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Sun Jan 17 18:05:11 2021 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Sun Jan 17 18:05:11 2021 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=7bfdff49

Update megasync

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 net-misc/megasync/megasync-4.3.1-r1.ebuild         | 150 ---------------------
 ...gasync-4.3.3.ebuild => megasync-4.3.7.0.ebuild} | 140 +++++++++----------
 net-misc/megasync/megasync-9999.ebuild             | 120 ++++++++++++++++-
 3 files changed, 191 insertions(+), 219 deletions(-)

diff --git a/net-misc/megasync/megasync-4.3.1-r1.ebuild b/net-misc/megasync/megasync-4.3.1-r1.ebuild
deleted file mode 100644
index d4a648f..0000000
--- a/net-misc/megasync/megasync-4.3.1-r1.ebuild
+++ /dev/null
@@ -1,150 +0,0 @@
-# Copyright 1999-2020 Gentoo Foundation
-# 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} == *9999* ]];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} != *9999* ]];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
-		eqmake4 ${myeqmakeargs[@]}
-		use dolphin && cmake-utils_src_configure
-		$(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro
-	fi
-}
-
-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
-}

diff --git a/net-misc/megasync/megasync-4.3.3.ebuild b/net-misc/megasync/megasync-4.3.7.0.ebuild
similarity index 52%
rename from net-misc/megasync/megasync-4.3.3.ebuild
rename to net-misc/megasync/megasync-4.3.7.0.ebuild
index aa7d2f2..5890701 100644
--- a/net-misc/megasync/megasync-4.3.3.ebuild
+++ b/net-misc/megasync/megasync-4.3.7.0.ebuild
@@ -4,83 +4,86 @@
 
 EAPI=7
 
-inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
+inherit autotools desktop qmake-utils xdg cmake git-r3
 
-DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This is the official app."
+DESCRIPTION="The official Qt-based program for syncing your MEGA account in your PC"
 HOMEPAGE="http://mega.co.nz"
 RTAG="_Linux"
-if [[ ${PV} == *9999* ]];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
+EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
+EGIT_COMMIT="v${PV}${RTAG}"
+EGIT_SUBMODULES=( '*' )
+KEYWORDS="~x86 ~amd64"
 
 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"
 
+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="
-	dev-lang/swig
-	app-doc/doxygen
+	${RDEPEND}
 	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 )
-	"
+	dev-qt/qtsvg:5
+"
+BDEPEND="
+	dev-lang/swig
+	dev-qt/linguist-tools
+"
+
+DOCS=( CREDITS.md README.md )
 
 PATCHES=( )
 
-if [[ ${PV} != *9999* ]];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
+CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin"
 
-src_configure(){
-	cd "${S}"/src/MEGASync/mega
+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 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
+	fi
+	eapply_user
+	cd src/MEGASync/mega
+	eautoreconf
+}
+
+src_configure() {
+	cd src/MEGASync/mega
 	econf \
 		"--disable-silent-rules" \
 		"--disable-curl-checks" \
@@ -100,35 +103,36 @@ src_configure(){
 		$(use_enable php) \
 		$(use_enable python) \
 		"--enable-chat" \
-		"--enable-gcc-hardening" 
+		"--enable-gcc-hardening"
 	cd ../..
+
 	local myeqmakeargs=(
 		MEGA.pro
 		CONFIG+="release"
 	)
+
 	eqmake5 ${myeqmakeargs[@]}
-	use dolphin && cmake-utils_src_configure
+	use dolphin && cmake_src_configure
 	$(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
 }
 
-src_compile(){
+src_compile() {
 	emake -C src INSTALL_ROOT="${D}" || die
-	use dolphin && cmake-utils_src_compile
+	use dolphin && cmake_src_compile
 }
 
-src_install(){
-	use dolphin && cmake-utils_src_install
+src_install() {
 	local DOCS=( CREDITS.md README.md )
+	use dolphin && cmake_src_install
 	einstalldocs
+	dobin src/MEGASync/${PN}
 	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
+	dobin src/MEGASync/${PN}
+	domenu src/MEGASync/platform/linux/data/${PN}.desktop
+	cd src/MEGASync/platform/linux/data/icons/hicolor
 	for size in 16x16 32x32 48x48 128x128 256x256;do
 		doicon -s $size $size/apps/mega.png
 	done
 }
+

diff --git a/net-misc/megasync/megasync-9999.ebuild b/net-misc/megasync/megasync-9999.ebuild
deleted file mode 120000
index 464f33c..0000000
--- a/net-misc/megasync/megasync-9999.ebuild
+++ /dev/null
@@ -1 +0,0 @@
-megasync-4.3.3.ebuild
\ No newline at end of file

diff --git a/net-misc/megasync/megasync-9999.ebuild b/net-misc/megasync/megasync-9999.ebuild
new file mode 100644
index 0000000..8029bd4
--- /dev/null
+++ b/net-misc/megasync/megasync-9999.ebuild
@@ -0,0 +1,119 @@
+# 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 git-r3
+
+DESCRIPTION="The official Qt-based program for syncing your MEGA account in your PC"
+HOMEPAGE="http://mega.co.nz"
+
+EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
+KEYWORDS=""
+EGIT_SUBMODULES=( '*' )
+
+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() {
+	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 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_src_configure
+	$(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
+}
+
+src_compile() {
+	emake -C src INSTALL_ROOT="${D}" || die
+	use dolphin && cmake_src_compile
+}
+
+src_install() {
+	use dolphin && cmake_src_install
+	einstalldocs
+	dobin src/MEGASync/${PN}
+	insinto usr/share/licenses/${PN}
+	doins LICENCE.md installer/terms.txt
+	domenu src/MEGASync/platform/linux/data/${PN}.desktop
+	cd src/MEGASync/platform/linux/data/icons/hicolor
+	for size in 16x16 32x32 48x48 128x128 256x256;do
+		doicon -s $size $size/apps/mega.png
+	done
+}


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: net-misc/megasync/
@ 2020-11-07 11:11 Samuel Bernardo
  0 siblings, 0 replies; 29+ messages in thread
From: Samuel Bernardo @ 2020-11-07 11:11 UTC (permalink / raw
  To: gentoo-commits

commit:     afdc2b0a233dca10bb764ca98bb3c844d4bbb308
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Sat Nov  7 11:10:45 2020 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Sat Nov  7 11:10:45 2020 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=afdc2b0a

Update to latest version

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 net-misc/megasync/Manifest              |   1 +
 net-misc/megasync/megasync-4.3.5.ebuild | 134 ++++++++++++++++++++++++++++++++
 2 files changed, 135 insertions(+)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 603392c..c5ab9fa 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -6,5 +6,6 @@ AUX megasync-3.6.6-gnome.patch 446 BLAKE2B 5ceab726168f53f82b10c96b9a5761b21903b
 AUX megasync-glibc2.26.patch 5958 BLAKE2B 990b5ddc9300979e9a059c285b05ef691566e2ec33ab40de76e9f5c251dc8c2f94ddc936eb13772c413c42b0d1122596f2e47805766fe6512ec09050f6b22111 SHA512 f8348b61028f34714dabe83fe88e5820686a35e1fa52206451152a97a286557168666142121936304d60aa18dae16d4474c3c3278274b62cc06d42587fc7016e
 EBUILD megasync-4.3.1-r1.ebuild 3478 BLAKE2B e1a3965a97a0eae7f098a49f7351e0d30d2187e7356f91c298507e8feb11313fd2d5af66fe4372a3e329233f8004a4395dfe483c53e8205e24629629e9476962 SHA512 acdb1cd095cd19de2c618952a8dc07b0d2dba3f26c53cd2e23f439f85fdd6850c1665f2d6fcff75fcc4650ebae27fc1596cd160c18c454421f86970c521aa0a7
 EBUILD megasync-4.3.3.ebuild 3149 BLAKE2B 1ece4f721d19279292624b517afe94e95c390c48e83de98b68e4a9f8e78535d8bef8579ecad38d221668da2205a9877539ffe61e1a5e9028e5ac63377989a7dc SHA512 9a8539c2a0084338086fe080f12cc085fe181ad9bbdf92d23aff829f6ea25bb669745c7bd0e58552175dc2af81a0f70e65a704d2bc1fb79ca8ee6e193236ffa3
+EBUILD megasync-4.3.5.ebuild 3149 BLAKE2B 1ece4f721d19279292624b517afe94e95c390c48e83de98b68e4a9f8e78535d8bef8579ecad38d221668da2205a9877539ffe61e1a5e9028e5ac63377989a7dc SHA512 9a8539c2a0084338086fe080f12cc085fe181ad9bbdf92d23aff829f6ea25bb669745c7bd0e58552175dc2af81a0f70e65a704d2bc1fb79ca8ee6e193236ffa3
 EBUILD megasync-9999.ebuild 3149 BLAKE2B 1ece4f721d19279292624b517afe94e95c390c48e83de98b68e4a9f8e78535d8bef8579ecad38d221668da2205a9877539ffe61e1a5e9028e5ac63377989a7dc SHA512 9a8539c2a0084338086fe080f12cc085fe181ad9bbdf92d23aff829f6ea25bb669745c7bd0e58552175dc2af81a0f70e65a704d2bc1fb79ca8ee6e193236ffa3
 MISC metadata.xml 736 BLAKE2B 607426e8fd147aca3e0d4d14bafa37f3741720596f32d745d6c9b001d15f44fe766a34ff1cc44be4dd05415d5255574e54865c212e9d388563f6682d18282077 SHA512 63dd47f49a21469c1491830a509c23d09daff2bc526780b970f7fc02ca63ca7e2ae14f5c43acfbc990e1b14736759cf366268e8a8a6df85fdb77b5c36819bdc0

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 0000000..aa7d2f2
--- /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} == *9999* ]];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} != *9999* ]];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
+}


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: net-misc/megasync/
@ 2020-09-21  1:41 Samuel Bernardo
  0 siblings, 0 replies; 29+ messages in thread
From: Samuel Bernardo @ 2020-09-21  1:41 UTC (permalink / raw
  To: gentoo-commits

commit:     8d188073a930ee5d217091734ade5ac4df170fbe
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Mon Sep 21 01:40:28 2020 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Mon Sep 21 01:40:28 2020 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=8d188073

Update and clean old versions of megasync ebuild

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 net-misc/megasync/Manifest                         |  19 +--
 net-misc/megasync/megasync-3.0.1.ebuild            | 135 -----------------
 net-misc/megasync/megasync-3.1.4.ebuild            | 132 -----------------
 net-misc/megasync/megasync-3.5.3.ebuild            | 135 -----------------
 net-misc/megasync/megasync-3.6.0-r1.ebuild         | 135 -----------------
 net-misc/megasync/megasync-3.6.0-r2.ebuild         | 136 -----------------
 net-misc/megasync/megasync-3.6.5-r1.ebuild         | 140 ------------------
 net-misc/megasync/megasync-3.6.5.ebuild            | 139 ------------------
 net-misc/megasync/megasync-3.6.6-r1.ebuild         | 145 ------------------
 net-misc/megasync/megasync-3.6.6.ebuild            | 140 ------------------
 net-misc/megasync/megasync-3.7.1-r1.ebuild         | 146 -------------------
 net-misc/megasync/megasync-4.0.2.ebuild            | 146 -------------------
 net-misc/megasync/megasync-4.1.1.ebuild            | 146 -------------------
 net-misc/megasync/megasync-4.2.0.ebuild            | 159 --------------------
 net-misc/megasync/megasync-4.2.5-r2.ebuild         | 162 ---------------------
 net-misc/megasync/megasync-4.2.5.ebuild            | 159 --------------------
 ...megasync-4.2.3.ebuild => megasync-4.3.3.ebuild} |  15 +-
 17 files changed, 4 insertions(+), 2185 deletions(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index e2eef42..ee32f33 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -4,24 +4,7 @@ AUX megasync-3.6.5-ffmpeg.patch 566 BLAKE2B c1e8bd4b5c4c2c6fd6cc2316e7372443672f
 AUX megasync-3.6.6-ffmpeg.patch 566 BLAKE2B c1e8bd4b5c4c2c6fd6cc2316e7372443672ff1b25fbc3332ffc60f524396b7f784669da26506dbf683962a7f3da63809b57ec7696be8cef0d6c720fdb924999b SHA512 741df967aece39bdd3b17b105bcad390d6cf817c1e4db9bf13d460ccc972af8ff6696f72a0253f2adea76526d7346474e65df18bfd485194e7ff8a479274c655
 AUX megasync-3.6.6-gnome.patch 446 BLAKE2B 5ceab726168f53f82b10c96b9a5761b21903b9d602cd6c9e0b9fb0f6d06eedefb3542668dce1381689ed947989f0ca2e70bc25e9cc15d526ac197c104219b5c2 SHA512 02427cf7d156e541986bc1c2b1a4dc67fffcb2a68d24fe8d1cec443ca84e230515e6650e741192b6be1ebfc57aaf02a71dc4443e8086087264cfeeaf612d278e
 AUX megasync-glibc2.26.patch 5958 BLAKE2B 990b5ddc9300979e9a059c285b05ef691566e2ec33ab40de76e9f5c251dc8c2f94ddc936eb13772c413c42b0d1122596f2e47805766fe6512ec09050f6b22111 SHA512 f8348b61028f34714dabe83fe88e5820686a35e1fa52206451152a97a286557168666142121936304d60aa18dae16d4474c3c3278274b62cc06d42587fc7016e
-DIST megasync-3.0.1.tar.gz 10859538 BLAKE2B 4ae480d36b746b70a7a155690aaa2dfb9cb70ded57228382df10db57bbdde5c0d93b98738fa6104c709cea2ce57078dd0494b122ea3ab84b9d348d3316e9e063 SHA512 0e3e0315f9a8f4694a59f7b50d6dd93c5e840d013d8c658288d7c0cafca9fbdc1faa2bbaec5c2d08e5f4c4d1790864a8595153808ea7b8c0a1c3550ae8398dbe
-DIST megasync-sdk-20170215.tar.gz 3475525 BLAKE2B 71e85a62c9429944a0bd3cbe4f914b9632fa02b2021e0ca5281c19ff98e4c11feb9de5575553eb0df4589b8929e5c22719abdb7ed1f3784827cf5532cf0ce1b5 SHA512 218f69e22110d31093d841a6f3e7aa1336f16db063ae2fe2219507c140a14c6879d2ff9a7be11d0c31662b2439117e384737be916663af1d49fdf6dbd2d83706
-EBUILD megasync-3.0.1.ebuild 3631 BLAKE2B 6747ed137f2174d13cdefd2347e0b39772f52b37b0031eae0cb0ee836657ee37e9f8836bc0b784ce6272494ec1c0a0229f7d1f42e3417812d58dfecb71982d38 SHA512 cef1286d280689516eb6fd754c70524c2acd48976637275a46493211151cd89e1ea45c6f0494de606a71c84876b7d186a3af55311279aca41267cbda9219bd9e
-EBUILD megasync-3.1.4.ebuild 3165 BLAKE2B 4f50da930addad128e9cbd6be4b7e2b44bff6e8ddd0d7609076297385bd11fed43e3c0fdd0f03ce2e29bf21b3aa707a928af8d3f3063e0a7cedcc33928a65711 SHA512 964fbd703748194c5c2b109d89e03bdb7d99c2b793fb187875e7d7304e69ea0f7efce9a19d607ce1b87de5e229fbf9d2fbda86df02aa6c42ffeab908c8152dc1
-EBUILD megasync-3.5.3.ebuild 3277 BLAKE2B a59fddfa224bcdb23b033950d8cbe0587f145717710824c2470f8e5c76d01853a0b65101b0841c01024f3ad85eb5e86a993be4d31d57f5245829b9eda92ac334 SHA512 3d063386c052ec6c673d31c37ac2d7a8e78ee47d627bc5961d0e8ea9f1b7fde76f58078de0cc7cd5e1aa968b1941e7f51d22e9632ffe6c0b8dda05d919b40f13
-EBUILD megasync-3.6.0-r1.ebuild 3277 BLAKE2B 16486c24e8443039c7793a0d23e44d55d9594af91257b2edd78cda9ba5f22968aa8564fa52bba5baf368c5907725c5c2e83764a422424639b62638e7ca66364f SHA512 cdf8578835f4560087deb3e248b6c70303718fee558a11f2a5d4fe0a415934aaab5ffb6f55a799ed9159dd7d22b35f067f77fac69c304d48f73c03d840066b79
-EBUILD megasync-3.6.0-r2.ebuild 3300 BLAKE2B 40ce7786ae55cfffcf902588bca7362fa3eeae819c20a1bc645e353d2fa4b77ffc4d5f5c4a642df81ba39204da35b231132fc09f8c97e666d67da4fd850a6453 SHA512 d53d07610ec4637b3d5cc45aa45cc4774ea8ee054d3b1d4885fd655cca0cdde15d6455aca42c99e301e38c891b8b897562effc512bb49dc5829f75ec49cf06e0
-EBUILD megasync-3.6.5-r1.ebuild 3362 BLAKE2B 31b8246a1600d088d30ad26687f1d14ea372aa92141be2d779aede5da7a32ab53f41463080a4148fbe74402046ede9d797d3e6d3bbc375ab634885b82476dfba SHA512 e4dfb72321158c6befd757921bd70e7b275ec6b95e2297119d70c4cf1cdf708cec903575b8f3adc308b4a6071a7bd741061acefa2ab16ce78b9a1733e5f06e99
-EBUILD megasync-3.6.5.ebuild 3337 BLAKE2B 2f5aeb4338a6b3cda24c7df83f72133078bc9d7a9b85235dbc74939a6584ee3db15c1ead62cde806419d455b400e7ecf1f16f8b9180603d2b03f3c1e522d0bbe SHA512 d8093129e32585db276e4aa88496092c7a99731b10755a8514b23492e0e6473837850dcaec1606804a732d4fc88cd77b9bc207ecafbd7a3450e249f8eade438d
-EBUILD megasync-3.6.6-r1.ebuild 3491 BLAKE2B 7981da7b9d40d9aee6a8eac180a6eba7b68642ad23b12bb73f2387eeb02519d54d88e9557842787379cc603917f768452a175657d87b23cd4e378c2619bfc9ec SHA512 4507cc58b49e1653ed1bf63a4210433f89a7c195892c070deb2c9d9207c95e5274f53bdc2371ad8ecadc1bebfbdc18466a431dbd11bc68d6d2fa3e1f7cc90a58
-EBUILD megasync-3.6.6.ebuild 3362 BLAKE2B 31b8246a1600d088d30ad26687f1d14ea372aa92141be2d779aede5da7a32ab53f41463080a4148fbe74402046ede9d797d3e6d3bbc375ab634885b82476dfba SHA512 e4dfb72321158c6befd757921bd70e7b275ec6b95e2297119d70c4cf1cdf708cec903575b8f3adc308b4a6071a7bd741061acefa2ab16ce78b9a1733e5f06e99
-EBUILD megasync-3.7.1-r1.ebuild 3478 BLAKE2B 7c1e3e43bb883856a53b595cf5dea8b546bace994c46653d4e1b144aae175122ea8be06d758a900c508af9bf9d9ae9e63cc02cdef085f74b571f14ee98a8ae49 SHA512 76761c259bbe503d0f5cfcda4116f3176162a46e5705e085e8fc7624d18c11d1a8b16d3c80566132e37abf6d04563446382e53ec21b7a1c4ced70f8a95e06ff7
-EBUILD megasync-4.0.2.ebuild 3478 BLAKE2B 7c1e3e43bb883856a53b595cf5dea8b546bace994c46653d4e1b144aae175122ea8be06d758a900c508af9bf9d9ae9e63cc02cdef085f74b571f14ee98a8ae49 SHA512 76761c259bbe503d0f5cfcda4116f3176162a46e5705e085e8fc7624d18c11d1a8b16d3c80566132e37abf6d04563446382e53ec21b7a1c4ced70f8a95e06ff7
-EBUILD megasync-4.1.1.ebuild 3478 BLAKE2B 7c1e3e43bb883856a53b595cf5dea8b546bace994c46653d4e1b144aae175122ea8be06d758a900c508af9bf9d9ae9e63cc02cdef085f74b571f14ee98a8ae49 SHA512 76761c259bbe503d0f5cfcda4116f3176162a46e5705e085e8fc7624d18c11d1a8b16d3c80566132e37abf6d04563446382e53ec21b7a1c4ced70f8a95e06ff7
-EBUILD megasync-4.2.0.ebuild 3917 BLAKE2B 7295114af019c39c00e8d487c8cc6bfd9ad3480c83374779658325971da2c647ecaa9113b8e5a4646bf6fadbb4d882728f060c809d91aed52208a7a202b32669 SHA512 de032dc55d676bbf93d017b2495038c09e859b193fce0bf5ee20e559d0f61e6d49c7742c2dadf3879419915ad93488ca841ec7cf9cb07b0243fe331726c20b81
-EBUILD megasync-4.2.3.ebuild 3915 BLAKE2B ed8dca3c7f8062d12e17a5143a8bd5a6ee9b8d79c54b395d9e0502a4d277acd62443c36ed09572aff677842c22b879160a62f92fb7beda90c57d3d6fc14ee8f6 SHA512 eb027f7cbf263075f181645ebe2625997ed7a499c8a5e285f52cdb348ef3295ecadb03240ee446a9362895f96e9bfd11657a27aca9fb34ab9d5422cc68d847e9
-EBUILD megasync-4.2.5-r2.ebuild 4027 BLAKE2B cf745d60810047fcbf4392271263e99bb615019647dd4d52cb7b95b01e0a25005d25b551df418a46881f5f655f5e9114ab5b351fa9387c8fb027cb04ab0ccd18 SHA512 99c1cee8eb8f4e941569f2c4682bbd5ef55ff30b76f3f6dbcd759993c769f5651d88f3636d3b85046a6cfecca50826600ae2eacd31ddf7f3871cf7e6e7891040
-EBUILD megasync-4.2.5.ebuild 3915 BLAKE2B ed8dca3c7f8062d12e17a5143a8bd5a6ee9b8d79c54b395d9e0502a4d277acd62443c36ed09572aff677842c22b879160a62f92fb7beda90c57d3d6fc14ee8f6 SHA512 eb027f7cbf263075f181645ebe2625997ed7a499c8a5e285f52cdb348ef3295ecadb03240ee446a9362895f96e9bfd11657a27aca9fb34ab9d5422cc68d847e9
 EBUILD megasync-4.3.1-r1.ebuild 3478 BLAKE2B e1a3965a97a0eae7f098a49f7351e0d30d2187e7356f91c298507e8feb11313fd2d5af66fe4372a3e329233f8004a4395dfe483c53e8205e24629629e9476962 SHA512 acdb1cd095cd19de2c618952a8dc07b0d2dba3f26c53cd2e23f439f85fdd6850c1665f2d6fcff75fcc4650ebae27fc1596cd160c18c454421f86970c521aa0a7
+EBUILD megasync-4.3.3.ebuild 3475 BLAKE2B 6e588b1aafef9a0bc6017e92d3122ea84b40154eb6b9a084bb28ccc67ad9d1563649ff06a3d0e4116ed54b7ba6db6552eddea8204a8148822545af5123b42cdc SHA512 e28f2a7c302f52e393f697a02334062a0a4161b06ddd6896b6d3f6b12c57f9daabd7881e59b788a711e5ac774af487bc5d87d9b329b5239079aff3c2a78462d0
 EBUILD megasync-9999.ebuild 3234 BLAKE2B 8c2dbd9234089a286275ab7381df1986b7a744de54e6b6e0216fa72913d9b61012eb869058f4dac906bb7bce36c4097c023d1d6cbca7e49792fd199e82bcead1 SHA512 11cdb8aad6f5d01dd87b8f5fda04b356d0c464ac122e27c4654b1b6f2489cae3131a124a0333c6dc41644fb079dec20f0e07671584a3a872ca688cef9513b66f
 MISC metadata.xml 318 BLAKE2B ffc32715f0597b63ba78c242a5adfad13c921b43da17b5e07b4cca5e5ef69dbb3c89a7d110165dcea06ed317f873a5210db21be0ac5941dfb433185fdcb7a6e7 SHA512 e4930a21d6f75f5395e2e96436b42c792771fd7167abceeff0db7a9036616c6feeb6beee890afa6ff5e4584f5bb6938084316e60df57997aa1c20ba0a025514c

diff --git a/net-misc/megasync/megasync-3.0.1.ebuild b/net-misc/megasync/megasync-3.0.1.ebuild
deleted file mode 100644
index b73ebb2..0000000
--- a/net-misc/megasync/megasync-3.0.1.ebuild
+++ /dev/null
@@ -1,135 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=6
-
-inherit eutils multilib qmake-utils autotools versionator
-
-DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This is the official app."
-HOMEPAGE="http://mega.co.nz"
-if [[ ${PV} == *9999* ]];then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
-	KEYWORDS=""
-else
-	SDK_COMMIT="e8e66e9f030febfb35c9e4dd503d69091e28fc04"
-	MY_PV="$(replace_all_version_separators _)"
-	SRC_URI="https://github.com/meganz/MEGAsync/archive/v${PV}.0_Linux.tar.gz -> ${P}.tar.gz
-	https://github.com/meganz/sdk/archive/${SDK_COMMIT}.tar.gz -> ${PN}-sdk-20170215.tar.gz"
-	KEYWORDS="~x86 ~amd64"
-	RESTRICT="mirror"
-	S="${WORKDIR}/MEGAsync-${PV}.0_Linux"
-fi
-
-LICENSE="MEGA"
-SLOT="0"
-IUSE="+cryptopp +sqlite +zlib +curl freeimage readline examples threads qt5 nautilus"
-
-DEPEND="
-	!qt5? ( 
-		dev-qt/qtcore:4
-		dev-qt/qtgui:4
-		dev-qt/qtdbus:4
-		)
-	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
-		)"
-RDEPEND="${DEPEND}
-		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 )
-		nautilus? (
-			>=gnome-base/nautilus-3.12.0
-			!!gnome-extra/nautilus-megasync 
-			)
-		"
-
-if [[ ${PV} != *9999* ]];then
-	src_prepare(){
-		cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
-		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)	
-	cd ../..
-	local myeqmakeargs=(
-		MEGA.pro
-		CONFIG+="release"
-	)
-	use nautilus && myeqmakeargs+=( CONFIG+="with_ext" )
-	if use qt5; then
-		eqmake5 ${myeqmakeargs[@]}
-		$(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
-	else
-		eqmake4 ${myeqmakeargs[@]}
-		$(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro
-	fi
-}
-
-src_compile(){
-	cd "${S}"/src
-	emake INSTALL_ROOT="${D}" || die
-}
-
-src_install(){
-	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
-	if use nautilus; then
-		cd "${S}/src/MEGAShellExtNautilus"
-		insinto usr/lib/nautilus/extensions-3.0
-		doins libMEGAShellExtNautilus.so.1.0.0
-		cd data/emblems
-		for size in 32x32 64x64;do
-			insinto usr/share/icons/hicolor/$size/emblems
-			doins $size/mega-{pending,synced,syncing,upload}.{icon,png}
-			dosym ${EPREFIX}/usr/lib/nautilus/extensions-3.0/libMEGAShellExtNautilus.so.1.0.0 ${EPREFIX}/usr/lib/nautilus/extensions-3.0/libMEGAShellExtNautilus.so.1.0
-			dosym ${EPREFIX}/usr/lib/nautilus/extensions-3.0/libMEGAShellExtNautilus.so.1.0.0 ${EPREFIX}/usr/lib/nautilus/extensions-3.0/libMEGAShellExtNautilus.so.1
-			dosym ${EPREFIX}/usr/lib/nautilus/extensions-3.0/libMEGAShellExtNautilus.so.1.0.0 ${EPREFIX}/usr/lib/nautilus/extensions-3.0/libMEGAShellExtNautilus.so
-		done
-	fi
-}

diff --git a/net-misc/megasync/megasync-3.1.4.ebuild b/net-misc/megasync/megasync-3.1.4.ebuild
deleted file mode 100644
index d9f4493..0000000
--- a/net-misc/megasync/megasync-3.1.4.ebuild
+++ /dev/null
@@ -1,132 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=6
-
-inherit eutils multilib qmake-utils autotools versionator git-r3
-
-DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This is the official app."
-HOMEPAGE="http://mega.co.nz"
-if [[ ${PV} == *9999* ]];then
-	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
-	KEYWORDS=""
-	EGIT_SUBMODULES=( '*' )
-else
-	#SDK_COMMIT="e8e66e9f030febfb35c9e4dd503d69091e28fc04"
-	#MY_PV="$(replace_all_version_separators _)"
-	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
-	EGIT_COMMIT="v${PV}.0_Linux"
-	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/${SDK_COMMIT}.tar.gz -> ${PN}-sdk-20170215.tar.gz"
-	KEYWORDS="~x86 ~amd64"
-	#RESTRICT="mirror"
-	#S="${WORKDIR}/MEGAsync-${PV}.0_Linux"
-fi
-
-LICENSE="MEGA"
-SLOT="0"
-IUSE="+cryptopp +sqlite +zlib +curl freeimage readline examples threads qt5 java php python"
-
-DEPEND="
-	dev-lang/swig
-	app-doc/doxygen
-	!qt5? ( 
-		dev-qt/qtcore:4
-		dev-qt/qtgui:4
-		dev-qt/qtdbus:4
-		)
-	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
-		)"
-RDEPEND="${DEPEND}
-		dev-libs/sni-qt
-		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 )
-		"
-
-PATCHES=( "${FILESDIR}/megasync-glibc2.26.patch" )
-
-if [[ ${PV} != *9999* ]];then
-	src_prepare(){
-		cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
-		EPATCH_OPTS="-p0" epatch "${FILESDIR}/MEGAsync-3.1.4.0_Linux.patch"
-		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[@]}
-		$(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
-	else
-		eqmake4 ${myeqmakeargs[@]}
-		$(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro
-	fi
-}
-
-src_compile(){
-	cd "${S}"/src
-	emake INSTALL_ROOT="${D}" || die
-}
-
-src_install(){
-	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
-}

diff --git a/net-misc/megasync/megasync-3.5.3.ebuild b/net-misc/megasync/megasync-3.5.3.ebuild
deleted file mode 100644
index 131d683..0000000
--- a/net-misc/megasync/megasync-3.5.3.ebuild
+++ /dev/null
@@ -1,135 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=6
-
-inherit eutils multilib qmake-utils autotools versionator git-r3
-
-DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This is the official app."
-HOMEPAGE="http://mega.co.nz"
-if [[ ${PV} == *9999* ]];then
-	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
-	KEYWORDS=""
-	EGIT_SUBMODULES=( '*' )
-else
-	#SDK_COMMIT="e8e66e9f030febfb35c9e4dd503d69091e28fc04"
-	#MY_PV="$(replace_all_version_separators _)"
-	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
-	EGIT_COMMIT="v${PV}.0_Linux"
-	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/${SDK_COMMIT}.tar.gz -> ${PN}-sdk-20170215.tar.gz"
-	KEYWORDS="~x86 ~amd64"
-	#RESTRICT="mirror"
-	#S="${WORKDIR}/MEGAsync-${PV}.0_Linux"
-fi
-
-LICENSE="MEGA"
-SLOT="0"
-IUSE="+cryptopp +sqlite +zlib +curl freeimage readline examples threads qt5 java php python"
-
-DEPEND="
-	dev-lang/swig
-	app-doc/doxygen
-	!qt5? ( 
-		dev-qt/qtcore:4
-		dev-qt/qtgui:4
-		dev-qt/qtdbus:4
-		)
-	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
-		)"
-RDEPEND="${DEPEND}
-		dev-libs/sni-qt
-		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 )
-		"
-
-#PATCHES=( "${FILESDIR}/megasync-glibc2.26.patch" )
-
-if [[ ${PV} != *9999* ]];then
-	src_prepare(){
-		# Not needed, since using git submodules
-		#cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
-		if [ -e "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch" ]; then
-			EPATCH_OPTS="-p0" epatch "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch"
-		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[@]}
-		$(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
-	else
-		eqmake4 ${myeqmakeargs[@]}
-		$(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro
-	fi
-}
-
-src_compile(){
-	cd "${S}"/src
-	emake INSTALL_ROOT="${D}" || die
-}
-
-src_install(){
-	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
-}

diff --git a/net-misc/megasync/megasync-3.6.0-r1.ebuild b/net-misc/megasync/megasync-3.6.0-r1.ebuild
deleted file mode 100644
index 7557f31..0000000
--- a/net-misc/megasync/megasync-3.6.0-r1.ebuild
+++ /dev/null
@@ -1,135 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=6
-
-inherit eutils multilib qmake-utils autotools versionator git-r3
-
-DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This is the official app."
-HOMEPAGE="http://mega.co.nz"
-if [[ ${PV} == *9999* ]];then
-	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
-	KEYWORDS=""
-	EGIT_SUBMODULES=( '*' )
-else
-	#SDK_COMMIT="e8e66e9f030febfb35c9e4dd503d69091e28fc04"
-	#MY_PV="$(replace_all_version_separators _)"
-	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
-	EGIT_COMMIT="v${PV}.0_Linux"
-	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/${SDK_COMMIT}.tar.gz -> ${PN}-sdk-20170215.tar.gz"
-	KEYWORDS="~x86 ~amd64"
-	#RESTRICT="mirror"
-	#S="${WORKDIR}/MEGAsync-${PV}.0_Linux"
-fi
-
-LICENSE="MEGA"
-SLOT="0"
-IUSE="+cryptopp +sqlite +zlib +curl freeimage readline examples threads qt5 java php python"
-
-DEPEND="
-	dev-lang/swig
-	app-doc/doxygen
-	!qt5? ( 
-		dev-qt/qtcore:4
-		dev-qt/qtgui:4
-		dev-qt/qtdbus:4
-		dev-libs/sni-qt
-		)
-	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
-		)"
-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 )
-		"
-
-#PATCHES=( "${FILESDIR}/megasync-glibc2.26.patch" )
-
-if [[ ${PV} != *9999* ]];then
-	src_prepare(){
-		# Not needed, since using git submodules
-		#cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
-		if [ -e "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch" ]; then
-			EPATCH_OPTS="-p0" epatch "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch"
-		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[@]}
-		$(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
-	else
-		eqmake4 ${myeqmakeargs[@]}
-		$(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro
-	fi
-}
-
-src_compile(){
-	cd "${S}"/src
-	emake INSTALL_ROOT="${D}" || die
-}
-
-src_install(){
-	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
-}

diff --git a/net-misc/megasync/megasync-3.6.0-r2.ebuild b/net-misc/megasync/megasync-3.6.0-r2.ebuild
deleted file mode 100644
index c4ccf5f..0000000
--- a/net-misc/megasync/megasync-3.6.0-r2.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=6
-
-inherit eutils multilib qmake-utils autotools versionator git-r3
-
-DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This is the official app."
-HOMEPAGE="http://mega.co.nz"
-if [[ ${PV} == *9999* ]];then
-	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
-	KEYWORDS=""
-	EGIT_SUBMODULES=( '*' )
-else
-	#SDK_COMMIT="e8e66e9f030febfb35c9e4dd503d69091e28fc04"
-	#MY_PV="$(replace_all_version_separators _)"
-	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
-	EGIT_COMMIT="v${PV}.0_Linux"
-	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/${SDK_COMMIT}.tar.gz -> ${PN}-sdk-20170215.tar.gz"
-	KEYWORDS="x86 amd64"
-	#RESTRICT="mirror"
-	#S="${WORKDIR}/MEGAsync-${PV}.0_Linux"
-fi
-
-LICENSE="MEGA"
-SLOT="0"
-IUSE="+cryptopp +sqlite +zlib +curl freeimage readline examples threads qt5 java php python"
-
-DEPEND="
-	dev-lang/swig
-	app-doc/doxygen
-	media-libs/libmediainfo
-	!qt5? ( 
-		dev-qt/qtcore:4
-		dev-qt/qtgui:4
-		dev-qt/qtdbus:4
-		dev-libs/sni-qt
-		)
-	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
-		)"
-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 )
-		"
-
-#PATCHES=( "${FILESDIR}/megasync-glibc2.26.patch" )
-
-if [[ ${PV} != *9999* ]];then
-	src_prepare(){
-		# Not needed, since using git submodules
-		#cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
-		if [ -e "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch" ]; then
-			EPATCH_OPTS="-p0" epatch "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch"
-		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[@]}
-		$(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
-	else
-		eqmake4 ${myeqmakeargs[@]}
-		$(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro
-	fi
-}
-
-src_compile(){
-	cd "${S}"/src
-	emake INSTALL_ROOT="${D}" || die
-}
-
-src_install(){
-	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
-}

diff --git a/net-misc/megasync/megasync-3.6.5-r1.ebuild b/net-misc/megasync/megasync-3.6.5-r1.ebuild
deleted file mode 100644
index f947e2f..0000000
--- a/net-misc/megasync/megasync-3.6.5-r1.ebuild
+++ /dev/null
@@ -1,140 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=6
-
-inherit eutils multilib qmake-utils autotools versionator git-r3
-
-DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This is the official app."
-HOMEPAGE="http://mega.co.nz"
-if [[ ${PV} == *9999* ]];then
-	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
-	KEYWORDS=""
-	EGIT_SUBMODULES=( '*' )
-else
-	#SDK_COMMIT="e8e66e9f030febfb35c9e4dd503d69091e28fc04"
-	#MY_PV="$(replace_all_version_separators _)"
-	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
-	EGIT_COMMIT="v${PV}.0_Linux"
-	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/${SDK_COMMIT}.tar.gz -> ${PN}-sdk-20170215.tar.gz"
-	KEYWORDS="~x86 ~amd64"
-	#RESTRICT="mirror"
-	#S="${WORKDIR}/MEGAsync-${PV}.0_Linux"
-fi
-
-LICENSE="MEGA"
-SLOT="0"
-IUSE="+cryptopp +sqlite +zlib +curl freeimage readline examples threads qt5 java php python"
-
-DEPEND="
-	dev-lang/swig
-	app-doc/doxygen
-	media-libs/libmediainfo
-	!qt5? ( 
-		dev-qt/qtcore:4
-		dev-qt/qtgui:4
-		dev-qt/qtdbus:4
-		dev-libs/sni-qt
-		)
-	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
-		)"
-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 )
-		"
-
-PATCHES=( "${FILESDIR}/${P}-ffmpeg.patch" )
-
-if [[ ${PV} != *9999* ]];then
-	src_prepare(){
-		#default
-		# Not needed, since using git submodules
-		#cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
-		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
-		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[@]}
-		$(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
-	else
-		eqmake4 ${myeqmakeargs[@]}
-		$(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro
-	fi
-}
-
-src_compile(){
-	cd "${S}"/src
-	emake INSTALL_ROOT="${D}" || die
-}
-
-src_install(){
-	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
-}

diff --git a/net-misc/megasync/megasync-3.6.5.ebuild b/net-misc/megasync/megasync-3.6.5.ebuild
deleted file mode 100644
index d2fe7ab..0000000
--- a/net-misc/megasync/megasync-3.6.5.ebuild
+++ /dev/null
@@ -1,139 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=6
-
-inherit eutils multilib qmake-utils autotools versionator git-r3
-
-DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This is the official app."
-HOMEPAGE="http://mega.co.nz"
-if [[ ${PV} == *9999* ]];then
-	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
-	KEYWORDS=""
-	EGIT_SUBMODULES=( '*' )
-else
-	#SDK_COMMIT="e8e66e9f030febfb35c9e4dd503d69091e28fc04"
-	#MY_PV="$(replace_all_version_separators _)"
-	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
-	EGIT_COMMIT="v${PV}.0_Linux"
-	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/${SDK_COMMIT}.tar.gz -> ${PN}-sdk-20170215.tar.gz"
-	KEYWORDS="~x86 ~amd64"
-	#RESTRICT="mirror"
-	#S="${WORKDIR}/MEGAsync-${PV}.0_Linux"
-fi
-
-LICENSE="MEGA"
-SLOT="0"
-IUSE="+cryptopp +sqlite +zlib +curl freeimage readline examples threads qt5 java php python"
-
-DEPEND="
-	dev-lang/swig
-	app-doc/doxygen
-	!qt5? ( 
-		dev-qt/qtcore:4
-		dev-qt/qtgui:4
-		dev-qt/qtdbus:4
-		dev-libs/sni-qt
-		)
-	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
-		)"
-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 )
-		"
-
-PATCHES=( "${FILESDIR}/${P}-ffmpeg.patch" )
-
-if [[ ${PV} != *9999* ]];then
-	src_prepare(){
-		#default
-		# Not needed, since using git submodules
-		#cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
-		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
-		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[@]}
-		$(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
-	else
-		eqmake4 ${myeqmakeargs[@]}
-		$(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro
-	fi
-}
-
-src_compile(){
-	cd "${S}"/src
-	emake INSTALL_ROOT="${D}" || die
-}
-
-src_install(){
-	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
-}

diff --git a/net-misc/megasync/megasync-3.6.6-r1.ebuild b/net-misc/megasync/megasync-3.6.6-r1.ebuild
deleted file mode 100644
index 9a0ea08..0000000
--- a/net-misc/megasync/megasync-3.6.6-r1.ebuild
+++ /dev/null
@@ -1,145 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=6
-
-inherit eutils multilib qmake-utils autotools versionator git-r3
-
-DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This is the official app."
-HOMEPAGE="http://mega.co.nz"
-if [[ ${PV} == *9999* ]];then
-	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
-	KEYWORDS=""
-	EGIT_SUBMODULES=( '*' )
-else
-	#SDK_COMMIT="e8e66e9f030febfb35c9e4dd503d69091e28fc04"
-	#MY_PV="$(replace_all_version_separators _)"
-	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
-	EGIT_COMMIT="v${PV}.0_Linux"
-	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/${SDK_COMMIT}.tar.gz -> ${PN}-sdk-20170215.tar.gz"
-	KEYWORDS="~x86 ~amd64"
-	#RESTRICT="mirror"
-	#S="${WORKDIR}/MEGAsync-${PV}.0_Linux"
-fi
-
-LICENSE="MEGA"
-SLOT="0"
-IUSE="+cryptopp +sqlite +zlib +curl freeimage readline examples threads qt5 java php python gnome"
-
-DEPEND="
-	dev-lang/swig
-	app-doc/doxygen
-	media-libs/libmediainfo
-	!qt5? ( 
-		dev-qt/qtcore:4
-		dev-qt/qtgui:4
-		dev-qt/qtdbus:4
-		dev-libs/sni-qt
-		)
-	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
-		)"
-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 )
-		"
-
-PATCHES=( "${FILESDIR}/${P}-ffmpeg.patch" )
-
-if [[ ${PV} != *9999* ]];then
-	src_prepare(){
-		#default
-		# Not needed, since using git submodules
-		#cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
-		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[@]}
-		$(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
-	else
-		eqmake4 ${myeqmakeargs[@]}
-		$(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro
-	fi
-}
-
-src_compile(){
-	cd "${S}"/src
-	emake INSTALL_ROOT="${D}" || die
-}
-
-src_install(){
-	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
-}

diff --git a/net-misc/megasync/megasync-3.6.6.ebuild b/net-misc/megasync/megasync-3.6.6.ebuild
deleted file mode 100644
index f947e2f..0000000
--- a/net-misc/megasync/megasync-3.6.6.ebuild
+++ /dev/null
@@ -1,140 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=6
-
-inherit eutils multilib qmake-utils autotools versionator git-r3
-
-DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This is the official app."
-HOMEPAGE="http://mega.co.nz"
-if [[ ${PV} == *9999* ]];then
-	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
-	KEYWORDS=""
-	EGIT_SUBMODULES=( '*' )
-else
-	#SDK_COMMIT="e8e66e9f030febfb35c9e4dd503d69091e28fc04"
-	#MY_PV="$(replace_all_version_separators _)"
-	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
-	EGIT_COMMIT="v${PV}.0_Linux"
-	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/${SDK_COMMIT}.tar.gz -> ${PN}-sdk-20170215.tar.gz"
-	KEYWORDS="~x86 ~amd64"
-	#RESTRICT="mirror"
-	#S="${WORKDIR}/MEGAsync-${PV}.0_Linux"
-fi
-
-LICENSE="MEGA"
-SLOT="0"
-IUSE="+cryptopp +sqlite +zlib +curl freeimage readline examples threads qt5 java php python"
-
-DEPEND="
-	dev-lang/swig
-	app-doc/doxygen
-	media-libs/libmediainfo
-	!qt5? ( 
-		dev-qt/qtcore:4
-		dev-qt/qtgui:4
-		dev-qt/qtdbus:4
-		dev-libs/sni-qt
-		)
-	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
-		)"
-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 )
-		"
-
-PATCHES=( "${FILESDIR}/${P}-ffmpeg.patch" )
-
-if [[ ${PV} != *9999* ]];then
-	src_prepare(){
-		#default
-		# Not needed, since using git submodules
-		#cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
-		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
-		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[@]}
-		$(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
-	else
-		eqmake4 ${myeqmakeargs[@]}
-		$(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro
-	fi
-}
-
-src_compile(){
-	cd "${S}"/src
-	emake INSTALL_ROOT="${D}" || die
-}
-
-src_install(){
-	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
-}

diff --git a/net-misc/megasync/megasync-3.7.1-r1.ebuild b/net-misc/megasync/megasync-3.7.1-r1.ebuild
deleted file mode 100644
index e4f6af8..0000000
--- a/net-misc/megasync/megasync-3.7.1-r1.ebuild
+++ /dev/null
@@ -1,146 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=6
-
-inherit eutils multilib qmake-utils autotools versionator git-r3
-
-DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This is the official app."
-HOMEPAGE="http://mega.co.nz"
-if [[ ${PV} == *9999* ]];then
-	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
-	KEYWORDS=""
-	EGIT_SUBMODULES=( '*' )
-else
-	#SDK_COMMIT="e8e66e9f030febfb35c9e4dd503d69091e28fc04"
-	#MY_PV="$(replace_all_version_separators _)"
-	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
-	EGIT_COMMIT="v${PV}.0_Linux"
-	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/${SDK_COMMIT}.tar.gz -> ${PN}-sdk-20170215.tar.gz"
-	KEYWORDS="~x86 ~amd64"
-	#RESTRICT="mirror"
-	#S="${WORKDIR}/MEGAsync-${PV}.0_Linux"
-fi
-
-LICENSE="MEGA"
-SLOT="0"
-IUSE="+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
-		)
-	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
-		)"
-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 )
-		"
-
-PATCHES=( )
-
-if [[ ${PV} != *9999* ]];then
-	src_prepare(){
-		#default
-		# Not needed, since using git submodules
-		#cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
-		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[@]}
-		$(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
-	else
-		eqmake4 ${myeqmakeargs[@]}
-		$(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro
-	fi
-}
-
-src_compile(){
-	cd "${S}"/src
-	emake INSTALL_ROOT="${D}" || die
-}
-
-src_install(){
-	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
-}

diff --git a/net-misc/megasync/megasync-4.0.2.ebuild b/net-misc/megasync/megasync-4.0.2.ebuild
deleted file mode 100644
index e4f6af8..0000000
--- a/net-misc/megasync/megasync-4.0.2.ebuild
+++ /dev/null
@@ -1,146 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=6
-
-inherit eutils multilib qmake-utils autotools versionator git-r3
-
-DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This is the official app."
-HOMEPAGE="http://mega.co.nz"
-if [[ ${PV} == *9999* ]];then
-	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
-	KEYWORDS=""
-	EGIT_SUBMODULES=( '*' )
-else
-	#SDK_COMMIT="e8e66e9f030febfb35c9e4dd503d69091e28fc04"
-	#MY_PV="$(replace_all_version_separators _)"
-	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
-	EGIT_COMMIT="v${PV}.0_Linux"
-	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/${SDK_COMMIT}.tar.gz -> ${PN}-sdk-20170215.tar.gz"
-	KEYWORDS="~x86 ~amd64"
-	#RESTRICT="mirror"
-	#S="${WORKDIR}/MEGAsync-${PV}.0_Linux"
-fi
-
-LICENSE="MEGA"
-SLOT="0"
-IUSE="+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
-		)
-	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
-		)"
-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 )
-		"
-
-PATCHES=( )
-
-if [[ ${PV} != *9999* ]];then
-	src_prepare(){
-		#default
-		# Not needed, since using git submodules
-		#cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
-		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[@]}
-		$(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
-	else
-		eqmake4 ${myeqmakeargs[@]}
-		$(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro
-	fi
-}
-
-src_compile(){
-	cd "${S}"/src
-	emake INSTALL_ROOT="${D}" || die
-}
-
-src_install(){
-	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
-}

diff --git a/net-misc/megasync/megasync-4.1.1.ebuild b/net-misc/megasync/megasync-4.1.1.ebuild
deleted file mode 100644
index e4f6af8..0000000
--- a/net-misc/megasync/megasync-4.1.1.ebuild
+++ /dev/null
@@ -1,146 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=6
-
-inherit eutils multilib qmake-utils autotools versionator git-r3
-
-DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This is the official app."
-HOMEPAGE="http://mega.co.nz"
-if [[ ${PV} == *9999* ]];then
-	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
-	KEYWORDS=""
-	EGIT_SUBMODULES=( '*' )
-else
-	#SDK_COMMIT="e8e66e9f030febfb35c9e4dd503d69091e28fc04"
-	#MY_PV="$(replace_all_version_separators _)"
-	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
-	EGIT_COMMIT="v${PV}.0_Linux"
-	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/${SDK_COMMIT}.tar.gz -> ${PN}-sdk-20170215.tar.gz"
-	KEYWORDS="~x86 ~amd64"
-	#RESTRICT="mirror"
-	#S="${WORKDIR}/MEGAsync-${PV}.0_Linux"
-fi
-
-LICENSE="MEGA"
-SLOT="0"
-IUSE="+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
-		)
-	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
-		)"
-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 )
-		"
-
-PATCHES=( )
-
-if [[ ${PV} != *9999* ]];then
-	src_prepare(){
-		#default
-		# Not needed, since using git submodules
-		#cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
-		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[@]}
-		$(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
-	else
-		eqmake4 ${myeqmakeargs[@]}
-		$(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro
-	fi
-}
-
-src_compile(){
-	cd "${S}"/src
-	emake INSTALL_ROOT="${D}" || die
-}
-
-src_install(){
-	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
-}

diff --git a/net-misc/megasync/megasync-4.2.0.ebuild b/net-misc/megasync/megasync-4.2.0.ebuild
deleted file mode 100644
index bf7db61..0000000
--- a/net-misc/megasync/megasync-4.2.0.ebuild
+++ /dev/null
@@ -1,159 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=6
-
-inherit eutils multilib qmake-utils autotools versionator git-r3
-
-DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This is the official app."
-HOMEPAGE="http://mega.co.nz"
-RTAG="_ArchLinux"
-if [[ ${PV} == *9999* ]];then
-	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
-	KEYWORDS=""
-	EGIT_SUBMODULES=( '*' )
-else
-	#SDK_COMMIT="e8e66e9f030febfb35c9e4dd503d69091e28fc04"
-	#MY_PV="$(replace_all_version_separators _)"
-	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
-	EGIT_COMMIT="v${PV}${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/${SDK_COMMIT}.tar.gz -> ${PN}-sdk-20170215.tar.gz"
-	KEYWORDS="~x86 ~amd64"
-	#RESTRICT="mirror"
-	#S="${WORKDIR}/MEGAsync-${PV}.0_Linux"
-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} != *9999* ]];then
-	src_prepare(){
-		#default
-		# Not needed, since using git submodules
-		#cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
-		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
-		eqmake4 ${myeqmakeargs[@]}
-		use dolphin && cmake-utils_src_configure
-		$(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro
-	fi
-}
-
-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
-}

diff --git a/net-misc/megasync/megasync-4.2.5-r2.ebuild b/net-misc/megasync/megasync-4.2.5-r2.ebuild
deleted file mode 100644
index 1bd032b..0000000
--- a/net-misc/megasync/megasync-4.2.5-r2.ebuild
+++ /dev/null
@@ -1,162 +0,0 @@
-# Copyright 1999-2020 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=6
-
-inherit eutils multilib qmake-utils autotools versionator git-r3 toolchain-funcs
-
-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} == *9999* ]];then
-	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
-	KEYWORDS=""
-	EGIT_SUBMODULES=( '*' )
-else
-	#SDK_COMMIT="e8e66e9f030febfb35c9e4dd503d69091e28fc04"
-	#MY_PV="$(replace_all_version_separators _)"
-	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/${SDK_COMMIT}.tar.gz -> ${PN}-sdk-20170215.tar.gz"
-	KEYWORDS="~x86 ~amd64"
-	#RESTRICT="mirror"
-	#S="${WORKDIR}/MEGAsync-${PV}.0_Linux"
-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} != *9999* ]];then
-	src_prepare(){
-		#default
-		# Not needed, since using git submodules
-		#cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
-		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 [ $(gcc-major-version) -eq "9" ]; then
-		myeqmakeargs+=(QMAKE_CXXFLAGS+="-fpermissive")
-	fi
-	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
-}
-
-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
-}

diff --git a/net-misc/megasync/megasync-4.2.5.ebuild b/net-misc/megasync/megasync-4.2.5.ebuild
deleted file mode 100644
index 744ef35..0000000
--- a/net-misc/megasync/megasync-4.2.5.ebuild
+++ /dev/null
@@ -1,159 +0,0 @@
-# Copyright 1999-2019 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=6
-
-inherit eutils multilib qmake-utils autotools versionator git-r3
-
-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} == *9999* ]];then
-	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
-	KEYWORDS=""
-	EGIT_SUBMODULES=( '*' )
-else
-	#SDK_COMMIT="e8e66e9f030febfb35c9e4dd503d69091e28fc04"
-	#MY_PV="$(replace_all_version_separators _)"
-	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/${SDK_COMMIT}.tar.gz -> ${PN}-sdk-20170215.tar.gz"
-	KEYWORDS="~x86 ~amd64"
-	#RESTRICT="mirror"
-	#S="${WORKDIR}/MEGAsync-${PV}.0_Linux"
-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} != *9999* ]];then
-	src_prepare(){
-		#default
-		# Not needed, since using git submodules
-		#cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
-		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
-		eqmake4 ${myeqmakeargs[@]}
-		use dolphin && cmake-utils_src_configure
-		$(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro
-	fi
-}
-
-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
-}

diff --git a/net-misc/megasync/megasync-4.2.3.ebuild b/net-misc/megasync/megasync-4.3.3.ebuild
similarity index 85%
rename from net-misc/megasync/megasync-4.2.3.ebuild
rename to net-misc/megasync/megasync-4.3.3.ebuild
index 744ef35..91734a7 100644
--- a/net-misc/megasync/megasync-4.2.3.ebuild
+++ b/net-misc/megasync/megasync-4.3.3.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2019 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=6
+EAPI=7
 
-inherit eutils multilib qmake-utils autotools versionator git-r3
+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"
@@ -14,16 +14,10 @@ if [[ ${PV} == *9999* ]];then
 	KEYWORDS=""
 	EGIT_SUBMODULES=( '*' )
 else
-	#SDK_COMMIT="e8e66e9f030febfb35c9e4dd503d69091e28fc04"
-	#MY_PV="$(replace_all_version_separators _)"
 	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/${SDK_COMMIT}.tar.gz -> ${PN}-sdk-20170215.tar.gz"
 	KEYWORDS="~x86 ~amd64"
-	#RESTRICT="mirror"
-	#S="${WORKDIR}/MEGAsync-${PV}.0_Linux"
 fi
 
 LICENSE="MEGA"
@@ -78,9 +72,6 @@ PATCHES=( )
 
 if [[ ${PV} != *9999* ]];then
 	src_prepare(){
-		#default
-		# Not needed, since using git submodules
-		#cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
 		if [ -e "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch" ]; then
 			EPATCH_OPTS="-p0" epatch "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch"
 		fi


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: net-misc/megasync/
@ 2020-03-30 16:13 Samuel Bernardo
  0 siblings, 0 replies; 29+ messages in thread
From: Samuel Bernardo @ 2020-03-30 16:13 UTC (permalink / raw
  To: gentoo-commits

commit:     04f78db649d0a38be4ba3286beaab90c00a90797
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Mon Mar 30 16:13:30 2020 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Mon Mar 30 16:13:30 2020 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=04f78db6

Add required eclasses in megasync 4.3.1

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 net-misc/megasync/Manifest                                            | 2 +-
 net-misc/megasync/{megasync-4.3.1.ebuild => megasync-4.3.1-r1.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index bfd6438..e2eef42 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -22,6 +22,6 @@ EBUILD megasync-4.2.0.ebuild 3917 BLAKE2B 7295114af019c39c00e8d487c8cc6bfd9ad348
 EBUILD megasync-4.2.3.ebuild 3915 BLAKE2B ed8dca3c7f8062d12e17a5143a8bd5a6ee9b8d79c54b395d9e0502a4d277acd62443c36ed09572aff677842c22b879160a62f92fb7beda90c57d3d6fc14ee8f6 SHA512 eb027f7cbf263075f181645ebe2625997ed7a499c8a5e285f52cdb348ef3295ecadb03240ee446a9362895f96e9bfd11657a27aca9fb34ab9d5422cc68d847e9
 EBUILD megasync-4.2.5-r2.ebuild 4027 BLAKE2B cf745d60810047fcbf4392271263e99bb615019647dd4d52cb7b95b01e0a25005d25b551df418a46881f5f655f5e9114ab5b351fa9387c8fb027cb04ab0ccd18 SHA512 99c1cee8eb8f4e941569f2c4682bbd5ef55ff30b76f3f6dbcd759993c769f5651d88f3636d3b85046a6cfecca50826600ae2eacd31ddf7f3871cf7e6e7891040
 EBUILD megasync-4.2.5.ebuild 3915 BLAKE2B ed8dca3c7f8062d12e17a5143a8bd5a6ee9b8d79c54b395d9e0502a4d277acd62443c36ed09572aff677842c22b879160a62f92fb7beda90c57d3d6fc14ee8f6 SHA512 eb027f7cbf263075f181645ebe2625997ed7a499c8a5e285f52cdb348ef3295ecadb03240ee446a9362895f96e9bfd11657a27aca9fb34ab9d5422cc68d847e9
-EBUILD megasync-4.3.1.ebuild 3455 BLAKE2B 05d5e7b0fcab78a9bb1a9eba87b97ed5b186898e4a8997a3acf9ac8bd3e09800d33b11f6f81067aeca28c3003f21acdb191b6ab3f69e3570920b9ed085f5d93c SHA512 43294e627006dbd677821970f781d56821304abd5aea1f8162ae19f6dbec2be4c83b34c89ba67ebd0a35a490ae0fdf69112cbf35c2603b5ea610abc654744fe9
+EBUILD megasync-4.3.1-r1.ebuild 3478 BLAKE2B e1a3965a97a0eae7f098a49f7351e0d30d2187e7356f91c298507e8feb11313fd2d5af66fe4372a3e329233f8004a4395dfe483c53e8205e24629629e9476962 SHA512 acdb1cd095cd19de2c618952a8dc07b0d2dba3f26c53cd2e23f439f85fdd6850c1665f2d6fcff75fcc4650ebae27fc1596cd160c18c454421f86970c521aa0a7
 EBUILD megasync-9999.ebuild 3234 BLAKE2B 8c2dbd9234089a286275ab7381df1986b7a744de54e6b6e0216fa72913d9b61012eb869058f4dac906bb7bce36c4097c023d1d6cbca7e49792fd199e82bcead1 SHA512 11cdb8aad6f5d01dd87b8f5fda04b356d0c464ac122e27c4654b1b6f2489cae3131a124a0333c6dc41644fb079dec20f0e07671584a3a872ca688cef9513b66f
 MISC metadata.xml 318 BLAKE2B ffc32715f0597b63ba78c242a5adfad13c921b43da17b5e07b4cca5e5ef69dbb3c89a7d110165dcea06ed317f873a5210db21be0ac5941dfb433185fdcb7a6e7 SHA512 e4930a21d6f75f5395e2e96436b42c792771fd7167abceeff0db7a9036616c6feeb6beee890afa6ff5e4584f5bb6938084316e60df57997aa1c20ba0a025514c

diff --git a/net-misc/megasync/megasync-4.3.1.ebuild b/net-misc/megasync/megasync-4.3.1-r1.ebuild
similarity index 97%
rename from net-misc/megasync/megasync-4.3.1.ebuild
rename to net-misc/megasync/megasync-4.3.1-r1.ebuild
index e376fff..d4a648f 100644
--- a/net-misc/megasync/megasync-4.3.1.ebuild
+++ b/net-misc/megasync/megasync-4.3.1-r1.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=7
 
-inherit eutils multilib qmake-utils autotools git-r3
+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"


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: net-misc/megasync/
@ 2020-03-30 12:30 Samuel Bernardo
  0 siblings, 0 replies; 29+ messages in thread
From: Samuel Bernardo @ 2020-03-30 12:30 UTC (permalink / raw
  To: gentoo-commits

commit:     331871cf49e71b0602fbed11621f855ae3641bc5
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Mon Mar 30 12:29:53 2020 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Mon Mar 30 12:29:53 2020 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=331871cf

Update megasync-9999

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 net-misc/megasync/Manifest             |  2 +-
 net-misc/megasync/megasync-9999.ebuild | 48 ++++++++++++++--------------------
 2 files changed, 21 insertions(+), 29 deletions(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 5fcb06c..bfd6438 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -23,5 +23,5 @@ EBUILD megasync-4.2.3.ebuild 3915 BLAKE2B ed8dca3c7f8062d12e17a5143a8bd5a6ee9b8d
 EBUILD megasync-4.2.5-r2.ebuild 4027 BLAKE2B cf745d60810047fcbf4392271263e99bb615019647dd4d52cb7b95b01e0a25005d25b551df418a46881f5f655f5e9114ab5b351fa9387c8fb027cb04ab0ccd18 SHA512 99c1cee8eb8f4e941569f2c4682bbd5ef55ff30b76f3f6dbcd759993c769f5651d88f3636d3b85046a6cfecca50826600ae2eacd31ddf7f3871cf7e6e7891040
 EBUILD megasync-4.2.5.ebuild 3915 BLAKE2B ed8dca3c7f8062d12e17a5143a8bd5a6ee9b8d79c54b395d9e0502a4d277acd62443c36ed09572aff677842c22b879160a62f92fb7beda90c57d3d6fc14ee8f6 SHA512 eb027f7cbf263075f181645ebe2625997ed7a499c8a5e285f52cdb348ef3295ecadb03240ee446a9362895f96e9bfd11657a27aca9fb34ab9d5422cc68d847e9
 EBUILD megasync-4.3.1.ebuild 3455 BLAKE2B 05d5e7b0fcab78a9bb1a9eba87b97ed5b186898e4a8997a3acf9ac8bd3e09800d33b11f6f81067aeca28c3003f21acdb191b6ab3f69e3570920b9ed085f5d93c SHA512 43294e627006dbd677821970f781d56821304abd5aea1f8162ae19f6dbec2be4c83b34c89ba67ebd0a35a490ae0fdf69112cbf35c2603b5ea610abc654744fe9
-EBUILD megasync-9999.ebuild 3455 BLAKE2B 05d5e7b0fcab78a9bb1a9eba87b97ed5b186898e4a8997a3acf9ac8bd3e09800d33b11f6f81067aeca28c3003f21acdb191b6ab3f69e3570920b9ed085f5d93c SHA512 43294e627006dbd677821970f781d56821304abd5aea1f8162ae19f6dbec2be4c83b34c89ba67ebd0a35a490ae0fdf69112cbf35c2603b5ea610abc654744fe9
+EBUILD megasync-9999.ebuild 3234 BLAKE2B 8c2dbd9234089a286275ab7381df1986b7a744de54e6b6e0216fa72913d9b61012eb869058f4dac906bb7bce36c4097c023d1d6cbca7e49792fd199e82bcead1 SHA512 11cdb8aad6f5d01dd87b8f5fda04b356d0c464ac122e27c4654b1b6f2489cae3131a124a0333c6dc41644fb079dec20f0e07671584a3a872ca688cef9513b66f
 MISC metadata.xml 318 BLAKE2B ffc32715f0597b63ba78c242a5adfad13c921b43da17b5e07b4cca5e5ef69dbb3c89a7d110165dcea06ed317f873a5210db21be0ac5941dfb433185fdcb7a6e7 SHA512 e4930a21d6f75f5395e2e96436b42c792771fd7167abceeff0db7a9036616c6feeb6beee890afa6ff5e4584f5bb6938084316e60df57997aa1c20ba0a025514c

diff --git a/net-misc/megasync/megasync-9999.ebuild b/net-misc/megasync/megasync-9999.ebuild
index e376fff..be2bd58 100644
--- a/net-misc/megasync/megasync-9999.ebuild
+++ b/net-misc/megasync/megasync-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
@@ -9,16 +9,10 @@ inherit eutils multilib qmake-utils autotools git-r3
 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} == *9999* ]];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
+
+EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
+KEYWORDS=""
+EGIT_SUBMODULES=( '*' )
 
 LICENSE="MEGA"
 SLOT="0"
@@ -70,24 +64,22 @@ RDEPEND="${DEPEND}
 
 PATCHES=( )
 
-if [[ ${PV} != *9999* ]];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
+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
-		eapply_user
-		cd src/MEGASync/mega
-		eautoreconf
-	}
-fi
+	fi
+	eapply_user
+	cd src/MEGASync/mega
+	eautoreconf
+}
 
 src_configure(){
 	cd "${S}"/src/MEGASync/mega


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: net-misc/megasync/
@ 2020-03-30 12:23 Samuel Bernardo
  0 siblings, 0 replies; 29+ messages in thread
From: Samuel Bernardo @ 2020-03-30 12:23 UTC (permalink / raw
  To: gentoo-commits

commit:     ee2c8611382896c3685bce378d8480f1f98a1ce8
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Mon Mar 30 12:23:06 2020 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Mon Mar 30 12:23:06 2020 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=ee2c8611

Update manifest and megasync-9999

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 net-misc/megasync/Manifest             |  3 +-
 net-misc/megasync/megasync-9999.ebuild | 81 ++++++++++++++++++++--------------
 2 files changed, 50 insertions(+), 34 deletions(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 15a04ca..5fcb06c 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -22,5 +22,6 @@ EBUILD megasync-4.2.0.ebuild 3917 BLAKE2B 7295114af019c39c00e8d487c8cc6bfd9ad348
 EBUILD megasync-4.2.3.ebuild 3915 BLAKE2B ed8dca3c7f8062d12e17a5143a8bd5a6ee9b8d79c54b395d9e0502a4d277acd62443c36ed09572aff677842c22b879160a62f92fb7beda90c57d3d6fc14ee8f6 SHA512 eb027f7cbf263075f181645ebe2625997ed7a499c8a5e285f52cdb348ef3295ecadb03240ee446a9362895f96e9bfd11657a27aca9fb34ab9d5422cc68d847e9
 EBUILD megasync-4.2.5-r2.ebuild 4027 BLAKE2B cf745d60810047fcbf4392271263e99bb615019647dd4d52cb7b95b01e0a25005d25b551df418a46881f5f655f5e9114ab5b351fa9387c8fb027cb04ab0ccd18 SHA512 99c1cee8eb8f4e941569f2c4682bbd5ef55ff30b76f3f6dbcd759993c769f5651d88f3636d3b85046a6cfecca50826600ae2eacd31ddf7f3871cf7e6e7891040
 EBUILD megasync-4.2.5.ebuild 3915 BLAKE2B ed8dca3c7f8062d12e17a5143a8bd5a6ee9b8d79c54b395d9e0502a4d277acd62443c36ed09572aff677842c22b879160a62f92fb7beda90c57d3d6fc14ee8f6 SHA512 eb027f7cbf263075f181645ebe2625997ed7a499c8a5e285f52cdb348ef3295ecadb03240ee446a9362895f96e9bfd11657a27aca9fb34ab9d5422cc68d847e9
-EBUILD megasync-9999.ebuild 3637 BLAKE2B 3333948364efa4ae9ce897da38659e669fbb509de374686832d4546caccc4f9333693749540c989f1bb074b9eb929b308978ed089f4b6be714dbf76c530e608b SHA512 020ca96d8972f66cc79673bc31083af2fffacbb02dfeb12677d5d62f08605e1a4f9b29d55d5509231a416c39e7b1cd2e6b20d16c4af00a415cbaf4c133fa6c6d
+EBUILD megasync-4.3.1.ebuild 3455 BLAKE2B 05d5e7b0fcab78a9bb1a9eba87b97ed5b186898e4a8997a3acf9ac8bd3e09800d33b11f6f81067aeca28c3003f21acdb191b6ab3f69e3570920b9ed085f5d93c SHA512 43294e627006dbd677821970f781d56821304abd5aea1f8162ae19f6dbec2be4c83b34c89ba67ebd0a35a490ae0fdf69112cbf35c2603b5ea610abc654744fe9
+EBUILD megasync-9999.ebuild 3455 BLAKE2B 05d5e7b0fcab78a9bb1a9eba87b97ed5b186898e4a8997a3acf9ac8bd3e09800d33b11f6f81067aeca28c3003f21acdb191b6ab3f69e3570920b9ed085f5d93c SHA512 43294e627006dbd677821970f781d56821304abd5aea1f8162ae19f6dbec2be4c83b34c89ba67ebd0a35a490ae0fdf69112cbf35c2603b5ea610abc654744fe9
 MISC metadata.xml 318 BLAKE2B ffc32715f0597b63ba78c242a5adfad13c921b43da17b5e07b4cca5e5ef69dbb3c89a7d110165dcea06ed317f873a5210db21be0ac5941dfb433185fdcb7a6e7 SHA512 e4930a21d6f75f5395e2e96436b42c792771fd7167abceeff0db7a9036616c6feeb6beee890afa6ff5e4584f5bb6938084316e60df57997aa1c20ba0a025514c

diff --git a/net-misc/megasync/megasync-9999.ebuild b/net-misc/megasync/megasync-9999.ebuild
index 7ada7d1..e376fff 100644
--- a/net-misc/megasync/megasync-9999.ebuild
+++ b/net-misc/megasync/megasync-9999.ebuild
@@ -1,36 +1,41 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=6
+EAPI=7
 
-inherit eutils multilib qmake-utils autotools versionator
+inherit eutils multilib qmake-utils autotools git-r3
 
 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} == *9999* ]];then
-	inherit git-r3
 	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
 	KEYWORDS=""
+	EGIT_SUBMODULES=( '*' )
 else
-	SDK_COMMIT="d7412bb8a13139600302ad9a907a10c47bdd0b52"
-	MY_PV="$(replace_all_version_separators _)"
-	SRC_URI="https://github.com/meganz/MEGAsync/archive/v${MY_PV}_0_Linux.tar.gz -> ${P}.tar.gz
-	https://github.com/meganz/sdk/archive/${SDK_COMMIT}.tar.gz -> ${PN}-sdk-20160719.tar.gz"
+	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
+	EGIT_COMMIT="v${PV}.0${RTAG}"
+	EGIT_SUBMODULES=( '*' )
 	KEYWORDS="~x86 ~amd64"
-	RESTRICT="mirror"
-	S="${WORKDIR}/MEGAsync-${MY_PV}_0_Linux"
 fi
 
 LICENSE="MEGA"
 SLOT="0"
-IUSE="+cryptopp +sqlite +zlib +curl freeimage readline examples threads qt5 nautilus"
+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
@@ -40,8 +45,11 @@ DEPEND="
 		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
@@ -55,15 +63,26 @@ RDEPEND="${DEPEND}
 		curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
 		freeimage? ( media-libs/freeimage )
 		readline? ( sys-libs/readline:0 )
-		nautilus? (
-			>=gnome-base/nautilus-3.12.0
-			!!gnome-extra/nautilus-megasync 
-			)
+		dolphin? ( kde-apps/dolphin )
+		nautilus? ( >=gnome-base/nautilus-3 )
+		thunar? ( xfce-base/thunar )
 		"
 
+PATCHES=( )
+
 if [[ ${PV} != *9999* ]];then
 	src_prepare(){
-		cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
+		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
@@ -86,28 +105,37 @@ src_configure(){
 		"--with-sodium" \
 		$(use_with freeimage) \
 		$(use_with readline) \
-		$(use_enable examples)	
+		$(use_enable examples) \
+		$(use_enable java) \
+		$(use_enable php) \
+		$(use_enable python) \
+		"--enable-chat" \
+		"--enable-gcc-hardening" 
 	cd ../..
 	local myeqmakeargs=(
 		MEGA.pro
 		CONFIG+="release"
 	)
-	use nautilus && myeqmakeargs+=( CONFIG+="with_ext" )
 	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
 }
 
 src_compile(){
-	cd "${S}"/src
-	emake INSTALL_ROOT="${D}" || die
+	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
@@ -119,17 +147,4 @@ src_install(){
 	for size in 16x16 32x32 48x48 128x128 256x256;do
 		doicon -s $size $size/apps/mega.png
 	done
-	if use nautilus; then
-		cd "${S}/src/MEGAShellExtNautilus"
-		insinto usr/lib/nautilus/extensions-3.0
-		doins libMEGAShellExtNautilus.so.1.0.0
-		cd data/emblems
-		for size in 32x32 64x64;do
-			insinto usr/share/icons/hicolor/$size/emblems
-			doins $size/mega-{pending,synced,syncing,upload}.{icon,png}
-			dosym ${EPREFIX}/usr/lib/nautilus/extensions-3.0/libMEGAShellExtNautilus.so.1.0.0 ${EPREFIX}/usr/lib/nautilus/extensions-3.0/libMEGAShellExtNautilus.so.1.0
-			dosym ${EPREFIX}/usr/lib/nautilus/extensions-3.0/libMEGAShellExtNautilus.so.1.0.0 ${EPREFIX}/usr/lib/nautilus/extensions-3.0/libMEGAShellExtNautilus.so.1
-			dosym ${EPREFIX}/usr/lib/nautilus/extensions-3.0/libMEGAShellExtNautilus.so.1.0.0 ${EPREFIX}/usr/lib/nautilus/extensions-3.0/libMEGAShellExtNautilus.so
-		done
-	fi
 }


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: net-misc/megasync/
@ 2020-03-30 11:27 Samuel Bernardo
  0 siblings, 0 replies; 29+ messages in thread
From: Samuel Bernardo @ 2020-03-30 11:27 UTC (permalink / raw
  To: gentoo-commits

commit:     5b09f306ec64389409f6463571aa8e68c1b1b842
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Mon Mar 30 11:11:21 2020 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Mon Mar 30 11:26:54 2020 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=5b09f306

Update megasync to EAPI 7 and clean comments and unnecessary eclass imports

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 net-misc/megasync/megasync-4.3.1.ebuild | 16 ++--------------
 1 file changed, 2 insertions(+), 14 deletions(-)

diff --git a/net-misc/megasync/megasync-4.3.1.ebuild b/net-misc/megasync/megasync-4.3.1.ebuild
index 1bd032b..e376fff 100644
--- a/net-misc/megasync/megasync-4.3.1.ebuild
+++ b/net-misc/megasync/megasync-4.3.1.ebuild
@@ -2,9 +2,9 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=6
+EAPI=7
 
-inherit eutils multilib qmake-utils autotools versionator git-r3 toolchain-funcs
+inherit eutils multilib qmake-utils autotools git-r3
 
 DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This is the official app."
 HOMEPAGE="http://mega.co.nz"
@@ -14,16 +14,10 @@ if [[ ${PV} == *9999* ]];then
 	KEYWORDS=""
 	EGIT_SUBMODULES=( '*' )
 else
-	#SDK_COMMIT="e8e66e9f030febfb35c9e4dd503d69091e28fc04"
-	#MY_PV="$(replace_all_version_separators _)"
 	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/${SDK_COMMIT}.tar.gz -> ${PN}-sdk-20170215.tar.gz"
 	KEYWORDS="~x86 ~amd64"
-	#RESTRICT="mirror"
-	#S="${WORKDIR}/MEGAsync-${PV}.0_Linux"
 fi
 
 LICENSE="MEGA"
@@ -78,9 +72,6 @@ PATCHES=( )
 
 if [[ ${PV} != *9999* ]];then
 	src_prepare(){
-		#default
-		# Not needed, since using git submodules
-		#cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
 		if [ -e "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch" ]; then
 			EPATCH_OPTS="-p0" epatch "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch"
 		fi
@@ -125,9 +116,6 @@ src_configure(){
 		MEGA.pro
 		CONFIG+="release"
 	)
-	if [ $(gcc-major-version) -eq "9" ]; then
-		myeqmakeargs+=(QMAKE_CXXFLAGS+="-fpermissive")
-	fi
 	if use qt5; then
 		eqmake5 ${myeqmakeargs[@]}
 		use dolphin && cmake-utils_src_configure


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: net-misc/megasync/
@ 2020-03-30 11:27 Samuel Bernardo
  0 siblings, 0 replies; 29+ messages in thread
From: Samuel Bernardo @ 2020-03-30 11:27 UTC (permalink / raw
  To: gentoo-commits

commit:     c415be170974ec4607ae275d458175312574279c
Author:     Amedeo Salvati <amedeo <AT> linux <DOT> com>
AuthorDate: Sat Mar 28 19:49:26 2020 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Mon Mar 30 11:26:40 2020 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=c415be17

add megasync 4.3.1.0_Linux

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

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

diff --git a/net-misc/megasync/megasync-4.3.1.ebuild b/net-misc/megasync/megasync-4.3.1.ebuild
new file mode 100644
index 0000000..1bd032b
--- /dev/null
+++ b/net-misc/megasync/megasync-4.3.1.ebuild
@@ -0,0 +1,162 @@
+# Copyright 1999-2020 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=6
+
+inherit eutils multilib qmake-utils autotools versionator git-r3 toolchain-funcs
+
+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} == *9999* ]];then
+	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
+	KEYWORDS=""
+	EGIT_SUBMODULES=( '*' )
+else
+	#SDK_COMMIT="e8e66e9f030febfb35c9e4dd503d69091e28fc04"
+	#MY_PV="$(replace_all_version_separators _)"
+	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/${SDK_COMMIT}.tar.gz -> ${PN}-sdk-20170215.tar.gz"
+	KEYWORDS="~x86 ~amd64"
+	#RESTRICT="mirror"
+	#S="${WORKDIR}/MEGAsync-${PV}.0_Linux"
+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} != *9999* ]];then
+	src_prepare(){
+		#default
+		# Not needed, since using git submodules
+		#cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
+		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 [ $(gcc-major-version) -eq "9" ]; then
+		myeqmakeargs+=(QMAKE_CXXFLAGS+="-fpermissive")
+	fi
+	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
+}
+
+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
+}


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: net-misc/megasync/
@ 2020-01-14  0:20 Samuel Bernardo
  0 siblings, 0 replies; 29+ messages in thread
From: Samuel Bernardo @ 2020-01-14  0:20 UTC (permalink / raw
  To: gentoo-commits

commit:     10af0b72bf823bbc0913430c83103fa63725a5d3
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Tue Jan 14 00:19:43 2020 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Tue Jan 14 00:19:43 2020 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=10af0b72

Correct code bug when calling gcc-major-version function

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 net-misc/megasync/Manifest                                              | 2 +-
 .../megasync/{megasync-4.2.5-r1.ebuild => megasync-4.2.5-r2.ebuild}     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 9a53fbb..15a04ca 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -20,7 +20,7 @@ EBUILD megasync-4.0.2.ebuild 3478 BLAKE2B 7c1e3e43bb883856a53b595cf5dea8b546bace
 EBUILD megasync-4.1.1.ebuild 3478 BLAKE2B 7c1e3e43bb883856a53b595cf5dea8b546bace994c46653d4e1b144aae175122ea8be06d758a900c508af9bf9d9ae9e63cc02cdef085f74b571f14ee98a8ae49 SHA512 76761c259bbe503d0f5cfcda4116f3176162a46e5705e085e8fc7624d18c11d1a8b16d3c80566132e37abf6d04563446382e53ec21b7a1c4ced70f8a95e06ff7
 EBUILD megasync-4.2.0.ebuild 3917 BLAKE2B 7295114af019c39c00e8d487c8cc6bfd9ad3480c83374779658325971da2c647ecaa9113b8e5a4646bf6fadbb4d882728f060c809d91aed52208a7a202b32669 SHA512 de032dc55d676bbf93d017b2495038c09e859b193fce0bf5ee20e559d0f61e6d49c7742c2dadf3879419915ad93488ca841ec7cf9cb07b0243fe331726c20b81
 EBUILD megasync-4.2.3.ebuild 3915 BLAKE2B ed8dca3c7f8062d12e17a5143a8bd5a6ee9b8d79c54b395d9e0502a4d277acd62443c36ed09572aff677842c22b879160a62f92fb7beda90c57d3d6fc14ee8f6 SHA512 eb027f7cbf263075f181645ebe2625997ed7a499c8a5e285f52cdb348ef3295ecadb03240ee446a9362895f96e9bfd11657a27aca9fb34ab9d5422cc68d847e9
-EBUILD megasync-4.2.5-r1.ebuild 4024 BLAKE2B e3278110e8d93afcb901e7595ff71024d0be2ca38f05dbf4870aace18dbd35075da9878ac23293fd442706aad429e9eac436e5b72ff956563594238014cf6ac0 SHA512 4b6f3f181afddd9dd0f0934c995712cee16553714eae398698f50e77d9f207ce486e692c6aad9919f88fc8b69a2c848ecf9b14bdd65917cf9420914453235ab1
+EBUILD megasync-4.2.5-r2.ebuild 4027 BLAKE2B cf745d60810047fcbf4392271263e99bb615019647dd4d52cb7b95b01e0a25005d25b551df418a46881f5f655f5e9114ab5b351fa9387c8fb027cb04ab0ccd18 SHA512 99c1cee8eb8f4e941569f2c4682bbd5ef55ff30b76f3f6dbcd759993c769f5651d88f3636d3b85046a6cfecca50826600ae2eacd31ddf7f3871cf7e6e7891040
 EBUILD megasync-4.2.5.ebuild 3915 BLAKE2B ed8dca3c7f8062d12e17a5143a8bd5a6ee9b8d79c54b395d9e0502a4d277acd62443c36ed09572aff677842c22b879160a62f92fb7beda90c57d3d6fc14ee8f6 SHA512 eb027f7cbf263075f181645ebe2625997ed7a499c8a5e285f52cdb348ef3295ecadb03240ee446a9362895f96e9bfd11657a27aca9fb34ab9d5422cc68d847e9
 EBUILD megasync-9999.ebuild 3637 BLAKE2B 3333948364efa4ae9ce897da38659e669fbb509de374686832d4546caccc4f9333693749540c989f1bb074b9eb929b308978ed089f4b6be714dbf76c530e608b SHA512 020ca96d8972f66cc79673bc31083af2fffacbb02dfeb12677d5d62f08605e1a4f9b29d55d5509231a416c39e7b1cd2e6b20d16c4af00a415cbaf4c133fa6c6d
 MISC metadata.xml 318 BLAKE2B ffc32715f0597b63ba78c242a5adfad13c921b43da17b5e07b4cca5e5ef69dbb3c89a7d110165dcea06ed317f873a5210db21be0ac5941dfb433185fdcb7a6e7 SHA512 e4930a21d6f75f5395e2e96436b42c792771fd7167abceeff0db7a9036616c6feeb6beee890afa6ff5e4584f5bb6938084316e60df57997aa1c20ba0a025514c

diff --git a/net-misc/megasync/megasync-4.2.5-r1.ebuild b/net-misc/megasync/megasync-4.2.5-r2.ebuild
similarity index 98%
rename from net-misc/megasync/megasync-4.2.5-r1.ebuild
rename to net-misc/megasync/megasync-4.2.5-r2.ebuild
index 0e12d47..1bd032b 100644
--- a/net-misc/megasync/megasync-4.2.5-r1.ebuild
+++ b/net-misc/megasync/megasync-4.2.5-r2.ebuild
@@ -125,7 +125,7 @@ src_configure(){
 		MEGA.pro
 		CONFIG+="release"
 	)
-	if [ gcc-major-version -eq "9" ]; then
+	if [ $(gcc-major-version) -eq "9" ]; then
 		myeqmakeargs+=(QMAKE_CXXFLAGS+="-fpermissive")
 	fi
 	if use qt5; then


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: net-misc/megasync/
@ 2020-01-12 18:08 Samuel Bernardo
  0 siblings, 0 replies; 29+ messages in thread
From: Samuel Bernardo @ 2020-01-12 18:08 UTC (permalink / raw
  To: gentoo-commits

commit:     7f6678d57b95f53649f48f26a64116b549af77de
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Sun Jan 12 18:07:42 2020 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Sun Jan 12 18:08:32 2020 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=7f6678d5

Disable fpermissive flag for qmake as a gcc-9 dependency

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 net-misc/megasync/Manifest                 |   1 +
 net-misc/megasync/megasync-4.2.5-r1.ebuild | 162 +++++++++++++++++++++++++++++
 2 files changed, 163 insertions(+)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index f443475..9a53fbb 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -20,6 +20,7 @@ EBUILD megasync-4.0.2.ebuild 3478 BLAKE2B 7c1e3e43bb883856a53b595cf5dea8b546bace
 EBUILD megasync-4.1.1.ebuild 3478 BLAKE2B 7c1e3e43bb883856a53b595cf5dea8b546bace994c46653d4e1b144aae175122ea8be06d758a900c508af9bf9d9ae9e63cc02cdef085f74b571f14ee98a8ae49 SHA512 76761c259bbe503d0f5cfcda4116f3176162a46e5705e085e8fc7624d18c11d1a8b16d3c80566132e37abf6d04563446382e53ec21b7a1c4ced70f8a95e06ff7
 EBUILD megasync-4.2.0.ebuild 3917 BLAKE2B 7295114af019c39c00e8d487c8cc6bfd9ad3480c83374779658325971da2c647ecaa9113b8e5a4646bf6fadbb4d882728f060c809d91aed52208a7a202b32669 SHA512 de032dc55d676bbf93d017b2495038c09e859b193fce0bf5ee20e559d0f61e6d49c7742c2dadf3879419915ad93488ca841ec7cf9cb07b0243fe331726c20b81
 EBUILD megasync-4.2.3.ebuild 3915 BLAKE2B ed8dca3c7f8062d12e17a5143a8bd5a6ee9b8d79c54b395d9e0502a4d277acd62443c36ed09572aff677842c22b879160a62f92fb7beda90c57d3d6fc14ee8f6 SHA512 eb027f7cbf263075f181645ebe2625997ed7a499c8a5e285f52cdb348ef3295ecadb03240ee446a9362895f96e9bfd11657a27aca9fb34ab9d5422cc68d847e9
+EBUILD megasync-4.2.5-r1.ebuild 4024 BLAKE2B e3278110e8d93afcb901e7595ff71024d0be2ca38f05dbf4870aace18dbd35075da9878ac23293fd442706aad429e9eac436e5b72ff956563594238014cf6ac0 SHA512 4b6f3f181afddd9dd0f0934c995712cee16553714eae398698f50e77d9f207ce486e692c6aad9919f88fc8b69a2c848ecf9b14bdd65917cf9420914453235ab1
 EBUILD megasync-4.2.5.ebuild 3915 BLAKE2B ed8dca3c7f8062d12e17a5143a8bd5a6ee9b8d79c54b395d9e0502a4d277acd62443c36ed09572aff677842c22b879160a62f92fb7beda90c57d3d6fc14ee8f6 SHA512 eb027f7cbf263075f181645ebe2625997ed7a499c8a5e285f52cdb348ef3295ecadb03240ee446a9362895f96e9bfd11657a27aca9fb34ab9d5422cc68d847e9
 EBUILD megasync-9999.ebuild 3637 BLAKE2B 3333948364efa4ae9ce897da38659e669fbb509de374686832d4546caccc4f9333693749540c989f1bb074b9eb929b308978ed089f4b6be714dbf76c530e608b SHA512 020ca96d8972f66cc79673bc31083af2fffacbb02dfeb12677d5d62f08605e1a4f9b29d55d5509231a416c39e7b1cd2e6b20d16c4af00a415cbaf4c133fa6c6d
 MISC metadata.xml 318 BLAKE2B ffc32715f0597b63ba78c242a5adfad13c921b43da17b5e07b4cca5e5ef69dbb3c89a7d110165dcea06ed317f873a5210db21be0ac5941dfb433185fdcb7a6e7 SHA512 e4930a21d6f75f5395e2e96436b42c792771fd7167abceeff0db7a9036616c6feeb6beee890afa6ff5e4584f5bb6938084316e60df57997aa1c20ba0a025514c

diff --git a/net-misc/megasync/megasync-4.2.5-r1.ebuild b/net-misc/megasync/megasync-4.2.5-r1.ebuild
new file mode 100644
index 0000000..0e12d47
--- /dev/null
+++ b/net-misc/megasync/megasync-4.2.5-r1.ebuild
@@ -0,0 +1,162 @@
+# Copyright 1999-2020 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=6
+
+inherit eutils multilib qmake-utils autotools versionator git-r3 toolchain-funcs
+
+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} == *9999* ]];then
+	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
+	KEYWORDS=""
+	EGIT_SUBMODULES=( '*' )
+else
+	#SDK_COMMIT="e8e66e9f030febfb35c9e4dd503d69091e28fc04"
+	#MY_PV="$(replace_all_version_separators _)"
+	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/${SDK_COMMIT}.tar.gz -> ${PN}-sdk-20170215.tar.gz"
+	KEYWORDS="~x86 ~amd64"
+	#RESTRICT="mirror"
+	#S="${WORKDIR}/MEGAsync-${PV}.0_Linux"
+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} != *9999* ]];then
+	src_prepare(){
+		#default
+		# Not needed, since using git submodules
+		#cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
+		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 [ gcc-major-version -eq "9" ]; then
+		myeqmakeargs+=(QMAKE_CXXFLAGS+="-fpermissive")
+	fi
+	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
+}
+
+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
+}


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: net-misc/megasync/
@ 2019-11-12 20:21 Samuel Bernardo
  0 siblings, 0 replies; 29+ messages in thread
From: Samuel Bernardo @ 2019-11-12 20:21 UTC (permalink / raw
  To: gentoo-commits

commit:     27f4198273f0af2afbf03bbab4da2aba7928bb16
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Tue Nov 12 20:20:51 2019 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Tue Nov 12 20:20:51 2019 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=27f41982

update megasync

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 net-misc/megasync/Manifest              |   1 +
 net-misc/megasync/megasync-4.2.5.ebuild | 159 ++++++++++++++++++++++++++++++++
 2 files changed, 160 insertions(+)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 3d33649..f443475 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -20,5 +20,6 @@ EBUILD megasync-4.0.2.ebuild 3478 BLAKE2B 7c1e3e43bb883856a53b595cf5dea8b546bace
 EBUILD megasync-4.1.1.ebuild 3478 BLAKE2B 7c1e3e43bb883856a53b595cf5dea8b546bace994c46653d4e1b144aae175122ea8be06d758a900c508af9bf9d9ae9e63cc02cdef085f74b571f14ee98a8ae49 SHA512 76761c259bbe503d0f5cfcda4116f3176162a46e5705e085e8fc7624d18c11d1a8b16d3c80566132e37abf6d04563446382e53ec21b7a1c4ced70f8a95e06ff7
 EBUILD megasync-4.2.0.ebuild 3917 BLAKE2B 7295114af019c39c00e8d487c8cc6bfd9ad3480c83374779658325971da2c647ecaa9113b8e5a4646bf6fadbb4d882728f060c809d91aed52208a7a202b32669 SHA512 de032dc55d676bbf93d017b2495038c09e859b193fce0bf5ee20e559d0f61e6d49c7742c2dadf3879419915ad93488ca841ec7cf9cb07b0243fe331726c20b81
 EBUILD megasync-4.2.3.ebuild 3915 BLAKE2B ed8dca3c7f8062d12e17a5143a8bd5a6ee9b8d79c54b395d9e0502a4d277acd62443c36ed09572aff677842c22b879160a62f92fb7beda90c57d3d6fc14ee8f6 SHA512 eb027f7cbf263075f181645ebe2625997ed7a499c8a5e285f52cdb348ef3295ecadb03240ee446a9362895f96e9bfd11657a27aca9fb34ab9d5422cc68d847e9
+EBUILD megasync-4.2.5.ebuild 3915 BLAKE2B ed8dca3c7f8062d12e17a5143a8bd5a6ee9b8d79c54b395d9e0502a4d277acd62443c36ed09572aff677842c22b879160a62f92fb7beda90c57d3d6fc14ee8f6 SHA512 eb027f7cbf263075f181645ebe2625997ed7a499c8a5e285f52cdb348ef3295ecadb03240ee446a9362895f96e9bfd11657a27aca9fb34ab9d5422cc68d847e9
 EBUILD megasync-9999.ebuild 3637 BLAKE2B 3333948364efa4ae9ce897da38659e669fbb509de374686832d4546caccc4f9333693749540c989f1bb074b9eb929b308978ed089f4b6be714dbf76c530e608b SHA512 020ca96d8972f66cc79673bc31083af2fffacbb02dfeb12677d5d62f08605e1a4f9b29d55d5509231a416c39e7b1cd2e6b20d16c4af00a415cbaf4c133fa6c6d
 MISC metadata.xml 318 BLAKE2B ffc32715f0597b63ba78c242a5adfad13c921b43da17b5e07b4cca5e5ef69dbb3c89a7d110165dcea06ed317f873a5210db21be0ac5941dfb433185fdcb7a6e7 SHA512 e4930a21d6f75f5395e2e96436b42c792771fd7167abceeff0db7a9036616c6feeb6beee890afa6ff5e4584f5bb6938084316e60df57997aa1c20ba0a025514c

diff --git a/net-misc/megasync/megasync-4.2.5.ebuild b/net-misc/megasync/megasync-4.2.5.ebuild
new file mode 100644
index 0000000..744ef35
--- /dev/null
+++ b/net-misc/megasync/megasync-4.2.5.ebuild
@@ -0,0 +1,159 @@
+# Copyright 1999-2019 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=6
+
+inherit eutils multilib qmake-utils autotools versionator git-r3
+
+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} == *9999* ]];then
+	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
+	KEYWORDS=""
+	EGIT_SUBMODULES=( '*' )
+else
+	#SDK_COMMIT="e8e66e9f030febfb35c9e4dd503d69091e28fc04"
+	#MY_PV="$(replace_all_version_separators _)"
+	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/${SDK_COMMIT}.tar.gz -> ${PN}-sdk-20170215.tar.gz"
+	KEYWORDS="~x86 ~amd64"
+	#RESTRICT="mirror"
+	#S="${WORKDIR}/MEGAsync-${PV}.0_Linux"
+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} != *9999* ]];then
+	src_prepare(){
+		#default
+		# Not needed, since using git submodules
+		#cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
+		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
+		eqmake4 ${myeqmakeargs[@]}
+		use dolphin && cmake-utils_src_configure
+		$(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro
+	fi
+}
+
+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
+}


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: net-misc/megasync/
@ 2019-08-20  7:45 Samuel Bernardo
  0 siblings, 0 replies; 29+ messages in thread
From: Samuel Bernardo @ 2019-08-20  7:45 UTC (permalink / raw
  To: gentoo-commits

commit:     af3c04297089a80c98c6b6f554643a2e7e0df669
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Tue Aug 20 07:45:02 2019 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Tue Aug 20 07:45:15 2019 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=af3c0429

update megasync

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 net-misc/megasync/Manifest              |   1 +
 net-misc/megasync/megasync-4.2.3.ebuild | 159 ++++++++++++++++++++++++++++++++
 2 files changed, 160 insertions(+)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index d2f4bdb..3d33649 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -19,5 +19,6 @@ EBUILD megasync-3.7.1-r1.ebuild 3478 BLAKE2B 7c1e3e43bb883856a53b595cf5dea8b546b
 EBUILD megasync-4.0.2.ebuild 3478 BLAKE2B 7c1e3e43bb883856a53b595cf5dea8b546bace994c46653d4e1b144aae175122ea8be06d758a900c508af9bf9d9ae9e63cc02cdef085f74b571f14ee98a8ae49 SHA512 76761c259bbe503d0f5cfcda4116f3176162a46e5705e085e8fc7624d18c11d1a8b16d3c80566132e37abf6d04563446382e53ec21b7a1c4ced70f8a95e06ff7
 EBUILD megasync-4.1.1.ebuild 3478 BLAKE2B 7c1e3e43bb883856a53b595cf5dea8b546bace994c46653d4e1b144aae175122ea8be06d758a900c508af9bf9d9ae9e63cc02cdef085f74b571f14ee98a8ae49 SHA512 76761c259bbe503d0f5cfcda4116f3176162a46e5705e085e8fc7624d18c11d1a8b16d3c80566132e37abf6d04563446382e53ec21b7a1c4ced70f8a95e06ff7
 EBUILD megasync-4.2.0.ebuild 3917 BLAKE2B 7295114af019c39c00e8d487c8cc6bfd9ad3480c83374779658325971da2c647ecaa9113b8e5a4646bf6fadbb4d882728f060c809d91aed52208a7a202b32669 SHA512 de032dc55d676bbf93d017b2495038c09e859b193fce0bf5ee20e559d0f61e6d49c7742c2dadf3879419915ad93488ca841ec7cf9cb07b0243fe331726c20b81
+EBUILD megasync-4.2.3.ebuild 3915 BLAKE2B ed8dca3c7f8062d12e17a5143a8bd5a6ee9b8d79c54b395d9e0502a4d277acd62443c36ed09572aff677842c22b879160a62f92fb7beda90c57d3d6fc14ee8f6 SHA512 eb027f7cbf263075f181645ebe2625997ed7a499c8a5e285f52cdb348ef3295ecadb03240ee446a9362895f96e9bfd11657a27aca9fb34ab9d5422cc68d847e9
 EBUILD megasync-9999.ebuild 3637 BLAKE2B 3333948364efa4ae9ce897da38659e669fbb509de374686832d4546caccc4f9333693749540c989f1bb074b9eb929b308978ed089f4b6be714dbf76c530e608b SHA512 020ca96d8972f66cc79673bc31083af2fffacbb02dfeb12677d5d62f08605e1a4f9b29d55d5509231a416c39e7b1cd2e6b20d16c4af00a415cbaf4c133fa6c6d
 MISC metadata.xml 318 BLAKE2B ffc32715f0597b63ba78c242a5adfad13c921b43da17b5e07b4cca5e5ef69dbb3c89a7d110165dcea06ed317f873a5210db21be0ac5941dfb433185fdcb7a6e7 SHA512 e4930a21d6f75f5395e2e96436b42c792771fd7167abceeff0db7a9036616c6feeb6beee890afa6ff5e4584f5bb6938084316e60df57997aa1c20ba0a025514c

diff --git a/net-misc/megasync/megasync-4.2.3.ebuild b/net-misc/megasync/megasync-4.2.3.ebuild
new file mode 100644
index 0000000..744ef35
--- /dev/null
+++ b/net-misc/megasync/megasync-4.2.3.ebuild
@@ -0,0 +1,159 @@
+# Copyright 1999-2019 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=6
+
+inherit eutils multilib qmake-utils autotools versionator git-r3
+
+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} == *9999* ]];then
+	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
+	KEYWORDS=""
+	EGIT_SUBMODULES=( '*' )
+else
+	#SDK_COMMIT="e8e66e9f030febfb35c9e4dd503d69091e28fc04"
+	#MY_PV="$(replace_all_version_separators _)"
+	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/${SDK_COMMIT}.tar.gz -> ${PN}-sdk-20170215.tar.gz"
+	KEYWORDS="~x86 ~amd64"
+	#RESTRICT="mirror"
+	#S="${WORKDIR}/MEGAsync-${PV}.0_Linux"
+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} != *9999* ]];then
+	src_prepare(){
+		#default
+		# Not needed, since using git submodules
+		#cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
+		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
+		eqmake4 ${myeqmakeargs[@]}
+		use dolphin && cmake-utils_src_configure
+		$(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro
+	fi
+}
+
+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
+}


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: net-misc/megasync/
@ 2019-07-28 12:43 Samuel Bernardo
  0 siblings, 0 replies; 29+ messages in thread
From: Samuel Bernardo @ 2019-07-28 12:43 UTC (permalink / raw
  To: gentoo-commits

commit:     63e8c865d3c8baf5588f78dae66d0abdc9832c03
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Sun Jul 28 12:42:34 2019 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Sun Jul 28 12:42:34 2019 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=63e8c865

correct nautilus and thunar config dependency

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 net-misc/megasync/Manifest              | 2 +-
 net-misc/megasync/megasync-4.2.0.ebuild | 4 ----
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 3814684..d2f4bdb 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -18,6 +18,6 @@ EBUILD megasync-3.6.6.ebuild 3362 BLAKE2B 31b8246a1600d088d30ad26687f1d14ea372aa
 EBUILD megasync-3.7.1-r1.ebuild 3478 BLAKE2B 7c1e3e43bb883856a53b595cf5dea8b546bace994c46653d4e1b144aae175122ea8be06d758a900c508af9bf9d9ae9e63cc02cdef085f74b571f14ee98a8ae49 SHA512 76761c259bbe503d0f5cfcda4116f3176162a46e5705e085e8fc7624d18c11d1a8b16d3c80566132e37abf6d04563446382e53ec21b7a1c4ced70f8a95e06ff7
 EBUILD megasync-4.0.2.ebuild 3478 BLAKE2B 7c1e3e43bb883856a53b595cf5dea8b546bace994c46653d4e1b144aae175122ea8be06d758a900c508af9bf9d9ae9e63cc02cdef085f74b571f14ee98a8ae49 SHA512 76761c259bbe503d0f5cfcda4116f3176162a46e5705e085e8fc7624d18c11d1a8b16d3c80566132e37abf6d04563446382e53ec21b7a1c4ced70f8a95e06ff7
 EBUILD megasync-4.1.1.ebuild 3478 BLAKE2B 7c1e3e43bb883856a53b595cf5dea8b546bace994c46653d4e1b144aae175122ea8be06d758a900c508af9bf9d9ae9e63cc02cdef085f74b571f14ee98a8ae49 SHA512 76761c259bbe503d0f5cfcda4116f3176162a46e5705e085e8fc7624d18c11d1a8b16d3c80566132e37abf6d04563446382e53ec21b7a1c4ced70f8a95e06ff7
-EBUILD megasync-4.2.0.ebuild 4035 BLAKE2B 5fe7a44ef5d10e12000b0dfe56960f06800f946b339f50c6ffa875be0f80a13ff548bdeee442b442536692a6c9291074d2137e9f59a6c56717044c9bd39eb5d4 SHA512 b2ee2b2bdf1cf878684d74d27ba6934a189abc1deefc90464b9632889976e7860e9a443752702a80036aff4b36fc5619b73bd05951e4e083ec24244cb0fbce45
+EBUILD megasync-4.2.0.ebuild 3917 BLAKE2B 7295114af019c39c00e8d487c8cc6bfd9ad3480c83374779658325971da2c647ecaa9113b8e5a4646bf6fadbb4d882728f060c809d91aed52208a7a202b32669 SHA512 de032dc55d676bbf93d017b2495038c09e859b193fce0bf5ee20e559d0f61e6d49c7742c2dadf3879419915ad93488ca841ec7cf9cb07b0243fe331726c20b81
 EBUILD megasync-9999.ebuild 3637 BLAKE2B 3333948364efa4ae9ce897da38659e669fbb509de374686832d4546caccc4f9333693749540c989f1bb074b9eb929b308978ed089f4b6be714dbf76c530e608b SHA512 020ca96d8972f66cc79673bc31083af2fffacbb02dfeb12677d5d62f08605e1a4f9b29d55d5509231a416c39e7b1cd2e6b20d16c4af00a415cbaf4c133fa6c6d
 MISC metadata.xml 318 BLAKE2B ffc32715f0597b63ba78c242a5adfad13c921b43da17b5e07b4cca5e5ef69dbb3c89a7d110165dcea06ed317f873a5210db21be0ac5941dfb433185fdcb7a6e7 SHA512 e4930a21d6f75f5395e2e96436b42c792771fd7167abceeff0db7a9036616c6feeb6beee890afa6ff5e4584f5bb6938084316e60df57997aa1c20ba0a025514c

diff --git a/net-misc/megasync/megasync-4.2.0.ebuild b/net-misc/megasync/megasync-4.2.0.ebuild
index 5e66d5d..bf7db61 100644
--- a/net-misc/megasync/megasync-4.2.0.ebuild
+++ b/net-misc/megasync/megasync-4.2.0.ebuild
@@ -123,10 +123,6 @@ src_configure(){
 	cd ../..
 	local myeqmakeargs=(
 		MEGA.pro
-		CONFIG$(usex nautilus + -)=with_ext
-		CONFIG$(usex thunar + -)=with_thu
-		CONFIG-=with_updater
-		CONFIG-=with_tools
 		CONFIG+="release"
 	)
 	if use qt5; then


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: net-misc/megasync/
@ 2019-05-25  7:01 Samuel Bernardo
  0 siblings, 0 replies; 29+ messages in thread
From: Samuel Bernardo @ 2019-05-25  7:01 UTC (permalink / raw
  To: gentoo-commits

commit:     dbec56bcc0881a4ab18f712f3298ba70c663ad71
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Sat May 25 07:01:20 2019 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Sat May 25 07:01:20 2019 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=dbec56bc

update megasync

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 net-misc/megasync/Manifest              |   1 +
 net-misc/megasync/megasync-4.0.2.ebuild | 146 ++++++++++++++++++++++++++++++++
 2 files changed, 147 insertions(+)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index cb46440..8bc62cb 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -16,5 +16,6 @@ EBUILD megasync-3.6.5.ebuild 3337 BLAKE2B 2f5aeb4338a6b3cda24c7df83f72133078bc9d
 EBUILD megasync-3.6.6-r1.ebuild 3491 BLAKE2B 7981da7b9d40d9aee6a8eac180a6eba7b68642ad23b12bb73f2387eeb02519d54d88e9557842787379cc603917f768452a175657d87b23cd4e378c2619bfc9ec SHA512 4507cc58b49e1653ed1bf63a4210433f89a7c195892c070deb2c9d9207c95e5274f53bdc2371ad8ecadc1bebfbdc18466a431dbd11bc68d6d2fa3e1f7cc90a58
 EBUILD megasync-3.6.6.ebuild 3362 BLAKE2B 31b8246a1600d088d30ad26687f1d14ea372aa92141be2d779aede5da7a32ab53f41463080a4148fbe74402046ede9d797d3e6d3bbc375ab634885b82476dfba SHA512 e4dfb72321158c6befd757921bd70e7b275ec6b95e2297119d70c4cf1cdf708cec903575b8f3adc308b4a6071a7bd741061acefa2ab16ce78b9a1733e5f06e99
 EBUILD megasync-3.7.1-r1.ebuild 3478 BLAKE2B 7c1e3e43bb883856a53b595cf5dea8b546bace994c46653d4e1b144aae175122ea8be06d758a900c508af9bf9d9ae9e63cc02cdef085f74b571f14ee98a8ae49 SHA512 76761c259bbe503d0f5cfcda4116f3176162a46e5705e085e8fc7624d18c11d1a8b16d3c80566132e37abf6d04563446382e53ec21b7a1c4ced70f8a95e06ff7
+EBUILD megasync-4.0.2.ebuild 3478 BLAKE2B 7c1e3e43bb883856a53b595cf5dea8b546bace994c46653d4e1b144aae175122ea8be06d758a900c508af9bf9d9ae9e63cc02cdef085f74b571f14ee98a8ae49 SHA512 76761c259bbe503d0f5cfcda4116f3176162a46e5705e085e8fc7624d18c11d1a8b16d3c80566132e37abf6d04563446382e53ec21b7a1c4ced70f8a95e06ff7
 EBUILD megasync-9999.ebuild 3637 BLAKE2B 3333948364efa4ae9ce897da38659e669fbb509de374686832d4546caccc4f9333693749540c989f1bb074b9eb929b308978ed089f4b6be714dbf76c530e608b SHA512 020ca96d8972f66cc79673bc31083af2fffacbb02dfeb12677d5d62f08605e1a4f9b29d55d5509231a416c39e7b1cd2e6b20d16c4af00a415cbaf4c133fa6c6d
 MISC metadata.xml 318 BLAKE2B ffc32715f0597b63ba78c242a5adfad13c921b43da17b5e07b4cca5e5ef69dbb3c89a7d110165dcea06ed317f873a5210db21be0ac5941dfb433185fdcb7a6e7 SHA512 e4930a21d6f75f5395e2e96436b42c792771fd7167abceeff0db7a9036616c6feeb6beee890afa6ff5e4584f5bb6938084316e60df57997aa1c20ba0a025514c

diff --git a/net-misc/megasync/megasync-4.0.2.ebuild b/net-misc/megasync/megasync-4.0.2.ebuild
new file mode 100644
index 0000000..e4f6af8
--- /dev/null
+++ b/net-misc/megasync/megasync-4.0.2.ebuild
@@ -0,0 +1,146 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=6
+
+inherit eutils multilib qmake-utils autotools versionator git-r3
+
+DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This is the official app."
+HOMEPAGE="http://mega.co.nz"
+if [[ ${PV} == *9999* ]];then
+	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
+	KEYWORDS=""
+	EGIT_SUBMODULES=( '*' )
+else
+	#SDK_COMMIT="e8e66e9f030febfb35c9e4dd503d69091e28fc04"
+	#MY_PV="$(replace_all_version_separators _)"
+	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
+	EGIT_COMMIT="v${PV}.0_Linux"
+	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/${SDK_COMMIT}.tar.gz -> ${PN}-sdk-20170215.tar.gz"
+	KEYWORDS="~x86 ~amd64"
+	#RESTRICT="mirror"
+	#S="${WORKDIR}/MEGAsync-${PV}.0_Linux"
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="+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
+		)
+	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
+		)"
+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 )
+		"
+
+PATCHES=( )
+
+if [[ ${PV} != *9999* ]];then
+	src_prepare(){
+		#default
+		# Not needed, since using git submodules
+		#cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
+		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[@]}
+		$(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
+	else
+		eqmake4 ${myeqmakeargs[@]}
+		$(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro
+	fi
+}
+
+src_compile(){
+	cd "${S}"/src
+	emake INSTALL_ROOT="${D}" || die
+}
+
+src_install(){
+	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
+}


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: net-misc/megasync/
@ 2019-02-10 23:01 Samuel Bernardo
  0 siblings, 0 replies; 29+ messages in thread
From: Samuel Bernardo @ 2019-02-10 23:01 UTC (permalink / raw
  To: gentoo-commits

commit:     e951e2e3f91850ed70e9f49452c24a7faf0ac391
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Sun Feb 10 23:00:21 2019 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Sun Feb 10 23:00:34 2019 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=e951e2e3

update manifest with removed ebuild from megasync

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

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

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 589be91..cb46440 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -16,6 +16,5 @@ EBUILD megasync-3.6.5.ebuild 3337 BLAKE2B 2f5aeb4338a6b3cda24c7df83f72133078bc9d
 EBUILD megasync-3.6.6-r1.ebuild 3491 BLAKE2B 7981da7b9d40d9aee6a8eac180a6eba7b68642ad23b12bb73f2387eeb02519d54d88e9557842787379cc603917f768452a175657d87b23cd4e378c2619bfc9ec SHA512 4507cc58b49e1653ed1bf63a4210433f89a7c195892c070deb2c9d9207c95e5274f53bdc2371ad8ecadc1bebfbdc18466a431dbd11bc68d6d2fa3e1f7cc90a58
 EBUILD megasync-3.6.6.ebuild 3362 BLAKE2B 31b8246a1600d088d30ad26687f1d14ea372aa92141be2d779aede5da7a32ab53f41463080a4148fbe74402046ede9d797d3e6d3bbc375ab634885b82476dfba SHA512 e4dfb72321158c6befd757921bd70e7b275ec6b95e2297119d70c4cf1cdf708cec903575b8f3adc308b4a6071a7bd741061acefa2ab16ce78b9a1733e5f06e99
 EBUILD megasync-3.7.1-r1.ebuild 3478 BLAKE2B 7c1e3e43bb883856a53b595cf5dea8b546bace994c46653d4e1b144aae175122ea8be06d758a900c508af9bf9d9ae9e63cc02cdef085f74b571f14ee98a8ae49 SHA512 76761c259bbe503d0f5cfcda4116f3176162a46e5705e085e8fc7624d18c11d1a8b16d3c80566132e37abf6d04563446382e53ec21b7a1c4ced70f8a95e06ff7
-EBUILD megasync-3.7.1.ebuild 3459 BLAKE2B b4fccfddb25b61742a3058671c1fe6b67c46672db61ac4f23da807d770a70bd2b2b8401cd5ea352be6b1efc589a1050f4a56fa5fa304d03b7facd4c443acedbc SHA512 451f8f82ede1e68cb226d771fdf810fbf131e9d4e7d6ce51a506ef0eb8fc521cfb7eab94ebd740793e13516ee1e06f171300d17497f00b6abe1e95ff8e3d165c
 EBUILD megasync-9999.ebuild 3637 BLAKE2B 3333948364efa4ae9ce897da38659e669fbb509de374686832d4546caccc4f9333693749540c989f1bb074b9eb929b308978ed089f4b6be714dbf76c530e608b SHA512 020ca96d8972f66cc79673bc31083af2fffacbb02dfeb12677d5d62f08605e1a4f9b29d55d5509231a416c39e7b1cd2e6b20d16c4af00a415cbaf4c133fa6c6d
 MISC metadata.xml 318 BLAKE2B ffc32715f0597b63ba78c242a5adfad13c921b43da17b5e07b4cca5e5ef69dbb3c89a7d110165dcea06ed317f873a5210db21be0ac5941dfb433185fdcb7a6e7 SHA512 e4930a21d6f75f5395e2e96436b42c792771fd7167abceeff0db7a9036616c6feeb6beee890afa6ff5e4584f5bb6938084316e60df57997aa1c20ba0a025514c


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: net-misc/megasync/
@ 2019-02-10 17:23 Samuel Bernardo
  0 siblings, 0 replies; 29+ messages in thread
From: Samuel Bernardo @ 2019-02-10 17:23 UTC (permalink / raw
  To: gentoo-commits

commit:     5b260de49eddbacfe246f15d803a0e473b2a4d85
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Sun Feb 10 17:23:36 2019 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Sun Feb 10 17:23:36 2019 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=5b260de4

Remove megasync 3.7.1 ebuild that is missing an important dependency at build time

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 net-misc/megasync/megasync-3.7.1.ebuild | 145 --------------------------------
 1 file changed, 145 deletions(-)

diff --git a/net-misc/megasync/megasync-3.7.1.ebuild b/net-misc/megasync/megasync-3.7.1.ebuild
deleted file mode 100644
index 41e8d6f..0000000
--- a/net-misc/megasync/megasync-3.7.1.ebuild
+++ /dev/null
@@ -1,145 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=6
-
-inherit eutils multilib qmake-utils autotools versionator git-r3
-
-DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This is the official app."
-HOMEPAGE="http://mega.co.nz"
-if [[ ${PV} == *9999* ]];then
-	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
-	KEYWORDS=""
-	EGIT_SUBMODULES=( '*' )
-else
-	#SDK_COMMIT="e8e66e9f030febfb35c9e4dd503d69091e28fc04"
-	#MY_PV="$(replace_all_version_separators _)"
-	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
-	EGIT_COMMIT="v${PV}.0_Linux"
-	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/${SDK_COMMIT}.tar.gz -> ${PN}-sdk-20170215.tar.gz"
-	KEYWORDS="~x86 ~amd64"
-	#RESTRICT="mirror"
-	#S="${WORKDIR}/MEGAsync-${PV}.0_Linux"
-fi
-
-LICENSE="MEGA"
-SLOT="0"
-IUSE="+cryptopp +sqlite +zlib +curl freeimage readline examples threads qt5 java php python gnome"
-
-DEPEND="
-	dev-lang/swig
-	app-doc/doxygen
-	media-libs/libmediainfo
-	!qt5? ( 
-		dev-qt/qtcore:4
-		dev-qt/qtgui:4
-		dev-qt/qtdbus:4
-		dev-libs/sni-qt
-		)
-	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
-		)"
-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 )
-		"
-
-PATCHES=( )
-
-if [[ ${PV} != *9999* ]];then
-	src_prepare(){
-		#default
-		# Not needed, since using git submodules
-		#cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
-		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[@]}
-		$(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
-	else
-		eqmake4 ${myeqmakeargs[@]}
-		$(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro
-	fi
-}
-
-src_compile(){
-	cd "${S}"/src
-	emake INSTALL_ROOT="${D}" || die
-}
-
-src_install(){
-	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
-}


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: net-misc/megasync/
@ 2019-02-10 17:22 Samuel Bernardo
  0 siblings, 0 replies; 29+ messages in thread
From: Samuel Bernardo @ 2019-02-10 17:22 UTC (permalink / raw
  To: gentoo-commits

commit:     73760504350b638f0e2f57dc0725a54f8ee4e2d4
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Sun Feb 10 17:21:40 2019 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Sun Feb 10 17:21:40 2019 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=73760504

correct megasync 3.7.1 missing dependency

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 net-misc/megasync/Manifest                 |   1 +
 net-misc/megasync/megasync-3.7.1-r1.ebuild | 146 +++++++++++++++++++++++++++++
 2 files changed, 147 insertions(+)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index dce2b0b..589be91 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -15,6 +15,7 @@ EBUILD megasync-3.6.5-r1.ebuild 3362 BLAKE2B 31b8246a1600d088d30ad26687f1d14ea37
 EBUILD megasync-3.6.5.ebuild 3337 BLAKE2B 2f5aeb4338a6b3cda24c7df83f72133078bc9d7a9b85235dbc74939a6584ee3db15c1ead62cde806419d455b400e7ecf1f16f8b9180603d2b03f3c1e522d0bbe SHA512 d8093129e32585db276e4aa88496092c7a99731b10755a8514b23492e0e6473837850dcaec1606804a732d4fc88cd77b9bc207ecafbd7a3450e249f8eade438d
 EBUILD megasync-3.6.6-r1.ebuild 3491 BLAKE2B 7981da7b9d40d9aee6a8eac180a6eba7b68642ad23b12bb73f2387eeb02519d54d88e9557842787379cc603917f768452a175657d87b23cd4e378c2619bfc9ec SHA512 4507cc58b49e1653ed1bf63a4210433f89a7c195892c070deb2c9d9207c95e5274f53bdc2371ad8ecadc1bebfbdc18466a431dbd11bc68d6d2fa3e1f7cc90a58
 EBUILD megasync-3.6.6.ebuild 3362 BLAKE2B 31b8246a1600d088d30ad26687f1d14ea372aa92141be2d779aede5da7a32ab53f41463080a4148fbe74402046ede9d797d3e6d3bbc375ab634885b82476dfba SHA512 e4dfb72321158c6befd757921bd70e7b275ec6b95e2297119d70c4cf1cdf708cec903575b8f3adc308b4a6071a7bd741061acefa2ab16ce78b9a1733e5f06e99
+EBUILD megasync-3.7.1-r1.ebuild 3478 BLAKE2B 7c1e3e43bb883856a53b595cf5dea8b546bace994c46653d4e1b144aae175122ea8be06d758a900c508af9bf9d9ae9e63cc02cdef085f74b571f14ee98a8ae49 SHA512 76761c259bbe503d0f5cfcda4116f3176162a46e5705e085e8fc7624d18c11d1a8b16d3c80566132e37abf6d04563446382e53ec21b7a1c4ced70f8a95e06ff7
 EBUILD megasync-3.7.1.ebuild 3459 BLAKE2B b4fccfddb25b61742a3058671c1fe6b67c46672db61ac4f23da807d770a70bd2b2b8401cd5ea352be6b1efc589a1050f4a56fa5fa304d03b7facd4c443acedbc SHA512 451f8f82ede1e68cb226d771fdf810fbf131e9d4e7d6ce51a506ef0eb8fc521cfb7eab94ebd740793e13516ee1e06f171300d17497f00b6abe1e95ff8e3d165c
 EBUILD megasync-9999.ebuild 3637 BLAKE2B 3333948364efa4ae9ce897da38659e669fbb509de374686832d4546caccc4f9333693749540c989f1bb074b9eb929b308978ed089f4b6be714dbf76c530e608b SHA512 020ca96d8972f66cc79673bc31083af2fffacbb02dfeb12677d5d62f08605e1a4f9b29d55d5509231a416c39e7b1cd2e6b20d16c4af00a415cbaf4c133fa6c6d
 MISC metadata.xml 318 BLAKE2B ffc32715f0597b63ba78c242a5adfad13c921b43da17b5e07b4cca5e5ef69dbb3c89a7d110165dcea06ed317f873a5210db21be0ac5941dfb433185fdcb7a6e7 SHA512 e4930a21d6f75f5395e2e96436b42c792771fd7167abceeff0db7a9036616c6feeb6beee890afa6ff5e4584f5bb6938084316e60df57997aa1c20ba0a025514c

diff --git a/net-misc/megasync/megasync-3.7.1-r1.ebuild b/net-misc/megasync/megasync-3.7.1-r1.ebuild
new file mode 100644
index 0000000..e4f6af8
--- /dev/null
+++ b/net-misc/megasync/megasync-3.7.1-r1.ebuild
@@ -0,0 +1,146 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=6
+
+inherit eutils multilib qmake-utils autotools versionator git-r3
+
+DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This is the official app."
+HOMEPAGE="http://mega.co.nz"
+if [[ ${PV} == *9999* ]];then
+	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
+	KEYWORDS=""
+	EGIT_SUBMODULES=( '*' )
+else
+	#SDK_COMMIT="e8e66e9f030febfb35c9e4dd503d69091e28fc04"
+	#MY_PV="$(replace_all_version_separators _)"
+	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
+	EGIT_COMMIT="v${PV}.0_Linux"
+	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/${SDK_COMMIT}.tar.gz -> ${PN}-sdk-20170215.tar.gz"
+	KEYWORDS="~x86 ~amd64"
+	#RESTRICT="mirror"
+	#S="${WORKDIR}/MEGAsync-${PV}.0_Linux"
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="+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
+		)
+	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
+		)"
+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 )
+		"
+
+PATCHES=( )
+
+if [[ ${PV} != *9999* ]];then
+	src_prepare(){
+		#default
+		# Not needed, since using git submodules
+		#cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
+		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[@]}
+		$(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
+	else
+		eqmake4 ${myeqmakeargs[@]}
+		$(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro
+	fi
+}
+
+src_compile(){
+	cd "${S}"/src
+	emake INSTALL_ROOT="${D}" || die
+}
+
+src_install(){
+	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
+}


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: net-misc/megasync/
@ 2018-11-14  0:39 Samuel Bernardo
  0 siblings, 0 replies; 29+ messages in thread
From: Samuel Bernardo @ 2018-11-14  0:39 UTC (permalink / raw
  To: gentoo-commits

commit:     67fe31a55db9b07472c9ffd01807bddf9487f07f
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Wed Nov  7 23:26:10 2018 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Wed Nov 14 00:11:58 2018 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=67fe31a5

update megasync

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 net-misc/megasync/Manifest              |   1 +
 net-misc/megasync/megasync-3.7.1.ebuild | 145 ++++++++++++++++++++++++++++++++
 2 files changed, 146 insertions(+)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 577aa0e..dce2b0b 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -15,5 +15,6 @@ EBUILD megasync-3.6.5-r1.ebuild 3362 BLAKE2B 31b8246a1600d088d30ad26687f1d14ea37
 EBUILD megasync-3.6.5.ebuild 3337 BLAKE2B 2f5aeb4338a6b3cda24c7df83f72133078bc9d7a9b85235dbc74939a6584ee3db15c1ead62cde806419d455b400e7ecf1f16f8b9180603d2b03f3c1e522d0bbe SHA512 d8093129e32585db276e4aa88496092c7a99731b10755a8514b23492e0e6473837850dcaec1606804a732d4fc88cd77b9bc207ecafbd7a3450e249f8eade438d
 EBUILD megasync-3.6.6-r1.ebuild 3491 BLAKE2B 7981da7b9d40d9aee6a8eac180a6eba7b68642ad23b12bb73f2387eeb02519d54d88e9557842787379cc603917f768452a175657d87b23cd4e378c2619bfc9ec SHA512 4507cc58b49e1653ed1bf63a4210433f89a7c195892c070deb2c9d9207c95e5274f53bdc2371ad8ecadc1bebfbdc18466a431dbd11bc68d6d2fa3e1f7cc90a58
 EBUILD megasync-3.6.6.ebuild 3362 BLAKE2B 31b8246a1600d088d30ad26687f1d14ea372aa92141be2d779aede5da7a32ab53f41463080a4148fbe74402046ede9d797d3e6d3bbc375ab634885b82476dfba SHA512 e4dfb72321158c6befd757921bd70e7b275ec6b95e2297119d70c4cf1cdf708cec903575b8f3adc308b4a6071a7bd741061acefa2ab16ce78b9a1733e5f06e99
+EBUILD megasync-3.7.1.ebuild 3459 BLAKE2B b4fccfddb25b61742a3058671c1fe6b67c46672db61ac4f23da807d770a70bd2b2b8401cd5ea352be6b1efc589a1050f4a56fa5fa304d03b7facd4c443acedbc SHA512 451f8f82ede1e68cb226d771fdf810fbf131e9d4e7d6ce51a506ef0eb8fc521cfb7eab94ebd740793e13516ee1e06f171300d17497f00b6abe1e95ff8e3d165c
 EBUILD megasync-9999.ebuild 3637 BLAKE2B 3333948364efa4ae9ce897da38659e669fbb509de374686832d4546caccc4f9333693749540c989f1bb074b9eb929b308978ed089f4b6be714dbf76c530e608b SHA512 020ca96d8972f66cc79673bc31083af2fffacbb02dfeb12677d5d62f08605e1a4f9b29d55d5509231a416c39e7b1cd2e6b20d16c4af00a415cbaf4c133fa6c6d
 MISC metadata.xml 318 BLAKE2B ffc32715f0597b63ba78c242a5adfad13c921b43da17b5e07b4cca5e5ef69dbb3c89a7d110165dcea06ed317f873a5210db21be0ac5941dfb433185fdcb7a6e7 SHA512 e4930a21d6f75f5395e2e96436b42c792771fd7167abceeff0db7a9036616c6feeb6beee890afa6ff5e4584f5bb6938084316e60df57997aa1c20ba0a025514c

diff --git a/net-misc/megasync/megasync-3.7.1.ebuild b/net-misc/megasync/megasync-3.7.1.ebuild
new file mode 100644
index 0000000..41e8d6f
--- /dev/null
+++ b/net-misc/megasync/megasync-3.7.1.ebuild
@@ -0,0 +1,145 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=6
+
+inherit eutils multilib qmake-utils autotools versionator git-r3
+
+DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This is the official app."
+HOMEPAGE="http://mega.co.nz"
+if [[ ${PV} == *9999* ]];then
+	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
+	KEYWORDS=""
+	EGIT_SUBMODULES=( '*' )
+else
+	#SDK_COMMIT="e8e66e9f030febfb35c9e4dd503d69091e28fc04"
+	#MY_PV="$(replace_all_version_separators _)"
+	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
+	EGIT_COMMIT="v${PV}.0_Linux"
+	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/${SDK_COMMIT}.tar.gz -> ${PN}-sdk-20170215.tar.gz"
+	KEYWORDS="~x86 ~amd64"
+	#RESTRICT="mirror"
+	#S="${WORKDIR}/MEGAsync-${PV}.0_Linux"
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="+cryptopp +sqlite +zlib +curl freeimage readline examples threads qt5 java php python gnome"
+
+DEPEND="
+	dev-lang/swig
+	app-doc/doxygen
+	media-libs/libmediainfo
+	!qt5? ( 
+		dev-qt/qtcore:4
+		dev-qt/qtgui:4
+		dev-qt/qtdbus:4
+		dev-libs/sni-qt
+		)
+	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
+		)"
+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 )
+		"
+
+PATCHES=( )
+
+if [[ ${PV} != *9999* ]];then
+	src_prepare(){
+		#default
+		# Not needed, since using git submodules
+		#cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
+		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[@]}
+		$(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
+	else
+		eqmake4 ${myeqmakeargs[@]}
+		$(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro
+	fi
+}
+
+src_compile(){
+	cd "${S}"/src
+	emake INSTALL_ROOT="${D}" || die
+}
+
+src_install(){
+	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
+}


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: net-misc/megasync/
@ 2018-06-26 18:50 Samuel Bernardo
  0 siblings, 0 replies; 29+ messages in thread
From: Samuel Bernardo @ 2018-06-26 18:50 UTC (permalink / raw
  To: gentoo-commits

commit:     953815f38b1711f85170a01c69419eb672fb7804
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Tue Jun 26 18:49:42 2018 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Tue Jun 26 18:49:42 2018 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=953815f3

update megasync manifest with file patch for 3.6.6

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

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index baa4bd0..83c4bab 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,6 +1,5 @@
 AUX MEGAsync-3.1.4.0_Linux.patch 1035 BLAKE2B f68751902e0ec9f0276f08d1d0ba4c88ce3fd7a16f75f36644b60becc0299f80d7abe0b998d0d0f18440be172ceb3637fce7ad3fde443c51fa4aa0c1a772b124 SHA512 afd9b11a8dcdc3240d3c3850dfccafce64078c95ae4fa44ef0f3fbd71aabb4fa129f46bbde470d916719174a19674ba3f14cf9cde1166f7c5e09e56feb9f943e
 AUX MEGAsync-3.5.3.0_Linux.patch 1035 BLAKE2B f68751902e0ec9f0276f08d1d0ba4c88ce3fd7a16f75f36644b60becc0299f80d7abe0b998d0d0f18440be172ceb3637fce7ad3fde443c51fa4aa0c1a772b124 SHA512 afd9b11a8dcdc3240d3c3850dfccafce64078c95ae4fa44ef0f3fbd71aabb4fa129f46bbde470d916719174a19674ba3f14cf9cde1166f7c5e09e56feb9f943e
-AUX megasync-3.6.5-ffmeg.patch 566 BLAKE2B c1e8bd4b5c4c2c6fd6cc2316e7372443672ff1b25fbc3332ffc60f524396b7f784669da26506dbf683962a7f3da63809b57ec7696be8cef0d6c720fdb924999b SHA512 741df967aece39bdd3b17b105bcad390d6cf817c1e4db9bf13d460ccc972af8ff6696f72a0253f2adea76526d7346474e65df18bfd485194e7ff8a479274c655
 AUX megasync-3.6.5-ffmpeg.patch 566 BLAKE2B c1e8bd4b5c4c2c6fd6cc2316e7372443672ff1b25fbc3332ffc60f524396b7f784669da26506dbf683962a7f3da63809b57ec7696be8cef0d6c720fdb924999b SHA512 741df967aece39bdd3b17b105bcad390d6cf817c1e4db9bf13d460ccc972af8ff6696f72a0253f2adea76526d7346474e65df18bfd485194e7ff8a479274c655
 AUX megasync-3.6.6-ffmpeg.patch 566 BLAKE2B c1e8bd4b5c4c2c6fd6cc2316e7372443672ff1b25fbc3332ffc60f524396b7f784669da26506dbf683962a7f3da63809b57ec7696be8cef0d6c720fdb924999b SHA512 741df967aece39bdd3b17b105bcad390d6cf817c1e4db9bf13d460ccc972af8ff6696f72a0253f2adea76526d7346474e65df18bfd485194e7ff8a479274c655
 AUX megasync-glibc2.26.patch 5958 BLAKE2B 990b5ddc9300979e9a059c285b05ef691566e2ec33ab40de76e9f5c251dc8c2f94ddc936eb13772c413c42b0d1122596f2e47805766fe6512ec09050f6b22111 SHA512 f8348b61028f34714dabe83fe88e5820686a35e1fa52206451152a97a286557168666142121936304d60aa18dae16d4474c3c3278274b62cc06d42587fc7016e


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: net-misc/megasync/
@ 2018-05-21 20:13 Samuel Bernardo
  0 siblings, 0 replies; 29+ messages in thread
From: Samuel Bernardo @ 2018-05-21 20:13 UTC (permalink / raw
  To: gentoo-commits

commit:     ec98f768e9fe5c4aa5d43fe7bdb7478decfccbb3
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Mon May 21 20:13:09 2018 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Mon May 21 20:13:09 2018 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=ec98f768

megasync: add missing dependency

 net-misc/megasync/Manifest                                       | 4 +++-
 net-misc/megasync/megasync-3.6.0-r1.ebuild                       | 2 +-
 .../{megasync-3.6.0-r1.ebuild => megasync-3.6.0-r2.ebuild}       | 1 +
 .../{megasync-3.6.0-r1.ebuild => megasync-3.6.5-r1.ebuild}       | 9 +++++++--
 4 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 962d108..33d419a 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -7,7 +7,9 @@ DIST megasync-sdk-20170215.tar.gz 3475525 BLAKE2B 71e85a62c9429944a0bd3cbe4f914b
 EBUILD megasync-3.0.1.ebuild 3631 BLAKE2B 6747ed137f2174d13cdefd2347e0b39772f52b37b0031eae0cb0ee836657ee37e9f8836bc0b784ce6272494ec1c0a0229f7d1f42e3417812d58dfecb71982d38 SHA512 cef1286d280689516eb6fd754c70524c2acd48976637275a46493211151cd89e1ea45c6f0494de606a71c84876b7d186a3af55311279aca41267cbda9219bd9e
 EBUILD megasync-3.1.4.ebuild 3165 BLAKE2B 4f50da930addad128e9cbd6be4b7e2b44bff6e8ddd0d7609076297385bd11fed43e3c0fdd0f03ce2e29bf21b3aa707a928af8d3f3063e0a7cedcc33928a65711 SHA512 964fbd703748194c5c2b109d89e03bdb7d99c2b793fb187875e7d7304e69ea0f7efce9a19d607ce1b87de5e229fbf9d2fbda86df02aa6c42ffeab908c8152dc1
 EBUILD megasync-3.5.3.ebuild 3277 BLAKE2B a59fddfa224bcdb23b033950d8cbe0587f145717710824c2470f8e5c76d01853a0b65101b0841c01024f3ad85eb5e86a993be4d31d57f5245829b9eda92ac334 SHA512 3d063386c052ec6c673d31c37ac2d7a8e78ee47d627bc5961d0e8ea9f1b7fde76f58078de0cc7cd5e1aa968b1941e7f51d22e9632ffe6c0b8dda05d919b40f13
-EBUILD megasync-3.6.0-r1.ebuild 3275 BLAKE2B 5d38e6a51ada5d8e20d193e811cb7053f362fd9d936b2ad216116ec68a8d382f8467d69005f1399087905ac1876f32dc1d1fc62c28ae655c7da23debb99ebf7c SHA512 2c3ce9067753c26b6339f64ea2cd23a0f7fd395556f3d535a404227017601b992f66a494db999ff42f927d02573b8f2a3d49c7b8c50e499025c261fe89fec5e2
+EBUILD megasync-3.6.0-r1.ebuild 3277 BLAKE2B 16486c24e8443039c7793a0d23e44d55d9594af91257b2edd78cda9ba5f22968aa8564fa52bba5baf368c5907725c5c2e83764a422424639b62638e7ca66364f SHA512 cdf8578835f4560087deb3e248b6c70303718fee558a11f2a5d4fe0a415934aaab5ffb6f55a799ed9159dd7d22b35f067f77fac69c304d48f73c03d840066b79
+EBUILD megasync-3.6.0-r2.ebuild 3300 BLAKE2B 40ce7786ae55cfffcf902588bca7362fa3eeae819c20a1bc645e353d2fa4b77ffc4d5f5c4a642df81ba39204da35b231132fc09f8c97e666d67da4fd850a6453 SHA512 d53d07610ec4637b3d5cc45aa45cc4774ea8ee054d3b1d4885fd655cca0cdde15d6455aca42c99e301e38c891b8b897562effc512bb49dc5829f75ec49cf06e0
+EBUILD megasync-3.6.5-r1.ebuild 3361 BLAKE2B b9d0466202b87f9e443b87e16da763b09e6c99a0c2a9d53c3364fa4d584daee910f60c1b20e9be2c7fe84eb3491717555091357b84bc7473aa2c5cf92ff6ac7a SHA512 c735dc38e5776ead131e9ac2235242e251d3834c7460001bb23ae1c46bc1208e9cd45c60891ea565486b890eff6238bd8512f45e2d7aec68cab664f9fa7337a1
 EBUILD megasync-3.6.5.ebuild 3336 BLAKE2B 2cf009c94d874548b066cfa5fc3ed01b12dc531c04249d61bfd9d2cf82e00b838ebfb1caead8fa0ea051f6d06c039940fa0e6c298150ce68c9c3523b59cb7856 SHA512 e2a09e28f41fb9a3f28bbd177f50c256161d44ab02e2fa2a1b7743b6b390a337e1dd404a651923a0c1c54e8662ae70c3943629883f402a1f8e6b89257f9d7362
 EBUILD megasync-9999.ebuild 3637 BLAKE2B 3333948364efa4ae9ce897da38659e669fbb509de374686832d4546caccc4f9333693749540c989f1bb074b9eb929b308978ed089f4b6be714dbf76c530e608b SHA512 020ca96d8972f66cc79673bc31083af2fffacbb02dfeb12677d5d62f08605e1a4f9b29d55d5509231a416c39e7b1cd2e6b20d16c4af00a415cbaf4c133fa6c6d
 MISC metadata.xml 318 BLAKE2B ffc32715f0597b63ba78c242a5adfad13c921b43da17b5e07b4cca5e5ef69dbb3c89a7d110165dcea06ed317f873a5210db21be0ac5941dfb433185fdcb7a6e7 SHA512 e4930a21d6f75f5395e2e96436b42c792771fd7167abceeff0db7a9036616c6feeb6beee890afa6ff5e4584f5bb6938084316e60df57997aa1c20ba0a025514c

diff --git a/net-misc/megasync/megasync-3.6.0-r1.ebuild b/net-misc/megasync/megasync-3.6.0-r1.ebuild
index ec142f1..7557f31 100644
--- a/net-misc/megasync/megasync-3.6.0-r1.ebuild
+++ b/net-misc/megasync/megasync-3.6.0-r1.ebuild
@@ -20,7 +20,7 @@ else
 	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/${SDK_COMMIT}.tar.gz -> ${PN}-sdk-20170215.tar.gz"
-	KEYWORDS="x86 amd64"
+	KEYWORDS="~x86 ~amd64"
 	#RESTRICT="mirror"
 	#S="${WORKDIR}/MEGAsync-${PV}.0_Linux"
 fi

diff --git a/net-misc/megasync/megasync-3.6.0-r1.ebuild b/net-misc/megasync/megasync-3.6.0-r2.ebuild
similarity index 99%
copy from net-misc/megasync/megasync-3.6.0-r1.ebuild
copy to net-misc/megasync/megasync-3.6.0-r2.ebuild
index ec142f1..c4ccf5f 100644
--- a/net-misc/megasync/megasync-3.6.0-r1.ebuild
+++ b/net-misc/megasync/megasync-3.6.0-r2.ebuild
@@ -32,6 +32,7 @@ IUSE="+cryptopp +sqlite +zlib +curl freeimage readline examples threads qt5 java
 DEPEND="
 	dev-lang/swig
 	app-doc/doxygen
+	media-libs/libmediainfo
 	!qt5? ( 
 		dev-qt/qtcore:4
 		dev-qt/qtgui:4

diff --git a/net-misc/megasync/megasync-3.6.0-r1.ebuild b/net-misc/megasync/megasync-3.6.5-r1.ebuild
similarity index 95%
copy from net-misc/megasync/megasync-3.6.0-r1.ebuild
copy to net-misc/megasync/megasync-3.6.5-r1.ebuild
index ec142f1..44913f6 100644
--- a/net-misc/megasync/megasync-3.6.0-r1.ebuild
+++ b/net-misc/megasync/megasync-3.6.5-r1.ebuild
@@ -20,7 +20,7 @@ else
 	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/${SDK_COMMIT}.tar.gz -> ${PN}-sdk-20170215.tar.gz"
-	KEYWORDS="x86 amd64"
+	KEYWORDS="~x86 ~amd64"
 	#RESTRICT="mirror"
 	#S="${WORKDIR}/MEGAsync-${PV}.0_Linux"
 fi
@@ -32,6 +32,7 @@ IUSE="+cryptopp +sqlite +zlib +curl freeimage readline examples threads qt5 java
 DEPEND="
 	dev-lang/swig
 	app-doc/doxygen
+	media-libs/libmediainfo
 	!qt5? ( 
 		dev-qt/qtcore:4
 		dev-qt/qtgui:4
@@ -64,15 +65,19 @@ RDEPEND="${DEPEND}
 		readline? ( sys-libs/readline:0 )
 		"
 
-#PATCHES=( "${FILESDIR}/megasync-glibc2.26.patch" )
+PATCHES=( "${FILESDIR}/${P}-ffmeg.patch" )
 
 if [[ ${PV} != *9999* ]];then
 	src_prepare(){
+		#default
 		# Not needed, since using git submodules
 		#cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
 		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
 		eapply_user
 		cd src/MEGASync/mega
 		eautoreconf


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: net-misc/megasync/
@ 2018-05-12 18:55 Samuel Bernardo
  0 siblings, 0 replies; 29+ messages in thread
From: Samuel Bernardo @ 2018-05-12 18:55 UTC (permalink / raw
  To: gentoo-commits

commit:     0213cd9fddb48048d9a0b37948a1b190a8e512c7
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Sat May 12 18:55:09 2018 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Sat May 12 18:55:09 2018 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=0213cd9f

update megasync

 net-misc/megasync/Manifest                         | 23 +++++++++++-----------
 ...async-3.6.0.ebuild => megasync-3.6.0-r1.ebuild} |  4 ++--
 ...megasync-3.6.0.ebuild => megasync-3.6.5.ebuild} |  2 +-
 3 files changed, 15 insertions(+), 14 deletions(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index a14409e..b24a386 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,11 +1,12 @@
-AUX MEGAsync-3.1.4.0_Linux.patch 1035 SHA256 803d59b314fbb91f3bd9c2c59b30cb8b18d52ea606c96af3298b3044cf8baf7d SHA512 afd9b11a8dcdc3240d3c3850dfccafce64078c95ae4fa44ef0f3fbd71aabb4fa129f46bbde470d916719174a19674ba3f14cf9cde1166f7c5e09e56feb9f943e WHIRLPOOL 10c3c73da7bd81453c47bc17fa179ec8c28d3c6f8c4dc3d9aeb7260752d62d7e6e57827cd967bcbc636db4365bf01a5b41b18d9de97be4f9fe4db48aa3801639
-AUX MEGAsync-3.5.3.0_Linux.patch 1035 SHA256 803d59b314fbb91f3bd9c2c59b30cb8b18d52ea606c96af3298b3044cf8baf7d SHA512 afd9b11a8dcdc3240d3c3850dfccafce64078c95ae4fa44ef0f3fbd71aabb4fa129f46bbde470d916719174a19674ba3f14cf9cde1166f7c5e09e56feb9f943e WHIRLPOOL 10c3c73da7bd81453c47bc17fa179ec8c28d3c6f8c4dc3d9aeb7260752d62d7e6e57827cd967bcbc636db4365bf01a5b41b18d9de97be4f9fe4db48aa3801639
-AUX megasync-glibc2.26.patch 5958 SHA256 8d19891f1a7f5d84edbff300cd3bcebd5db93c9524483c13f19cdcffc0f3ec8a SHA512 f8348b61028f34714dabe83fe88e5820686a35e1fa52206451152a97a286557168666142121936304d60aa18dae16d4474c3c3278274b62cc06d42587fc7016e WHIRLPOOL 69a26860bfc622e976ff87ce68cdb16daaea48f1e0a722c84b101fca4f78706e47f29dc31aa0f78a62a7c3a73297f62b384cc7c680a289443e0e70734ffb8847
-DIST megasync-3.0.1.tar.gz 10859538 SHA256 97c11019841c48dc1b88b9c4a15c2a2d69dda06e6544d30ff066f9b960af3d4d SHA512 0e3e0315f9a8f4694a59f7b50d6dd93c5e840d013d8c658288d7c0cafca9fbdc1faa2bbaec5c2d08e5f4c4d1790864a8595153808ea7b8c0a1c3550ae8398dbe WHIRLPOOL 6f67983cc76d1ec18ccc6ccd9145c9d57ac46ecd8de9e0433c964d7af728699b2250228dc40d736ad88552c71ed4b5575f2c710476ffeaca1ab85d119710342c
-DIST megasync-sdk-20170215.tar.gz 3475613 SHA256 085ad3db78f7b30d613f4ad1d62e811bdf4be070c8c48cdb5243e4e9963468e2 SHA512 738e30e3b66edb129247dcce87bf9033efe698303f0e6c81362a51d81464b2323fb41b41f4659fa7d8db4bc9992ff7718a5f975d782e558e51ab50efadd740ea WHIRLPOOL 7daea0d450e900af78f7d144883aebaf283725f0850b23e4ea5c4f86822e9804f9876b53a18426fc36ad375bce2c19ad80a4ed45a659b022805b54551ce23265
-EBUILD megasync-3.0.1.ebuild 3631 SHA256 6afcf5ee6a4d7c6a78f7599ac76c9c83523387769d647d6aec557f7a32e61181 SHA512 cef1286d280689516eb6fd754c70524c2acd48976637275a46493211151cd89e1ea45c6f0494de606a71c84876b7d186a3af55311279aca41267cbda9219bd9e WHIRLPOOL e0759fe60bbeb8dc1d0b5820e43afd3e98b35de7321749fe323a07f95b022ee60557f41dd1c929a844827f91ed6a04744667e4dc4048f28717c0347c7e8df8f0
-EBUILD megasync-3.1.4.ebuild 3165 SHA256 4f0c01436a4a28bc99b030d624872f68595412b360708cefe6b6c87270f0008f SHA512 964fbd703748194c5c2b109d89e03bdb7d99c2b793fb187875e7d7304e69ea0f7efce9a19d607ce1b87de5e229fbf9d2fbda86df02aa6c42ffeab908c8152dc1 WHIRLPOOL 4a78d7122e822b71f6337c59c424f0e2447ddfe699b6e29bea459b2a3281a8c6e5e2693ee0ea5823213e884182aedb8d740f6bf18e3716bc13b8623dc6d2e10b
-EBUILD megasync-3.5.3.ebuild 3277 SHA256 a2764c22465571bf24b3727f200032f59f182b4814701daf23c61d22f738fbb4 SHA512 3d063386c052ec6c673d31c37ac2d7a8e78ee47d627bc5961d0e8ea9f1b7fde76f58078de0cc7cd5e1aa968b1941e7f51d22e9632ffe6c0b8dda05d919b40f13 WHIRLPOOL f71103b368acab72571ad4e64dfb0603f3ab13a77a2ed75e13ef8523700bc6c5cdd2282c39419fa90ebe8a66ee8ea0a4f21a8a7ca3c36ec8f3eb553e6b155614
-EBUILD megasync-3.6.0.ebuild 3277 SHA256 a2764c22465571bf24b3727f200032f59f182b4814701daf23c61d22f738fbb4 SHA512 3d063386c052ec6c673d31c37ac2d7a8e78ee47d627bc5961d0e8ea9f1b7fde76f58078de0cc7cd5e1aa968b1941e7f51d22e9632ffe6c0b8dda05d919b40f13 WHIRLPOOL f71103b368acab72571ad4e64dfb0603f3ab13a77a2ed75e13ef8523700bc6c5cdd2282c39419fa90ebe8a66ee8ea0a4f21a8a7ca3c36ec8f3eb553e6b155614
-EBUILD megasync-9999.ebuild 3637 SHA256 99e34fd9fe0ca8724804b2b3bdccd96b8606e5702476e4784ea7068faa8d275a SHA512 020ca96d8972f66cc79673bc31083af2fffacbb02dfeb12677d5d62f08605e1a4f9b29d55d5509231a416c39e7b1cd2e6b20d16c4af00a415cbaf4c133fa6c6d WHIRLPOOL 4e8540c01b07f60881ace62cf8015e92f830b8d0f8c2b00d3813cfaee4766e16d5025630e3456efe5ed3b9a871a8bce85bb1c462ae9d1c15b25309fc54948cdb
-MISC metadata.xml 318 SHA256 705510d197fc14d45313ea036c3ce472a72da8fe1be62743a7d00f38422b43ef SHA512 e4930a21d6f75f5395e2e96436b42c792771fd7167abceeff0db7a9036616c6feeb6beee890afa6ff5e4584f5bb6938084316e60df57997aa1c20ba0a025514c WHIRLPOOL 99eadcf32497e8a117b297242fa0ed8de588a2fa4a7f3a85c67ebc479faa66c83cdd155cd974b5b80aeab2c9e431f837d4453397568a5105957d5082a7541d65
+AUX MEGAsync-3.1.4.0_Linux.patch 1035 BLAKE2B f68751902e0ec9f0276f08d1d0ba4c88ce3fd7a16f75f36644b60becc0299f80d7abe0b998d0d0f18440be172ceb3637fce7ad3fde443c51fa4aa0c1a772b124 SHA512 afd9b11a8dcdc3240d3c3850dfccafce64078c95ae4fa44ef0f3fbd71aabb4fa129f46bbde470d916719174a19674ba3f14cf9cde1166f7c5e09e56feb9f943e
+AUX MEGAsync-3.5.3.0_Linux.patch 1035 BLAKE2B f68751902e0ec9f0276f08d1d0ba4c88ce3fd7a16f75f36644b60becc0299f80d7abe0b998d0d0f18440be172ceb3637fce7ad3fde443c51fa4aa0c1a772b124 SHA512 afd9b11a8dcdc3240d3c3850dfccafce64078c95ae4fa44ef0f3fbd71aabb4fa129f46bbde470d916719174a19674ba3f14cf9cde1166f7c5e09e56feb9f943e
+AUX megasync-glibc2.26.patch 5958 BLAKE2B 990b5ddc9300979e9a059c285b05ef691566e2ec33ab40de76e9f5c251dc8c2f94ddc936eb13772c413c42b0d1122596f2e47805766fe6512ec09050f6b22111 SHA512 f8348b61028f34714dabe83fe88e5820686a35e1fa52206451152a97a286557168666142121936304d60aa18dae16d4474c3c3278274b62cc06d42587fc7016e
+DIST megasync-3.0.1.tar.gz 10859538 BLAKE2B 4ae480d36b746b70a7a155690aaa2dfb9cb70ded57228382df10db57bbdde5c0d93b98738fa6104c709cea2ce57078dd0494b122ea3ab84b9d348d3316e9e063 SHA512 0e3e0315f9a8f4694a59f7b50d6dd93c5e840d013d8c658288d7c0cafca9fbdc1faa2bbaec5c2d08e5f4c4d1790864a8595153808ea7b8c0a1c3550ae8398dbe
+DIST megasync-sdk-20170215.tar.gz 3475525 BLAKE2B 71e85a62c9429944a0bd3cbe4f914b9632fa02b2021e0ca5281c19ff98e4c11feb9de5575553eb0df4589b8929e5c22719abdb7ed1f3784827cf5532cf0ce1b5 SHA512 218f69e22110d31093d841a6f3e7aa1336f16db063ae2fe2219507c140a14c6879d2ff9a7be11d0c31662b2439117e384737be916663af1d49fdf6dbd2d83706
+EBUILD megasync-3.0.1.ebuild 3631 BLAKE2B 6747ed137f2174d13cdefd2347e0b39772f52b37b0031eae0cb0ee836657ee37e9f8836bc0b784ce6272494ec1c0a0229f7d1f42e3417812d58dfecb71982d38 SHA512 cef1286d280689516eb6fd754c70524c2acd48976637275a46493211151cd89e1ea45c6f0494de606a71c84876b7d186a3af55311279aca41267cbda9219bd9e
+EBUILD megasync-3.1.4.ebuild 3165 BLAKE2B 4f50da930addad128e9cbd6be4b7e2b44bff6e8ddd0d7609076297385bd11fed43e3c0fdd0f03ce2e29bf21b3aa707a928af8d3f3063e0a7cedcc33928a65711 SHA512 964fbd703748194c5c2b109d89e03bdb7d99c2b793fb187875e7d7304e69ea0f7efce9a19d607ce1b87de5e229fbf9d2fbda86df02aa6c42ffeab908c8152dc1
+EBUILD megasync-3.5.3.ebuild 3277 BLAKE2B a59fddfa224bcdb23b033950d8cbe0587f145717710824c2470f8e5c76d01853a0b65101b0841c01024f3ad85eb5e86a993be4d31d57f5245829b9eda92ac334 SHA512 3d063386c052ec6c673d31c37ac2d7a8e78ee47d627bc5961d0e8ea9f1b7fde76f58078de0cc7cd5e1aa968b1941e7f51d22e9632ffe6c0b8dda05d919b40f13
+EBUILD megasync-3.6.0-r1.ebuild 3275 BLAKE2B 5d38e6a51ada5d8e20d193e811cb7053f362fd9d936b2ad216116ec68a8d382f8467d69005f1399087905ac1876f32dc1d1fc62c28ae655c7da23debb99ebf7c SHA512 2c3ce9067753c26b6339f64ea2cd23a0f7fd395556f3d535a404227017601b992f66a494db999ff42f927d02573b8f2a3d49c7b8c50e499025c261fe89fec5e2
+EBUILD megasync-3.6.5.ebuild 3277 BLAKE2B 16486c24e8443039c7793a0d23e44d55d9594af91257b2edd78cda9ba5f22968aa8564fa52bba5baf368c5907725c5c2e83764a422424639b62638e7ca66364f SHA512 cdf8578835f4560087deb3e248b6c70303718fee558a11f2a5d4fe0a415934aaab5ffb6f55a799ed9159dd7d22b35f067f77fac69c304d48f73c03d840066b79
+EBUILD megasync-9999.ebuild 3637 BLAKE2B 3333948364efa4ae9ce897da38659e669fbb509de374686832d4546caccc4f9333693749540c989f1bb074b9eb929b308978ed089f4b6be714dbf76c530e608b SHA512 020ca96d8972f66cc79673bc31083af2fffacbb02dfeb12677d5d62f08605e1a4f9b29d55d5509231a416c39e7b1cd2e6b20d16c4af00a415cbaf4c133fa6c6d
+MISC metadata.xml 318 BLAKE2B ffc32715f0597b63ba78c242a5adfad13c921b43da17b5e07b4cca5e5ef69dbb3c89a7d110165dcea06ed317f873a5210db21be0ac5941dfb433185fdcb7a6e7 SHA512 e4930a21d6f75f5395e2e96436b42c792771fd7167abceeff0db7a9036616c6feeb6beee890afa6ff5e4584f5bb6938084316e60df57997aa1c20ba0a025514c

diff --git a/net-misc/megasync/megasync-3.6.0.ebuild b/net-misc/megasync/megasync-3.6.0-r1.ebuild
similarity index 99%
copy from net-misc/megasync/megasync-3.6.0.ebuild
copy to net-misc/megasync/megasync-3.6.0-r1.ebuild
index 131d683..ec142f1 100644
--- a/net-misc/megasync/megasync-3.6.0.ebuild
+++ b/net-misc/megasync/megasync-3.6.0-r1.ebuild
@@ -20,7 +20,7 @@ else
 	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/${SDK_COMMIT}.tar.gz -> ${PN}-sdk-20170215.tar.gz"
-	KEYWORDS="~x86 ~amd64"
+	KEYWORDS="x86 amd64"
 	#RESTRICT="mirror"
 	#S="${WORKDIR}/MEGAsync-${PV}.0_Linux"
 fi
@@ -36,6 +36,7 @@ DEPEND="
 		dev-qt/qtcore:4
 		dev-qt/qtgui:4
 		dev-qt/qtdbus:4
+		dev-libs/sni-qt
 		)
 	qt5? ( 
 		dev-qt/qtcore:5
@@ -47,7 +48,6 @@ DEPEND="
 		dev-qt/qtdbus:5
 		)"
 RDEPEND="${DEPEND}
-		dev-libs/sni-qt
 		x11-themes/hicolor-icon-theme
 		dev-libs/openssl
 		dev-libs/libgcrypt

diff --git a/net-misc/megasync/megasync-3.6.0.ebuild b/net-misc/megasync/megasync-3.6.5.ebuild
similarity index 100%
rename from net-misc/megasync/megasync-3.6.0.ebuild
rename to net-misc/megasync/megasync-3.6.5.ebuild
index 131d683..7557f31 100644
--- a/net-misc/megasync/megasync-3.6.0.ebuild
+++ b/net-misc/megasync/megasync-3.6.5.ebuild
@@ -36,6 +36,7 @@ DEPEND="
 		dev-qt/qtcore:4
 		dev-qt/qtgui:4
 		dev-qt/qtdbus:4
+		dev-libs/sni-qt
 		)
 	qt5? ( 
 		dev-qt/qtcore:5
@@ -47,7 +48,6 @@ DEPEND="
 		dev-qt/qtdbus:5
 		)"
 RDEPEND="${DEPEND}
-		dev-libs/sni-qt
 		x11-themes/hicolor-icon-theme
 		dev-libs/openssl
 		dev-libs/libgcrypt


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: net-misc/megasync/
@ 2018-02-11 21:25 Samuel Bernardo
  0 siblings, 0 replies; 29+ messages in thread
From: Samuel Bernardo @ 2018-02-11 21:25 UTC (permalink / raw
  To: gentoo-commits

commit:     aacb60bfe505978d419caf8d6da2615af7bb1bfd
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Sun Feb 11 21:24:53 2018 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Sun Feb 11 21:24:53 2018 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=aacb60bf

update megasync

 net-misc/megasync/Manifest              |   1 +
 net-misc/megasync/megasync-3.6.0.ebuild | 135 ++++++++++++++++++++++++++++++++
 2 files changed, 136 insertions(+)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 65f302c..a14409e 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -6,5 +6,6 @@ DIST megasync-sdk-20170215.tar.gz 3475613 SHA256 085ad3db78f7b30d613f4ad1d62e811
 EBUILD megasync-3.0.1.ebuild 3631 SHA256 6afcf5ee6a4d7c6a78f7599ac76c9c83523387769d647d6aec557f7a32e61181 SHA512 cef1286d280689516eb6fd754c70524c2acd48976637275a46493211151cd89e1ea45c6f0494de606a71c84876b7d186a3af55311279aca41267cbda9219bd9e WHIRLPOOL e0759fe60bbeb8dc1d0b5820e43afd3e98b35de7321749fe323a07f95b022ee60557f41dd1c929a844827f91ed6a04744667e4dc4048f28717c0347c7e8df8f0
 EBUILD megasync-3.1.4.ebuild 3165 SHA256 4f0c01436a4a28bc99b030d624872f68595412b360708cefe6b6c87270f0008f SHA512 964fbd703748194c5c2b109d89e03bdb7d99c2b793fb187875e7d7304e69ea0f7efce9a19d607ce1b87de5e229fbf9d2fbda86df02aa6c42ffeab908c8152dc1 WHIRLPOOL 4a78d7122e822b71f6337c59c424f0e2447ddfe699b6e29bea459b2a3281a8c6e5e2693ee0ea5823213e884182aedb8d740f6bf18e3716bc13b8623dc6d2e10b
 EBUILD megasync-3.5.3.ebuild 3277 SHA256 a2764c22465571bf24b3727f200032f59f182b4814701daf23c61d22f738fbb4 SHA512 3d063386c052ec6c673d31c37ac2d7a8e78ee47d627bc5961d0e8ea9f1b7fde76f58078de0cc7cd5e1aa968b1941e7f51d22e9632ffe6c0b8dda05d919b40f13 WHIRLPOOL f71103b368acab72571ad4e64dfb0603f3ab13a77a2ed75e13ef8523700bc6c5cdd2282c39419fa90ebe8a66ee8ea0a4f21a8a7ca3c36ec8f3eb553e6b155614
+EBUILD megasync-3.6.0.ebuild 3277 SHA256 a2764c22465571bf24b3727f200032f59f182b4814701daf23c61d22f738fbb4 SHA512 3d063386c052ec6c673d31c37ac2d7a8e78ee47d627bc5961d0e8ea9f1b7fde76f58078de0cc7cd5e1aa968b1941e7f51d22e9632ffe6c0b8dda05d919b40f13 WHIRLPOOL f71103b368acab72571ad4e64dfb0603f3ab13a77a2ed75e13ef8523700bc6c5cdd2282c39419fa90ebe8a66ee8ea0a4f21a8a7ca3c36ec8f3eb553e6b155614
 EBUILD megasync-9999.ebuild 3637 SHA256 99e34fd9fe0ca8724804b2b3bdccd96b8606e5702476e4784ea7068faa8d275a SHA512 020ca96d8972f66cc79673bc31083af2fffacbb02dfeb12677d5d62f08605e1a4f9b29d55d5509231a416c39e7b1cd2e6b20d16c4af00a415cbaf4c133fa6c6d WHIRLPOOL 4e8540c01b07f60881ace62cf8015e92f830b8d0f8c2b00d3813cfaee4766e16d5025630e3456efe5ed3b9a871a8bce85bb1c462ae9d1c15b25309fc54948cdb
 MISC metadata.xml 318 SHA256 705510d197fc14d45313ea036c3ce472a72da8fe1be62743a7d00f38422b43ef SHA512 e4930a21d6f75f5395e2e96436b42c792771fd7167abceeff0db7a9036616c6feeb6beee890afa6ff5e4584f5bb6938084316e60df57997aa1c20ba0a025514c WHIRLPOOL 99eadcf32497e8a117b297242fa0ed8de588a2fa4a7f3a85c67ebc479faa66c83cdd155cd974b5b80aeab2c9e431f837d4453397568a5105957d5082a7541d65

diff --git a/net-misc/megasync/megasync-3.6.0.ebuild b/net-misc/megasync/megasync-3.6.0.ebuild
new file mode 100644
index 0000000..131d683
--- /dev/null
+++ b/net-misc/megasync/megasync-3.6.0.ebuild
@@ -0,0 +1,135 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=6
+
+inherit eutils multilib qmake-utils autotools versionator git-r3
+
+DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This is the official app."
+HOMEPAGE="http://mega.co.nz"
+if [[ ${PV} == *9999* ]];then
+	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
+	KEYWORDS=""
+	EGIT_SUBMODULES=( '*' )
+else
+	#SDK_COMMIT="e8e66e9f030febfb35c9e4dd503d69091e28fc04"
+	#MY_PV="$(replace_all_version_separators _)"
+	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
+	EGIT_COMMIT="v${PV}.0_Linux"
+	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/${SDK_COMMIT}.tar.gz -> ${PN}-sdk-20170215.tar.gz"
+	KEYWORDS="~x86 ~amd64"
+	#RESTRICT="mirror"
+	#S="${WORKDIR}/MEGAsync-${PV}.0_Linux"
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="+cryptopp +sqlite +zlib +curl freeimage readline examples threads qt5 java php python"
+
+DEPEND="
+	dev-lang/swig
+	app-doc/doxygen
+	!qt5? ( 
+		dev-qt/qtcore:4
+		dev-qt/qtgui:4
+		dev-qt/qtdbus:4
+		)
+	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
+		)"
+RDEPEND="${DEPEND}
+		dev-libs/sni-qt
+		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 )
+		"
+
+#PATCHES=( "${FILESDIR}/megasync-glibc2.26.patch" )
+
+if [[ ${PV} != *9999* ]];then
+	src_prepare(){
+		# Not needed, since using git submodules
+		#cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
+		if [ -e "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch" ]; then
+			EPATCH_OPTS="-p0" epatch "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch"
+		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[@]}
+		$(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
+	else
+		eqmake4 ${myeqmakeargs[@]}
+		$(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro
+	fi
+}
+
+src_compile(){
+	cd "${S}"/src
+	emake INSTALL_ROOT="${D}" || die
+}
+
+src_install(){
+	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
+}


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: net-misc/megasync/
@ 2017-11-19 15:06 Samuel Bernardo
  0 siblings, 0 replies; 29+ messages in thread
From: Samuel Bernardo @ 2017-11-19 15:06 UTC (permalink / raw
  To: gentoo-commits

commit:     c98020af49fff1b842d5d78b9b73d7f46399afb3
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Sun Nov 19 15:05:57 2017 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Sun Nov 19 15:05:57 2017 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=c98020af

correct bug in megasync ebuild configure phase

 net-misc/megasync/Manifest              | 6 +++---
 net-misc/megasync/megasync-3.0.1.ebuild | 2 +-
 net-misc/megasync/megasync-3.1.4.ebuild | 2 +-
 net-misc/megasync/megasync-9999.ebuild  | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 7905880..493eacc 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,7 +1,7 @@
 AUX MEGAsync-3.1.4.0_Linux.patch 1035 SHA256 803d59b314fbb91f3bd9c2c59b30cb8b18d52ea606c96af3298b3044cf8baf7d SHA512 afd9b11a8dcdc3240d3c3850dfccafce64078c95ae4fa44ef0f3fbd71aabb4fa129f46bbde470d916719174a19674ba3f14cf9cde1166f7c5e09e56feb9f943e WHIRLPOOL 10c3c73da7bd81453c47bc17fa179ec8c28d3c6f8c4dc3d9aeb7260752d62d7e6e57827cd967bcbc636db4365bf01a5b41b18d9de97be4f9fe4db48aa3801639
 DIST megasync-3.0.1.tar.gz 10859538 SHA256 97c11019841c48dc1b88b9c4a15c2a2d69dda06e6544d30ff066f9b960af3d4d SHA512 0e3e0315f9a8f4694a59f7b50d6dd93c5e840d013d8c658288d7c0cafca9fbdc1faa2bbaec5c2d08e5f4c4d1790864a8595153808ea7b8c0a1c3550ae8398dbe WHIRLPOOL 6f67983cc76d1ec18ccc6ccd9145c9d57ac46ecd8de9e0433c964d7af728699b2250228dc40d736ad88552c71ed4b5575f2c710476ffeaca1ab85d119710342c
 DIST megasync-sdk-20170215.tar.gz 3475613 SHA256 085ad3db78f7b30d613f4ad1d62e811bdf4be070c8c48cdb5243e4e9963468e2 SHA512 738e30e3b66edb129247dcce87bf9033efe698303f0e6c81362a51d81464b2323fb41b41f4659fa7d8db4bc9992ff7718a5f975d782e558e51ab50efadd740ea WHIRLPOOL 7daea0d450e900af78f7d144883aebaf283725f0850b23e4ea5c4f86822e9804f9876b53a18426fc36ad375bce2c19ad80a4ed45a659b022805b54551ce23265
-EBUILD megasync-3.0.1.ebuild 3631 SHA256 6b1cc5515154b60d036ba07a75eabddc7eae835f8e2f767bc9e7bf5cccd2bfb7 SHA512 e980bd0b0589c17082f1dde3d98e1411edd8a05b7f1a746e57f4e6823d5a2c9adc9c9319a79e5e518de701cd695766b31da1aeab155254bda6e327e85b5414ca WHIRLPOOL 8e02a62d2ae1ddf541b367f74f9dae5b3a0956145dd2e1fa939719bcdea5435c0583b8373de72606729be663fcb3169223d063e2f973bfdca7a63b8311cd5c9f
-EBUILD megasync-3.1.4.ebuild 3113 SHA256 864459d370e0935616f692f47411ce5fa97639a7cd5310bd8e66465f7d5bf4b1 SHA512 97907832654d388078a9542f4deeaaeb86b4e1b7b2df7d5f8f6aba4ea2b2361ba2cad67b4ef3a83ff9b8703ebf93bdbf18da493d69baef6a14fbd631daa9c87d WHIRLPOOL e43d1bc945aff68abb18eb26423504f288a6aeb02ae161ecc2c90a943d2019c67d883af549288f13aa45f0d2f3b962f0d3f6696406086472ebcc146379b9ab3b
-EBUILD megasync-9999.ebuild 3637 SHA256 f134223373de8e36bb603c122617065faab119f1c7b2934c8e7a732373ed0413 SHA512 408fd7892319be926c97cc6bdc873c07c246d385171b0ce57d39d3d8e7198a6cfeb3438b53cce6f507ea3e733d5e24058ded56f8554c1677b131efc415d48cc7 WHIRLPOOL eefb594b796973f2feabd2b6a316c825ddc5064e28d801d25dfc487aa7dc33942b97b91c9f651ccf54c151889d063674d7de69a79a6850e6c0f6228f4750dd23
+EBUILD megasync-3.0.1.ebuild 3631 SHA256 6afcf5ee6a4d7c6a78f7599ac76c9c83523387769d647d6aec557f7a32e61181 SHA512 cef1286d280689516eb6fd754c70524c2acd48976637275a46493211151cd89e1ea45c6f0494de606a71c84876b7d186a3af55311279aca41267cbda9219bd9e WHIRLPOOL e0759fe60bbeb8dc1d0b5820e43afd3e98b35de7321749fe323a07f95b022ee60557f41dd1c929a844827f91ed6a04744667e4dc4048f28717c0347c7e8df8f0
+EBUILD megasync-3.1.4.ebuild 3113 SHA256 425463b42acd1c83853375c81582341431cb74e2cdebc7b9ee91b12cdb5a67d1 SHA512 58a937f8e2a13b7ccf5b26fd4ec8029b02a8e2a637c41cff9e309d147b88a1b6b0478cf2da33c2310dbd4e040d5d428b68d083c89864d171af92c9417e5a1549 WHIRLPOOL 18fb2afac19b85d9185cb6d0c509f521c2991771bab69467fc4f6aefff0cae7c25262a32d183b1005a88f80990bfd7ecea7598095012a8d2fd57f10f018988e1
+EBUILD megasync-9999.ebuild 3637 SHA256 99e34fd9fe0ca8724804b2b3bdccd96b8606e5702476e4784ea7068faa8d275a SHA512 020ca96d8972f66cc79673bc31083af2fffacbb02dfeb12677d5d62f08605e1a4f9b29d55d5509231a416c39e7b1cd2e6b20d16c4af00a415cbaf4c133fa6c6d WHIRLPOOL 4e8540c01b07f60881ace62cf8015e92f830b8d0f8c2b00d3813cfaee4766e16d5025630e3456efe5ed3b9a871a8bce85bb1c462ae9d1c15b25309fc54948cdb
 MISC metadata.xml 318 SHA256 705510d197fc14d45313ea036c3ce472a72da8fe1be62743a7d00f38422b43ef SHA512 e4930a21d6f75f5395e2e96436b42c792771fd7167abceeff0db7a9036616c6feeb6beee890afa6ff5e4584f5bb6938084316e60df57997aa1c20ba0a025514c WHIRLPOOL 99eadcf32497e8a117b297242fa0ed8de588a2fa4a7f3a85c67ebc479faa66c83cdd155cd974b5b80aeab2c9e431f837d4453397568a5105957d5082a7541d65

diff --git a/net-misc/megasync/megasync-3.0.1.ebuild b/net-misc/megasync/megasync-3.0.1.ebuild
index e29e1e1..b73ebb2 100644
--- a/net-misc/megasync/megasync-3.0.1.ebuild
+++ b/net-misc/megasync/megasync-3.0.1.ebuild
@@ -64,8 +64,8 @@ RDEPEND="${DEPEND}
 if [[ ${PV} != *9999* ]];then
 	src_prepare(){
 		cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
-		cd src/MEGASync/mega
 		eapply_user
+		cd src/MEGASync/mega
 		eautoreconf
 	}
 fi

diff --git a/net-misc/megasync/megasync-3.1.4.ebuild b/net-misc/megasync/megasync-3.1.4.ebuild
index bf9f147..8e48f5a 100644
--- a/net-misc/megasync/megasync-3.1.4.ebuild
+++ b/net-misc/megasync/megasync-3.1.4.ebuild
@@ -68,8 +68,8 @@ if [[ ${PV} != *9999* ]];then
 	src_prepare(){
 		cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
 		EPATCH_OPTS="-p0" epatch "${FILESDIR}/MEGAsync-3.1.4.0_Linux.patch"
-		cd src/MEGASync/mega
 		eapply_user
+		cd src/MEGASync/mega
 		eautoreconf
 	}
 fi

diff --git a/net-misc/megasync/megasync-9999.ebuild b/net-misc/megasync/megasync-9999.ebuild
index bac7547..7ada7d1 100644
--- a/net-misc/megasync/megasync-9999.ebuild
+++ b/net-misc/megasync/megasync-9999.ebuild
@@ -64,8 +64,8 @@ RDEPEND="${DEPEND}
 if [[ ${PV} != *9999* ]];then
 	src_prepare(){
 		cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
-		cd src/MEGASync/mega
 		eapply_user
+		cd src/MEGASync/mega
 		eautoreconf
 	}
 fi


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: net-misc/megasync/
@ 2017-07-30 23:26 Samuel Bernardo
  0 siblings, 0 replies; 29+ messages in thread
From: Samuel Bernardo @ 2017-07-30 23:26 UTC (permalink / raw
  To: gentoo-commits

commit:     e5fdd328775086d61162c985b87743f0144b5c9d
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Sun Jul 30 23:26:08 2017 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Sun Jul 30 23:26:08 2017 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=e5fdd328

update manifest for missing patch

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

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 1d8d8b5..7905880 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,3 +1,4 @@
+AUX MEGAsync-3.1.4.0_Linux.patch 1035 SHA256 803d59b314fbb91f3bd9c2c59b30cb8b18d52ea606c96af3298b3044cf8baf7d SHA512 afd9b11a8dcdc3240d3c3850dfccafce64078c95ae4fa44ef0f3fbd71aabb4fa129f46bbde470d916719174a19674ba3f14cf9cde1166f7c5e09e56feb9f943e WHIRLPOOL 10c3c73da7bd81453c47bc17fa179ec8c28d3c6f8c4dc3d9aeb7260752d62d7e6e57827cd967bcbc636db4365bf01a5b41b18d9de97be4f9fe4db48aa3801639
 DIST megasync-3.0.1.tar.gz 10859538 SHA256 97c11019841c48dc1b88b9c4a15c2a2d69dda06e6544d30ff066f9b960af3d4d SHA512 0e3e0315f9a8f4694a59f7b50d6dd93c5e840d013d8c658288d7c0cafca9fbdc1faa2bbaec5c2d08e5f4c4d1790864a8595153808ea7b8c0a1c3550ae8398dbe WHIRLPOOL 6f67983cc76d1ec18ccc6ccd9145c9d57ac46ecd8de9e0433c964d7af728699b2250228dc40d736ad88552c71ed4b5575f2c710476ffeaca1ab85d119710342c
 DIST megasync-sdk-20170215.tar.gz 3475613 SHA256 085ad3db78f7b30d613f4ad1d62e811bdf4be070c8c48cdb5243e4e9963468e2 SHA512 738e30e3b66edb129247dcce87bf9033efe698303f0e6c81362a51d81464b2323fb41b41f4659fa7d8db4bc9992ff7718a5f975d782e558e51ab50efadd740ea WHIRLPOOL 7daea0d450e900af78f7d144883aebaf283725f0850b23e4ea5c4f86822e9804f9876b53a18426fc36ad375bce2c19ad80a4ed45a659b022805b54551ce23265
 EBUILD megasync-3.0.1.ebuild 3631 SHA256 6b1cc5515154b60d036ba07a75eabddc7eae835f8e2f767bc9e7bf5cccd2bfb7 SHA512 e980bd0b0589c17082f1dde3d98e1411edd8a05b7f1a746e57f4e6823d5a2c9adc9c9319a79e5e518de701cd695766b31da1aeab155254bda6e327e85b5414ca WHIRLPOOL 8e02a62d2ae1ddf541b367f74f9dae5b3a0956145dd2e1fa939719bcdea5435c0583b8373de72606729be663fcb3169223d063e2f973bfdca7a63b8311cd5c9f


^ permalink raw reply related	[flat|nested] 29+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: net-misc/megasync/
@ 2017-07-30 23:21 Samuel Bernardo
  0 siblings, 0 replies; 29+ messages in thread
From: Samuel Bernardo @ 2017-07-30 23:21 UTC (permalink / raw
  To: gentoo-commits

commit:     84e9c994e3d0745ad1375510595c67e4e42f9e04
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Sun Jul 30 23:21:07 2017 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Sun Jul 30 23:21:07 2017 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=84e9c994

megasync update to 3.1.4

 net-misc/megasync/Manifest              |   1 +
 net-misc/megasync/megasync-3.1.4.ebuild | 130 ++++++++++++++++++++++++++++++++
 2 files changed, 131 insertions(+)

diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 280f92b..1d8d8b5 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,5 +1,6 @@
 DIST megasync-3.0.1.tar.gz 10859538 SHA256 97c11019841c48dc1b88b9c4a15c2a2d69dda06e6544d30ff066f9b960af3d4d SHA512 0e3e0315f9a8f4694a59f7b50d6dd93c5e840d013d8c658288d7c0cafca9fbdc1faa2bbaec5c2d08e5f4c4d1790864a8595153808ea7b8c0a1c3550ae8398dbe WHIRLPOOL 6f67983cc76d1ec18ccc6ccd9145c9d57ac46ecd8de9e0433c964d7af728699b2250228dc40d736ad88552c71ed4b5575f2c710476ffeaca1ab85d119710342c
 DIST megasync-sdk-20170215.tar.gz 3475613 SHA256 085ad3db78f7b30d613f4ad1d62e811bdf4be070c8c48cdb5243e4e9963468e2 SHA512 738e30e3b66edb129247dcce87bf9033efe698303f0e6c81362a51d81464b2323fb41b41f4659fa7d8db4bc9992ff7718a5f975d782e558e51ab50efadd740ea WHIRLPOOL 7daea0d450e900af78f7d144883aebaf283725f0850b23e4ea5c4f86822e9804f9876b53a18426fc36ad375bce2c19ad80a4ed45a659b022805b54551ce23265
 EBUILD megasync-3.0.1.ebuild 3631 SHA256 6b1cc5515154b60d036ba07a75eabddc7eae835f8e2f767bc9e7bf5cccd2bfb7 SHA512 e980bd0b0589c17082f1dde3d98e1411edd8a05b7f1a746e57f4e6823d5a2c9adc9c9319a79e5e518de701cd695766b31da1aeab155254bda6e327e85b5414ca WHIRLPOOL 8e02a62d2ae1ddf541b367f74f9dae5b3a0956145dd2e1fa939719bcdea5435c0583b8373de72606729be663fcb3169223d063e2f973bfdca7a63b8311cd5c9f
+EBUILD megasync-3.1.4.ebuild 3113 SHA256 864459d370e0935616f692f47411ce5fa97639a7cd5310bd8e66465f7d5bf4b1 SHA512 97907832654d388078a9542f4deeaaeb86b4e1b7b2df7d5f8f6aba4ea2b2361ba2cad67b4ef3a83ff9b8703ebf93bdbf18da493d69baef6a14fbd631daa9c87d WHIRLPOOL e43d1bc945aff68abb18eb26423504f288a6aeb02ae161ecc2c90a943d2019c67d883af549288f13aa45f0d2f3b962f0d3f6696406086472ebcc146379b9ab3b
 EBUILD megasync-9999.ebuild 3637 SHA256 f134223373de8e36bb603c122617065faab119f1c7b2934c8e7a732373ed0413 SHA512 408fd7892319be926c97cc6bdc873c07c246d385171b0ce57d39d3d8e7198a6cfeb3438b53cce6f507ea3e733d5e24058ded56f8554c1677b131efc415d48cc7 WHIRLPOOL eefb594b796973f2feabd2b6a316c825ddc5064e28d801d25dfc487aa7dc33942b97b91c9f651ccf54c151889d063674d7de69a79a6850e6c0f6228f4750dd23
 MISC metadata.xml 318 SHA256 705510d197fc14d45313ea036c3ce472a72da8fe1be62743a7d00f38422b43ef SHA512 e4930a21d6f75f5395e2e96436b42c792771fd7167abceeff0db7a9036616c6feeb6beee890afa6ff5e4584f5bb6938084316e60df57997aa1c20ba0a025514c WHIRLPOOL 99eadcf32497e8a117b297242fa0ed8de588a2fa4a7f3a85c67ebc479faa66c83cdd155cd974b5b80aeab2c9e431f837d4453397568a5105957d5082a7541d65

diff --git a/net-misc/megasync/megasync-3.1.4.ebuild b/net-misc/megasync/megasync-3.1.4.ebuild
new file mode 100644
index 0000000..bf9f147
--- /dev/null
+++ b/net-misc/megasync/megasync-3.1.4.ebuild
@@ -0,0 +1,130 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=6
+
+inherit eutils multilib qmake-utils autotools versionator git-r3
+
+DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This is the official app."
+HOMEPAGE="http://mega.co.nz"
+if [[ ${PV} == *9999* ]];then
+	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
+	KEYWORDS=""
+	EGIT_SUBMODULES=( '*' )
+else
+	#SDK_COMMIT="e8e66e9f030febfb35c9e4dd503d69091e28fc04"
+	#MY_PV="$(replace_all_version_separators _)"
+	EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
+	EGIT_COMMIT="v${PV}.0_Linux"
+	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/${SDK_COMMIT}.tar.gz -> ${PN}-sdk-20170215.tar.gz"
+	KEYWORDS="~x86 ~amd64"
+	#RESTRICT="mirror"
+	#S="${WORKDIR}/MEGAsync-${PV}.0_Linux"
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="+cryptopp +sqlite +zlib +curl freeimage readline examples threads qt5 java php python"
+
+DEPEND="
+	dev-lang/swig
+	app-doc/doxygen
+	!qt5? ( 
+		dev-qt/qtcore:4
+		dev-qt/qtgui:4
+		dev-qt/qtdbus:4
+		)
+	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
+		)"
+RDEPEND="${DEPEND}
+		dev-libs/sni-qt
+		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 )
+		"
+
+if [[ ${PV} != *9999* ]];then
+	src_prepare(){
+		cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
+		EPATCH_OPTS="-p0" epatch "${FILESDIR}/MEGAsync-3.1.4.0_Linux.patch"
+		cd src/MEGASync/mega
+		eapply_user
+		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[@]}
+		$(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
+	else
+		eqmake4 ${myeqmakeargs[@]}
+		$(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro
+	fi
+}
+
+src_compile(){
+	cd "${S}"/src
+	emake INSTALL_ROOT="${D}" || die
+}
+
+src_install(){
+	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
+}


^ permalink raw reply related	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2021-05-24 10:20 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-28 12:27 [gentoo-commits] repo/user/ssnb:master commit in: net-misc/megasync/ Samuel Bernardo
  -- strict thread matches above, loose matches on Subject: below --
2021-05-24 10:20 Samuel Bernardo
2021-05-24  9:47 Samuel Bernardo
2021-01-17 18:16 Samuel Bernardo
2021-01-17 18:05 Samuel Bernardo
2020-11-07 11:11 Samuel Bernardo
2020-09-21  1:41 Samuel Bernardo
2020-03-30 16:13 Samuel Bernardo
2020-03-30 12:30 Samuel Bernardo
2020-03-30 12:23 Samuel Bernardo
2020-03-30 11:27 Samuel Bernardo
2020-03-30 11:27 Samuel Bernardo
2020-01-14  0:20 Samuel Bernardo
2020-01-12 18:08 Samuel Bernardo
2019-11-12 20:21 Samuel Bernardo
2019-08-20  7:45 Samuel Bernardo
2019-07-28 12:43 Samuel Bernardo
2019-05-25  7:01 Samuel Bernardo
2019-02-10 23:01 Samuel Bernardo
2019-02-10 17:23 Samuel Bernardo
2019-02-10 17:22 Samuel Bernardo
2018-11-14  0:39 Samuel Bernardo
2018-06-26 18:50 Samuel Bernardo
2018-05-21 20:13 Samuel Bernardo
2018-05-12 18:55 Samuel Bernardo
2018-02-11 21:25 Samuel Bernardo
2017-11-19 15:06 Samuel Bernardo
2017-07-30 23:26 Samuel Bernardo
2017-07-30 23:21 Samuel Bernardo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox