wok-current view minitube/receipt @ rev 24745
updated libfm packages (1.3.1 -> 1.3.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 16 11:17:07 2022 +0100 (2022-03-16) |
parents | 6e8b1bcb30e2 |
children | 77ec99338524 |
line source
1 # SliTaz package receipt.
3 PACKAGE="minitube"
4 VERSION="2.4-1"
5 CATEGORY="multimedia"
6 SHORT_DESC="Minitube is a native YouTube client"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://flavio.tordini.org/minitube"
10 #TARBALL="$PACKAGE-$VERSION.tar.gz"
11 #deb# TARBALL="$PACKAGE.deb"
12 #deb# WGET_URL="https://flavio.tordini.org/files/minitube/minitube.deb"
13 TARBALL="${PACKAGE}-${VERSION}.mga5.i586.rpm"
14 WGET_URL="http://mirrors.kernel.org/mageia/distrib/5/i586/media/core/release/$TARBALL"
16 DEPENDS="libQtCore libQtDBus libQtGui libQtNetwork libQtScript libQtSql \
17 libQtXml libQtOpenGL phonon phonon-vlc libvlc libgnutls cacerts"
18 # BUILD_DEPENDS="wget cacerts Qt4-dev qmake qt4-phonon"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WEB_SITE%/*}/ 2>/dev/null | \
24 sed '/Minitube /!d;s|.*>Minitube ||;s|[^0-9\.].*||;q'
25 }
27 # Rules to configure and make the package.
28 #deb#compile_rules()
29 #deb#{
30 # put default icons to resources (instead of to hicolor icon theme)
31 # cp -a $stuff/*.png $src/images
32 # cp -a $stuff/*.png $src/
33 # patch -p0 < $stuff/icons.diff
35 # mkdir build; cd build
36 # qmake ../minitube.pro &&
37 # make && make INSTALL_ROOT=$install install
38 #deb# busybox ar vx $src/$TARBALL
39 #deb# tar xf data.tar*
40 #deb#}
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 # cp -a $install/* $fs
46 mkdir -p $fs/usr
47 cp -a $src/* $fs/usr
49 #deb# cp -a $src/usr $fs
51 # remove big icons
52 for size in 64 128 256 512 scalable; do
53 rm -rf $fs/usr/share/icons/hicolor/${size}*
54 done
55 }