talimat 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. # Description: MPlayer, komut satırı üzerinden kontrol edilen güçlü bir ses/video oynatıcı veya hemen hemen her popüler ses ve video dosyası formatını oynatabilen bir grafik arayüz ve mencoder bir video kodlama/kod çözme aracıdır.
  2. # URL: http://www.mplayerhq.hu
  3. # Packager: milisarge
  4. # Depends on: gtk2 yasm desktop-file-utils libdvdnav libdvdcss cdparanoia libcdio-paranoia libdvdread samba libbluray live xorg-libxvmc opus alsa-utils pulseaudio sdl jack openal sgml-common aalib giflib libjpeg-turbo libmng libpng openjpeg libcaca faac faad2 lame liba52 libdv libmad libmpeg2 libtheora libvpx lzo mpg123 speex xvid libmpcdec xorg-fontconfig freetype gnutls openssl opus unrar libxslt docbook-xsl docbook-xml enca glib xorg-libxxf86dga
  5. name=mplayer
  6. version=r37561
  7. release=2
  8. source=(MPlayer-rectif-traduction-fr.patch $name.conf
  9. http://anduin.linuxfromscratch.org/BLFS/other/$name-SVN-r37561.tar.xz
  10. ftp://ftp.mplayerhq.hu/MPlayer/skins/Clearlooks-1.7.tar.bz2
  11. ftp://ftp.mplayerhq.hu/MPlayer/skins/KDE-0.3.tar.bz2
  12. ftp://ftp.mplayerhq.hu/MPlayer/skins/XFce4-1.0.tar.bz2
  13. ftp://ftp.mplayerhq.hu/MPlayer/skins/Orange-1.3.tar.bz2)
  14. build() {
  15. cd $name-SVN-$version
  16. sed -i 's:libsmbclient.h:samba-4.0/&:' configure stream/stream_smb.c
  17. patch -p1 -i ../MPlayer-rectif-traduction-fr.patch
  18. ./configure --prefix=/usr \
  19. --confdir=/etc/mplayer \
  20. --enable-dynamic-plugins \
  21. --enable-menu \
  22. --enable-gui \
  23. --enable-radio \
  24. --enable-radio-capture \
  25. --enable-rpath \
  26. --with-vidix-drivers=radeon,nvidia,cyberblade,ivtv,mach64,mga,mga_crtc2,pm2,pm3,rage128,s3,sis,unichrome\
  27. --enable-dhahelper \
  28. --enable-xvmc \
  29. --enable-mga \
  30. --enable-xmga \
  31. --enable-mlib \
  32. --enable-3dfx \
  33. --enable-tdfxfb \
  34. --enable-joystick \
  35. --enable-s3fb \
  36. --enable-wii \
  37. --enable-bl \
  38. --enable-tdfxvid \
  39. --language-msg=en \
  40. --language=all
  41. make
  42. make DESTDIR=$PKG install
  43. install -v -m644 etc/codecs.conf $PKG/etc/mplayer
  44. install -v -m644 etc/*.conf $PKG/etc/mplayer
  45. install -v -m644 ../mplayer.conf $PKG/etc/mplayer
  46. mv ../Clearlooks \
  47. $PKG/usr/share/mplayer/skins
  48. mv ../KDE \
  49. $PKG/usr/share/mplayer/skins
  50. mv ../XFce4 \
  51. $PKG/usr/share/mplayer/skins
  52. mv ../Orange \
  53. $PKG/usr/share/mplayer/skins
  54. ln -sfvn KDE $PKG/usr/share/mplayer/skins/default
  55. }