wok-6.x view vlc/receipt @ rev 22175
enigma is not broken
author | Hans-G?nter Theisgen |
---|---|
date | Fri Nov 08 17:15:11 2019 +0100 (2019-11-08) |
parents | dc0af390172d |
children | b29de3cc9c86 |
line source
1 # SliTaz package receipt.
3 PACKAGE="vlc"
4 VERSION="3.0.8"
5 CATEGORY="multimedia"
6 TAGS="audio video multimedia movie player"
7 SHORT_DESC="MPEG, VCD/DVD, and DivX player."
8 MAINTAINER="jozee@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://www.videolan.org/vlc/"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="http://download.videolan.org/pub/videolan/$PACKAGE/$VERSION/$TARBALL"
15 COOKOPTS="!fixdesktops"
16 DEPENDS="gcc83-lib-base libQtCore libQtGui libvlc"
17 BUILD_DEPENDS="alsa-lib-dev dbus-dev expat-dev ffmpeg-dev flac-dev fribidi-dev
18 gcc83 gcc83-lib-base gettext gmp-dev gnutls-dev libgnutls libmad-dev
19 libegl-mesa libsamplerate-dev libupnp-dev libxml2-dev lua5.1-dev
20 ncurses-dev opus-dev Qt4-dev taglib-dev tar util-linux-uuid-dev
21 x264-dev x265-dev xcb-util-dev yasm zvbi-dev"
23 compile_rules()
24 {
25 [ -s /var/lib/dbus/machine-id ] || dbus-uuidgen > /var/lib/dbus/machine-id
26 [ -e /usr/bin/luac ] || ln -s luac5.1 /usr/bin/luac
27 # export ncurses paths
28 export NCURSES_CFLAGS="-I/usr/include"
29 export NCURSES_LIBS="-L/lib -lncurses -ltinfo"
30 export CC=gcc-83 CXX=g++-83 BUILDCC=gcc-83
32 ./configure \
33 --prefix=/usr \
34 --disable-pulse \
35 --disable-a52 \
36 --disable-sout \
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
50 cp -a $install/usr/bin $fs/usr
51 cp -a $install/usr/share/$PACKAGE $fs/usr/share
53 #Remove extra icons
54 rm $fs/usr/share/$PACKAGE/*.ico
56 #copy vlc icon
57 cp -a $install/usr/share/icons/hicolor/16x16/apps/vlc.png $fs/usr/share/pixmaps
59 #Remove unnecessary fonts
60 rm $fs/usr/share/$PACKAGE/skins2/fonts/* 2> /dev/null || true
61 }