wok-current view vlc/receipt @ rev 17392

vlc: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 27 15:44:14 2014 +0100 (2014-11-27)
parents a49a13f312fe
children 9f18a592b782
line source
1 # SliTaz package receipt.
3 PACKAGE="vlc"
4 VERSION="2.1.5"
5 CATEGORY="multimedia"
6 SHORT_DESC="MPEG, VCD/DVD, and DivX player"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.videolan.org/vlc/"
11 WGET_URL="http://download.videolan.org/pub/videolan/$PACKAGE/$VERSION/$TARBALL"
12 TAGS="audio video multimedia movie player"
14 DEPENDS="libQtCore libQtGui libvlc"
15 BUILD_DEPENDS="Qt4-dev alsa-lib-dev dbus-dev ffmpeg-dev gettext \
16 libmad-dev lua5.1-dev tar xcb-util-dev yasm expat-dev libxml2-dev \
17 util-linux-uuid-dev x264-dev flac-dev taglib-dev gnutls-dev libupnp-dev \
18 libsamplerate-dev fribidi-dev zvbi-dev opus-dev libdvdread-dev"
20 compile_rules()
21 {
22 [ -s /var/lib/dbus/machine-id ] || dbus-uuidgen > /var/lib/dbus/machine-id
23 cd $src
24 [ -e /usr/bin/luac ] || ln -s luac5.1 /usr/bin/luac
25 ./configure \
26 --prefix=/usr \
27 --disable-pulse \
28 --disable-a52 \
29 --disable-glx \
30 --disable-sout \
31 --disable-httpd \
32 --disable-libgcrypt \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install
36 [ -L /usr/bin/luac ] && rm -f /usr/bin/luac
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share/pixmaps
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/share/$PACKAGE $fs/usr/share
45 #Remove extra icons
46 rm $fs/usr/share/$PACKAGE/*.ico
47 #copy vlc icon
48 cp -a $install/usr/share/icons/hicolor/16x16/apps/vlc.png $fs/usr/share/pixmaps
49 #Remove unnecessary fonts
50 rm $fs/usr/share/$PACKAGE/skins2/fonts/*
51 }