SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "Qt5-dev"

# SliTaz package receipt.

PACKAGE="Qt5-dev"
VERSION="5.14.2"
CATEGORY="development"
SHORT_DESC="qt5 x11 toolkit"
MAINTAINER="maintainer@slitaz.org"
LICENSE="GPL3 LGPL2.1"
SUGGESTED="libmng nvidia"
WEB_SITE="https://qt-project.org/"
WANTED="qt5"

DEPENDS="Qt5Designer jpeg tiff libpng mesa libglu-mesa \
freetds libmysqlclient libpostgresqlclient libunixODBC xcb-util \
libQt3Support libQt5Plugins libQt5DBus libQt5Help libQt5OpenGL \
libQt5Script libQt5Sql libQt5ScriptTools libQt5Test libQt5Widgets \
libQt5X11Extras qtconfig gcc-lib-base pkg-config"

HOST_ARCH="i486 x86_64"

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib $fs/usr/include/private
    cp -a $install/usr/include $fs/usr
    cp -a $install/usr/lib/pkgconfig  $fs/usr/lib
    cp -a $install/usr/lib/cmake  $fs/usr/lib
    cp -a $install/usr/lib/*.prl  $fs/usr/lib/    
    cp -a $install/usr/share  $fs/usr    
    cp -a $install/usr/lib/qt5 $fs/usr/lib

    #private qt includes
    find $install/usr/include/qt5 -type f | sed "/private\\//!d;s|.*|cp & $fs/usr/include/private|" | sh
    
    # all qt plugins are in libQtPlugins
    rm -rf $fs/usr/lib/qt/plugins
    # all bin and remove QT applications designer, qmake, assistant, linguist: provide seperate packages
    cp -a $install/usr/bin $fs/usr    
    rm $fs/usr/bin/qmake
    rm $fs/usr/bin/designer
    # Linguist and assistant are now part of QTDesigner packages
    rm $fs/usr/bin/linguist
    rm $fs/usr/bin/assistant
}
6091 packages and 256114 files in current database (Thu Apr 3 00:00:04 2025)