wok-next view lxsession/receipt @ rev 19819

gstreamer0: update for the new bison version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 29 12:09:11 2017 +0200 (2017-07-29)
parents 7b3799fbd0b0
children 70ab89b1aac2
line source
1 # SliTaz package receipt v2.
3 PACKAGE="lxsession"
4 VERSION="0.5.3"
5 CATEGORY="x-window"
6 SHORT_DESC="LXDE X session manager"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://wiki.lxde.org/en/LXSession"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
15 BUILD_DEPENDS="intltool xorg-libX11-dev libunique-dev polkit-dev vala libxslt \
16 docbook-xsl"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # http://www.linuxfromscratch.org/blfs/view/stable/lxde/lxsession.html
22 # Additional keys: --enable-buildin-clipboard, --enable-buildin-polkit
23 ./configure \
24 --sysconfdir=/etc \
25 --enable-buildin-clipboard \
26 --enable-buildin-polkit \
27 $CONFIGURE_ARGS &&
28 make && make install &&
30 # customize desktop.conf for SliTaz
31 mkdir -p $install/etc/xdg/lxsession/LXDE/ &&
32 cp $src/data/desktop.conf.example $install/etc/xdg/lxsession/LXDE/desktop.conf &&
33 sed -i '
34 s|^\(terminal_manager/command\).*|\1=terminal|;
35 s|^\(launcher_manager/command\).*|\1=lxpanelctl|;
36 s|^\(window_manager\).*|\1=openbox|;
37 s|^#*\(iXft/Hinting\)|\1=1|;
38 s|^\(sNet/ThemeName\).*|\1=Clearlooks Human|;
39 s|^\(sNet/IconThemeName\).*|\1=SliTaz-Faenza-Dark|;
40 s|^\(sGtk/FontName\).*|\1=DejaVu Sans 10|;
41 s|^#*\(iGtk/ToolbarIconSize\).*|\1=2|;
42 s|^#*\(sGtk/CursorThemeName\).*|\1=slitaz-polar|;
43 ' $install/etc/xdg/lxsession/LXDE/desktop.conf &&
45 # change icon
46 sed -i 's|^Icon=.*$|Icon=session-properties|' \
47 $install/usr/share/applications/lxsession-edit.desktop
48 }
50 # Rules to gen a SliTaz package suitable for Tazpkg.
51 genpkg_rules()
52 {
53 copy @std
54 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ libunique \
55 pango polkit xorg-libX11 dbus-glib lsb-release"
56 PROVIDE="lxsession-edit"
57 }