wok-next view lxsession/receipt @ rev 20858

Update perl to current stable (5.28.0)
Exclude ever broken microperl from perl receipt
Remove old perl-thread because default perl package already use threads
lxsession-edit has gone long time ago and can be found in the lxsession package
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 27 11:17:45 2018 +0300 (2018-06-27)
parents 757d032c55c7
children f48456621a9d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="lxsession"
4 VERSION="0.5.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Standard session manager used by LXDE"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://wiki.lxde.org/en/LXSession"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/lxde/lxsession.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
15 BUILD_DEPENDS="intltool xorg-libX11-dev polkit-dev vala libxslt docbook-xsl \
16 automake gtk+-dev"
18 compile_rules() {
19 # https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/lxsession
20 # Regenerate C sources from Vala code
21 rm *.stamp
22 autoreconf -fi
24 ./configure $CONFIGURE_ARGS &&
25 make &&
26 make install || return 1
28 # customize desktop.conf for SliTaz
29 confdir="$install/etc/xdg/lxsession/LXDE"
30 mkdir -p $confdir
31 cp $src/data/desktop.conf.example $confdir/desktop.conf
32 sed -i '
33 s|^\(terminal_manager/command\).*|\1=terminal|;
34 s|^\(launcher_manager/command\).*|\1=lxpanelctl|;
35 s|^\(window_manager\).*|\1=openbox|;
36 s|^#*\(iXft/Hinting\)|\1=1|;
37 s|^\(sNet/ThemeName\).*|\1=Paper|;
38 s|^\(sNet/IconThemeName\).*|\1=SliTaz-Paper|;
39 s|^\(sGtk/FontName\).*|\1=DejaVu Sans 10|;
40 s|^#*\(iGtk/ToolbarIconSize\).*|\1=2|;
41 s|^#*\(sGtk/CursorThemeName\).*|\1=slitaz-polar|;
42 ' $confdir/desktop.conf
44 # change icon
45 sed -i 's|^Icon=.*$|Icon=session-properties|' \
46 $install/usr/share/applications/lxsession-edit.desktop
48 # config files examples
49 cp data/*.example $confdir
51 # LXDE autostart file
52 touch $confdir/autostart
53 }
55 genpkg_rules() {
56 copy @std
57 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ pango polkit \
58 xorg-libX11 dbus-glib lsb-release"
59 CONFIG_FILES="/etc/xdg/lxsession/LXDE/desktop.conf \
60 /etc/xdg/lxsession/LXDE/conffiles.conf"
61 }