wok-6.x view smplayer/receipt @ rev 18328

Up links-dfb (2.11)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 08 15:25:39 2015 +0200 (2015-09-08)
parents 3b4e4318134e
children 9a9d8eb38212
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-opt 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 }