aboutsummaryrefslogtreecommitdiff
path: root/asteroid-stopwatch.pro
blob: e34fe41629c1f972bf13f6216846b26b3f96c77b (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
30
31
32
33
34
35
TEMPLATE = app
QT += qml quick
CONFIG += link_pkgconfig
PKGCONFIG += qdeclarative5-boostable

SOURCES +=     main.cpp
RESOURCES +=   resources.qrc
OTHER_FILES += main.qml

lupdate_only{
    SOURCES = i18n/asteroid-stopwatch.desktop.h
}

# Needed for lupdate
TRANSLATIONS = i18n/asteroid-stopwatch.de.ts \
               i18n/asteroid-stopwatch.es.ts \
               i18n/asteroid-stopwatch.fa.ts \
               i18n/asteroid-stopwatch.fr.ts \
               i18n/asteroid-stopwatch.ko.ts \
               i18n/asteroid-stopwatch.nl.ts \
               i18n/asteroid-stopwatch.pl.ts \
               i18n/asteroid-stopwatch.pt_BR.ts \
               i18n/asteroid-stopwatch.ru.ts \
               i18n/asteroid-stopwatch.sv.ts \
               i18n/asteroid-stopwatch.uk.ts

TARGET = asteroid-stopwatch
target.path = /usr/bin/

desktop.commands = bash $$PWD/i18n/generate-desktop.sh $$PWD asteroid-stopwatch.desktop
desktop.files = $$OUT_PWD/asteroid-stopwatch.desktop
desktop.path = /usr/share/applications
desktop.CONFIG = no_check_exist

INSTALLS += target desktop