wok-current view smplayer/receipt @ rev 15886

dropbear/pppssh: add routes support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 08 16:59:03 2014 +0000 (2014-02-08)
parents 9c762d56b413
children 8601e8239d7f
line source
1 # SliTaz package receipt.
3 PACKAGE="smplayer"
4 VERSION="0.6.9"
5 CATEGORY="multimedia"
6 SHORT_DESC="QT-based front-end for MPlayer"
7 MAINTAINER="jozee@slitaz.org"
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 libQtCore libQtGui libQtXml gcc-lib-base"
15 BUILD_DEPENDS="qt4 Qt4-dev qmake libQtNetwork libegl-mesa"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 make PREFIX=/usr &&
22 make PREFIX=/usr DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share $fs/usr/share/applications
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/share/$PACKAGE $fs/usr/share
33 # Remove extra translations or locales
34 rm $fs/usr/share/$PACKAGE/translations/*
35 cp -a $install/usr/share/$PACKAGE/translations/smplayer_en_US.qm \
36 $install/usr/share/$PACKAGE/translations/smplayer_fr.qm \
37 $fs/usr/share/$PACKAGE/translations/
39 # copy .desktop file.
40 cp -a $stuff/smplayer_enqueue.desktop $fs/usr/share/applications/
41 }