wok-current view vlc/receipt @ rev 22442

vlc: remove these deps -> did not help at all
author Erkan Yilmaz <erkan@slitaz.org>
date Mon Dec 23 15:27:45 2019 +0000 (2019-12-23)
parents 5e9bcb010ae6
children bfa15512b83b
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 chromaprint-dev protobuf-dev libmtp-dev libsecret-dev libnotify-gtk3-dev"
28 compile_rules()
29 {
30 [ -s /var/lib/dbus/machine-id ] || dbus-uuidgen > /var/lib/dbus/machine-id
31 [ -e /usr/bin/luac ] || ln -s luac5.1 /usr/bin/luac
32 # export ncurses paths
33 export NCURSES_CFLAGS="-I/usr/include"
34 export NCURSES_LIBS="-L/lib -lncurses -ltinfo"
35 export CC=gcc-83 CXX=g++-83 BUILDCC=gcc-83
37 ./configure \
38 --prefix=/usr \
39 --disable-pulse \
40 --disable-a52 \
41 --disable-sout \
42 --disable-libgcrypt \
43 --enable-ncurses \
44 --enable-run-as-root \
45 $CONFIGURE_ARGS &&
46 make &&
47 make install
48 [ -L /usr/bin/luac ] && rm -f /usr/bin/luac
49 }
51 # Rules to gen a SliTaz package suitable for Tazpkg.
52 genpkg_rules()
53 {
54 mkdir -p $fs/usr/share/pixmaps
56 cp -a $install/usr/bin $fs/usr
57 cp -a $install/usr/share/$PACKAGE $fs/usr/share
59 #Remove extra icons
60 rm $fs/usr/share/$PACKAGE/*.ico
62 #copy vlc icon
63 cp -a $install/usr/share/icons/hicolor/16x16/apps/vlc.png $fs/usr/share/pixmaps
65 #Remove unnecessary fonts
66 rm $fs/usr/share/$PACKAGE/skins2/fonts/* 2> /dev/null || true
67 }