1 |
commit: d0410417b93a9dca4f0813c8da14e18bcbf7a322 |
2 |
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
3 |
AuthorDate: Wed Feb 9 06:01:52 2022 +0000 |
4 |
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
5 |
CommitDate: Wed Feb 9 13:12:05 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d0410417 |
7 |
|
8 |
net-misc/megasync: fix VariableScope |
9 |
|
10 |
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> |
11 |
|
12 |
net-misc/megasync/megasync-4.5.0.0.ebuild | 8 ++++---- |
13 |
net-misc/megasync/megasync-9999.ebuild | 8 ++++---- |
14 |
2 files changed, 8 insertions(+), 8 deletions(-) |
15 |
|
16 |
diff --git a/net-misc/megasync/megasync-4.5.0.0.ebuild b/net-misc/megasync/megasync-4.5.0.0.ebuild |
17 |
index 54c24108f..52f96e01e 100644 |
18 |
--- a/net-misc/megasync/megasync-4.5.0.0.ebuild |
19 |
+++ b/net-misc/megasync/megasync-4.5.0.0.ebuild |
20 |
@@ -1,7 +1,7 @@ |
21 |
# Copyright 1999-2021 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
-EAPI=7 |
25 |
+EAPI=8 |
26 |
|
27 |
inherit autotools desktop qmake-utils xdg cmake |
28 |
|
29 |
@@ -132,17 +132,17 @@ src_configure() { |
30 |
} |
31 |
|
32 |
src_compile() { |
33 |
- emake -C src INSTALL_ROOT="${D}" || die |
34 |
+ emake -C src INSTALL_ROOT=. || die |
35 |
use dolphin && cmake_src_compile |
36 |
} |
37 |
|
38 |
src_install() { |
39 |
use dolphin && cmake_src_install |
40 |
einstalldocs |
41 |
+ |
42 |
dobin src/MEGASync/${PN} |
43 |
- insinto usr/share/licenses/${PN} |
44 |
- doins LICENCE.md installer/terms.txt |
45 |
domenu src/MEGASync/platform/linux/data/${PN}.desktop |
46 |
+ |
47 |
cd src/MEGASync/platform/linux/data/icons/hicolor |
48 |
for size in 16x16 32x32 48x48 128x128 256x256;do |
49 |
doicon -s $size $size/apps/mega.png |
50 |
|
51 |
diff --git a/net-misc/megasync/megasync-9999.ebuild b/net-misc/megasync/megasync-9999.ebuild |
52 |
index 54c24108f..52f96e01e 100644 |
53 |
--- a/net-misc/megasync/megasync-9999.ebuild |
54 |
+++ b/net-misc/megasync/megasync-9999.ebuild |
55 |
@@ -1,7 +1,7 @@ |
56 |
# Copyright 1999-2021 Gentoo Authors |
57 |
# Distributed under the terms of the GNU General Public License v2 |
58 |
|
59 |
-EAPI=7 |
60 |
+EAPI=8 |
61 |
|
62 |
inherit autotools desktop qmake-utils xdg cmake |
63 |
|
64 |
@@ -132,17 +132,17 @@ src_configure() { |
65 |
} |
66 |
|
67 |
src_compile() { |
68 |
- emake -C src INSTALL_ROOT="${D}" || die |
69 |
+ emake -C src INSTALL_ROOT=. || die |
70 |
use dolphin && cmake_src_compile |
71 |
} |
72 |
|
73 |
src_install() { |
74 |
use dolphin && cmake_src_install |
75 |
einstalldocs |
76 |
+ |
77 |
dobin src/MEGASync/${PN} |
78 |
- insinto usr/share/licenses/${PN} |
79 |
- doins LICENCE.md installer/terms.txt |
80 |
domenu src/MEGASync/platform/linux/data/${PN}.desktop |
81 |
+ |
82 |
cd src/MEGASync/platform/linux/data/icons/hicolor |
83 |
for size in 16x16 32x32 48x48 128x128 256x256;do |
84 |
doicon -s $size $size/apps/mega.png |