wok-next diff mplayer-svn/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children | ea9e52516fb0 |
line diff
1.1 --- a/mplayer-svn/receipt Tue Oct 16 16:46:05 2018 +0300 1.2 +++ b/mplayer-svn/receipt Fri Nov 02 14:15:08 2018 +0200 1.3 @@ -4,22 +4,16 @@ 1.4 VERSION="32666" 1.5 CATEGORY="multimedia" 1.6 SHORT_DESC="Mplayer SVN version" 1.7 -MAINTAINER="jozee@slitaz.org" 1.8 +MAINTAINER="devel@slitaz.org" 1.9 LICENSE="GPL2" 1.10 WEB_SITE="http://www.mplayerhq.hu/design7/news.html" 1.11 -PROVIDE="mplayer" 1.12 -TAGS="player movie audio video" 1.13 + 1.14 +BRANCH="$VERSION" 1.15 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.16 WGET_URL="subversion|svn://svn.mplayerhq.hu/mplayer/trunk" 1.17 -BRANCH="$VERSION" 1.18 -SUGGESTED="v4l-utils" 1.19 1.20 -DEPENDS="gtk2 cdparanoia-III libmad xorg-libXv libtheora lame giflib \ 1.21 -xorg-libXScrnSaver xorg-libXxf86vm alsa-lib bzlib x264 libass" 1.22 BUILD_DEPENDS="alsa-lib-dev gtk2-dev cdparanoia-III-dev libmad-dev xorg-libXv-dev libtheora-dev subversion yasm" 1.23 1.24 -# Rules to configure and make the package. 1.25 -# 1.26 # This package is compiled against shared ffmpeg. Compiling with shared ffmpeg 1.27 # on svn version is always challenging. Tip: Try to use the same day ffmpeg and 1.28 # mplayer versions (use: svn info), very likely to succeed. 1.29 @@ -29,40 +23,71 @@ 1.30 # --disable-libavutil_a --disable-libavcodec_a --disable-libavformat_a 1.31 # --disable-libpostproc_a --disable-libswscale_a --disable-libavcodec_mpegaudio_hp 1.32 1.33 -compile_rules() 1.34 -{ 1.35 +compile_rules() { 1.36 sed -i -e 's/info->color_type/png_get_color_type(png, info)/' \ 1.37 -e 's/pngstr->io_ptr/png_get_io_ptr(pngstr)/' libmpcodecs/vd_mpng.c 1.38 - KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` 1.39 - sed -i "s/uname -r/echo $KERNEL_VERSION-slitaz/" configure 1.40 - # disable unwanted features, remote control, streaming, networking, unwanted codecs, 1.41 +# KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` 1.42 +# sed -i "s/uname -r/echo $KERNEL_VERSION-slitaz/" configure 1.43 + # disable unwanted features, remote control, streaming, networking, unwanted codecs, 1.44 # disable video outputs, audio outputs, some advanced options 1.45 ./configure \ 1.46 --extra-cflags=-DHAVE_MMAP \ 1.47 --prefix=/usr \ 1.48 --confdir=/etc/mplayer \ 1.49 --libdir=/usr/lib/mplayer \ 1.50 - --enable-gui --enable-freetype \ 1.51 + --enable-gui \ 1.52 + --enable-freetype \ 1.53 --language="en de es fr" \ 1.54 --target=i386-linux \ 1.55 - --disable-largefiles --disable-dvdnav --disable-pvr --disable-enca --disable-fribidi --disable-maemo \ 1.56 - --disable-lirc --disable-lircc \ 1.57 - --disable-nemesi --disable-vstream \ 1.58 - --disable-smb --disable-live \ 1.59 - --disable-speex --disable-mng --disable-liblzo --disable-faad --disable-faad-internal \ 1.60 - --disable-libdv --disable-faac --disable-faac-lavc --disable-ladspa --disable-libbs2b \ 1.61 - --disable-libdca --disable-musepack \ 1.62 - --disable-gl --disable-vdpau --disable-directfb --disable-sdl --disable-mga \ 1.63 - --disable-jack --disable-pulse --disable-ossaudio --disable-openal --disable-nas --disable-esd \ 1.64 - --disable-mmx --disable-mmxext --disable-3dnow --disable-3dnowext \ 1.65 - --disable-sse --disable-sse2 --disable-ssse3 --disable-fastmemcpy && 1.66 + --disable-largefiles \ 1.67 + --disable-dvdnav \ 1.68 + --disable-pvr \ 1.69 + --disable-enca \ 1.70 + --disable-fribidi \ 1.71 + --disable-maemo \ 1.72 + --disable-lirc \ 1.73 + --disable-lircc \ 1.74 + --disable-nemesi \ 1.75 + --disable-vstream \ 1.76 + --disable-smb \ 1.77 + --disable-live \ 1.78 + --disable-speex \ 1.79 + --disable-mng \ 1.80 + --disable-liblzo \ 1.81 + --disable-faad \ 1.82 + --disable-faad-internal \ 1.83 + --disable-libdv \ 1.84 + --disable-faac \ 1.85 + --disable-faac-lavc \ 1.86 + --disable-ladspa \ 1.87 + --disable-libbs2b \ 1.88 + --disable-libdca \ 1.89 + --disable-musepack \ 1.90 + --disable-gl \ 1.91 + --disable-vdpau \ 1.92 + --disable-directfb \ 1.93 + --disable-sdl \ 1.94 + --disable-mga \ 1.95 + --disable-jack \ 1.96 + --disable-pulse \ 1.97 + --disable-ossaudio \ 1.98 + --disable-openal \ 1.99 + --disable-nas \ 1.100 + --disable-esd \ 1.101 + --disable-mmx \ 1.102 + --disable-mmxext \ 1.103 + --disable-3dnow \ 1.104 + --disable-3dnowext \ 1.105 + --disable-sse \ 1.106 + --disable-sse2 \ 1.107 + --disable-ssse3 \ 1.108 + --disable-fastmemcpy \ 1.109 + && 1.110 make $MAKEFLAGS && 1.111 - make DESTDIR=$DESTDIR install 1.112 + make DESTDIR=$install install 1.113 } 1.114 1.115 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.116 -genpkg_rules() 1.117 -{ 1.118 +genpkg_rules() { 1.119 mkdir -p $fs/usr/share/applications 1.120 cp -a $stuff/mplayer.desktop $fs/usr/share/applications 1.121 cp -a $install/usr/bin $fs/usr 1.122 @@ -73,10 +98,17 @@ 1.123 cp -a $install/etc $fs 1.124 cp $src/etc/example.conf $fs/etc/mplayer 1.125 # Config to use Xv by default. 1.126 - cp stuff/mplayer.conf $fs/etc/mplayer 1.127 + cp $stuff/mplayer.conf $fs/etc/mplayer 1.128 # default skin 1.129 tar xjf stuff/productive-1.0.tar.bz2 -C $fs/usr/share/mplayer/skins 1.130 - cd $fs/usr/share/mplayer/skins && ln -s productive default 1.131 + cd $fs/usr/share/mplayer/skins 1.132 + ln -s productive default 1.133 # Font 1.134 - cd .. && ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf 1.135 + cd .. 1.136 + ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf 1.137 + DEPENDS="gtk2 cdparanoia-III libmad xorg-libXv libtheora lame giflib \ 1.138 + xorg-libXScrnSaver xorg-libXxf86vm alsa-lib bzlib x264 libass" 1.139 + PROVIDE="mplayer" 1.140 + SUGGESTED="v4l-utils" 1.141 + TAGS="player movie audio video" 1.142 }