wok-next diff lxqt/receipt @ rev 17245

Add lxqt (meta), make qt4-examples: screenshot, findfiles, charactermap
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sun Oct 19 01:51:31 2014 +0200 (2014-10-19)
parents
children e5d0fa35dcd1
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/lxqt/receipt	Sun Oct 19 01:51:31 2014 +0200
     1.3 @@ -0,0 +1,48 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="lxqt"
     1.7 +VERSION="0.8.0"
     1.8 +CATEGORY="meta"
     1.9 +SHORT_DESC="LXQt metapackage + userconfig slim-install."
    1.10 +MAINTAINER="psychomaniak@xakep.ru"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="http://lxqt.org"
    1.13 +TAGS="LXQt"
    1.14 +
    1.15 +DEPENDS="gvfs lximage-qt libQtMimeTypes liblxqt liblxqt-mount lxqt-about \
    1.16 +lxqt-admin lxqt-appswitcher lxqt-common lxqt-config lxqt-config-randr \
    1.17 +lxqt-globalkeys lxqt-notificationd lxqt-openssh-askpass lxqt-panel \
    1.18 +lxqt-policykit lxqt-powermanagement lxqt-qtplugin lxqt-runner lxqt-session \
    1.19 +lxqt-themes openbox obconf-qt oxygen-icons qlipper qtconfig pcmanfm-qt \
    1.20 +xorg-xprop xorg-xset"
    1.21 +
    1.22 +SUGGESTED="copyq juffed qterminal qps qupzilla"
    1.23 +
    1.24 +genpkg_rules()
    1.25 +{
    1.26 +	mkdir -p $fs/etc
    1.27 +}
    1.28 +
    1.29 +post_install()
    1.30 +{
    1.31 +	for i in $(ls -d $1/root $1/home/* 2> /dev/null);
    1.32 +	do [ -d $i ] && \
    1.33 +	sed '/WINDOW_MANAGER=/s|"\([^"]*\)"|"startlxqt"|' -i \
    1.34 +	$i/.config/slitaz/applications.conf \
    1.35 +	$1/etc/slitaz/applications.conf
    1.36 +	done
    1.37 +	
    1.38 +	for a in lxpanel pcmanfm tazpkg-notify xcompmgr; do
    1.39 +	sed '/NotShowIn=/s|;$|&LXQt;|' -i $1/etc/xdg/autostart/$a.desktop
    1.40 +	done
    1.41 +}
    1.42 +
    1.43 +post_remove()
    1.44 +{
    1.45 +	for i in $(ls -d $1/root $1/home/* 2> /dev/null);
    1.46 +	do [ -d $i ] && \
    1.47 +	sed '/WINDOW_MANAGER=/s|"\([^"]*\)"|"lxde-session"|' -i \
    1.48 +	$i/.config/slitaz/applications.conf \
    1.49 +	$1/etc/slitaz/applications.conf
    1.50 +	done
    1.51 +}