wok-current annotate libQtGui/receipt @ rev 19510

syslinux/taziso: hide some error messages
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 21 13:31:22 2016 +0100 (2016-11-21)
parents 9e01bc6321ea
children 9cb6a23202c2
rev   line source
allan316@1360 1 # SliTaz package receipt.
allan316@1360 2
allan316@1360 3 PACKAGE="libQtGui"
psychomaniak@16916 4 VERSION="4.8.6"
allan316@1360 5 CATEGORY="development"
allan316@1360 6 SHORT_DESC="Qt Gui Library"
allan316@1360 7 MAINTAINER="allan316@gmail.com"
pascal@15215 8 LICENSE="GPL3 LGPL2.1"
pascal@15215 9 WANTED="qt4"
pascal@15215 10
pascal@2479 11 DEPENDS="libQtCore expat fontconfig freetype xorg-libICE xorg-libSM \
pascal@2479 12 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXi xorg-libXrandr \
psychomaniak@17126 13 xorg-libXrender libpng"
monghitri@13992 14 WEB_SITE="http://qt-project.org/"
allan316@1360 15
allan316@1360 16 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@1360 17 genpkg_rules()
allan316@1360 18 {
allan316@1360 19 mkdir -p $fs/usr/lib
pascal@15215 20 cp -a $install/usr/lib/libQtGui.so* $fs/usr/lib
psychomaniak@16917 21
psychomaniak@16917 22 mkdir -p $fs/usr/lib/qt/plugins/imageformats
psychomaniak@17127 23 cp -a $install/usr/lib/qt/plugins/imageformats/libqjpeg.so $fs/usr/lib/qt/plugins/imageformats
psychomaniak@17127 24 cp -a $install/usr/lib/qt/plugins/imageformats/libqgif.so $fs/usr/lib/qt/plugins/imageformats
psychomaniak@17127 25
psychomaniak@17127 26 mkdir -p $fs/etc/skel/.config
psychomaniak@17127 27 cp -a $stuff/Trolltech.conf $fs/etc/skel/.config
allan316@1360 28 }
allan316@1360 29
psychomaniak@17127 30 post_install()
psychomaniak@17127 31 {
pascal@18730 32 for i in $(ls "$1/home" 2> /dev/null); do
pascal@18816 33 [ -f "$1/home/$i/.config/Trolltech.conf" ] && continue
pascal@18730 34 cp "$1/etc/skel/.config/Trolltech.conf" "$1/home/$i/.config"
pascal@18730 35 chroot "$1/" chown -R $(stat -c "%u.%g" "$1/home/$i") "/home/$i/.config"
psychomaniak@17127 36 done
psychomaniak@17127 37 }