wok-next view mplayer-cli/receipt @ rev 21303
updated gujin (2.8.6 -> 2.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 07:57:29 2019 +0100 (2019-12-10) |
parents | 0f2575775b2d |
children | 290f11b09d41 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="mplayer-cli"
4 VERSION="1.3.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="The Ultimate Movie Player For Linux (with minimal depends)"
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.mplayerhq.hu/design7/news.html"
10 REPOLOGY="mplayer"
12 TARBALL="MPlayer-$VERSION.tar.xz"
13 WGET_URL="http://www1.mplayerhq.hu/MPlayer/releases/$TARBALL"
15 BUILD_DEPENDS="ncurses-dev libxv-dev alsa-lib-dev libxdamage-dev \
16 giflib-dev libxxf86vm-dev xorgproto freetype-dev fontconfig-dev \
17 zlib-dev yasm libmad-dev sdl-dev gnutls-dev"
19 compile_rules() {
20 case "$ARCH" in
21 i?86) ARCH_ARGS="--target=i486-linux --enable-runtime-cpudetection";;
22 esac
24 ./configure \
25 --prefix=/usr \
26 --confdir=/etc/mplayer \
27 --libdir=/usr/lib/mplayer \
28 --language="en de es fr it pl ru" \
29 --enable-menu \
30 --disable-mencoder \
31 --disable-gl \
32 --disable-jack \
33 --disable-liblzo \
34 --disable-libdv \
35 --disable-fribidi \
36 --disable-ivtv \
37 --disable-smb \
38 --disable-openal \
39 --disable-faac \
40 --disable-speex \
41 --disable-esd \
42 --disable-lirc \
43 --disable-lircc \
44 $ARCH_ARGS &&
45 make $MAKEFLAGS &&
46 make DESTDIR=$install install
47 }
49 genpkg_rules() {
50 mkdir -p $fs/usr/share/mplayer
51 cp -a $install/usr/bin $fs/usr
52 cp -a $install/etc $fs
53 cp $src/etc/example.conf $fs/etc/mplayer
54 # Add /etc/mplayer/input.conf
55 cp $stuff/input.conf $fs/etc/mplayer
56 # Config
57 cp $stuff/mplayer.conf $fs/etc/mplayer
58 # No-gui, OSD ($username@slitaz:~$ mplayer -menu filename)
59 mkdir -p $fs/usr/share/applications
60 cp -f $stuff/mplayer.desktop $fs/usr/share/applications/mplayer.desktop
61 cp $src/etc/*menu.conf $fs/etc/mplayer
62 # Font
63 cd $fs/usr/share/mplayer && ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf
64 DEPENDS="alsa-lib libbzip2 fontconfig freetype giflib libgnutls libmad libpng \
65 sdl ncurses libx11 libxext libxv libxxf86vm zlib"
66 PROVIDE="mplayer"
67 }