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>
This commit is contained in:
Andrew Ammerlaan
2021-01-02 17:49:45 +01:00
parent 4e9ac517df
commit 145db129f3
2 changed files with 12 additions and 4 deletions

View File

@@ -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
}

View File

@@ -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
}