1 |
# qsampler.pro |
# qsampler.pro |
2 |
# |
# |
3 |
NAME = qtractor |
NAME = qsampler |
4 |
|
|
5 |
TARGET = $${NAME} |
TARGET = $${NAME} |
6 |
TEMPLATE = app |
TEMPLATE = app |
64 |
RESOURCES += \ |
RESOURCES += \ |
65 |
qsampler.qrc |
qsampler.qrc |
66 |
|
|
67 |
|
|
68 |
TRANSLATIONS += \ |
TRANSLATIONS += \ |
69 |
translations/qsampler_cs.ts \ |
translations/qsampler_cs.ts \ |
70 |
translations/qsampler_ru.ts |
translations/qsampler_fr.ts \ |
71 |
|
translations/qsampler_ru.ts |
72 |
|
|
73 |
|
|
74 |
unix { |
unix { |
82 |
PREFIX = /usr/local |
PREFIX = /usr/local |
83 |
} |
} |
84 |
|
|
85 |
BINDIR = $${PREFIX}/bin |
isEmpty(BINDIR) { |
86 |
DATADIR = $${PREFIX}/share |
BINDIR = $${PREFIX}/bin |
87 |
LOCALEDIR = $(localedir) |
} |
|
|
|
|
DEFINES += DATADIR=\"$${DATADIR}\" |
|
88 |
|
|
89 |
!isEmpty(LOCALEDIR) { |
isEmpty(DATADIR) { |
90 |
DEFINES += LOCALEDIR=\"$${LOCALEDIR}\" |
DATADIR = $${PREFIX}/share |
91 |
} |
} |
92 |
|
|
93 |
|
#DEFINES += DATADIR=\"$${DATADIR}\" |
94 |
|
|
95 |
# make install |
# make install |
96 |
INSTALLS += target desktop icon \ |
INSTALLS += target desktop icon appdata \ |
97 |
icon_scalable mimeinfo mimetypes mimetypes_scalable |
icon_scalable mimeinfo mimetypes mimetypes_scalable |
98 |
|
|
99 |
target.path = $${BINDIR} |
target.path = $${BINDIR} |
105 |
icon.files += images/$${NAME}.png |
icon.files += images/$${NAME}.png |
106 |
|
|
107 |
icon_scalable.path = $${DATADIR}/icons/hicolor/scalable/apps |
icon_scalable.path = $${DATADIR}/icons/hicolor/scalable/apps |
108 |
icon_scalable.files += images/$${NAME}.svgz |
icon_scalable.files += images/$${NAME}.svg |
109 |
|
|
110 |
|
appdata.path = $${DATADIR}/metainfo |
111 |
|
appdata.files += appdata/$${NAME}.appdata.xml |
112 |
|
|
113 |
mimeinfo.path = $${DATADIR}/mime/packages |
mimeinfo.path = $${DATADIR}/mime/packages |
114 |
mimeinfo.files += mimetypes/$${NAME}.xml |
mimeinfo.files += mimetypes/$${NAME}.xml |
117 |
mimetypes.files += mimetypes/application-x-$${NAME}-session.png |
mimetypes.files += mimetypes/application-x-$${NAME}-session.png |
118 |
|
|
119 |
mimetypes_scalable.path = $${DATADIR}/icons/hicolor/scalable/mimetypes |
mimetypes_scalable.path = $${DATADIR}/icons/hicolor/scalable/mimetypes |
120 |
mimetypes_scalable.files += mimetypes/application-x-$${NAME}-session.svgz |
mimetypes_scalable.files += mimetypes/application-x-$${NAME}-session.svg |
121 |
} |
} |
122 |
|
|
123 |
win32 { |
win32 { |