SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "gnome-mplayer"

# SliTaz package receipt.

PACKAGE="gnome-mplayer"
VERSION="1.0.3"
CATEGORY="multimedia"
SHORT_DESC="simple MPlayer GUI"
MAINTAINER="jozee@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://sites.google.com/site/kdekorte2/gnomemplayer"
WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$TARBALL"
TAGS="player audio video movie mp3 ogg dvd"

DEPENDS="mplayer gtk+ dbus-glib libnotify alsa-lib libgpod"
BUILD_DEPENDS="$DEPENDS dbus-dev dbus-glib-dev libnotify-dev libgpod-dev pkg-config xorg-libX11-dev libxcb-dev gtk+-dev xorg-libXss-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/kdekorte/gnome-mplayer/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src    
    ./configure --prefix=/usr \
        --sysconfdir=/etc \
        --disable-schemas-install \
        --without-gconf \
        --disable-nautilus \
        --disable-panscan \
        --without-libmusicbrainz3 &&
    make  &&
    make install
    
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share/icons/hicolor $fs/usr/share/applications
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/share/glib-2.0 $fs/usr/share
    cp -a $install/usr/share/icons/hicolor/16x16 $fs/usr/share/icons/hicolor
    sed -i 's|Exec=gnome-mplayer|Exec=gnome-mplayer %F|' $install/usr/share/applications/$PACKAGE.desktop
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)