wok diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/Qt5-dev/receipt Sun Aug 25 19:45:07 2024 +0200 1.3 @@ -0,0 +1,44 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="Qt5-dev" 1.7 +VERSION="5.14.2" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="qt5 x11 toolkit" 1.10 +MAINTAINER="maintainer@slitaz.org" 1.11 +LICENSE="GPL3 LGPL2.1" 1.12 +SUGGESTED="libmng nvidia" 1.13 +WEB_SITE="https://qt-project.org/" 1.14 +WANTED="qt5" 1.15 + 1.16 +DEPENDS="Qt5Designer jpeg tiff libpng mesa libglu-mesa \ 1.17 +freetds libmysqlclient libpostgresqlclient libunixODBC xcb-util \ 1.18 +libQt3Support libQt5Plugins libQt5DBus libQt5Help libQt5OpenGL \ 1.19 +libQt5Script libQt5Sql libQt5ScriptTools libQt5Test libQt5Widgets \ 1.20 +libQt5X11Extras qtconfig gcc83-lib-base pkg-config" 1.21 + 1.22 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.23 +genpkg_rules() 1.24 +{ 1.25 + mkdir -p $fs/usr/lib $fs/usr/include/private 1.26 + cp -a $install/usr/include $fs/usr 1.27 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.28 + cp -a $install/usr/lib/*.prl $fs/usr/lib/ 1.29 + cp -a $install/usr/share $fs/usr 1.30 + cp -a $install/usr/lib/qt5 $fs/usr/lib 1.31 + 1.32 + #private qt includes 1.33 + for i in $install/include/*/private/*; do cp $install/$(cat $i | sed 's/^#include "[./]*\([a-z].*\)"$/\1/') $fs/usr/include/private; done 1.34 + 1.35 + # all qt plugins are in libQtPlugins 1.36 + rm -rf $fs/usr/lib/qt/plugins 1.37 + # all bin and remove QT applications designer, qmake, assistant, linguist: provide seperate packages 1.38 + cp -a $install/usr/bin $fs/usr 1.39 + rm $fs/usr/bin/qmake 1.40 + rm $fs/usr/bin/designer 1.41 + # Linguist and assistant are now part of QTDesigner packages 1.42 + rm $fs/usr/bin/linguist 1.43 + rm $fs/usr/bin/assistant 1.44 + # qtconfig packaged now in separate package 1.45 + rm $fs/usr/bin/qtconfig 1.46 + rm $fs/usr/share/qt/translations/qtconfig*.qm 1.47 +}