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