wok view xfce4-settings/receipt @ rev 24972

Up lzsa (1.3.11)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 01 08:42:44 2022 +0000 (2022-05-01)
parents 17091bc7c301
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xfce4-settings"
4 VERSION="4.12.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Settings Manager"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.xfce.org/"
11 WGET_URL="https://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="libxfce4util libxfce4ui libexo xfconf libglade dbus-glib xorg-libXi \
14 xorg-libXrandr libnotify libwnck"
15 BUILD_DEPENDS="libxfce4util-dev libxfce4ui-dev libexo-dev xfconf-dev libglade-dev
16 dbus-glib-dev xorg-libXi-dev xorg-libXrandr-dev xorg-inputproto libnotify-dev \
17 intltool exo startup-notification-dev util-linux-uuid-dev garcon-dev xcb-util-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
23 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
24 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 cd $src
31 ./configure --prefix=/usr \
32 --sysconfdir=/etc \
33 --enable-xcursor \
34 --enable-libnotify \
35 --enable-xrandr \
36 --enable-libxklavier \
37 --enable-sound-settings \
38 --disable-debug \
39 --disable-static \
40 --mandir=/usr/share/man $CONFIGURE_ARGS && \
41 make && make DESTDIR=$DESTDIR install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr \
48 $fs/usr/share/locale
50 cp -a $install/etc $fs/
51 cp -a $install/usr/bin $fs/usr
52 cp -a $install/usr/share/applications $fs/usr/share
54 if [ -f $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml ]; then
55 sed -i 's/Xfce/Clearlooks/' $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
56 sed -i 's/Rodent/Tango/' $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
57 fi
59 }