wok-6.x annotate smplayer/receipt @ rev 22122

updated webalizer (2.21-02 -> 2.23.08)
author Hans-G?nter Theisgen
date Sun Nov 03 16:24:25 2019 +0100 (2019-11-03)
parents b1b5c2c950b5
children a9dfb33cb7bb
rev   line source
jozee@2910 1 # SliTaz package receipt.
jozee@2910 2
jozee@2910 3 PACKAGE="smplayer"
pascal@22081 4 VERSION="19.10.0"
jozee@2910 5 CATEGORY="multimedia"
psychomaniak@19552 6 SHORT_DESC="QT-based front-end for MPlayer or mpv"
psychomaniak@19552 7 MAINTAINER="psychomaniak@xakep.ru"
pascal@15593 8 LICENSE="GPL2"
jozee@2910 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
psychomaniak@19552 10 WEB_SITE="http://smplayer.sourceforge.net/"
slaxemulator@7139 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
jozee@2910 12 TAGS="player audio video movie"
jozee@2910 13
psychomaniak@19558 14 DEPENDS="mplayer-cli libQtCore libQtGui libQtXml libQtScript libQtDBus"
psychomaniak@19552 15 BUILD_DEPENDS="Qt4-dev qmake"
psychomaniak@19552 16 SUGGESTED="smplayer-themes mpv"
pascal@15593 17
psychomaniak@19558 18
psychomaniak@19558 19 GENERIC_MENUS="no"
psychomaniak@19558 20
jozee@2910 21 # Rules to configure and make the package.
jozee@2910 22 compile_rules()
jozee@2910 23 {
psychomaniak@19552 24 # Some default setting incompatible with minimal mplayer
psychomaniak@19552 25 sed '/use_ass_subtitles/s/true/false/' -i src/preferences.cpp
pascal@5007 26 make PREFIX=/usr &&
pascal@15593 27 make PREFIX=/usr DESTDIR=$DESTDIR install
jozee@2910 28 }
jozee@2910 29
jozee@2910 30 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2910 31 genpkg_rules()
jozee@2910 32 {
psychomaniak@19558 33 mkdir -p $fs/usr/share/applications
pascal@15593 34 cp -a $install/usr/bin $fs/usr
psychomaniak@19559 35 cp -fa $install/usr/share/applications/* $fs/usr/share/applications
psychomaniak@19552 36 cp -a $install/usr/share/$PACKAGE $fs/usr/share
psychomaniak@19552 37 cp -a $install/usr/share/icons $fs/usr/share
jozee@2910 38 rm $fs/usr/share/$PACKAGE/translations/*
psychomaniak@19552 39
psychomaniak@19552 40 for i in de en_US es fr it pt_BR ru_RU
psychomaniak@19552 41 do cp -a $install/usr/share/$PACKAGE/translations/smplayer_$i.qm \
psychomaniak@19552 42 $fs/usr/share/$PACKAGE/translations/
psychomaniak@19552 43 done
psychomaniak@19552 44 for size in 64 128 192 256 512 scalable; do
psychomaniak@19552 45 rm -rf $fs/usr/share/icons/hicolor/${size}*
psychomaniak@19552 46 done
jozee@2910 47 }