wok view vlc/receipt @ rev 14906

cups: add link in tazpanel
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 31 21:06:55 2013 +0200 (2013-07-31)
parents ba11b12589c9
children 380ffe05937a
line source
1 # SliTaz package receipt.
3 PACKAGE="vlc"
4 VERSION="2.0.5"
5 CATEGORY="multimedia"
6 SHORT_DESC="MPEG, VCD/DVD, and DivX player"
7 MAINTAINER="jozee@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.xz"
9 WEB_SITE="http://www.videolan.org/vlc/"
10 WGET_URL="http://download.videolan.org/pub/videolan/$PACKAGE/$VERSION/$TARBALL"
11 TAGS="audio video multimedia movie player"
12 DEPENDS="libQtCore libQtGui libvlc"
13 BUILD_DEPENDS="Qt4-dev alsa-lib-dev dbus-dev ffmpeg-dev gettext \
14 libmad-dev lua5.1-dev tar xcb-util-dev yasm expat-dev libxml2-dev"
16 compile_rules()
17 {
18 [ -s /var/lib/dbus/machine-id ] || dbus-uuidgen > /var/lib/dbus/machine-id
19 cd $src
20 [ -e /usr/bin/luac ] || ln -s luac5.1 /usr/bin/luac
21 ./configure \
22 --prefix=/usr \
23 --disable-pulse \
24 --disable-a52 \
25 --disable-glx \
26 --disable-portaudio \
27 --disable-sout \
28 --disable-httpd \
29 --disable-libgcrypt \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install
33 [ -L /usr/bin/luac ] && rm -f /usr/bin/luac
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share/pixmaps
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share/$PACKAGE $fs/usr/share
42 #Remove extra icons
43 rm $fs/usr/share/$PACKAGE/*.ico
44 #copy vlc icon
45 cp -a $install/usr/share/icons/hicolor/16x16/apps/vlc.png $fs/usr/share/pixmaps
46 #Remove unnecessary fonts
47 rm $fs/usr/share/$PACKAGE/skins2/fonts/*
48 }