forked from linuxdeepin/dde-launcher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dde-launcher.pro
66 lines (53 loc) · 1.64 KB
/
dde-launcher.pro
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
63
64
65
66
QT += core gui dbus widgets x11extras svg
TARGET = dde-launcher
TEMPLATE = app
CONFIG += c++11 link_pkgconfig
PKGCONFIG += dtkbase dtkwidget dtkutil xcb xcb-ewmh\
gsettings-qt gtk+-2.0 gio-unix-2.0 dframeworkdbus
include(./feature-macros.pri)
include(./widgets/widgets.pri)
include(./boxframe/boxframe.pri)
include(./dbusinterface/dbusinterface.pri)
ARCH = $$QMAKE_HOST.arch
isEqual(ARCH, mips64) | isEqual(ARCH, mips32) {
DEFINES += ARCH_MIPSEL
}
SOURCES += \
mainframe.cpp \
model/appslistmodel.cpp \
model/appsmanager.cpp \
view/applistview.cpp \
global_util/util.cpp \
delegate/appitemdelegate.cpp \
global_util/xcb_misc.cpp \
worker/menuworker.cpp \
dbusservices/dbuslauncherservice.cpp \
main.cpp \
global_util/calculate_util.cpp \
global_util/themeappicon.cpp
HEADERS += \
mainframe.h \
model/appslistmodel.h \
model/appsmanager.h \
view/applistview.h \
global_util/constants.h \
global_util/util.h \
delegate/appitemdelegate.h \
global_util/xcb_misc.h \
worker/menuworker.h \
dbusservices/dbuslauncherservice.h \
global_util/calculate_util.h \
global_util/themeappicon.h
#Automating generation .qm files from .ts files
system($$PWD/translate_generation.sh)
target.path = /usr/bin
data_files.files = data/*
data_files.path = /usr/share/dde-launcher/data
qm_files.files = translations/*.qm
qm_files.path = /usr/share/dde-launcher/translations
services.path = /usr/share/dbus-1/services
services.files = dbusservices/com.deepin.dde.Launcher.service
INSTALLS += target qm_files services data_files
RESOURCES += \
skin.qrc
DISTFILES += data/*