summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author JW(Shinichi Abe) <shin1.abe@nifty.com>2024-05-12 06:41:18 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-05-12 08:24:11 +0700
commit9483ea795eef5b69f240e548d7fdc21d71a7f5b9 (patch)
tree4634283fc6581041147d378553c028824746b559
parentfa68cb5552633307426dc618facfe05557d5e5eb (diff)
downloadslackbuilds-9483ea795.tar.gz
slackbuilds-9483ea795.tar.xz
desktop/dolphin-megasync: Updated for version 5.2.1.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--desktop/dolphin-megasync/dolphin-megasync.SlackBuild9
-rw-r--r--desktop/dolphin-megasync/dolphin-megasync.info8
-rw-r--r--desktop/dolphin-megasync/kf5.patch12
-rw-r--r--desktop/dolphin-megasync/kf5_5.2.1.0_Linux.patch8
4 files changed, 16 insertions, 21 deletions
diff --git a/desktop/dolphin-megasync/dolphin-megasync.SlackBuild b/desktop/dolphin-megasync/dolphin-megasync.SlackBuild
index d9804bea4e..6a1d78c404 100644
--- a/desktop/dolphin-megasync/dolphin-megasync.SlackBuild
+++ b/desktop/dolphin-megasync/dolphin-megasync.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=dolphin-megasync
SRCNAM=MEGAsync
-VERSION=${VERSION:-4.7.2.0}
+VERSION=${VERSION:-5.2.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -73,10 +73,9 @@ cd $SRCNAM-${VERSION}_Linux
# prepare source
mkdir -p build
-# Apply Arch patch (Thanks to Arch)
-patch -p2 -i $CWD/kf5.patch --verbose || extit 1
-mv src/MEGAShellExtDolphin/CMakeLists.txt src/MEGAShellExtDolphin/CMakeLists.txt.old
-mv src/MEGAShellExtDolphin/CMakeLists_kde5.txt src/MEGAShellExtDolphin/CMakeLists.txt
+# fix kf5 INSTALL PATH
+cp src/MEGAShellExtDolphin/CMakeLists.txt src/MEGAShellExtDolphin/CMakeLists.txt.old
+patch -p1 -i $CWD/kf5_5.2.1.0_Linux.patch --verbose || exit 1
chown -R root:root .
find -L . \
diff --git a/desktop/dolphin-megasync/dolphin-megasync.info b/desktop/dolphin-megasync/dolphin-megasync.info
index ecb9348136..37b855903d 100644
--- a/desktop/dolphin-megasync/dolphin-megasync.info
+++ b/desktop/dolphin-megasync/dolphin-megasync.info
@@ -1,10 +1,10 @@
PRGNAM="dolphin-megasync"
-VERSION="4.7.2.0"
+VERSION="5.2.1.0"
HOMEPAGE="https://github.com/meganz/MEGAsync/"
-DOWNLOAD="https://github.com/meganz/MEGAsync/archive/v4.7.2.0_Linux/MEGAsync-4.7.2.0_Linux.tar.gz"
-MD5SUM="b1734bf785e279dd0d01d8ff254c7587"
+DOWNLOAD="https://github.com/meganz/MEGAsync/archive/v5.2.1.0_Linux/MEGAsync-5.2.1.0_Linux.tar.gz"
+MD5SUM="ec6e327ea4d45853455fbf23e1fcd62d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="MEGAsync"
MAINTAINER="JW(Shinichi Abe)"
EMAIL="shin1.abe@nifty.com"
diff --git a/desktop/dolphin-megasync/kf5.patch b/desktop/dolphin-megasync/kf5.patch
deleted file mode 100644
index 3f773ddeef..0000000000
--- a/desktop/dolphin-megasync/kf5.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/MEGAsync/src/MEGAShellExtDolphin/CMakeLists_kde5.txt b/MEGAsync/src/MEGAShellExtDolphin/CMakeLists_kde5.txt
-@@ -64,4 +64,4 @@ target_link_libraries(${MEGASYNCPLUGIN} KF5::CoreAddons KF5::KIOCore KF5::KIOWid
-
- #install(FILES ${CMAKE_CURRENT_BINARY_DIR}/megasync-plugin.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
- install(FILES megasync-plugin.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
--install(TARGETS ${MEGASYNCPLUGIN} DESTINATION ${CMAKE_INSTALL_LIBDIR}/qt5/plugins)
-+install(TARGETS ${MEGASYNCPLUGIN} DESTINATION ${PLUGIN_INSTALL_DIR})
-
-diff --git a/MEGAsync/src/MEGAShellExtDolphin/megasync-plugin.moc b/src/MEGAShellExtDolphin/megasync-plugin.moc
-deleted file mode 100644
-index e69de29b..00000000
-
diff --git a/desktop/dolphin-megasync/kf5_5.2.1.0_Linux.patch b/desktop/dolphin-megasync/kf5_5.2.1.0_Linux.patch
new file mode 100644
index 0000000000..f00b80103d
--- /dev/null
+++ b/desktop/dolphin-megasync/kf5_5.2.1.0_Linux.patch
@@ -0,0 +1,8 @@
+--- MEGAsync-5.2.1.0_Linux/src/MEGAShellExtDolphin/CMakeLists.txt 2024-04-17 20:25:54.000000000 +0900
++++ MEGAsync-5.2.1.0_Linux.New/src/MEGAShellExtDolphin/CMakeLists.txt 2024-05-10 19:38:46.571062863 +0900
+@@ -58,4 +58,4 @@
+ target_link_libraries(${MEGASYNCPLUGIN} KF5::CoreAddons KF5::KIOCore KF5::KIOWidgets)
+
+ install(FILES megasync-plugin.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
+-install(TARGETS ${MEGASYNCPLUGIN} DESTINATION ${CMAKE_INSTALL_LIBDIR}/qt5/plugins)
++install(TARGETS ${MEGASYNCPLUGIN} DESTINATION ${PLUGIN_INSTALL_DIR})