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_ru.ts |
71 |
|
|
72 |
|
|
73 |
unix { |
unix { |
81 |
PREFIX = /usr/local |
PREFIX = /usr/local |
82 |
} |
} |
83 |
|
|
84 |
BINDIR = $${PREFIX}/bin |
isEmpty(BINDIR) { |
85 |
DATADIR = $${PREFIX}/share |
BINDIR = $${PREFIX}/bin |
86 |
LOCALEDIR = $(localedir) |
} |
|
|
|
|
DEFINES += DATADIR=\"$${DATADIR}\" |
|
87 |
|
|
88 |
!isEmpty(LOCALEDIR) { |
isEmpty(DATADIR) { |
89 |
DEFINES += LOCALEDIR=\"$${LOCALEDIR}\" |
DATADIR = $${PREFIX}/share |
90 |
} |
} |
91 |
|
|
92 |
|
#DEFINES += DATADIR=\"$${DATADIR}\" |
93 |
|
|
94 |
# make install |
# make install |
95 |
INSTALLS += target desktop icon \ |
INSTALLS += target desktop icon appdata \ |
96 |
icon_scalable mimeinfo mimetypes mimetypes_scalable |
icon_scalable mimeinfo mimetypes mimetypes_scalable |
97 |
|
|
98 |
target.path = $${BINDIR} |
target.path = $${BINDIR} |
104 |
icon.files += images/$${NAME}.png |
icon.files += images/$${NAME}.png |
105 |
|
|
106 |
icon_scalable.path = $${DATADIR}/icons/hicolor/scalable/apps |
icon_scalable.path = $${DATADIR}/icons/hicolor/scalable/apps |
107 |
icon_scalable.files += images/$${NAME}.svgz |
icon_scalable.files += images/$${NAME}.svg |
108 |
|
|
109 |
|
appdata.path = $${DATADIR}/metainfo |
110 |
|
appdata.files += appdata/$${NAME}.appdata.xml |
111 |
|
|
112 |
mimeinfo.path = $${DATADIR}/mime/packages |
mimeinfo.path = $${DATADIR}/mime/packages |
113 |
mimeinfo.files += mimetypes/$${NAME}.xml |
mimeinfo.files += mimetypes/$${NAME}.xml |
116 |
mimetypes.files += mimetypes/application-x-$${NAME}-session.png |
mimetypes.files += mimetypes/application-x-$${NAME}-session.png |
117 |
|
|
118 |
mimetypes_scalable.path = $${DATADIR}/icons/hicolor/scalable/mimetypes |
mimetypes_scalable.path = $${DATADIR}/icons/hicolor/scalable/mimetypes |
119 |
mimetypes_scalable.files += mimetypes/application-x-$${NAME}-session.svgz |
mimetypes_scalable.files += mimetypes/application-x-$${NAME}-session.svg |
120 |
} |
} |
121 |
|
|
122 |
win32 { |
win32 { |