wok annotate libQtGui/receipt @ rev 17436

avidemux , minitube: update bdeps
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sun Dec 07 18:17:48 2014 +0100 (2014-12-07)
parents 71049baa9438
children 9e01bc6321ea
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 {
psychomaniak@17127 32 for i in $(ls $1/home 2> /dev/null); do
psychomaniak@17127 33 [ -f /home/$i/.config/Trolltech.conf ] && continue
psychomaniak@17127 34 cp $1/etc/skel/.config/Trolltech.conf $1/home/$i/.config
pascal@17249 35 chroot $1/ chown -R $(stat -c "%u.%g" $1/home/$i) /home/$i/.config
psychomaniak@17127 36 done
psychomaniak@17127 37 }