SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "minitube"

# SliTaz package receipt.

PACKAGE="minitube"
VERSION="2.4-1"
CATEGORY="multimedia"
SHORT_DESC="Minitube is a native YouTube client"
MAINTAINER="al.bobylev@gmail.com"
LICENSE="GPL3"
WEB_SITE="https://flavio.tordini.org/minitube"
#TARBALL="$PACKAGE-$VERSION.tar.gz"
#deb# TARBALL="$PACKAGE.deb"
#deb# WGET_URL="https://flavio.tordini.org/files/minitube/minitube.deb"
TARBALL="${PACKAGE}-${VERSION}.mga5.i586.rpm"
WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL"

DEPENDS="libQtCore libQtDBus libQtGui libQtNetwork libQtScript libQtSql \
 libQtXml libQtOpenGL phonon phonon-vlc libvlc libgnutls cacerts"
# BUILD_DEPENDS="wget cacerts Qt4-dev qmake qt4-phonon"

# What is the latest version available today?
current_version()
{
    wget -O - ${WEB_SITE%/*}/ 2>/dev/null | \
    sed '/Minitube /!d;s|.*>Minitube ||;s|[^0-9\.].*||;q'
}

# Rules to configure and make the package.
#deb#compile_rules()
#deb#{
    # put default icons to resources (instead of to hicolor icon theme)
#    cp -a $stuff/*.png $src/images
#    cp -a $stuff/*.png $src/
#    patch -p0 < $stuff/icons.diff

#    mkdir build; cd build
#    qmake ../minitube.pro &&
#    make && make INSTALL_ROOT=$install install
#deb#    busybox ar vx $src/$TARBALL
#deb#    tar xf data.tar*
#deb#}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
#    cp -a $install/* $fs
    mkdir -p    $fs/usr
    cp -a $src/*    $fs/usr

#deb#    cp -a $src/usr    $fs

    # remove big icons
    for size in 64 128 256 512 scalable; do
        rm -rf $fs/usr/share/icons/hicolor/${size}*
    done
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)