wok view vlc/receipt @ rev 23411
updated perl-unicode-string (2.09 -> 2.10)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 01 07:13:05 2020 +0100 (2020-04-01) |
parents | cdae1ee585d2 |
children | 73fd97cf0fa8 |
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 libarchive-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
22 libarchive-dev libraw1394-dev libdvdread-dev libdvdnav-dev
23 libcddb-dev libmodplug-dev libmpeg2-dev libvorbis-dev speex-dev
24 libtheora-enc fluidsynth-dev xcb-util-keysyms-dev
25 libsdl-image-dev librsvg-dev cairo-dev libcaca-dev jack-audio-connection-kit-dev
26 protobuf-dev libmtp-dev libsecret-dev
27 hicolor-icon-theme libavc1394-dev libtheora-dev pango-dev"
29 compile_rules()
30 {
31 [ -s /var/lib/dbus/machine-id ] || dbus-uuidgen > /var/lib/dbus/machine-id
32 [ -e /usr/bin/luac ] || ln -s luac5.1 /usr/bin/luac
33 # export ncurses paths
34 export NCURSES_CFLAGS="-I/usr/include"
35 export NCURSES_LIBS="-L/lib -lncurses -ltinfo"
36 export CC=gcc-83 CXX=g++-83 BUILDCC=gcc-83
38 ./configure \
39 --prefix=/usr \
40 --disable-pulse \
41 --disable-a52 \
42 --disable-sout \
43 --disable-libgcrypt \
44 --enable-ncurses \
45 --enable-run-as-root \
46 $CONFIGURE_ARGS &&
47 make &&
48 make install
49 [ -L /usr/bin/luac ] && rm -f /usr/bin/luac
50 }
52 # Rules to gen a SliTaz package suitable for Tazpkg.
53 genpkg_rules()
54 {
55 mkdir -p $fs/usr/share/pixmaps
57 cp -a $install/usr/bin $fs/usr
58 cp -a $install/usr/share/$PACKAGE $fs/usr/share
60 #Remove extra icons
61 rm $fs/usr/share/$PACKAGE/*.ico
63 #copy vlc icon
64 cp -a $install/usr/share/icons/hicolor/16x16/apps/vlc.png $fs/usr/share/pixmaps
66 #Remove unnecessary fonts
67 rm $fs/usr/share/$PACKAGE/skins2/fonts/* 2> /dev/null || true
68 }