1 |
commit: 145db129f3f1d1b828eca116b97377a939ec3078 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
3 |
AuthorDate: Sat Jan 2 16:49:45 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
5 |
CommitDate: Sat Jan 2 16:49:45 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=145db129 |
7 |
|
8 |
net-misc/megasync: call cmake_src_prepare |
9 |
|
10 |
closes: https://bugs.gentoo.org/763138 |
11 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
12 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> |
13 |
|
14 |
net-misc/megasync/megasync-4.3.7.ebuild | 8 ++++++-- |
15 |
net-misc/megasync/megasync-4.3.8.0.ebuild | 8 ++++++-- |
16 |
2 files changed, 12 insertions(+), 4 deletions(-) |
17 |
|
18 |
diff --git a/net-misc/megasync/megasync-4.3.7.ebuild b/net-misc/megasync/megasync-4.3.7.ebuild |
19 |
index 61ef362c..ccc5b2c1 100644 |
20 |
--- a/net-misc/megasync/megasync-4.3.7.ebuild |
21 |
+++ b/net-misc/megasync/megasync-4.3.7.ebuild |
22 |
@@ -1,4 +1,4 @@ |
23 |
-# Copyright 1999-2020 Gentoo Authors |
24 |
+# Copyright 1999-2021 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
EAPI=7 |
28 |
@@ -74,7 +74,11 @@ src_prepare() { |
29 |
rmdir src/MEGASync/mega |
30 |
mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega |
31 |
fi |
32 |
- default |
33 |
+ if use dolphin; then |
34 |
+ cmake_src_prepare |
35 |
+ else |
36 |
+ default |
37 |
+ fi |
38 |
cd src/MEGASync/mega |
39 |
eautoreconf |
40 |
} |
41 |
|
42 |
diff --git a/net-misc/megasync/megasync-4.3.8.0.ebuild b/net-misc/megasync/megasync-4.3.8.0.ebuild |
43 |
index eb91b2e5..3edb24ae 100644 |
44 |
--- a/net-misc/megasync/megasync-4.3.8.0.ebuild |
45 |
+++ b/net-misc/megasync/megasync-4.3.8.0.ebuild |
46 |
@@ -1,4 +1,4 @@ |
47 |
-# Copyright 1999-2020 Gentoo Authors |
48 |
+# Copyright 1999-2021 Gentoo Authors |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
|
51 |
EAPI=7 |
52 |
@@ -75,7 +75,11 @@ src_prepare() { |
53 |
rmdir src/MEGASync/mega |
54 |
mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega |
55 |
fi |
56 |
- default |
57 |
+ if use dolphin; then |
58 |
+ cmake_src_prepare |
59 |
+ else |
60 |
+ default |
61 |
+ fi |
62 |
cd src/MEGASync/mega |
63 |
eautoreconf |
64 |
} |