wok annotate minitube/receipt @ rev 20267
Up ndiswrapper-driver (1.61), dummynet (20150115)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 15 23:03:13 2018 +0100 (2018-03-15) |
parents | f0abc67d78c1 |
children | 6e8b1bcb30e2 |
rev | line source |
---|---|
al@16823 | 1 # SliTaz package receipt. |
al@16823 | 2 |
al@16823 | 3 PACKAGE="minitube" |
psychomaniak@18167 | 4 VERSION="2.4-1" |
al@16823 | 5 CATEGORY="multimedia" |
al@16823 | 6 SHORT_DESC="Minitube is a native YouTube client" |
al@16823 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@16823 | 8 LICENSE="GPL3" |
al@16823 | 9 WEB_SITE="http://flavio.tordini.org/minitube" |
psychomaniak@18167 | 10 #TARBALL="$PACKAGE-$VERSION.tar.gz" |
psychomaniak@18167 | 11 #deb# TARBALL="$PACKAGE.deb" |
psychomaniak@18167 | 12 #deb# WGET_URL="http://flavio.tordini.org/files/minitube/minitube.deb" |
psychomaniak@18167 | 13 TARBALL="${PACKAGE}-${VERSION}.mga5.i586.rpm" |
psychomaniak@18167 | 14 WGET_URL="http://mirrors.kernel.org/mageia/distrib/5/i586/media/core/release/$TARBALL" |
al@16823 | 15 |
al@16823 | 16 DEPENDS="libQtCore libQtDBus libQtGui libQtNetwork libQtScript libQtSql \ |
psychomaniak@18167 | 17 libQtXml libQtOpenGL phonon phonon-vlc libvlc libgnutls cacerts" |
psychomaniak@18167 | 18 # BUILD_DEPENDS="wget cacerts Qt4-dev qmake qt4-phonon" |
al@16823 | 19 |
al@16823 | 20 # Rules to configure and make the package. |
psychomaniak@18167 | 21 #deb#compile_rules() |
psychomaniak@18167 | 22 #deb#{ |
al@16829 | 23 # put default icons to resources (instead of to hicolor icon theme) |
psychomaniak@18167 | 24 # cp -a $stuff/*.png $src/images |
psychomaniak@18167 | 25 # cp -a $stuff/*.png $src/ |
psychomaniak@18167 | 26 # patch -p0 < $stuff/icons.diff |
al@16829 | 27 |
psychomaniak@18167 | 28 # mkdir build; cd build |
psychomaniak@18167 | 29 # qmake ../minitube.pro && |
psychomaniak@18167 | 30 # make && make INSTALL_ROOT=$install install |
psychomaniak@18167 | 31 #deb# busybox ar vx $src/$TARBALL |
psychomaniak@18167 | 32 #deb# tar xf data.tar* |
psychomaniak@18167 | 33 #deb#} |
al@16823 | 34 |
al@16823 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@16823 | 36 genpkg_rules() |
al@16823 | 37 { |
psychomaniak@18167 | 38 # cp -a $install/* $fs |
psychomaniak@18167 | 39 mkdir -p $fs/usr |
psychomaniak@18167 | 40 cp -a $src/* $fs/usr |
psychomaniak@18167 | 41 |
psychomaniak@18167 | 42 #deb# cp -a $src/usr $fs |
al@16823 | 43 |
al@16829 | 44 # remove big icons |
psychomaniak@17435 | 45 for size in 64 128 256 512 scalable; do |
psychomaniak@17435 | 46 rm -rf $fs/usr/share/icons/hicolor/${size}* |
al@16823 | 47 done |
al@16823 | 48 } |