wok view xfce4-session/receipt @ rev 25798
updated xfce4-settings-dev (4.12.0 -> 4.12.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 17:32:01 2024 +0100 (3 weeks ago) |
parents | 291cceed840e |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xfce4-session"
4 VERSION="4.12.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce session manager."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://docs.xfce.org/xfce/xfce4-session/start"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
14 SUGGESTED="perl-xml-parser xfce-session-lang"
15 DEPENDS="dbus-glib libglade libwnck libxfce4ui libxfce4util xorg-iceauth"
16 BUILD_DEPENDS="dbus-dev dbus-glib-dev intltool libglade-dev libwnck-dev
17 libxfce4ui-dev libxfce4util-dev pkg-config util-linux-uuid-dev
18 xcb-util-dev xfconf-dev xorg-iceauth"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE 2>/dev/null |
24 sed '/released/!d;s| released.*||;s|.*session ||'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 # 4.12.0 --enable-panel-plugin removed as unrecognised
31 # 4.12.0 --disable-gnome removed as unrecognised
32 ./configure \
33 --prefix=/usr \
34 --mandir=/usr/share/man \
35 --sysconfdir=/etc \
36 --libexecdir=/usr/lib/$PACKAGE \
37 --disable-debug \
38 --enable-nls \
39 $CONFIGURE_ARGS &&
40 make &&
41 make install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 cook_copy_folders bin
48 cook_copy_folders etc
49 cook_copy_files *.so*
50 cp -a $install/usr/lib/xfce4 $fs/usr/lib
51 rm -rf $fs/usr/lib/xfce4/session/splash-engines/*.la
52 cook_copy_folders icons
53 cook_copy_folders themes
54 cook_copy_folders xsessions
56 # xfce4-session-logout workaround
57 mkdir $fs/sbin
58 cp stuff/shutdown $fs/sbin
60 # strip all files
61 #strip -s $fs/usr/lib/$PACKAGE/xf*
63 # remove autostartfile
64 rm -f $fs/etc/xdg/autostart/*
66 # Remove SVG icons
67 rm -rf $fs/usr/share/icons/hicolor/scalable
68 }