-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathharbour-simplecrop.pro
80 lines (69 loc) · 2.49 KB
/
harbour-simplecrop.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
# NOTICE:
#
# Application name defined in TARGET has a corresponding QML filename.
# If name defined in TARGET is changed, the following needs to be done
# to match new name:
# - corresponding QML filename must be changed
# - desktop icon filename must be changed
# - desktop filename must be changed
# - icon definition filename in desktop file must be changed
# - translation filenames have to be changed
# The name of your application
TARGET = harbour-simplecrop
CONFIG += sailfishapp
SOURCES += src/harbour-simplecrop.cpp \
DISTFILES += qml/harbour-simplecrop.qml \
qml/cover/CoverPage.qml \
qml/pages/AboutPage.qml \
qml/pages/ChannelBench.qml \
qml/pages/CollageBench.qml \
qml/pages/ColorcurveBench.qml \
qml/pages/EffectsBench.qml \
qml/pages/FilterBench.qml \
qml/pages/FirstPage.qml \
qml/pages/InfoPage.qml \
qml/pages/MetadataPage.qml \
qml/pages/NewPage.qml \
qml/pages/PixelBench.qml \
qml/pages/RenamePage.qml \
qml/pages/SavePage.qml \
qml/pages/ViewPage.qml \
qml/pages/perspectivetransformhelper.js \
rpm/harbour-simplecrop.changes.in \
rpm/harbour-simplecrop.changes.run.in \
rpm/harbour-simplecrop.spec \
translations/*.ts \
harbour-simplecrop.desktop \
SAILFISHAPP_ICONS = 86x86 108x108 128x128 172x172
# to disable building translations every time, comment out the
# following CONFIG line
CONFIG += sailfishapp_i18n
# German translation is enabled as an example. If you aren't
# planning to localize your app, remember to comment out the
# following TRANSLATIONS line. And also do not forget to
# modify the localized app name in the the .desktop file.
TRANSLATIONS += translations/harbour-simplecrop-de.ts \
translations/harbour-simplecrop-zh_CN.ts \
translations/harbour-simplecrop-pl.ts
HEADERS +=
# include library according to architecture (arm, i486_32bit, arm64)
#pil_static.path = lib/*
#equals(QT_ARCH, arm64): {
# pil_static.files = lib/arm64/*
# message("!!!architecture arm64 detected!!!");
#}
# for instance ffmpeg_static.path = /usr/share/harbour-clipper/lib/ffmpeg
# INSTALLS += pil_static
# include a static library
equals(QT_ARCH, i386): {
python.files = lib/x86_32/*
DISTFILES += lib/PIL/x86_32/PIL/* \
message("!!!architecture x86 / 32bit detected!!!");
}
equals(QT_ARCH, arm): {
python.files = lib/arm32/*
DISTFILES += lib/arm32/PIL/* \
message("!!!architecture armv7hl detected!!!");
}
python.path = "/usr/share/harbour-simplecrop/lib"
INSTALLS += python