wok-6.x annotate 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 |
rev | line source |
---|---|
jozee@2910 | 1 # SliTaz package receipt. |
jozee@2910 | 2 |
jozee@2910 | 3 PACKAGE="smplayer" |
Hans-G?nter@23651 | 4 VERSION="20.4.2" |
jozee@2910 | 5 CATEGORY="multimedia" |
Hans-G?nter@23651 | 6 TAGS="player audio video movie" |
Hans-G?nter@23651 | 7 SHORT_DESC="QT-based front-end for MPlayer or mpv." |
psychomaniak@19552 | 8 MAINTAINER="psychomaniak@xakep.ru" |
pascal@15593 | 9 LICENSE="GPL2" |
Hans-G?nter@23651 | 10 WEB_SITE="https://www.smplayer.info/" |
Hans-G?nter@23651 | 11 |
jozee@2910 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@7139 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@2910 | 14 |
Hans-G?nter@23651 | 15 SUGGESTED="smplayer-themes mpv" |
Hans-G?nter@23651 | 16 DEPENDS="libQtCore libQtDBus libQtGui libQtScript libQtXml mplayer-cli" |
psychomaniak@19552 | 17 BUILD_DEPENDS="Qt4-dev qmake" |
psychomaniak@19558 | 18 |
psychomaniak@19558 | 19 GENERIC_MENUS="no" |
psychomaniak@19558 | 20 |
jozee@2910 | 21 # Rules to configure and make the package. |
jozee@2910 | 22 compile_rules() |
jozee@2910 | 23 { |
psychomaniak@19552 | 24 # Some default setting incompatible with minimal mplayer |
Hans-G?nter@23651 | 25 sed -i '/use_ass_subtitles/s/true/false/' \ |
Hans-G?nter@23651 | 26 src/preferences.cpp |
pascal@5007 | 27 make PREFIX=/usr && |
pascal@15593 | 28 make PREFIX=/usr DESTDIR=$DESTDIR install |
jozee@2910 | 29 } |
jozee@2910 | 30 |
jozee@2910 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2910 | 32 genpkg_rules() |
jozee@2910 | 33 { |
psychomaniak@19558 | 34 mkdir -p $fs/usr/share/applications |
Hans-G?nter@23651 | 35 |
Hans-G?nter@23651 | 36 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@23651 | 37 cp -fa $install/usr/share/applications/* $fs/usr/share/applications |
Hans-G?nter@23651 | 38 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
Hans-G?nter@23651 | 39 cp -a $install/usr/share/icons $fs/usr/share |
Hans-G?nter@23651 | 40 rm $fs/usr/share/$PACKAGE/translations/* |
psychomaniak@19552 | 41 |
psychomaniak@19552 | 42 for i in de en_US es fr it pt_BR ru_RU |
Hans-G?nter@23651 | 43 do |
Hans-G?nter@23651 | 44 cp -a $install/usr/share/$PACKAGE/translations/smplayer_$i.qm \ |
Hans-G?nter@23651 | 45 $fs/usr/share/$PACKAGE/translations/ |
Hans-G?nter@23651 | 46 done |
Hans-G?nter@23651 | 47 for size in 64 128 192 256 512 scalable |
Hans-G?nter@23651 | 48 do |
psychomaniak@19552 | 49 rm -rf $fs/usr/share/icons/hicolor/${size}* |
Hans-G?nter@23651 | 50 done |
jozee@2910 | 51 } |