forked from msys2/MINGW-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild-kf5
More file actions
executable file
·80 lines (76 loc) · 1.3 KB
/
Copy pathbuild-kf5
File metadata and controls
executable file
·80 lines (76 loc) · 1.3 KB
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
#!/usr/bin/env bash
if [[ "$1" == "shared" ]]; then
echo "Building shared"
elif [[ "$1" == "static" ]]; then
echo "Building static"
else
echo "${0} :: Error :: Please pass static or shared"
exit 1
fi
THISDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# Listed in tier-order
declare -a pkgs=(
extra-cmake-modules
ki18n-qt5
karchive-qt5
kdoctools-qt5
kcoreaddons-qt5
kauth-qt5
kcodecs-qt5
kconfig-qt5
kwidgetsaddons-qt5
kcompletion-qt5
kguiaddons-qt5
kconfigwidgets-qt5
kwindowsystem-qt5
kcrash-qt5
kdbusaddons-qt5
kservice-qt5
kglobalaccel-qt5
kitemviews-qt5
kiconthemes-qt5
sonnet-qt5
ktextwidgets-qt5
attica-qt5
kxmlgui-qt5
kbookmarks-qt5
solid-qt5
kjobwidgets-qt5
snorenotify
phonon-qt5
knotifications-qt5
kwallet-qt5
kio-qt5
kinit-qt5
kpackage-qt5
kdeclarative-qt5
kparts-qt5
kplotting-qt5
kunitconversion-qt5
threadweaver-qt5
kcmutils-qt5
kactivities-qt5
kirigami2-qt5
plasma-framework-qt5
kjs-qt5
kfilemetadata-qt5
kidletime-qt5
syntax-highlighting-qt5
syndication-qt5
knewstuff-qt5
kdnssd-qt5
kholidays-qt5
kimageformats-qt5
kitemmodels-qt5
ktexteditor-qt5
breeze-icons-qt5
kdewebkit-qt5
kate
)
for pkg in "${pkgs[@]}"; do
pushd ${THISDIR}/../mingw-w64-${pkg}
export KF5_VARIANT=$1
rm -rf *pkg*xz src pkg
makepkg-mingw -siLf --noconfirm || exit 1
popd
done