wok view vlc/receipt @ rev 19113

Add murrine-themes
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 07 05:31:47 2016 +0300 (2016-05-07)
parents bdb702e08b62
children aca8260e4ea7
line source
1 # SliTaz package receipt.
3 PACKAGE="vlc"
4 VERSION="2.2.3"
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"
14 DEPENDS="libQtCore libQtGui libvlc"
15 BUILD_DEPENDS="Qt4-dev alsa-lib-dev dbus-dev ffmpeg-dev gettext \
16 libmad-dev lua5.1-dev tar xcb-util-dev yasm expat-dev libxml2-dev \
17 util-linux-uuid-dev x264-dev flac-dev taglib-dev gnutls-dev libupnp-dev \
18 libsamplerate-dev fribidi-dev zvbi-dev opus-dev gmp-dev ncurses-dev"
20 compile_rules()
21 {
22 [ -s /var/lib/dbus/machine-id ] || dbus-uuidgen > /var/lib/dbus/machine-id
23 cd $src
24 [ -e /usr/bin/luac ] || ln -s luac5.1 /usr/bin/luac
25 sed -i 's/ERROR_zip_cannot/error_zip_cannot/' modules/access/zip/zipstream.c
26 ./configure \
27 --prefix=/usr \
28 --disable-pulse \
29 --disable-a52 \
30 --disable-glx \
31 --disable-sout \
32 --disable-httpd \
33 --disable-libgcrypt \
34 --enable-ncurses \
35 $CONFIGURE_ARGS &&
36 make &&
37 make install
38 [ -L /usr/bin/luac ] && rm -f /usr/bin/luac
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/share/pixmaps
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/share/$PACKAGE $fs/usr/share
47 #Remove extra icons
48 rm $fs/usr/share/$PACKAGE/*.ico
49 #copy vlc icon
50 cp -a $install/usr/share/icons/hicolor/16x16/apps/vlc.png $fs/usr/share/pixmaps
51 #Remove unnecessary fonts
52 rm $fs/usr/share/$PACKAGE/skins2/fonts/*
53 }