wok-next view smplayer/receipt @ rev 21351
updated faad2 (2.8.8 -> 2.9.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 10 07:14:21 2020 +0100 (2020-04-10) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="smplayer"
4 VERSION="18.1.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="QT-based front-end for MPlayer or mpv"
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.smplayer.info/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="qt5-dev xorg-dev zlib-dev"
16 compile_rules() {
17 # Some default setting incompatible with minimal mplayer
18 sed '/use_ass_subtitles/s/true/false/' -i src/preferences.cpp
19 make PREFIX=/usr &&
20 make PREFIX=/usr DESTDIR=$install install
21 }
23 genpkg_rules() {
24 mkdir -p $fs/usr/share/applications
25 cp -a $install/usr/bin $fs/usr
26 cp -fa $install/usr/share/applications/* $fs/usr/share/applications
27 cp -a $install/usr/share/$PACKAGE $fs/usr/share
28 cp -a $install/usr/share/icons $fs/usr/share
29 rm $fs/usr/share/$PACKAGE/translations/*
31 for i in de en_US es fr it pt_BR ru_RU
32 do cp -a $install/usr/share/$PACKAGE/translations/smplayer_$i.qm \
33 $fs/usr/share/$PACKAGE/translations/
34 done
35 for size in 64 128 192 256 512 scalable; do
36 rm -rf $fs/usr/share/icons/hicolor/${size}*
37 done
38 DEPENDS="mplayer-cli qt5-base qt5-script libxkbcommon-x11 libatomic"
39 SUGGESTED="smplayer-themes smtube mpv"
40 TAGS="player audio video movie"
41 }