aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@riseup.net>2021-01-02 17:49:45 +0100
committerAndrew Ammerlaan <andrewammerlaan@riseup.net>2021-01-02 17:49:45 +0100
commit145db129f3f1d1b828eca116b97377a939ec3078 (patch)
tree4ce95178a148bf6b289ddb5aaa7bb390f3ee1825 /net-misc/megasync
parentapp-editors/vscodium-bin: New Package (diff)
downloadguru-145db129f3f1d1b828eca116b97377a939ec3078.tar.gz
guru-145db129f3f1d1b828eca116b97377a939ec3078.tar.bz2
guru-145db129f3f1d1b828eca116b97377a939ec3078.zip
net-misc/megasync: call cmake_src_prepare
closes: https://bugs.gentoo.org/763138 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Diffstat (limited to 'net-misc/megasync')
-rw-r--r--net-misc/megasync/megasync-4.3.7.ebuild8
-rw-r--r--net-misc/megasync/megasync-4.3.8.0.ebuild8
2 files changed, 12 insertions, 4 deletions
diff --git a/net-misc/megasync/megasync-4.3.7.ebuild b/net-misc/megasync/megasync-4.3.7.ebuild
index 61ef362c5..ccc5b2c1d 100644
--- a/net-misc/megasync/megasync-4.3.7.ebuild
+++ b/net-misc/megasync/megasync-4.3.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -74,7 +74,11 @@ src_prepare() {
rmdir src/MEGASync/mega
mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
fi
- default
+ if use dolphin; then
+ cmake_src_prepare
+ else
+ default
+ fi
cd src/MEGASync/mega
eautoreconf
}
diff --git a/net-misc/megasync/megasync-4.3.8.0.ebuild b/net-misc/megasync/megasync-4.3.8.0.ebuild
index eb91b2e51..3edb24ae8 100644
--- a/net-misc/megasync/megasync-4.3.8.0.ebuild
+++ b/net-misc/megasync/megasync-4.3.8.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -75,7 +75,11 @@ src_prepare() {
rmdir src/MEGASync/mega
mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
fi
- default
+ if use dolphin; then
+ cmake_src_prepare
+ else
+ default
+ fi
cd src/MEGASync/mega
eautoreconf
}