wok-undigest view mplayer/receipt @ rev 1179

Update pcre in chroot too
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Mon Nov 02 05:11:43 2015 +0100 (2015-11-02)
parents f404ab0d585e
children b86fd11b1871
line source
1 # SliTaz package receipt.
3 PACKAGE="mplayer"
4 VERSION="1.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="The Ultimate Movie Player For Linux."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="MPlayer"
10 TARBALL="$SOURCE-$VERSION.tar.xz"
11 WEB_SITE="http://www.mplayerhq.hu/design7/news.html"
12 WGET_URL="http://www1.mplayerhq.hu/MPlayer/releases/$TARBALL"
13 HOST_ARCH="i486"
15 DEPENDS="gtk+ libmad xorg-libXv alsa-lib ncurses \
16 xorg-libXdamage giflib enca xorg-libXxf86vm \
17 zlib xorg-libXss"
18 BUILD_DEPENDS="gtk+-dev libmad-dev xorg-libXv-dev \
19 alsa-lib-dev ncurses-dev xorg-libXdamage-dev giflib-dev \
20 xorg-libXxf86vm-dev enca-dev \
21 zlib-dev xorg-xextproto pkg-config yasm glib-dev"
23 # Rules to configure and make the package.
24 compile_rules()
25 {
27 ARCH_ARGS="--target=i486-linux --disable-sdl --enable-runtime-cpudetection"
28 ./configure \
29 --prefix=/usr \
30 --confdir=/etc/mplayer \
31 --libdir=/usr/lib/mplayer \
32 --enable-gui \
33 --disable-mencoder \
34 --language="en de es fr it ru" \
35 --disable-gl \
36 --disable-jack \
37 --disable-liblzo \
38 --disable-libdv \
39 --disable-fribidi \
40 --disable-ivtv \
41 --disable-smb \
42 --disable-ftp \
43 --disable-openal \
44 --disable-faac \
45 --disable-speex \
46 ${ARCH_ARGS} &&
47 export CFLAGS="$CFLAGS -mtune=i686"
48 export CXXFLAGS="$CFLAGS"
49 make $MAKEFLAGS &&
50 make DESTDIR=$DESTDIR install
51 }
53 # Rules to gen a SliTaz package suitable for Tazpkg.
54 genpkg_rules()
55 {
56 mkdir -p $fs/usr/share/mplayer/skins
57 cp -a $install/usr/bin $fs/usr
58 [ -d "$install/usr/share/mplayer" ] && \
59 cp -a $install/usr/share/mplayer $fs/usr/share
60 cp -a $install/etc $fs
61 cp $src/etc/example.conf $fs/etc/mplayer
62 # Config to use Xv by default.
63 cp $stuff/mplayer.conf $fs/etc/mplayer
64 }