File: linux.pro

package info (click to toggle)
qlcplus 4.14.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 58,644 kB
  • sloc: cpp: 182,867; javascript: 7,764; xml: 2,453; ansic: 2,120; sh: 1,716; python: 634; ruby: 606; makefile: 23
file content (151 lines) | stat: -rw-r--r-- 5,676 bytes parent folder | download | duplicates (2)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
include(../../variables.pri)

TEMPLATE = subdirs
TARGET   = icons

desktop.path   = $$INSTALLROOT/share/applications/
desktop.files += qlcplus.desktop
!qmlui: {
    desktop.files += qlcplus-fixtureeditor.desktop
}
INSTALLS      += desktop

icons.path   = $$INSTALLROOT/share/pixmaps/
icons.files += ../../resources/icons/png/qlcplus.png
!qmlui: {
    icons.files += ../../resources/icons/png/qlcplus-fixtureeditor.png
}
INSTALLS    += icons

mime.path   = $$INSTALLROOT/share/mime/packages
mime.files += qlcplus.xml
INSTALLS   += mime

appdata.path   = $$METAINFODIR
appdata.files += org.qlcplus.QLCPlus.appdata.xml
!qmlui: {
    appdata.files += org.qlcplus.QLCPlusFixtureEditor.appdata.xml
}
INSTALLS      += appdata

!qmlui: {
manpages.path = $$INSTALLROOT/$$MANDIR
manpages.files += *.1
INSTALLS += manpages
}

# This is nowadays run by dpkg (TODO: rpm)
#MIMEUPDATE    = $$system("which update-mime-database")
#mimeupdate.commands = $$MIMEUPDATE /usr/share/mime
#mimeupdate.path = /usr/share/mime
#INSTALLS += mimeupdate

samples.files += ../Sample.qxw
samples.path   = $$INSTALLROOT/$$DATADIR
INSTALLS      += samples

appimage: {
    QT_LIBS_PATH = $$dirname(QMAKE_QMAKE)/../lib
    QT_PLUGINS_PATH = $$QT_LIBS_PATH/../plugins
    QT_QML_PATH = $$QT_LIBS_PATH/../qml

    # Qt dependencies
    qtdeps.path = $$INSTALLROOT/$$LIBSDIR
    qtdeps.files = $$QT_LIBS_PATH/libicu*
    INSTALLS += qtdeps

    # Qt Libraries
    qtlibs.path  = $$INSTALLROOT/$$LIBSDIR
    qtlibs.files += $$QT_LIBS_PATH/libQt5Core.so.5 \
                    $$QT_LIBS_PATH/libQt5Script.so.5 \
                    $$QT_LIBS_PATH/libQt5Network.so.5 \
                    $$QT_LIBS_PATH/libQt5Gui.so.5 \
                    $$QT_LIBS_PATH/libQt5Svg.so.5 \
                    $$QT_LIBS_PATH/libQt5Widgets.so.5 \
                    $$QT_LIBS_PATH/libQt5OpenGL.so.5 \
                    $$QT_LIBS_PATH/libQt5Multimedia.so.5 \
                    $$QT_LIBS_PATH/libQt5MultimediaWidgets.so.5 \
                    $$QT_LIBS_PATH/libQt5SerialPort.so.5 \
                    $$QT_LIBS_PATH/libQt5XcbQpa.so.5 \
                    $$QT_LIBS_PATH/libQt5DBus.so.5 \
                    $$QT_LIBS_PATH/libQt5WebSockets.so.5
qmlui: {
    qtlibs.files += $$QT_LIBS_PATH/libQt5MultimediaQuick.so.5 \
                    $$QT_LIBS_PATH/libQt5MultimediaGstTools.so.5 \
                    $$QT_LIBS_PATH/libQt5Qml.so.5 \
                    $$QT_LIBS_PATH/libQt5QmlModels.so.5 \
                    $$QT_LIBS_PATH/libQt5QmlWorkerScript.so.5 \
                    $$QT_LIBS_PATH/libQt5Quick.so.5 \
                    $$QT_LIBS_PATH/libQt5QuickControls2.so.5 \
                    $$QT_LIBS_PATH/libQt5QuickTemplates2.so.5 \
                    $$QT_LIBS_PATH/libQt53DCore.so.5 \
                    $$QT_LIBS_PATH/libQt53DExtras.so.5 \
                    $$QT_LIBS_PATH/libQt53DInput.so.5 \
                    $$QT_LIBS_PATH/libQt53DLogic.so.5 \
                    $$QT_LIBS_PATH/libQt53DAnimation.so.5 \
                    $$QT_LIBS_PATH/libQt53DQuick.so.5 \
                    $$QT_LIBS_PATH/libQt53DQuickExtras.so.5 \
                    $$QT_LIBS_PATH/libQt53DQuickInput.so.5 \
                    $$QT_LIBS_PATH/libQt53DQuickRender.so.5 \
                    $$QT_LIBS_PATH/libQt53DRender.so.5 \
                    $$QT_LIBS_PATH/libQt5Concurrent.so.5 \
                    $$QT_LIBS_PATH/libQt5Gamepad.so.5 \
                    $$QT_LIBS_PATH/libQt5PrintSupport.so.5
}

    INSTALLS += qtlibs

    # Qt plugins
    qtplatform.path = $$INSTALLROOT/$$LIBSDIR/qt5/plugins/platforms
    qtplatform.files = $$QT_PLUGINS_PATH/platforms/libqlinuxfb.so \
                       $$QT_PLUGINS_PATH/platforms/libqxcb.so \
                       $$QT_PLUGINS_PATH/platforms/libqminimal.so
    INSTALLS += qtplatform

    qtxcbgl.path = $$INSTALLROOT/$$LIBSDIR/qt5/plugins/xcbglintegrations
    qtxcbgl.files = $$QT_PLUGINS_PATH/xcbglintegrations/libqxcb-glx-integration.so
    INSTALLS += qtxcbgl

    qtaudio.path = $$INSTALLROOT/$$LIBSDIR/qt5/plugins/audio
    qtaudio.files = $$QT_PLUGINS_PATH/audio/libqtaudio_alsa.so \
                    $$QT_PLUGINS_PATH/audio/libqtmedia_pulse.so
    INSTALLS += qtaudio

    qtmedia.path = $$INSTALLROOT/$$LIBSDIR/qt5/plugins/mediaservice
    qtmedia.files = $$QT_PLUGINS_PATH/mediaservice/libgstaudiodecoder.so \
                    $$QT_PLUGINS_PATH/mediaservice/libgstmediaplayer.so
    INSTALLS += qtmedia

    qtimageformats.path = $$INSTALLROOT/$$LIBSDIR/qt5/plugins/imageformats
    qtimageformats.files = $$QT_PLUGINS_PATH/imageformats/libqsvg.so
    INSTALLS += qtimageformats

qmlui: {
    qtprintsupport.path = $$INSTALLROOT/$$LIBSDIR/qt5/plugins/printsupport
    qtprintsupport.files = $$QT_PLUGINS_PATH/printsupport/libcupsprintersupport.so
    INSTALLS += qtprintsupport

    sceneparsers.path = $$INSTALLROOT/$$LIBSDIR/qt5/plugins/sceneparsers
    sceneparsers.files = $$QT_PLUGINS_PATH/sceneparsers/libassimpsceneimport.so
    INSTALLS += sceneparsers

    geometryloaders.path = $$INSTALLROOT/$$LIBSDIR/qt5/plugins/geometryloaders
    geometryloaders.files = $$QT_PLUGINS_PATH/geometryloaders/libdefaultgeometryloader.so
    INSTALLS += geometryloaders
}

versionAtLeast(QT_VERSION, 5.15.0) {
    renderers.path = $$INSTALLROOT/$$LIBSDIR/qt5/plugins/renderers
    renderers.files = $$QT_PLUGINS_PATH/renderers/libopenglrenderer.so
    INSTALLS += renderers
}

    qmldeps.path   = $$INSTALLROOT/bin
    qmldeps.files += $$QT_QML_PATH/QtQml \
                     $$QT_QML_PATH/QtQuick \
                     $$QT_QML_PATH/QtQuick.2 \
                     $$QT_QML_PATH/Qt3D \
                     $$QT_QML_PATH/QtMultimedia

    INSTALLS += qmldeps
}