wok-current view smplayer/receipt @ rev 24032

modified get-teamviewer to be able to fetch versions < 13
author Hans-G?nter Theisgen
date Tue Apr 06 14:38:05 2021 +0100 (2021-04-06)
parents a9dfb33cb7bb
children 0c04fc34847a
line source
1 # SliTaz package receipt.
3 PACKAGE="smplayer"
4 VERSION="20.6.0"
5 CATEGORY="multimedia"
6 TAGS="player audio video movie"
7 SHORT_DESC="QT-based front-end for MPlayer or mpv."
8 MAINTAINER="psychomaniak@xakep.ru"
9 LICENSE="GPL2"
10 WEB_SITE="https://www.smplayer.info/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 SUGGESTED="mpv smplayer-themes"
16 DEPENDS="libQtCore libQtDBus libQtGui libQtScript libQtXml mplayer-cli"
17 BUILD_DEPENDS="Qt4-dev qmake"
19 GENERIC_MENUS="no"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 # Some default setting incompatible with minimal mplayer
25 sed -i '/use_ass_subtitles/s/true/false/' \
26 src/preferences.cpp
27 make PREFIX=/usr &&
28 make PREFIX=/usr DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share/applications
36 cp -a $install/usr/bin $fs/usr
37 cp -fa $install/usr/share/applications/* $fs/usr/share/applications
38 cp -a $install/usr/share/$PACKAGE $fs/usr/share
39 cp -a $install/usr/share/icons $fs/usr/share
40 rm $fs/usr/share/$PACKAGE/translations/*
42 for i in de en_US es fr it pt_BR ru_RU
43 do
44 cp -a $install/usr/share/$PACKAGE/translations/smplayer_$i.qm \
45 $fs/usr/share/$PACKAGE/translations/
46 done
47 for size in 64 128 192 256 512 scalable
48 do
49 rm -rf $fs/usr/share/icons/hicolor/${size}*
50 done
51 }