From 8e29a45e456baf232196e8fa2fc5eae50be66993 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Thu, 17 Sep 2020 19:25:00 +0000 Subject: debian/: Initial draft for creating DEB packages. --- debian/patches/2001_adapt-install-target-path.patch | 14 ++++++++++++++ debian/patches/series | 1 + 2 files changed, 15 insertions(+) create mode 100644 debian/patches/2001_adapt-install-target-path.patch create mode 100644 debian/patches/series (limited to 'debian/patches') diff --git a/debian/patches/2001_adapt-install-target-path.patch b/debian/patches/2001_adapt-install-target-path.patch new file mode 100644 index 0000000..684e904 --- /dev/null +++ b/debian/patches/2001_adapt-install-target-path.patch @@ -0,0 +1,14 @@ +Description: Make sure the app gets installed to /usr/bin/. +Author: Mike Gabriel + +--- a/remote-support-desktop.pro ++++ b/remote-support-desktop.pro +@@ -55,7 +55,5 @@ + # Additional import path used to resolve QML modules just for Qt Quick Designer + QML_DESIGNER_IMPORT_PATH = + +-# Default rules for deployment. +-qnx: target.path = /tmp/$${TARGET}/bin +-else: unix:!android: target.path = /opt/$${TARGET}/bin ++target.path = /usr/bin + !isEmpty(target.path): INSTALLS += target diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..34e13e6 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +2001_adapt-install-target-path.patch -- cgit v1.2.3