forked from nemomobile-ux/nemo-packaging
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deploy.sh
executable file
·199 lines (187 loc) · 6.09 KB
/
deploy.sh
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
#!/bin/bash
if [[ "$(whoami)" != "${BUILD_USER-root}" ]]; then
echo "Error: This script must be run with ${BUILD_USER-root} priveleges" >&2
exit 1
fi
function build_aarch64_fn() {
rm /var/lib/manjaro-arm-tools/pkg/aarch64/var/cache/pacman/pkg/*
buildarmpkg -k -p $*
rsync /var/cache/manjaro-arm-tools/pkg/aarch64/ /var/lib/manjaro-arm-tools/pkg/aarch64/srv/repo/ -r
rm /var/lib/manjaro-arm-tools/pkg/aarch64/srv/repo/selfbuild.db.tar.xz
repo-add /var/lib/manjaro-arm-tools/pkg/aarch64/srv/repo/selfbuild.db.tar.xz /var/lib/manjaro-arm-tools/pkg/aarch64/srv/repo/*.zst
manjaro-chroot /var/lib/manjaro-arm-tools/pkg/aarch64/ pacman -Syyu --noconfirm
}
if [ "$BUILDARCH" == "aarch64" ]; then
echo "Build for arm64 arch"
BUILD="${BUILD-build_aarch64_fn}"
else
echo "Build for $(uname -m) arch"
BUILD="${BUILD-buildpkg -n -p}"
fi
# NemoMobile packages
eval "$BUILD nemo-theme-glacier"
eval "$BUILD qt6-old-features"
eval "$BUILD polkit-qt6-git"
eval "$BUILD libphonenumber-nemo"
eval "$BUILD libglibutil"
eval "$BUILD libwspcodec"
eval "$BUILD libdbusaccess"
eval "$BUILD libdbuslog"
eval "$BUILD qt6-feedback"
eval "$BUILD ofono"
if [ "$BUILDARCH" != "aarch64" ]; then
eval "$BUILD libofono-qt"
eval "$BUILD telepathy-ofono"
fi
eval "$BUILD nemo-qml-plugin-social"
eval "$BUILD nemo-qml-plugin-dbus"
eval "$BUILD geoclue1"
eval "$BUILD nemo-qml-plugin-settings"
eval "$BUILD nemo-qml-plugin-folderlistmodel"
eval "$BUILD libresource"
eval "$BUILD libresourceqt"
eval "$BUILD amber-mpris"
eval "$BUILD qtmpris"
eval "$BUILD mce-headers"
eval "$BUILD libdsme"
eval "$BUILD libiphb"
eval "$BUILD nemo-keepalive"
eval "$BUILD nemo-qml-plugin-devicelock"
eval "$BUILD glacier-devicelock-plugin"
eval "$BUILD mlite"
eval "$BUILD nemo-qml-plugin-thumbnailer"
eval "$BUILD qtdocgallery"
eval "$BUILD nemo-qml-plugin-configuration"
eval "$BUILD nemo-qml-plugin-statusnotifier"
eval "$BUILD libiodata"
eval "$BUILD sailfish-access-control"
eval "$BUILD tzdata-timed"
eval "$BUILD timed"
eval "$BUILD nemo-qml-plugin-time"
eval "$BUILD qt5-pim"
eval "$BUILD libmlocale"
eval "$BUILD nemo-qml-plugin-models"
eval "$BUILD libngf"
eval "$BUILD systemctl-user"
eval "$BUILD usb-moded"
eval "$BUILD mce"
eval "$BUILD dsme"
eval "$BUILD libmce-qt"
eval "$BUILD libaccounts-qt6"
eval "$BUILD signond6"
eval "$BUILD buteo-syncfw"
eval "$BUILD sensorfw"
if [ "$BUILDARCH" != "aarch64" ]; then
eval "$BUILD qt5-sensors"
fi
eval "$BUILD qt5-sensors-sensorfw"
eval "$BUILD qtcontacts-sqlite"
eval "$BUILD nemo-qml-plugin-notifications"
eval "$BUILD libqofono-qt5"
eval "$BUILD libqofonoext"
eval "$BUILD libconnman-qt"
eval "$BUILD geoclue1-providers-mlsdb"
eval "$BUILD libngf-qt"
eval "$BUILD libusb-moded-qt"
eval "$BUILD profiled-settings-nemo"
eval "$BUILD profiled"
eval "$BUILD qt5-systems"
eval "$BUILD nemo-qml-plugin-connectivity"
eval "$BUILD nemo-qml-plugin-systemsettings"
eval "$BUILD buteo-mtp"
eval "$BUILD buteo-sync-plugin-carddav"
eval "$BUILD nemo-qml-plugin-contacts"
eval "$BUILD libprofile-qt"
eval "$BUILD qt-mobility-haptics-ffmemless"
eval "$BUILD pulsecore-headers"
eval "$BUILD pulseaudio-module-keepalive"
eval "$BUILD pulseaudio-modules-nemo"
eval "$BUILD pulseaudio-policy-enforcement"
eval "$BUILD swi-prolog7"
eval "$BUILD libprolog"
eval "$BUILD libtrace-ohm"
eval "$BUILD mce-plugin-libhybris-nondroid"
eval "$BUILD ohm"
eval "$BUILD libdres-ohm"
eval "$BUILD policy-settings-common"
eval "$BUILD ohm-plugins-misc"
eval "$BUILD ohm-rule-engine"
eval "$BUILD fingerterm"
eval "$BUILD ngfd"
eval "$BUILD ngfd-settings-nemo"
eval "$BUILD ngfd-plugin-native-vibrator"
eval "$BUILD libcommhistory"
eval "$BUILD commhistory-daemon"
eval "$BUILD qmf-qt5"
eval "$BUILD nemo-qml-plugin-accounts"
eval "$BUILD nemo-qml-plugin-messages"
eval "$BUILD mkcal6"
eval "$BUILD contactsd"
eval "$BUILD telepathy-mission-control"
eval "$BUILD telepathy-ring"
eval "$BUILD voicecall"
eval "$BUILD nemo-qml-plugin-email"
eval "$BUILD usb-tethering"
eval "$BUILD qt5-feedback-haptics-native-vibrator"
eval "$BUILD libsocialcache"
eval "$BUILD buteo-sync-plugins-social"
eval "$BUILD nemo-qml-plugin-alarms"
eval "$BUILD nemo-qml-plugin-calendar"
eval "$BUILD nemo-qml-plugin-fingerprint"
eval "$BUILD nemo-qml-plugin-signon"
eval "$BUILD presage2"
eval "$BUILD presage2-lang"
#Glacier UX packages
eval "$BUILD nemo-theme-openmoko"
eval "$BUILD google-opensans-fonts"
eval "$BUILD qt5-glacier-app-git"
eval "$BUILD qt5-quickcontrols-nemo-git"
eval "$BUILD glacier-calc-git"
eval "$BUILD glacier-filemuncher-git"
eval "$BUILD glacier-camera-git"
eval "$BUILD glacier-music-git"
eval "$BUILD glacier-polkit-agent"
eval "$BUILD glacier-packagemanager-git"
eval "$BUILD glacier-gallery-git"
eval "$BUILD qt5-quickcontrols-nemo-examples-git"
eval "$BUILD glacier-pinquery-git"
eval "$BUILD glacier-settings-git"
eval "$BUILD glacier-settings-developermode-git"
eval "$BUILD qt5-lipstick-git"
eval "$BUILD maliit-framework-qt6"
eval "$BUILD maliit-nemo-keyboard-git"
eval "$BUILD maliit-input-context-gtk"
eval "$BUILD glacier-testtool-git"
eval "$BUILD lipstick-glacier-home-git"
eval "$BUILD glacier-wayland-session-git"
eval "$BUILD glacier-contacts-git"
eval "$BUILD glacier-messages-git"
eval "$BUILD glacier-dialer-git"
eval "$BUILD glacier-mail-git"
eval "$BUILD glacier-browser-git"
eval "$BUILD glacier-weather-git"
eval "$BUILD glacier-calendar-git"
eval "$BUILD glacier-alarmclock-git"
eval "$BUILD glacier-alarm-listener-git"
eval "$BUILD glacier-settings-accounts-git"
# pure-maps packages
if [ "$BUILDARCH" != "aarch64" ]; then
eval "$BUILD python-otherside"
fi
eval "$BUILD gpxpy"
eval "$BUILD s2geometry"
eval "$BUILD maplibre-gl-native"
eval "$BUILD mapbox-gl-qml"
eval "$BUILD pure-maps-git"
# arm specific packages
if [ "$BUILDARCH" == "aarch64" ]; then
eval "$BUILD bootsplash-theme-nemo" # for x86_64 plymouth-theme-
eval "$BUILD hybris/android-headers"
eval "$BUILD hybris/libhybris"
eval "$BUILD hybris/qt5-qpa-hwcomposer-plugin"
eval "$BUILD devices/nemo-device-pinephone"
eval "$BUILD devices/nemo-device-pinetab"
eval "$BUILD cutiepi-kernel-config"
eval "$BUILD cutiepi-cutoff"
eval "$BUILD devices/nemo-device-cutiepi"
fi