wok annotate libQt5Gui/receipt @ rev 25155
updated proxytunnel (1.9.0 -> 1.10)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 30 15:35:33 2022 +0100 (2022-06-30) |
parents | |
children |
rev | line source |
---|---|
Hans-G?nter@23822 | 1 # SliTaz package receipt. |
Hans-G?nter@23822 | 2 |
Hans-G?nter@23822 | 3 PACKAGE="libQt5Gui" |
Hans-G?nter@23822 | 4 VERSION="5.14.2" |
Hans-G?nter@23822 | 5 CATEGORY="development" |
Hans-G?nter@23822 | 6 SHORT_DESC="Qt5 Gui Library." |
Hans-G?nter@23822 | 7 MAINTAINER="maintainer@slitaz.org" |
Hans-G?nter@23822 | 8 LICENSE="GPL3 LGPL3" |
Hans-G?nter@23822 | 9 WEB_SITE="https://www.qt.io/" |
Hans-G?nter@23822 | 10 |
Hans-G?nter@23822 | 11 DEPENDS="expat fontconfig freetype libpng libQt5Core xorg-libICE xorg-libSM |
Hans-G?nter@23822 | 12 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXi |
Hans-G?nter@23822 | 13 xorg-libXrandr xorg-libXrender" |
Hans-G?nter@23822 | 14 WANTED="qt5" |
Hans-G?nter@23822 | 15 |
Hans-G?nter@23822 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@23822 | 17 genpkg_rules() |
Hans-G?nter@23822 | 18 { |
Hans-G?nter@23822 | 19 mkdir -p $fs/usr/lib/qt5/plugins/imageformats |
Hans-G?nter@23822 | 20 mkdir -p $fs/etc/skel/.config |
Hans-G?nter@23822 | 21 mkdir -p $fs/etc/xdg |
Hans-G?nter@23822 | 22 |
Hans-G?nter@23822 | 23 cp -a $install/usr/lib/libQt5Gui.so* $fs/usr/lib |
Hans-G?nter@23822 | 24 |
Hans-G?nter@23822 | 25 cp -a $install/usr/lib/qt5/plugins/imageformats/libqjpeg.so \ |
Hans-G?nter@23822 | 26 $fs/usr/lib/qt5/plugins/imageformats |
Hans-G?nter@23822 | 27 cp -a $install/usr/lib/qt5/plugins/imageformats/libqgif.so \ |
Hans-G?nter@23822 | 28 $fs/usr/lib/qt5/plugins/imageformats |
Hans-G?nter@23822 | 29 |
Hans-G?nter@23822 | 30 cp $stuff/Trolltech.conf $fs/etc/skel/.config/ |
Hans-G?nter@23822 | 31 cp $stuff/Trolltech.conf $fs/etc/xdg/ |
Hans-G?nter@23822 | 32 } |
Hans-G?nter@23822 | 33 |
Hans-G?nter@23822 | 34 post_install() |
Hans-G?nter@23822 | 35 { |
Hans-G?nter@23822 | 36 for i in $(ls "$1/home" 2> /dev/null) |
Hans-G?nter@23822 | 37 do |
Hans-G?nter@23822 | 38 [ -f "$1/home/$i/.config/Trolltech.conf" ] && continue |
Hans-G?nter@23822 | 39 cp "$1/etc/skel/.config/Trolltech.conf" "$1/home/$i/.config" |
Hans-G?nter@23822 | 40 [ -d $PKGS_DB/gtk+ ] && sed 's|Cleanlooks|gtk|' -i "$1/home/$i/.config/Trolltech.conf" |
Hans-G?nter@23822 | 41 chroot "$1/" chown -R $(stat -c "%u.%g" "$1/home/$i") "/home/$i/.config" |
Hans-G?nter@23822 | 42 done |
Hans-G?nter@23822 | 43 } |