wok-current view Qt4-dev/receipt @ rev 25659

Update expat CVE-2023-52425,CVE-2023-52426, patch libxml2 CVE-2024-25062
author Stanislas Leduc <shann@slitaz.org>
date Sun Feb 18 10:03:28 2024 +0000 (10 months ago)
parents cb67b4f8be05
children 5926178cd6fa
line source
1 # SliTaz package receipt.
3 PACKAGE="Qt4-dev"
4 VERSION="4.8.7"
5 CATEGORY="development"
6 SHORT_DESC="qt x11 toolkit"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL3 LGPL2.1"
9 SUGGESTED="libmng nvidia"
10 WEB_SITE="https://qt-project.org/"
11 WANTED="qt4"
13 DEPENDS="QtDesigner jpeg tiff libpng mesa libglu-mesa \
14 freetds libmysqlclient libpostgresqlclient libunixODBC xcb-util \
15 libQt3Support libQtClucene libQtPlugins libQtDBus libQtHelp libQtOpenGL \
16 libQtScript libQtSql libQtScriptTools libQtWebkit libQtTest \
17 qtconfig gcc-lib-base pkg-config"
19 # Rules to gen a SliTaz package suitable for Tazpkg.
20 genpkg_rules()
21 {
22 mkdir -p $fs/usr/lib $fs/usr/include/private
23 cp -a $install/usr/include $fs/usr
24 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
25 cp -a $install/usr/lib/*.prl $fs/usr/lib/
26 cp -a $install/usr/share $fs/usr
27 cp -a $install/usr/lib/qt $fs/usr/lib
29 #private qt includes
30 for i in $src/include/*/private/*; do cp $src/$(cat $i | sed 's/^#include "[./]*\([a-z].*\)"$/\1/') $fs/usr/include/private; done
32 # all qt plugins are in libQtPlugins
33 rm -rf $fs/usr/lib/qt/plugins
34 # all bin and remove QT applications designer, qmake, assistant, linguist: provide seperate packages
35 cp -a $install/usr/bin $fs/usr
36 rm $fs/usr/bin/qmake
37 rm $fs/usr/bin/designer
38 # Linguist and assistant are now part of QTDesigner packages
39 rm $fs/usr/bin/linguist
40 rm $fs/usr/bin/assistant
41 # qtconfig packaged now in separate package
42 rm $fs/usr/bin/qtconfig
43 rm $fs/usr/share/qt/translations/qtconfig*.qm
44 }