wok diff libQt5Gui/receipt @ rev 25041
Up fatattr (1.0.1), puzzles (20220128)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 27 17:15:46 2022 +0000 (2022-05-27) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libQt5Gui/receipt Fri May 27 17:15:46 2022 +0000 1.3 @@ -0,0 +1,43 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libQt5Gui" 1.7 +VERSION="5.14.2" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Qt5 Gui Library." 1.10 +MAINTAINER="maintainer@slitaz.org" 1.11 +LICENSE="GPL3 LGPL3" 1.12 +WEB_SITE="https://www.qt.io/" 1.13 + 1.14 +DEPENDS="expat fontconfig freetype libpng libQt5Core xorg-libICE xorg-libSM 1.15 + xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXi 1.16 + xorg-libXrandr xorg-libXrender" 1.17 +WANTED="qt5" 1.18 + 1.19 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.20 +genpkg_rules() 1.21 +{ 1.22 + mkdir -p $fs/usr/lib/qt5/plugins/imageformats 1.23 + mkdir -p $fs/etc/skel/.config 1.24 + mkdir -p $fs/etc/xdg 1.25 + 1.26 + cp -a $install/usr/lib/libQt5Gui.so* $fs/usr/lib 1.27 + 1.28 + cp -a $install/usr/lib/qt5/plugins/imageformats/libqjpeg.so \ 1.29 + $fs/usr/lib/qt5/plugins/imageformats 1.30 + cp -a $install/usr/lib/qt5/plugins/imageformats/libqgif.so \ 1.31 + $fs/usr/lib/qt5/plugins/imageformats 1.32 + 1.33 + cp $stuff/Trolltech.conf $fs/etc/skel/.config/ 1.34 + cp $stuff/Trolltech.conf $fs/etc/xdg/ 1.35 +} 1.36 + 1.37 +post_install() 1.38 +{ 1.39 + for i in $(ls "$1/home" 2> /dev/null) 1.40 + do 1.41 + [ -f "$1/home/$i/.config/Trolltech.conf" ] && continue 1.42 + cp "$1/etc/skel/.config/Trolltech.conf" "$1/home/$i/.config" 1.43 + [ -d $PKGS_DB/gtk+ ] && sed 's|Cleanlooks|gtk|' -i "$1/home/$i/.config/Trolltech.conf" 1.44 + chroot "$1/" chown -R $(stat -c "%u.%g" "$1/home/$i") "/home/$i/.config" 1.45 + done 1.46 +}