wok-6.x view vlc/receipt @ rev 13173

cairo: Forgot patch.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Jul 30 04:43:16 2012 +0000 (2012-07-30)
parents 73641efed1cc
children 8a4276ec96fe
line source
1 # SliTaz package receipt.
3 PACKAGE="vlc"
4 VERSION="2.0.1"
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 lua-dev tar xcb-util-dev yasm expat-dev"
16 compile_rules()
17 {
18 [ -s /var/lib/dbus/machine-id ] || dbus-uuidgen > /var/lib/dbus/machine-id
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --disable-pulse \
23 --disable-a52 \
24 --disable-glx \
25 --disable-portaudio \
26 --disable-sout \
27 --disable-httpd \
28 --disable-libgcrypt \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share/pixmaps
38 cp -a $_pkg/usr/bin $fs/usr
39 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
40 #Remove extra icons
41 rm $fs/usr/share/$PACKAGE/*.ico
42 #copy vlc icon
43 cp -a $_pkg/usr/share/icons/hicolor/16x16/apps/vlc.png $fs/usr/share/pixmaps
44 #Remove unnecessary fonts
45 rm $fs/usr/share/$PACKAGE/skins2/fonts/*
46 }