summaryrefslogtreecommitdiff
path: root/net-misc/megasync/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-04-18 03:12:52 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-04-18 03:12:52 +0100
commit93d6ac4d57898cde7bd91ec2db7d0163437b4f5a (patch)
treefa6e1004a324488a7a023d66a1ee02e7f0845fd9 /net-misc/megasync/files
parent7fa6a1c83e51e371879d3215f59e43334f920069 (diff)
net-misc/megasync : new package
Diffstat (limited to 'net-misc/megasync/files')
-rw-r--r--net-misc/megasync/files/megasync-qmake.diff50
1 files changed, 50 insertions, 0 deletions
diff --git a/net-misc/megasync/files/megasync-qmake.diff b/net-misc/megasync/files/megasync-qmake.diff
new file mode 100644
index 00000000..357454d7
--- /dev/null
+++ b/net-misc/megasync/files/megasync-qmake.diff
@@ -0,0 +1,50 @@
+--- a/src/MEGAShellExtNautilus/MEGAShellExtNautilus.pro
++++ b/src/MEGAShellExtNautilus/MEGAShellExtNautilus.pro
+@@ -1,6 +1,7 @@
+ QT -= core gui
+
+-TARGET = MEGAShellExtNautilus
++TARGET = libMEGAShellExtNautilus
++CONFIG += plugin no_plugin_name_prefix
+ TEMPLATE = lib
+
+ SOURCES += mega_ext_module.c \
+@@ -41,5 +42,4 @@ INSTALLS += emblems32 emblems64
+ !contains(DEFINES, no_desktop) {
+ update_cache.commands = gtk-update-icon-cache -f -t $${HICOLOR} || true
+ update_cache.path = $$PWD
+- INSTALLS += update_cache
+ }
+--- a/src/MEGASync/platform/platform.pri
++++ b/src/MEGASync/platform/platform.pri
+@@ -34,7 +34,8 @@ unix:!macx {
+ system(command -v lsb_release): version.commands = lsb_release -rs > $$version.target
+ version.files = $$version.target
+
+- INSTALLS += distro version
++ target.path = $$PREFIX/bin
++ INSTALLS += target
+
+ QT += dbus
+ SOURCES += $$PWD/linux/LinuxPlatform.cpp \
+@@ -62,7 +62,6 @@ unix:!macx {
+ # desktop
+ desktop.path = $$DESKTOP_DESTDIR/share/applications
+ desktop.files = $$PWD/linux/data/megasync.desktop
+- desktop.commands = update-desktop-database &> /dev/null || true
+ INSTALLS += desktop
+
+ HICOLOR = $$DESKTOP_DESTDIR/share/icons/hicolor
+--- a/src/MEGA.pro
++++ b/src/MEGA.pro
+@@ -17,8 +17,9 @@ win32 {
+ unix:!macx {
+ CONFIG(with_ext) {
+ SUBDIRS += MEGAShellExtNautilus
++ }
++ CONFIG(with_thu) {
+ SUBDIRS += MEGAShellExtThunar
+- SUBDIRS += MEGAShellExtDolphin
+ }
+ }
+