wok-6.x view smplayer/receipt @ rev 20085
also update libssl: from: 1.0.2k [26 Jan 2017] to 1.0.2l [25 May 2017], see: http://hg.slitaz.org/wok/rev/90fcaa823068
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed Sep 27 22:18:42 2017 +0000 (2017-09-27) |
parents | 9facff0f7d4e |
children | eb2ccd9e093c |
line source
1 # SliTaz package receipt.
3 PACKAGE="smplayer"
4 VERSION="17.9.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-cli libQtCore libQtGui libQtXml libQtScript libQtDBus"
15 BUILD_DEPENDS="Qt4-dev qmake"
16 SUGGESTED="smplayer-themes mpv"
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 '/use_ass_subtitles/s/true/false/' -i src/preferences.cpp
26 make PREFIX=/usr &&
27 make PREFIX=/usr DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/applications
34 cp -a $install/usr/bin $fs/usr
35 cp -fa $install/usr/share/applications/* $fs/usr/share/applications
36 cp -a $install/usr/share/$PACKAGE $fs/usr/share
37 cp -a $install/usr/share/icons $fs/usr/share
38 rm $fs/usr/share/$PACKAGE/translations/*
40 for i in de en_US es fr it pt_BR ru_RU
41 do cp -a $install/usr/share/$PACKAGE/translations/smplayer_$i.qm \
42 $fs/usr/share/$PACKAGE/translations/
43 done
44 for size in 64 128 192 256 512 scalable; do
45 rm -rf $fs/usr/share/icons/hicolor/${size}*
46 done
47 }