wok-undigest view vlc/receipt @ rev 1234
added recipes for alsa-lib and alsa-lib-dev
author | Hans-G?nter Theisgen |
---|---|
date | Sat Aug 06 17:19:20 2022 +0100 (2022-08-06) |
parents | da0c9f40135c |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="vlc"
4 VERSION="2.2.1"
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 lua-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"
20 compile_rules()
21 {
22 export CFLAGS="$CFLAGS -mtune=i686"
23 export CXXFLAGS="$CFLAGS"
24 [ -s /var/lib/dbus/machine-id ] || dbus-uuidgen > /var/lib/dbus/machine-id
25 ./configure \
26 --prefix=/usr \
27 --disable-pulse \
28 --disable-a52 \
29 --disable-glx \
30 --disable-sout \
31 --disable-httpd \
32 --disable-libgcrypt \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share/pixmaps
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/share/$PACKAGE $fs/usr/share
44 #Remove extra icons
45 rm $fs/usr/share/$PACKAGE/*.ico
46 #copy vlc icon
47 cp -a $install/usr/share/icons/hicolor/16x16/apps/vlc.png $fs/usr/share/pixmaps
48 #Remove unnecessary fonts
49 rm $fs/usr/share/$PACKAGE/skins2/fonts/*
50 }