wok-current view vlc/receipt @ rev 21913
updated slang and slang-dev (2.2.4 -> 2.3.2)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Oct 04 17:13:54 2019 +0100 (2019-10-04) |
parents | b5d6394fc7d4 |
children | ad69433c853a |
line source
1 # SliTaz package receipt.
3 PACKAGE="vlc"
4 VERSION="3.0.6"
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"
13 COOKOPTS="!fixdesktops"
15 DEPENDS="libQtCore libQtGui libvlc gcc83-lib-base"
16 BUILD_DEPENDS="Qt4-dev alsa-lib-dev dbus-dev ffmpeg-dev gettext \
17 libmad-dev lua5.1-dev tar xcb-util-dev yasm expat-dev libxml2-dev libegl-mesa \
18 util-linux-uuid-dev x264-dev flac-dev taglib-dev gnutls-dev libupnp-dev \
19 libsamplerate-dev fribidi-dev zvbi-dev opus-dev gmp-dev ncurses-dev x265-dev \
20 libgnutls gcc83 gcc83-lib-base"
22 compile_rules()
23 {
24 [ -s /var/lib/dbus/machine-id ] || dbus-uuidgen > /var/lib/dbus/machine-id
25 cd $src
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
31 ./configure \
32 --prefix=/usr \
33 --disable-pulse \
34 --disable-a52 \
35 --disable-sout \
36 --disable-libgcrypt \
37 --enable-ncurses \
38 $CONFIGURE_ARGS &&
39 make &&
40 make install
41 [ -L /usr/bin/luac ] && rm -f /usr/bin/luac
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/share/pixmaps
48 cp -a $install/usr/bin $fs/usr
49 cp -a $install/usr/share/$PACKAGE $fs/usr/share
50 #Remove extra icons
51 rm $fs/usr/share/$PACKAGE/*.ico
52 #copy vlc icon
53 cp -a $install/usr/share/icons/hicolor/16x16/apps/vlc.png $fs/usr/share/pixmaps
54 #Remove unnecessary fonts
55 rm $fs/usr/share/$PACKAGE/skins2/fonts/* 2> /dev/null || true
56 }