summarylogtreecommitdiffstats
path: root/quickviewer-1.1.8-main-projectfile-changes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'quickviewer-1.1.8-main-projectfile-changes.patch')
-rw-r--r--quickviewer-1.1.8-main-projectfile-changes.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/quickviewer-1.1.8-main-projectfile-changes.patch b/quickviewer-1.1.8-main-projectfile-changes.patch
new file mode 100644
index 00000000000..1f41caa29c6
--- /dev/null
+++ b/quickviewer-1.1.8-main-projectfile-changes.patch
@@ -0,0 +1,44 @@
+--- quickviewer/QuickViewer/QuickViewer.pro.orig 2020-06-15 20:27:13.318289440 -0700
++++ quickviewer/QuickViewer/QuickViewer.pro 2020-06-15 20:27:16.061622746 -0700
+@@ -437,22 +437,21 @@
+
+ # not portable, install into /usr/local/bin
+ linux : !CONFIG(debug, debug|release) : !contains(DEFINES, QV_PORTABLE) {
+- APPDIR = QuickViewer-$${VERSION}-$${TARGET_ARCH}.AppDir
+- APPIMAGE = QuickViewer-$${VERSION}-$${TARGET_ARCH}.AppImage
+- MY_DEFAULT_INSTALL = ../../$${APPDIR}
++ target.path = $${QV_BIN_PATH}
+
+- install_target.files = $${DESTDIR}/QuickViewer
+- install_target.path = $${QV_BIN_PATH}
+-
+- install_libs.files = $${DESTDIR}/../lib/libfileloader.so.1 $${DESTDIR}/../lib/lib7z.so
+- install_libs.path = $${QV_LIB_PATH}
++ install_desktop.files = $${PWD}/QuickViewer.desktop
++ install_desktop.path = $${QV_SHARED_PATH}/applications
+
++ install_mainicon.files = $${PWD}/../docs/quickviewer.png
++ install_mainicon.path = $${QV_SHARED_PATH}/icons/hicolor/512x512/apps
+
++ install_deploy_files.files = $${PWD}/../README.md
+ install_deploy_files.path = $${QV_SHARED_PATH}/QuickViewer
+- install_deploy_files.files = $${PWD}/../README.md $${PWD}/../LICENSE
+- install_deploy_files.depends = install_install_target install_install_libs
+
+- install_translations.path = $$[QT_INSTALL_TRANSLATIONS]
++ install_license.files = $${PWD}/../LICENSE
++ install_license.path = $${QV_SHARED_PATH}/licenses/quickviewer
++
++ install_translations.path = $${QV_SHARED_PATH}/QuickViewer/translations
+ install_translations.files = \
+ $${PWD}/translations/languages.ini \
+ $${PWD}/translations/quickviewer_ja.qm \
+@@ -478,7 +477,7 @@
+ ../AssociateFilesWithQuickViewer/icons/qv_tiff.ico \
+ ../AssociateFilesWithQuickViewer/icons/qv_webp.ico \
+
+- INSTALLS += install_target install_libs install_deploy_files install_translations install_assoc_icons
++ INSTALLS += target install_desktop install_mainicon install_deploy_files install_license install_translations install_assoc_icons
+ }
+
+ macos : !CONFIG(debug, debug|release) {