wok-next view vlc/receipt @ rev 16955

Up vlc (2.1.5)
author Richard Dunbar <mojo@slitaz.org>
date Mon Jul 28 09:31:32 2014 +0000 (2014-07-28)
parents 51b031113a61
children 5d17160a94b2
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"
19 compile_rules()
20 {
21 [ -s /var/lib/dbus/machine-id ] || dbus-uuidgen > /var/lib/dbus/machine-id
22 cd $src
23 [ -e /usr/bin/luac ] || ln -s luac5.1 /usr/bin/luac
24 ./configure \
25 --prefix=/usr \
26 --disable-pulse \
27 --disable-a52 \
28 --disable-glx \
29 --disable-portaudio \
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 }