aboutsummaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-09-17 19:25:00 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-09-17 19:28:45 +0000
commit8e29a45e456baf232196e8fa2fc5eae50be66993 (patch)
tree0ecbff00fa526860b3458e152f02441c5caaf668 /debian/patches
parent187c3ff5d4029549f2603d3dc014b92b3a9ac21f (diff)
downloadRWA.Support.DesktopApp-8e29a45e456baf232196e8fa2fc5eae50be66993.tar.gz
RWA.Support.DesktopApp-8e29a45e456baf232196e8fa2fc5eae50be66993.tar.bz2
RWA.Support.DesktopApp-8e29a45e456baf232196e8fa2fc5eae50be66993.zip
debian/: Initial draft for creating DEB packages.
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/2001_adapt-install-target-path.patch14
-rw-r--r--debian/patches/series1
2 files changed, 15 insertions, 0 deletions
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 <mike.gabriel@das-netzwerkteam.de>
+
+--- 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