wok-next view lxsession/receipt @ rev 21597
updated dosbox (0.74-2 -> 0.74.3)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 24 14:18:09 2020 +0100 (2020-06-24) |
parents | 5669e8b3be70 |
children |
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="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://wiki.lxde.org/en/LXSession"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/lxde/lxsession.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
15 BUILD_DEPENDS="intltool libx11-dev polkit-dev vala libxslt docbook-xsl \
16 automake gtk2-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 libcairo fontconfig freetype gdk-pixbuf glib gtk2 pango polkit \
58 libx11 dbus-glib lsb-release"
59 CONFIG_FILES="/etc/xdg/lxsession/LXDE/desktop.conf \
60 /etc/xdg/lxsession/LXDE/conffiles.conf"
61 }