wok-6.x view smplayer/receipt @ rev 23853
Up alsa-utils (1.2.2)
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Mon Jun 15 17:30:36 2020 -0400 (2020-06-15) |
parents | 3c832ef040e6 |
children | 7f23dac166fa |
line source
1 # SliTaz package receipt.
3 PACKAGE="smplayer"
4 VERSION="20.4.2"
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="smplayer-themes mpv"
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 }