SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "volumeicon"

# SliTaz package receipt.

PACKAGE="volumeicon"
VERSION="0.5.1"
CATEGORY="multimedia"
SHORT_DESC="A lightweight volume control for the system tray."
MAINTAINER="claudinei@slitaz.org"
LICENSE="GPL3"
WEB_SITE="https://github.com/Maato/volumeicon"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/Maato/volumeicon/archive/refs/tags/$VERSION.tar.gz"

DEPENDS="alsa-lib gtk+3 libnotify"
BUILD_DEPENDS="alsa-lib-dev gtk+3-dev libnotify-dev"

#HOST_ARCH="i486 arm"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    # 0.4.6
#    patch -p0 < $stuff/alsa_backend.patch

    ./configure        \
        --enable-notify    \
        $CONFIGURE_ARGS && 
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/etc/xdg

    cp -rf ${stuff}/autostart    $fs/etc/xdg
    cp -rf ${stuff}/skel        $fs/etc
    cp -rf $install/*        $fs

    rm -rf $fs/usr/share/${PACKAGE}/icons/*Gnone
    rm -rf $fs/usr/share/${PACKAGE}/icons/tango
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)