wok-undigest view mplayer/receipt @ rev 1229

updated libgio and libgio-dev (2.43.3 -> 2.62.4)
author Hans-G?nter Theisgen
date Wed Sep 09 14:00:14 2020 +0100 (2020-09-09)
parents a825cbe61089
children
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 libgio-dev"
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 export CFLAGS="$CFLAGS -mtune=i686"
27 export CXXFLAGS="$CFLAGS"
28 ARCH_ARGS="--target=i486-linux --disable-sdl --enable-runtime-cpudetection"
29 ./configure \
30 --prefix=/usr \
31 --confdir=/etc/mplayer \
32 --libdir=/usr/lib/mplayer \
33 --enable-gui \
34 --disable-mencoder \
35 --language="en de es fr it ru" \
36 --disable-gl \
37 --disable-jack \
38 --disable-liblzo \
39 --disable-libdv \
40 --disable-fribidi \
41 --disable-ivtv \
42 --disable-smb \
43 --disable-ftp \
44 --disable-openal \
45 --disable-faac \
46 --disable-speex \
47 ${ARCH_ARGS} &&
48 make $MAKEFLAGS &&
49 make DESTDIR=$DESTDIR install
50 }
52 # Rules to gen a SliTaz package suitable for Tazpkg.
53 genpkg_rules()
54 {
55 mkdir -p $fs/usr/share/mplayer/skins
56 cp -a $install/usr/bin $fs/usr
57 [ -d "$install/usr/share/mplayer" ] && \
58 cp -a $install/usr/share/mplayer $fs/usr/share
59 cp -a $install/etc $fs
60 cp $src/etc/example.conf $fs/etc/mplayer
61 # Config to use Xv by default.
62 cp $stuff/mplayer.conf $fs/etc/mplayer
63 # default skin
64 tar xjf $stuff/productive-1.0.tar.bz2 -C $fs/usr/share/mplayer/skins
65 cd $fs/usr/share/mplayer/skins && ln -s productive default
66 # Font
67 cd .. && ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf
68 }