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"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="https://www.xfce.org"
WGET_URL="https://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$TARBALL"

DEPENDS="gtk+ libxfce4util gtk+ xfconf xfce4-panel gst-plugins-base startup-notification
 util-linux-uuid libunique"
BUILD_DEPENDS="gtk+-dev libxfce4util-dev xfconf-dev xfce4-panel-dev
 gst-plugins-base-dev intltool libxfce4ui-dev gstreamer-dev startup-notification-dev \
 util-linux-uuid-dev libxml2-dev libunique-dev xcb-util-dev"
 
# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
    sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
    sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure --prefix=/usr \
        --libexecdir=/usr/lib/$PACKAGE $CONFIGURE_ARGS && \
    make && make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share/locale 
        
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/lib $fs/usr
    cp -a $install/usr/share/xfce4 $fs/usr/share
    cp -a $install/usr/share/pixmaps $fs/usr/share
    cp -a $install/usr/share/xfce4-mixer $fs/usr/share
    
    rm -rf $fs/usr/share/xfce4-mixer/icons/hicolor/scalable
    
    # Strip everything
    find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \;
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)