wok-current view vlc/receipt @ rev 20683

Update some WEB_SITE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 27 19:07:41 2019 +0100 (2019-01-27)
parents 58dcfd512b46
children d9392a530592
line source
1 # SliTaz package receipt.
3 PACKAGE="vlc"
4 VERSION="2.2.3"
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 libegl-mesa \
17 util-linux-uuid-dev x264-dev flac-dev taglib-dev gnutls-dev libupnp-dev \
18 libsamplerate-dev fribidi-dev zvbi-dev opus-dev gmp-dev ncurses-dev x265-dev \
19 libgnutls"
21 compile_rules()
22 {
23 [ -s /var/lib/dbus/machine-id ] || dbus-uuidgen > /var/lib/dbus/machine-id
24 cd $src
25 [ -e /usr/bin/luac ] || ln -s luac5.1 /usr/bin/luac
26 sed -i 's/ERROR_zip_cannot/error_zip_cannot/' modules/access/zip/zipstream.c
27 # export ncurses paths
28 export NCURSES_CFLAGS="-I/usr/include"
29 export NCURSES_LIBS="-L/lib -lncurses -ltinfo"
30 ./configure \
31 --prefix=/usr \
32 --disable-pulse \
33 --disable-a52 \
34 --disable-glx \
35 --disable-sout \
36 --disable-httpd \
37 --disable-libgcrypt \
38 --enable-ncurses \
39 $CONFIGURE_ARGS &&
40 make &&
41 make install
42 [ -L /usr/bin/luac ] && rm -f /usr/bin/luac
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr/share/pixmaps
49 cp -a $install/usr/bin $fs/usr
50 cp -a $install/usr/share/$PACKAGE $fs/usr/share
51 #Remove extra icons
52 rm $fs/usr/share/$PACKAGE/*.ico
53 #copy vlc icon
54 cp -a $install/usr/share/icons/hicolor/16x16/apps/vlc.png $fs/usr/share/pixmaps
55 #Remove unnecessary fonts
56 rm $fs/usr/share/$PACKAGE/skins2/fonts/* 2> /dev/null || true
57 }