summarylogtreecommitdiffstats
path: root/0001-Change-instalation-path-to-be-Arch-linux-friendly.patch
blob: 2d06861d9888d900347cbd7899bcb2779bf14beb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- a/src/AniLibria.pro	2023-07-11 13:54:13.614117100 +0300
+++ b/src/AniLibria.pro	2023-07-11 13:59:18.888876444 +0300
@@ -268,23 +268,9 @@
 # Additional import path used to resolve QML modules just for Qt Quick Designer
 QML_DESIGNER_IMPORT_PATH =
 
-# Default rules for deployment.
-!flatpak{
-    qnx: target.path = /tmp/$${TARGET}/bin
-    else: unix:!android: target.path = /opt/$${TARGET}/bin
-}else{
-    target.path = $$PREFIX/bin
-}
-!isEmpty(target.path) {
-    unix: INSTALLS += target desktop $${UNIX_ICONS}
-    else:macx: INSTALLS += target
-}
-
-flatpak {
-    metadata.path = $$PREFIX/share/metainfo
-    metadata.files += ../tv.anilibria.anilibria.appdata.xml
-    unix: INSTALLS += metadata
-}
+# Arch linux common instalation path
+target.path = /usr/bin
+INSTALLS += target desktop $${UNIX_ICONS}
 
 HEADERS += \
     Classes/ListModels/allmyanilibrialistmodel.h \