|
|||||||||
Sunday the 22nd of November, 2009 |
|||||||||
mplayer-devel most recent diffversion 29418
Scroll down toward the bottom of the page to get installation instructions for mplayer-devel. The raw portfile for mplayer-devel 29418 is located here: http://mplayer-devel.darwinports.com/dports/multimedia/mplayer-devel/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/mplayer-devel The mplayer-devel Portfile 57380 2009-09-10 09:03:55Z ryandesign # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 Name: mplayer-devel Version: 29418 Revision: 1 Category: multimedia Maintainers: acho openmaintainer Platform: darwin set dvdnav_ver 1174 set ffmpeg_ver 19425 Description: The MPlayer movie player built from SVN. Long Description: ${description} It plays most MPEG/VOB, AVI, Ogg/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, RealMedia, Matroska, NUT, NuppelVideo, FLI, YUV4MPEG, FILM, RoQ, PVA files, supported by many native, XAnim, and Win32 DLL codecs. You can watch VideoCD, SVCD, DVD, 3ivx, DivX 3/4/5, WMV and even H.264 movies. Homepage: http://www.mplayerhq.hu/ livecheck.type none depends_build port:pkgconfig port:yasm depends_lib port:jpeg port:lame port:libiconv port:libmad port:libogg port:libpng port:libvorbis port:lzo2 port:ncurses port:zlib port:bzip2 port:liboil fetch.type svn #svn.revision ${version} #svn.url svn://svn.mplayerhq.hu/mplayer/trunk worksrcdir trunk fetch { system "svn export -r${version} --ignore-externals svn://svn.mplayerhq.hu/mplayer/trunk ${worksrcpath}/" system "svn export -r${dvdnav_ver} svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav/src ${worksrcpath}/libdvdnav/" system "svn export -r${dvdnav_ver} svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdread/src ${worksrcpath}/libdvdread4/" system "svn export -r${ffmpeg_ver} svn://svn.ffmpeg.org/ffmpeg/trunk/libavcodec ${worksrcpath}/libavcodec/" system "svn export -r${ffmpeg_ver} svn://svn.ffmpeg.org/ffmpeg/trunk/libavutil ${worksrcpath}/libavutil/" system "svn export -r${ffmpeg_ver} svn://svn.ffmpeg.org/ffmpeg/trunk/libavformat ${worksrcpath}/libavformat/" system "svn export -r${ffmpeg_ver} svn://svn.ffmpeg.org/ffmpeg/trunk/libpostproc ${worksrcpath}/libpostproc/" } # Do not use the following environment variables, otherwise the build phase # will fail. configure.cflags {} configure.cppflags {} configure.cxxflags {} configure.ldflags {} # Do not use pipes, otherwise the build phase will fail. configure.pipe no configure.args --extra-cflags="-I${prefix}/include/lzo -I${prefix}/include" --extra-ldflags="-L${prefix}/lib -L${prefix}/lib/samba3" --datadir=${prefix}/share/${name} --confdir=${prefix}/etc/${name} --mandir=${prefix}/share/man --enable-png --enable-jpeg --enable-liblzo --enable-libvorbis --enable-mad --enable-largefiles configure.args-append --disable-smb --disable-live --disable-dvdnav --disable-dvdread --disable-cdparanoia --disable-freetype --disable-fontconfig --disable-fribidi --disable-enca --disable-libcdio --disable-xvid --disable-x264 --disable-speex --disable-theora --disable-faac --disable-libdv --disable-toolame --disable-twolame --disable-xmms --disable-musepack --disable-sdl --disable-aa --disable-caca --disable-x11 --disable-gl --disable-arts --disable-esd --disable-lirc --disable-mng --disable-libdirac-lavc --disable-libschroedinger-lavc Patch Files: configure.x11.patch post-destroot { xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name} eval file copy [glob ${worksrcpath}/DOCS/*] ${destroot}${prefix}/share/doc/${name} xinstall -d -m 0755 ${destroot}${prefix}/etc/${name} foreach etcfile {codecs.conf dvb-menu.conf example.conf input.conf menu.conf} { xinstall -m 0644 ${worksrcpath}/etc/${etcfile} ${destroot}${prefix}/etc/${name}/${etcfile} } xinstall -d -m 0755 ${destroot}${prefix}/share/man/man1 xinstall -m 0644 ${worksrcpath}/DOCS/man/en/mplayer.1 ${destroot}${prefix}/share/man/man1/ xinstall -m 0755 ${worksrcpath}/TOOLS/midentify.sh ${destroot}${prefix}/bin/midentify } universal_variant no Variant: man_all_lang description {Install all possible languages for man pages} { configure.args-append --language=all } # Bundle all the font deps into one onscreen display variant # Allow autodetect to pick up fontconfig & freetype Variant: osd description {Enable onscreen display and TrueType font support} { depends_lib-append port:fontconfig port:freetype configure.args-delete --disable-fontconfig configure.args-delete --disable-freetype configure.args-append --enable-menu } Variant: fribidi requires osd description {Enable FriBidi Unicode support} { depends_lib-append port:fribidi configure.args-delete --disable-fribidi } Variant: noappleremote description {Disable Apple Infrared Remote support} { configure.args-append --disable-apple-remote } Variant: lirc description {Enable Linux Infrared Remote Daemon support} { depends_lib-append port:lirc configure.args-delete --disable-lirc } Variant: live description {Enable live555 support} { depends_lib-append port:live555 } ##### Variant: nodvd description {Disable DVD and DeCSS support} { configure.args-append --disable-dvdread-internal --disable-libdvdcss-internal } Variant: samba description {Enable Samba support} { depends_lib-append port:samba3 configure.args-append --enable-smb configure.args-delete --disable-smb } ##### External codecs Variant: theora description {Enable OggTheora support} { depends_lib-append port:libtheora configure.args-delete --disable-theora configure.args-append --enable-theora } Variant: xvid description {Enable XviD encoding} { depends_lib-append port:XviD configure.args-delete --disable-xvid } Variant: x264 description {Enable H.264 encoding} { depends_lib-append port:x264 configure.args-delete --disable-x264 } Variant: speex description {Enable Speex playback} { depends_lib-append port:speex-devel configure.args-delete --disable-speex } Variant: faac description {Enable AAC encoding} { depends_lib-append port:faac configure.args-delete --disable-faac } Variant: dv description {Enable DV encoding} { depends_lib-append port:libdv configure.args-delete --disable-libdv } Variant: twolame description {Enable MPEG Audio Layer 2 encoding} { depends_lib-append port:twolame configure.args-delete --disable-twolame } Variant: dts description {Enable non-passthrough DTS playback} { depends_lib-append port:libdca configure.args-delete --disable-libdts } Variant: mng description {Enable mng codec support} { depends_lib-append port:libmng configure.args-delete --disable-mng } Variant: dirac description {Enable dirac codec support} { depends_lib-append port:dirac port:schroedinger configure.args-delete --disable-libdirac-lavc configure.args-delete --disable-libschroedinger-lavc } platform darwin powerpc {} platform darwin i386 {} Variant: binary_codecs description {Enable platform-specific binary codecs} { if {[variant_isset darwin_powerpc]} { global mplayercodecs mplayercodecsfile set mplayercodecs rp9codecs-macosx-20041107.pkg set mplayercodecsfile ${mplayercodecs}.zip distfiles-append ${mplayercodecsfile}:codecs checksums-append ${mplayercodecsfile} md5 788cf4940280fd787c0a2141d88ce3c7 sha1 18abd6d0424c4682815a13b34695d37d2fda2a73 rmd160 c6f49012633bbb84ffa405b8881dc90605d26fc6 extract.only ${distname}${extract.suffix} depends_build-append bin:unzip:unzip } if {[variant_isset darwin_i386]} { global mplayercodecs mplayercodecsfile set mplayercodecs "Essential Codecs Package (Intel).pkg" set mplayercodecsfile essential-macosx-x86-20060611.zip distfiles-append ${mplayercodecsfile}:codecs checksums-append ${mplayercodecsfile} md5 1e409d500336a8318cbe2a67bbf9d9ca sha1 4f8fee483b6c227d8cb774d2d30e1ef36a43e04a rmd160 87beaa40263deb0d0b9166f24d6f9dd686f594fd extract.only ${distname}${extract.suffix} depends_build-append bin:unzip:unzip } post-fetch { system "curl --create-dirs http://www.mplayerhq.hu/MPlayer/releases/codecs/${mplayercodecsfile} -o ${distpath}/${mplayercodecsfile}" } post-extract { system "unzip -q -d ${worksrcpath} ${distpath}/${mplayercodecsfile}" } configure.args-append --codecsdir=${prefix}/share/${name}/codecs post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/${name}/codecs system "cd ${destroot}${prefix}/share/${name}/codecs && pax -r -z -f \"${worksrcpath}/${mplayercodecs}/Contents/Archive.pax.gz\"" } } ##### Outputs Variant: sdl description {Enable SDL video output} { depends_lib-append path:lib/pkgconfig/sdl.pc:libsdl configure.args-delete --disable-sdl } Variant: aa description {Enable animated ASCII art video output} { depends_lib-append port:aalib configure.args-delete --disable-aa } Variant: caca description {Enable animated ASCII art video output} { depends_lib-append port:libcaca configure.args-delete --disable-caca } Variant: x11 description {Enable x11 support} { depends_lib-append port:xorg-libXinerama port:xorg-libXv port:xorg-libXxf86vm configure.args-delete --disable-x11 configure.args-append --enable-x11 --enable-xv --enable-xinerama --enable-xshape } Variant: esd description {Enable EsounD audio output} { depends_lib-append port:esound configure.args-delete --disable-esd } platform macosx { configure.args-append --enable-macosx-bundle --enable-qtx } Variant: glx requires x11 description {Enable glx output support. Due to a bug in mplayer, this disables corevideo support} { depends_lib-append port:mesa configure.args-delete --disable-gl --enable-macosx --enable-macosx-finder-support --enable-macosx-bundle configure.args-append --enable-gl --disable-corevideo } Variant: debug description {Compile with debugging symbols} { configure.args-append --enable-debug=gdb3 --disable-altivec #post-patch { # reinplace "s:-O2:-O0:g" ${worksrcpath}/configure #} } platform darwin { build.env LD=${configure.cc} } platform darwin 8 { # Need to force use of c++ for linking when Xcode 2.2 is used since some # bits of libstdc++ are needed during linking build.env LD=${configure.cxx} } If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page. Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:
% cd /opt/local/bin/portslocation/dports/mplayer-develYou will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to: Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using mplayer-devel with these commands: % man mplayer-devel Where to find more information:
|
![]() |
![]()
Order Snow Leopard MacOSX 10.6 for only $29!
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
accounting
amusements aqua archivers audio benchmarks biology blinkenlights cad chat chinese comms compression cross crypto databases devel editors education electronics emacs emulators erlang finance fonts framework fuse games genealogy gis gnome gnustep graphics gtk haskell iphone irc japanese java kde kde4 lang macports math mercurial ml mono multimedia net network news ocaml office palm parallel perl php pim project python reporting rox ruby russian scheme science security shells spelling squeak sysutils tcl tex textproc tk unicode vnc win32 wsn www x11 x11-font x11-wm xfce zope
Current SVN DownloadsDarwin Ports Current :nightly SVN snapshot SSH Key Gen See also: GNU-Darwin Ports for GNU-only software |
|||||||
| |




