forked from custodian/orn-warehouse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
harbour-warehouse.pro
72 lines (53 loc) · 1.7 KB
/
harbour-warehouse.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
TEMPLATE = app
TARGET = harbour-warehouse
target.path = $$INSTALL_ROOT/usr/bin
QT += network dbus quick qml
CONFIG += link_pkgconfig
PKGCONFIG += packagekit-qt5
PKGCONFIG += sailfishapp
INCLUDEPATH += /usr/include/sailfishapp
DEFINES += QT_USE_FAST_CONCATENATION QT_USE_FAST_OPERATOR_PLUS
DEFINES += Q_OS_SAILFISH
packagesExist(sailfishapp) {
#special cases?
}
####################DEPLOYMENT SETTINGS###################
qml.files = qml-sailfish
qml.path = $$INSTALL_ROOT/usr/share/harbour-warehouse
desktop.files = harbour-warehouse.desktop
desktop.path = $$INSTALL_ROOT/usr/share/applications
icon.files = harbour-warehouse.png
icon.path = $$INSTALL_ROOT/usr/share/icons/hicolor/86x86/apps
#dbus.files = dbus/net.thecust.harbour_warehouse.service
#dbus.path = /usr/share/dbus-1/services
zypp.files = rpm/openrepos.enabled
zypp.path = $$INSTALL_ROOT/etc/zypp/repos.d
INSTALLS = zypp target qml desktop icon #dbus
INCLUDEPATH += $PWD/src
HEADERS += \
src/apptranslator.h \
src/packagekitproxy.h \
src/qmlthreadworker.h \
src/cache.h
SOURCES += src/main.cpp \
src/apptranslator.cpp \
src/packagekitproxy.cpp \
src/qmlthreadworker.cpp \
src/cache.cpp
#dbus
#HEADERS += src/dbus_service.h
#SOURCES += src/dbus_service.cpp
OTHER_FILES += \
rpm/harbour-warehouse.spec \
rpm/harbour-warehouse.yaml \
rpm/openrepos.enabled
OTHER_FILES += \
harbour-warehouse.desktop \
qml-sailfish/*
############## translations settings ##################
lupdate_only {
SOURCES = qml-sailfish/main-sailfish.qml \
qml-sailfish/components/*.qml \
qml-sailfish/pages/*.qml \
qml-sailfish/js/*.js
}