public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Samuel Bernardo" <samuelbernardo.mail@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/user/ssnb:master commit in: net-misc/megasync/
Date: Sun, 10 Feb 2019 17:22:15 +0000 (UTC)	[thread overview]
Message-ID: <1549819300.73760504350b638f0e2f57dc0725a54f8ee4e2d4.samuelbernardo@gentoo> (raw)

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
+}


             reply	other threads:[~2019-02-10 17:22 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-10 17:22 Samuel Bernardo [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-05-24 10:20 [gentoo-commits] repo/user/ssnb:master commit in: net-misc/megasync/ 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-07-28 12:27 Samuel Bernardo
2019-05-25  7:01 Samuel Bernardo
2019-02-10 23:01 Samuel Bernardo
2019-02-10 17:23 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1549819300.73760504350b638f0e2f57dc0725a54f8ee4e2d4.samuelbernardo@gentoo \
    --to=samuelbernardo.mail@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox