wok view Qt5-dev/receipt @ rev 25784
Qt5-dev: add cmake files
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 24 14:47:04 2024 +0000 (8 weeks ago) |
parents | 2b88f36eab80 |
children |
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/cmake $fs/usr/lib
26 cp -a $install/usr/lib/*.prl $fs/usr/lib/
27 cp -a $install/usr/share $fs/usr
28 cp -a $install/usr/lib/qt5 $fs/usr/lib
30 #private qt includes
31 find $install/usr/include/qt5 -type f | sed "/private\\//!d;s|.*|cp & $fs/usr/include/private|" | sh
33 # all qt plugins are in libQtPlugins
34 rm -rf $fs/usr/lib/qt/plugins
35 # all bin and remove QT applications designer, qmake, assistant, linguist: provide seperate packages
36 cp -a $install/usr/bin $fs/usr
37 rm $fs/usr/bin/qmake
38 rm $fs/usr/bin/designer
39 # Linguist and assistant are now part of QTDesigner packages
40 rm $fs/usr/bin/linguist
41 rm $fs/usr/bin/assistant
42 }