SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "parole"

# SliTaz package receipt.

PACKAGE="parole"
VERSION="0.5.4"
CATEGORY="multimedia"
SHORT_DESC="Media Player for Xfce."
MAINTAINER="erjo@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://docs.xfce.org/apps/parole/start"

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

SUGGESTED="parole-lang"
DEPENDS="dbus-glib gst-plugins-base gstreamer libgio libnotify libxfce4util
    libxfcegui4 startup-notification taglib util-linux-uuid"
BUILD_DEPENDS="coreutils-operations dbus-glib-dev gst-plugins-base-dev
    gstreamer-dev gtk+-dev intltool libgio-dev libnotify-dev
    libxfce4util-dev libxfcegui4-dev libxfce4ui-dev libxml2-dev orc-dev
    startup-notification-dev taglib-dev util-linux-uuid-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|.*parole ||'
}

# Rules to configure and make the package.
compile_rules()
{
#    2024-10-23    unrecognised
#        --disable-power-manager-plugin    
    ./configure                \
        --disable-debug            \
        $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    gtk-2.0
    cook_copy_folders    icons
    cook_copy_folders    parole-plugins-0

    mkdir    $fs/usr/share/pixmaps
    cd    $fs/usr/share/pixmaps
    ln -s ../icons/hicolor/32x32/apps/$PACKAGE.png
    cd    -

    # Clean-up & strip
    rm -rf $fs/usr/share/icons/hicolor/scalable
    find $fs/usr/lib -exec strip -s {} 2> /dev/null \;
}

6011 packages and 861692 files in cooking database (Sun Apr 20 00:48:06 2025)