From d0410417b93a9dca4f0813c8da14e18bcbf7a322 Mon Sep 17 00:00:00 2001 From: "Anna (cybertailor) Vyalkova" Date: Wed, 9 Feb 2022 11:01:52 +0500 Subject: [PATCH] net-misc/megasync: fix VariableScope Signed-off-by: Anna (cybertailor) Vyalkova --- net-misc/megasync/megasync-4.5.0.0.ebuild | 8 ++++---- net-misc/megasync/megasync-9999.ebuild | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/net-misc/megasync/megasync-4.5.0.0.ebuild b/net-misc/megasync/megasync-4.5.0.0.ebuild index 54c24108fe..52f96e01ed 100644 --- a/net-misc/megasync/megasync-4.5.0.0.ebuild +++ b/net-misc/megasync/megasync-4.5.0.0.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit autotools desktop qmake-utils xdg cmake @@ -132,17 +132,17 @@ src_configure() { } src_compile() { - emake -C src INSTALL_ROOT="${D}" || die + emake -C src INSTALL_ROOT=. || 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 diff --git a/net-misc/megasync/megasync-9999.ebuild b/net-misc/megasync/megasync-9999.ebuild index 54c24108fe..52f96e01ed 100644 --- a/net-misc/megasync/megasync-9999.ebuild +++ b/net-misc/megasync/megasync-9999.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit autotools desktop qmake-utils xdg cmake @@ -132,17 +132,17 @@ src_configure() { } src_compile() { - emake -C src INSTALL_ROOT="${D}" || die + emake -C src INSTALL_ROOT=. || 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