mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
net-misc/megasync: fix unable to find cmakelists.txt
- also fix dep on doxygen Closes: https://bugs.gentoo.org/763057 Bug: 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:
@@ -63,19 +63,22 @@ DEPEND="
|
||||
dev-qt/qtsvg:5
|
||||
"
|
||||
BDEPEND="
|
||||
app-doc/doxygen
|
||||
dev-lang/swig
|
||||
dev-qt/linguist-tools
|
||||
"
|
||||
|
||||
DOCS=( CREDITS.md README.md )
|
||||
|
||||
CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin"
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999 ]]; then
|
||||
rmdir src/MEGASync/mega
|
||||
mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
|
||||
fi
|
||||
if use dolphin; then
|
||||
# use the kde5 CMakeLists instead of the kde 4 version
|
||||
mv src/MEGAShellExtDolphin/CMakeLists_kde5.txt src/MEGAShellExtDolphin/CMakeLists.txt || die
|
||||
cmake_src_prepare
|
||||
else
|
||||
default
|
||||
|
||||
Reference in New Issue
Block a user