wok-backports annotate mplayer-cli/receipt @ rev 53
Add mplayer-cli, cacerts
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Thu Dec 08 16:09:30 2016 +0100 (2016-12-08) |
parents | |
children |
rev | line source |
---|---|
psychomaniak@53 | 1 # SliTaz package receipt. |
psychomaniak@53 | 2 |
psychomaniak@53 | 3 PACKAGE="mplayer-cli" |
psychomaniak@53 | 4 VERSION="1.1.1" |
psychomaniak@53 | 5 CATEGORY="multimedia" |
psychomaniak@53 | 6 SHORT_DESC="The Ultimate Movie Player For Linux (with minimal depends)" |
psychomaniak@53 | 7 MAINTAINER="psychomaniak@xakep.ru" |
psychomaniak@53 | 8 LICENSE="GPL2" |
psychomaniak@53 | 9 SOURCE="MPlayer" |
psychomaniak@53 | 10 TARBALL="$SOURCE-$VERSION.tar.xz" |
psychomaniak@53 | 11 WEB_SITE="http://www.mplayerhq.hu/design7/news.html" |
psychomaniak@53 | 12 WGET_URL="http://www1.mplayerhq.hu/MPlayer/releases/$TARBALL" |
psychomaniak@53 | 13 |
psychomaniak@53 | 14 DEPENDS=" alsa-lib ncurses xorg-libXdamage xorg-libXv xorg-libXxf86vm \ |
psychomaniak@53 | 15 xorg-libXss zlib" |
psychomaniak@53 | 16 BUILD_DEPENDS="xorg-libXv-dev alsa-lib-dev ncurses-dev xorg-libXdamage-dev |
psychomaniak@53 | 17 xorg-libXxf86vm-dev audiofile-dev zlib-dev xorg-xextproto \ |
psychomaniak@53 | 18 xorg-dev pkg-config yasm" |
psychomaniak@53 | 19 |
psychomaniak@53 | 20 # Rules to configure and make the package. |
psychomaniak@53 | 21 compile_rules() |
psychomaniak@53 | 22 { |
psychomaniak@53 | 23 ./configure \ |
psychomaniak@53 | 24 --prefix=/usr \ |
psychomaniak@53 | 25 --confdir=/etc/mplayer \ |
psychomaniak@53 | 26 --libdir=/usr/lib/mplayer \ |
psychomaniak@53 | 27 --language="en de es fr it pl ru" \ |
psychomaniak@53 | 28 --enable-menu \ |
psychomaniak@53 | 29 --disable-mencoder \ |
psychomaniak@53 | 30 --disable-gl \ |
psychomaniak@53 | 31 --disable-jack \ |
psychomaniak@53 | 32 --disable-liblzo \ |
psychomaniak@53 | 33 --disable-libdv \ |
psychomaniak@53 | 34 --disable-fribidi \ |
psychomaniak@53 | 35 --disable-ivtv \ |
psychomaniak@53 | 36 --disable-smb \ |
psychomaniak@53 | 37 --disable-ftp \ |
psychomaniak@53 | 38 --disable-openal \ |
psychomaniak@53 | 39 --disable-faac \ |
psychomaniak@53 | 40 --disable-speex --disable-esd \ |
psychomaniak@53 | 41 --disable-lirc --disable-lircc \ |
psychomaniak@53 | 42 --disable-sdl \ |
psychomaniak@53 | 43 --enable-runtime-cpudetection \ |
psychomaniak@53 | 44 ${ARCH_ARGS} && |
psychomaniak@53 | 45 make $MAKEFLAGS && |
psychomaniak@53 | 46 make DESTDIR=$DESTDIR install | sed '/install: strip: .*/'d |
psychomaniak@53 | 47 } |
psychomaniak@53 | 48 |
psychomaniak@53 | 49 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@53 | 50 genpkg_rules() |
psychomaniak@53 | 51 { |
psychomaniak@53 | 52 mkdir -p $fs/usr/share/mplayer |
psychomaniak@53 | 53 cp -a $install/usr/bin $fs/usr |
psychomaniak@53 | 54 cp -a $install/etc $fs |
psychomaniak@53 | 55 cp $src/etc/example.conf $fs/etc/mplayer |
psychomaniak@53 | 56 # Add /etc/mplayer/input.conf |
psychomaniak@53 | 57 cp $stuff/input.conf $fs/etc/mplayer |
psychomaniak@53 | 58 # Config |
psychomaniak@53 | 59 cp $stuff/mplayer.conf $fs/etc/mplayer |
psychomaniak@53 | 60 # No-gui, OSD ($username@slitaz:~$ mplayer -menu filename) |
psychomaniak@53 | 61 mkdir -p $fs/usr/share/applications |
psychomaniak@53 | 62 cp -f $stuff/mplayer.desktop $fs/usr/share/applications/mplayer.desktop |
psychomaniak@53 | 63 cp $src/etc/*menu.conf $fs/etc/mplayer |
psychomaniak@53 | 64 # Font |
psychomaniak@53 | 65 cd $fs/usr/share/mplayer && ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf |
psychomaniak@53 | 66 } |