-
Notifications
You must be signed in to change notification settings - Fork 21
/
harbour-owncloud.pro
41 lines (36 loc) · 1.06 KB
/
harbour-owncloud.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
TEMPLATE = subdirs
CONFIG += ordered
# Use shared libraries and dependencies on every platform
!macx {
SUBDIRS = 3rdparty/qwebdavlib/qwebdavlib src
}
# .. except macOS
macx {
SUBDIRS = src
}
# Android OpenSSL script requirement
android {
!exists($$OUT_PWD/3rdparty/build_android_openssl.sh): \
error(The Android OpenSSL build script is missing, please copy it\
to '$$OUT_PWD/3rdparty/build_android_openssl.sh'.)
exists($$OUT_PWD/3rdparty/build_android_openssl.sh) {
!exists ($$OUT_PWD/3rdparty/openssl) {
warning(OpenSSL library missing)
system($$OUT_PWD/3rdparty/build_android_openssl.sh --help)
error(Change to the $$OUT_PWD/3rdparty directory \
and run the script manually)
}
}
}
# Ubuntu Touch click packaging
contains(CONFIG,click) {
SUBDIRS += click
}
contains(CONFIG,clickphotobackup) {
SUBDIRS += utphotobackup
}
# SailfishOS rpm packaging
OTHER_FILES += \
rpm/harbour-owncloud.changes.in \
rpm/harbour-owncloud.spec \
rpm/harbour-owncloud.yaml