wok-next view lxqt/receipt @ rev 21274
gejengel: inserted modification of configure files from cooking
author | Hans-G?nter Theisgen |
---|---|
date | Sat Dec 07 15:42:09 2019 +0100 (2019-12-07) |
parents | 5669e8b3be70 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="lxqt"
4 VERSION="0.11"
5 CATEGORY="meta"
6 SHORT_DESC="LXQt metapackage"
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 WEB_SITE="https://lxqt.org/"
10 HOST_ARCH="any"
12 DEPENDS="compton-conf libfm-qt liblxqt libqtxdg libsysstat lximage-qt \
13 lxqt-about lxqt-admin lxqt-config lxqt-globalkeys lxqt-l10n lxqt-notificationd \
14 lxqt-openssh-askpass lxqt-panel lxqt-policykit lxqt-powermanagement \
15 lxqt-qtplugin lxqt-runner lxqt-session lxqt-sudo lxqt-themes pavucontrol-qt \
16 pcmanfm-qt qterminal qtermwidget lxmenu-data \
17 gvfs gvfs-udisks2 openbox qlipper xprop xset"
18 # still Qt4: obconf-qt lxqt-config-randr lxqt-appswitcher
20 SUGGESTED="copyq juffed qps qupzilla oxygen-icons \
21 lxqt-connman-applet lxqt-l10n-extra"
23 TAGS="LXQt"
25 post_install() {
26 for i in $(ls -d "$1"/home/* 2>/dev/null); do
27 [ -d "$i" ] &&
28 sed '/WINDOW_MANAGER=/s|"\([^"]*\)"|"startlxqt"|' -i \
29 "$i/.config/slitaz/applications.conf" \
30 "$1/etc/slitaz/applications.conf"
31 done
33 for a in lxpanel pcmanfm tazpkg-notify xcompmgr; do
34 if [ -e "$1/etc/xdg/autostart/$a.desktop" ]; then
35 grep -q LXQt "$1/etc/xdg/autostart/$a.desktop" ||
36 sed -i '/NotShowIn=/ s|;$|&LXQt;|' "$1/etc/xdg/autostart/$a.desktop"
37 fi
38 done
39 }
41 post_remove() {
42 for i in $(ls -d "$1"/home/* 2> /dev/null); do
43 [ -d "$i" ] &&
44 sed -i '/WINDOW_MANAGER=/ s|"\([^"]*\)"|"lxde-session"|' \
45 "$i/.config/slitaz/applications.conf" \
46 "$1/etc/slitaz/applications.conf"
47 done
48 }