forked from liri-project/liri-browser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
liri-browser-ubuntu.pro
109 lines (79 loc) · 2.41 KB
/
liri-browser-ubuntu.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
# Ubuntu SDK
TEMPLATE = app
#load Ubuntu specific features
load(ubuntu-click)
TEMPLATE = app
QT += qml quick widgets svg xml multimedia core network
QTPLUGIN += qsvg
SOURCES += src/ubuntu/main.cpp \
src/config.cpp \
src/cursor/cursor.cpp \
src/clipboardadapter.cpp \
src/plugins/pluginsengine.cpp \
src/plugins/plugin.cpp \
src/plugins/api.cpp \
src/plugins/urlopener.cpp
HEADERS += \
src/config.h \
src/cursor/cursor.h \
src/plugins/pluginsengine.h \
src/plugins/plugin.h \
src/plugins/api.h \
src/plugins/urlopener.h
CONFIG += c++11
TRANSLATIONS += src/translations/liri-browser.ts \
src/translations/de_DE.ts \
src/translations/ru_RU.ts \
src/translations/fr_FR.ts \
src/translations/es_CR.ts \
src/translations/es_ES.ts \
src/translations/pt_BR.ts \
src/translations/pt_PT.ts
lupdate_only{
SOURCES = *.qml \
*.js \
src/qml/* \
}
# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =
# Default rules for deployment.
include(deployment.pri)
DISTFILES += liri-browser.timsueberkrueb.desktop
# Windows icon
RC_ICONS = icons/liri-browser.ico
# OS X icon
ICON = icons/liri-browser.icns
HEADERS += \
src/clipboardadapter.h
# manifest
UBUNTU_MANIFEST_FILE=ubuntu/manifest.json
TARGET = liri-browser.timsueberkrueb
RESOURCES += src/qml.qrc
QML_FILES += $$files(*.qml,true) \
$$files(*.js,true)
CONF_FILES += ubuntu/liri-browser.timsueberkrueb.apparmor \
icons/liri-browser.timsueberkrueb.png
ICON_FILES = $$files(icons/*.png,true)
LIB_FILES = $$files(lib/*,true)
OTHER_FILES += $${CONF_FILES} \
$${QML_FILES} \
$${AP_TEST_FILES} \
ubuntu/liri-browser.timsueberkrueb.desktop \
icons/liri-browser-ubuntu.png
# icon
icon_files.path = /icons
icon_files.files += $${ICON_FILES}
# lib files
lib_files.path = /lib
lib_files.files += $${LIB_FILES}
# qml/js files
qml_files.path = /src/qml
qml_files.files += $${QML_FILES}
# config files
config_files.path = /ubuntu
config_files.files += $${CONF_FILES}
# .desktop file
desktop_file.path = /ubuntu
desktop_file.files = ubuntu/liri-browser.timsueberkrueb.desktop
desktop_file.CONFIG += no_check_exist
INSTALLS+=config_files qml_files desktop_file lib_files icon_files