SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xfce4-mixer"

# SliTaz package receipt.

PACKAGE="xfce4-mixer"
VERSION="4.10.0"
CATEGORY="x-window"
SHORT_DESC="Xfce Audio Mixer."
MAINTAINER="erjo@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://docs.xfce.org/apps/xfce4-mixer/start"

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

SUGGESTED="xfce4-mixer-lang"
DEPENDS="gst-plugins-base gtk+ libunique libxfce4util startup-notification
    util-linux-uuid xfce4-panel xfconf"
BUILD_DEPENDS="dbus-glib-dev gst-plugins-base-dev gstreamer-dev
    gtk+-dev intltool libunique-dev libxfce4ui-dev libxfce4util-dev
    libxml2-dev startup-notification-dev util-linux-uuid-dev
    xcb-util-dev xfce4-panel-dev xfconf-dev"

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

# Rules to configure and make the package.
compile_rules()
{
    export    CFLAGS="$CFLAGS -I/usr/include/dbus-1.0"

    ./configure                \
        --prefix=/usr            \
        --libexecdir=/usr/lib/$PACKAGE    \
        --enable-nls            \
        $CONFIGURE_ARGS && \
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
    cook_copy_files        *.so*
    cook_copy_folders    pixmaps
    cook_copy_folders    xfce4-mixer
    
    rm -rf $fs/usr/share/xfce4-mixer/icons/hicolor/scalable
    
    # Strip everything
    find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \;
}
6011 packages and 861676 files in cooking database (Sun Jun 8 00:51:35 2025)