wok-next rev 21428
updated qt5 (5.10.1 -> 5.14.2)
author | Hans-G?nter Theisgen |
---|---|
date | Tue May 05 08:54:54 2020 +0100 (2020-05-05) |
parents | 12eb4c026405 |
children | cd45b14b68c9 |
files | qt5/receipt |
line diff
1.1 --- a/qt5/receipt Tue May 05 08:11:24 2020 +0100 1.2 +++ b/qt5/receipt Tue May 05 08:54:54 2020 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="qt5" 1.7 -VERSION="5.13.0" 1.8 +VERSION="5.14.2" 1.9 CATEGORY="meta" 1.10 SHORT_DESC="Cross-platform application framework." 1.11 MAINTAINER="al.bobylev@gmail.com" 1.12 @@ -15,11 +15,11 @@ 1.13 PATCH="Do-not-make-lack-of-SSE2-support-on-x86-32-fatal.patch" 1.14 PATCH_URL="https://anonscm.debian.org/cgit/pkg-kde/qt/qtdeclarative.git/plain/debian/patches/" 1.15 1.16 -BUILD_DEPENDS="alsa-lib-dev cups-dev dbus-dev eudev-dev glib-dev \ 1.17 - gst1-plugins-base-dev gtk3-dev icu-dev fontconfig-dev \ 1.18 - freetype-dev harfbuzz-dev libinput-dev libjpeg-turbo-dev \ 1.19 - libpng-dev libx11-dev libxcb-dev libxcomposite-dev libxkbcommon-dev \ 1.20 - libxrender-dev mesa-dev openssl-dev pcre-dev sqlite3-dev tslib-dev \ 1.21 +BUILD_DEPENDS="alsa-lib-dev cups-dev dbus-dev eudev-dev glib-dev 1.22 + gst1-plugins-base-dev gtk3-dev fontconfig-dev freetype-dev 1.23 + harfbuzz-dev icu-dev libinput-dev libjpeg-turbo-dev libpng-dev 1.24 + libx11-dev libxcb-dev libxcomposite-dev libxkbcommon-dev 1.25 + libxrender-dev mesa-dev openssl-dev pcre-dev sqlite3-dev tslib-dev 1.26 zlib-dev" 1.27 1.28 # Name split packages according to sources structure, for example: 1.29 @@ -49,9 +49,12 @@ 1.30 \ 1.31 $PACKAGE-doc $PACKAGE-dev" 1.32 1.33 -compile_rules() { 1.34 +compile_rules() 1.35 +{ 1.36 export QT5PREFIX=/usr # or /opt/qt5 1.37 - if [ "$QT5PREFIX" == '/usr' ]; then 1.38 + 1.39 + if [ "$QT5PREFIX" == '/usr' ] 1.40 + then 1.41 QT5OPTS="\ 1.42 -archdatadir /usr/lib/qt5 \ 1.43 -bindir /usr/bin \ 1.44 @@ -84,19 +87,19 @@ 1.45 # sed -e '/CMAKE_NO_PRIVATE_INCLUDES\ \=\ true/d' -i \ 1.46 # qtbase/mkspecs/features/create_cmake.prf 1.47 1.48 - ./configure \ 1.49 - -prefix $QT5PREFIX \ 1.50 - $QT5OPTS \ 1.51 - -sysconfdir /etc/xdg \ 1.52 - -confirm-license \ 1.53 - -opensource \ 1.54 - -dbus-linked \ 1.55 - -openssl-linked \ 1.56 - -system-harfbuzz \ 1.57 - -system-sqlite \ 1.58 - -nomake examples \ 1.59 - -no-rpath \ 1.60 - -no-sse2 \ 1.61 + ./configure \ 1.62 + -prefix $QT5PREFIX \ 1.63 + $QT5OPTS \ 1.64 + -sysconfdir /etc/xdg \ 1.65 + -confirm-license \ 1.66 + -opensource \ 1.67 + -dbus-linked \ 1.68 + -openssl-linked \ 1.69 + -system-harfbuzz \ 1.70 + -system-sqlite \ 1.71 + -nomake examples \ 1.72 + -no-rpath \ 1.73 + -no-sse2 \ 1.74 -skip qtwebengine && 1.75 make -j 1 && 1.76 make INSTALL_ROOT=$install install || return 1 1.77 @@ -112,30 +115,38 @@ 1.78 1.79 install -v -dm755 $install/usr/share/pixmaps/ 1.80 1.81 - install -v -Dm644 qttools/src/assistant/assistant/images/assistant-128.png $install/usr/share/pixmaps/assistant-qt5.png 1.82 - install -v -Dm644 qttools/src/designer/src/designer/images/designer.png $install/usr/share/pixmaps/designer-qt5.png 1.83 - install -v -Dm644 qttools/src/linguist/linguist/images/icons/linguist-128-32.png $install/usr/share/pixmaps/linguist-qt5.png 1.84 - install -v -Dm644 qttools/src/qdbus/qdbusviewer/images/qdbusviewer-128.png $install/usr/share/pixmaps/qdbusviewer-qt5.png 1.85 + install -v -Dm644 qttools/src/assistant/assistant/images/assistant-128.png \ 1.86 + $install/usr/share/pixmaps/assistant-qt5.png 1.87 + install -v -Dm644 qttools/src/designer/src/designer/images/designer.png \ 1.88 + $install/usr/share/pixmaps/designer-qt5.png 1.89 + install -v -Dm644 qttools/src/linguist/linguist/images/icons/linguist-128-32.png \ 1.90 + $install/usr/share/pixmaps/linguist-qt5.png 1.91 + install -v -Dm644 qttools/src/qdbus/qdbusviewer/images/qdbusviewer-128.png \ 1.92 + $install/usr/share/pixmaps/qdbusviewer-qt5.png 1.93 1.94 mkdir -p $install/usr/share/applications 1.95 - for i in $stuff/apps/*.desktop.in; do 1.96 + for i in $stuff/apps/*.desktop.in 1.97 + do 1.98 sed "s|@QT5BINDIR@|$QT5BINDIR|" $i > $install/usr/share/applications/$(basename $i .in) 1.99 - done 1.100 + done 1.101 1.102 - for file in moc uic rcc qmake lconvert lrelease lupdate; do 1.103 - if [ "$QT5BINDIR" == '/usr/bin' ]; then 1.104 - ln -sfvn $file $install/usr/bin/$file-qt5 1.105 + for file in moc uic rcc qmake lconvert lrelease lupdate 1.106 + do 1.107 + if [ "$QT5BINDIR" == '/usr/bin' ] 1.108 + then 1.109 + ln -sfvn $file $install/usr/bin/$file-qt5 1.110 else 1.111 - ln -sfvn $QT5BINDIR/$file $install/usr/bin/$file-qt5 1.112 + ln -sfvn $QT5BINDIR/$file $install/usr/bin/$file-qt5 1.113 fi 1.114 - done 1.115 + done 1.116 1.117 # tweak permissions 1.118 find $install -type f -perm 664 -exec chmod 644 '{}' \; 1.119 find $install -type f -perm 775 -exec chmod 755 '{}' \; 1.120 } 1.121 1.122 -genpkg_rules() { 1.123 +genpkg_rules() 1.124 +{ 1.125 # How to split Qt5? 1.126 # It contains: 41 executables in bin/, 61 different libraries in lib/, 1.127 # 27 folders in plugins/, 27 languages in translations/. 1.128 @@ -143,7 +154,7 @@ 1.129 # 1.130 # Let's deep into $src... 1.131 # Each folder here is a module (with rare exceptions). 41 pieces. 1.132 - # Let use these folders as a landmark to make Qt5 packages. 1.133 + # Let us use these folders as a landmark to make Qt5 packages. 1.134 # Each folder may contain: executables (examine bin/ subfolder), libraries 1.135 # (lib/), plugins (plugins/), and qml (not sure what is it, but examine 1.136 # qml/ subfolder). Note, some qml directories may be shared across different 1.137 @@ -166,13 +177,13 @@ 1.138 es) lo='Spanish';; fa) lo='Persian';; 1.139 fi) lo='Finnish';; fr) lo='French';; 1.140 gl) lo='Galician';; he) lo='Hebrew';; 1.141 - hu) lo='Hungarian';; it) lo='Italian';; 1.142 + hu) lo='Hungarian';; it) lo='Italian';; 1.143 ja) lo='Japanese';; ko) lo='Korean';; 1.144 - lt) lo='Lithuanian';; lv) lo='Latvian';; 1.145 + lt) lo='Lithuanian';; lv) lo='Latvian';; 1.146 pl) lo='Polish';; pt) lo='Portuguese';; 1.147 ru) lo='Russian';; sk) lo='Slovak';; 1.148 - sl) lo='Slovenian';; sv) lo='Swedish';; 1.149 - uk) lo='Ukrainian';; zh_CN) lo='Chinese simplified';; 1.150 + sl) lo='Slovenian';; sv) lo='Swedish';; 1.151 + uk) lo='Ukrainian';; zh_CN) lo='Chinese simplified';; 1.152 zh_TW) lo='Chinese traditional';; 1.153 esac 1.154 CAT="localization|$lo locale"