SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xfce4-settings"

# SliTaz package receipt.

PACKAGE="xfce4-settings"
VERSION="4.12.4"
CATEGORY="x-window"
SHORT_DESC="Xfce Settings Manager."
MAINTAINER="erjo@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://docs.xfce.org/xfce/xfce4-settings/start"

TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="https://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"

SUGGESTED="xfce4-settings-lang"
DEPENDS="dbus-glib libexo libglade libnotify libwnck libxfce4ui libxfce4util
    xfconf xorg-libXi xorg-libXrandr"
BUILD_DEPENDS="dbus-glib-dev exo garcon-dev intltool libexo-dev libglade-dev
    libnotify-dev libxfce4ui-dev libxfce4util-dev startup-notification-dev
    util-linux-uuid-dev xcb-util-dev xfconf-dev xorg-inputproto
    xorg-libXi-dev xorg-libXrandr-dev"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null |
    sed '/released/!d;s| released.*||;s|.*settings ||'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure            \
        --prefix=/usr        \
        --sysconfdir=/etc    \
        --enable-xcursor    \
        --enable-libnotify    \
        --enable-nls        \
        --enable-xrandr        \
        --enable-libxklavier    \
        --enable-sound-settings    \
        --disable-debug        \
        --disable-static    \
        --mandir=/usr/share/man    \
        $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
    cook_copy_folders    etc

    if [ -f $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml ]
      then
        sed -i 's/Xfce/Clearlooks/'    \
            $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
        sed -i 's/Rodent/Tango/'    \
            $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
    fi
}
6011 packages and 861676 files in cooking database (Sun Jun 8 00:51:35 2025)