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 { |
82 |
} |
} |
83 |
|
|
84 |
BINDIR = $${PREFIX}/bin |
BINDIR = $${PREFIX}/bin |
85 |
DATADIR = $${PREFIX}/share |
DATADIR = $$PREFIX/share |
|
LOCALEDIR = $(localedir) |
|
86 |
|
|
87 |
DEFINES += DATADIR=\"$${DATADIR}\" |
DEFINES += DATADIR=\"$${DATADIR}\" |
88 |
|
|
|
!isEmpty(LOCALEDIR) { |
|
|
DEFINES += LOCALEDIR=\"$${LOCALEDIR}\" |
|
|
} |
|
|
|
|
89 |
# make install |
# make install |
90 |
INSTALLS += target desktop icon \ |
INSTALLS += target desktop icon appdata \ |
91 |
icon_scalable mimeinfo mimetypes mimetypes_scalable |
icon_scalable mimeinfo mimetypes mimetypes_scalable |
92 |
|
|
93 |
target.path = $${BINDIR} |
target.path = $${BINDIR} |
99 |
icon.files += images/$${NAME}.png |
icon.files += images/$${NAME}.png |
100 |
|
|
101 |
icon_scalable.path = $${DATADIR}/icons/hicolor/scalable/apps |
icon_scalable.path = $${DATADIR}/icons/hicolor/scalable/apps |
102 |
icon_scalable.files += images/$${NAME}.svgz |
icon_scalable.files += images/$${NAME}.svg |
103 |
|
|
104 |
|
appdata.path = $${DATADIR}/appdata |
105 |
|
appdata.files += appdata/$${NAME}.appdata.xml |
106 |
|
|
107 |
mimeinfo.path = $${DATADIR}/mime/packages |
mimeinfo.path = $${DATADIR}/mime/packages |
108 |
mimeinfo.files += mimetypes/$${NAME}.xml |
mimeinfo.files += mimetypes/$${NAME}.xml |
111 |
mimetypes.files += mimetypes/application-x-$${NAME}-session.png |
mimetypes.files += mimetypes/application-x-$${NAME}-session.png |
112 |
|
|
113 |
mimetypes_scalable.path = $${DATADIR}/icons/hicolor/scalable/mimetypes |
mimetypes_scalable.path = $${DATADIR}/icons/hicolor/scalable/mimetypes |
114 |
mimetypes_scalable.files += mimetypes/application-x-$${NAME}-session.svgz |
mimetypes_scalable.files += mimetypes/application-x-$${NAME}-session.svg |
115 |
} |
} |
116 |
|
|
117 |
win32 { |
win32 { |