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