wok-current view smplayer/receipt @ rev 19552

Up smtube (16.7.2), smplayer (16.11.0)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sat Dec 10 13:06:49 2016 +0100 (2016-12-10)
parents 8601e8239d7f
children 8dc6e13e2fba
line source
1 # SliTaz package receipt.
3 PACKAGE="smplayer"
4 VERSION="16.11.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="QT-based front-end for MPlayer or mpv"
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://smplayer.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="player audio video movie"
14 DEPENDS="mplayer-opt libQtCore libQtGui libQtXml libQtScript libQtDBus"
15 BUILD_DEPENDS="Qt4-dev qmake"
16 SUGGESTED="smplayer-themes mpv"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # Some default setting incompatible with minimal mplayer
22 sed '/use_ass_subtitles/s/true/false/' -i src/preferences.cpp
23 make PREFIX=/usr &&
24 make PREFIX=/usr DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/share/$PACKAGE $fs/usr/share
33 cp -a $install/usr/share/icons $fs/usr/share
34 rm $fs/usr/share/$PACKAGE/translations/*
36 for i in de en_US es fr it pt_BR ru_RU
37 do cp -a $install/usr/share/$PACKAGE/translations/smplayer_$i.qm \
38 $fs/usr/share/$PACKAGE/translations/
39 done
40 for size in 64 128 192 256 512 scalable; do
41 rm -rf $fs/usr/share/icons/hicolor/${size}*
42 done
43 }