blob: bc3063f39b4f046dfa11991e2b75736ec684770e (
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
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
|
TEMPLATE = app
DEPENDPATH += i18n src
INCLUDEPATH += . src /usr/include/X11 /usr/include/X11R6
LIBPATH += /usr/X11/lib /usr/X11R6/lib
LIBS = -lX11 -lXpm -lXmu
TARGET = tdedocker
INSTALL_PATH = /usr/local/share/tdedocker
DOCS_PATH = $$INSTALL_PATH/docs
# Defines
TRANSLATIONS_PATH = $$INSTALL_PATH/i18n
DEFINES += TRANSLATIONS_PATH='"$$TRANSLATIONS_PATH"'
ICONS_PATH = $$INSTALL_PATH/icons
DEFINES += ICONS_PATH='"$$ICONS_PATH"'
# Installation
icons.path = $$ICONS_PATH
icons.files = icons/tdedocker.png icons/question.png
translations.path = $$TRANSLATIONS_PATH
translations.files = i18n/*.qm
docs.path = $$DOCS_PATH
docs.files = README
desktop.path = /usr/share/applications
desktop.files = tdedocker.desktop
target.path = /usr/local/bin
INSTALLS += target icons docs translations desktop
# Input
HEADERS += src/customtraylabel.h \
src/tdedocker.h \
src/qtraylabel.h \
src/trace.h \
src/traylabelmgr.h \
src/util.h
SOURCES += src/customtraylabel.cpp \
src/tdedocker.cpp \
src/main.cpp \
src/qtraylabel.cpp \
src/trace.cpp \
src/traylabelmgr.cpp \
src/util.cpp
TRANSLATIONS += i18n/tdedocker_en.ts i18n/tdedocker_es.ts i18n/tdedocker_fr.ts \
i18n/tdedocker_cs.ts i18n/tdedocker_ru.ts i18n/tdedocker_pt_BR.ts \
i18n/tdedocker_de.ts i18n/tdedocker_pl.ts i18n/tdedocker_id.ts \
i18n/tdedocker_it.ts i18n/tdedocker_bg.ts i18n/tdedocker_ja.ts \
i18n/tdedocker_nl.ts i18n/tdedocker_hu.ts i18n/tdedocker_sv.ts
# Debugging (Uncomment line below and make clean; make")
# DEFINES += ENABLE_TRACING
# Output
MOC_DIR = tmp
OBJECTS_DIR = tmp
DESTDIR = .
|