wok-current view vlc/receipt @ rev 24084
libjson-c-dev: fix version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 10 13:06:31 2021 +0000 (2021-07-10) |
parents | fea1686ec178 |
children | 934055de50e2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="vlc"
4 VERSION="3.0.10"
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="https://www.videolan.org/vlc/"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://download.videolan.org/pub/videolan/$PACKAGE/$VERSION/$TARBALL"
15 DEPENDS="gcc83-lib-base libQtCore libQtGui libvlc"
16 BUILD_DEPENDS="alsa-lib-dev cairo-dev dbus-dev expat-dev ffmpeg-dev flac-dev
17 fluidsynth-dev fribidi-dev gcc83 gcc83-lib-base gettext gmp-dev gnutls-dev
18 hicolor-icon-theme jack-audio-connection-kit-dev libarchive-dev
19 libavc1394-dev libcaca-dev libcddb-dev libdvdread-dev libdvdnav-dev
20 libegl-mesa libgnutls libmad-dev libmodplug-dev libmpeg2-dev libmtp-dev
21 libraw1394-dev librsvg-dev libsamplerate-dev libsdl-image-dev libsecret-dev
22 libtheora-dev libtheora-enc libupnp-dev libvorbis-dev libxml2-dev lua5.1-dev
23 ncurses-dev opus-dev pango-dev protobuf-dev Qt4-dev speex-dev taglib-dev tar
24 util-linux-uuid-dev x264-dev x265-dev xcb-util-dev xcb-util-keysyms-dev yasm
25 zvbi-dev"
27 COOKOPTS="!fixdesktops"
29 # @maintainer: Please update also: libvlc and libvlc-dev
31 compile_rules()
32 {
33 [ -s /var/lib/dbus/machine-id ] || dbus-uuidgen > /var/lib/dbus/machine-id
34 [ -e /usr/bin/luac ] || ln -s luac5.1 /usr/bin/luac
35 # export ncurses paths
36 export NCURSES_CFLAGS="-I/usr/include"
37 export NCURSES_LIBS="-L/lib -lncurses -ltinfo"
38 export CC=gcc-83 CXX=g++-83 BUILDCC=gcc-83
40 ./configure \
41 --prefix=/usr \
42 --disable-pulse \
43 --disable-a52 \
44 --disable-sout \
45 --disable-libgcrypt \
46 --enable-ncurses \
47 --enable-run-as-root \
48 $CONFIGURE_ARGS &&
49 make &&
50 make install
51 [ -L /usr/bin/luac ] && rm -f /usr/bin/luac
52 }
54 # Rules to gen a SliTaz package suitable for Tazpkg.
55 genpkg_rules()
56 {
57 mkdir -p $fs/usr/share/pixmaps
59 cp -a $install/usr/bin $fs/usr
60 cp -a $install/usr/share/$PACKAGE $fs/usr/share
62 #Remove extra icons
63 rm $fs/usr/share/$PACKAGE/*.ico
65 #copy vlc icon
66 cp -a $install/usr/share/icons/hicolor/16x16/apps/vlc.png \
67 $fs/usr/share/pixmaps
69 #Remove unnecessary fonts
70 rm $fs/usr/share/$PACKAGE/skins2/fonts/* 2> /dev/null || true
71 }