]> git.pld-linux.org Git - packages/rpm-build-tools.git/blob - update-qt5.sh
qt5 update tool
[packages/rpm-build-tools.git] / update-qt5.sh
1 #!/bin/sh
2 # Update qt5 packages
3 #
4 # Author: Elan Ruusamäe <glen@pld-linux.org>
5 # 2015-06-13 Created initial version
6
7 set -e
8
9 # grep Version:.*5.4 ~/all-specs/qt5*.spec -l|xargs -I {} basename {} .spec
10 packages="
11 qt5-qtbase
12
13 qt5-qtconnectivity
14 qt5-qtdeclarative
15 qt5-qtdoc
16 qt5-qtenginio
17 qt5-qtgraphicaleffects
18 qt5-qtimageformats
19 qt5-qtlocation
20 qt5-qtmultimedia
21 qt5-qtscript
22 qt5-qtsensors
23 qt5-qtserialport
24 qt5-qtsvg
25 qt5-qttools
26 qt5-qtwayland
27 qt5-qtwebchannel
28 qt5-qtwebkit-examples
29 qt5-qtwebkit
30 qt5-qtwebsockets
31 qt5-qtx11extras
32 qt5-qtxmlpatterns
33
34 qt5-qtquick1
35 qt5-qtquickcontrols
36 "
37
38 dir=$(dirname "$0")
39 APPDIR=$(d=$0; [ -L "$d" ] && d=$(readlink -f "$d"); dirname "$d")
40 PATH=$APPDIR:$PATH
41 topdir=$(rpm -E '%{_topdir}')
42
43 # get package, no sources
44 get_package() {
45         local pkg=$1 out
46         out=$(builder -g -ns $pkg 2>&1) || echo "$out"
47 }
48
49 cd "$topdir"
50 for pkg in ${*:-$packages}; do
51         pkg=${pkg%.spec}
52         echo "* $pkg"
53
54         get_package $pkg
55         cd $pkg
56         specfile=*.spec
57
58         cd ..
59 done
This page took 0.038859 seconds and 4 git commands to generate.