wok view Qt5-dev/receipt @ rev 25740
Fix vlc build, 3.x required Qt5
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Aug 25 19:45:07 2024 +0200 (3 months ago) |
parents | |
children | 2b88f36eab80 |
line source
1 # SliTaz package receipt.
3 PACKAGE="Qt5-dev"
4 VERSION="5.14.2"
5 CATEGORY="development"
6 SHORT_DESC="qt5 x11 toolkit"
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="GPL3 LGPL2.1"
9 SUGGESTED="libmng nvidia"
10 WEB_SITE="https://qt-project.org/"
11 WANTED="qt5"
13 DEPENDS="Qt5Designer jpeg tiff libpng mesa libglu-mesa \
14 freetds libmysqlclient libpostgresqlclient libunixODBC xcb-util \
15 libQt3Support libQt5Plugins libQt5DBus libQt5Help libQt5OpenGL \
16 libQt5Script libQt5Sql libQt5ScriptTools libQt5Test libQt5Widgets \
17 libQt5X11Extras qtconfig gcc83-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/qt5 $fs/usr/lib
29 #private qt includes
30 for i in $install/include/*/private/*; do cp $install/$(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 }