forked from custodian/orn-warehouse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
harbour-warehouse.pro
85 lines (63 loc) · 2.14 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
73
74
75
76
77
78
79
80
81
82
83
84
85
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/qml
js.files = qml/js
js.path = $$INSTALL_ROOT/usr/share/harbour-warehouse/qml
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
polkit.files = rpm/50-net.openrepos.warehouse-packagekit.pkla
polkit.path = $$INSTALL_ROOT/var/lib/polkit-1/localauthority/50-local.d
INSTALLS = zypp target qml js desktop icon polkit #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/harbour-warehouse.changes \
rpm/openrepos.enabled
OTHER_FILES += \
harbour-warehouse.desktop \
qml/sailfish/main-sailfish.qml \
qml/sailfish/components/*.qml \
qml/sailfish/pages/*.qml \
qml/js/*.js
############## translations settings ##################
lupdate_only {
SOURCES = qml/sailfish/main-sailfish.qml \
qml/sailfish/components/*.qml \
qml/sailfish/pages/*.qml \
qml/js/*.js
}
#for qtcreator
INCLUDEPATH += $$[QT_HOST_PREFIX]/include/PackageKit/packagekit-qt5