Changeset 79717
- Timestamp:
- 06/23/11 15:00:58 (4 years ago)
- Location:
- trunk/dports/multimedia/mplayer-devel
- Files:
-
- 3 deleted
- 2 edited
-
Portfile (modified) (4 diffs)
-
files/configure.x11.patch (modified) (2 diffs)
-
files/dsputil-mmx.patch (deleted)
-
files/mp3lib-sse.patch (deleted)
-
files/yadif.patch (deleted)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/multimedia/mplayer-devel/Portfile
r79700 r79717 6 6 7 7 name mplayer-devel 8 version 31034 9 revision 3 8 version 33714 10 9 categories multimedia 11 10 maintainers acho openmaintainer 12 11 platforms darwin 13 12 14 set dvdnav_ver 1 19115 set ffmpeg_ver 2286613 set dvdnav_ver 1228 14 set ffmpeg_ver ffc6c8a4305d25db8a5af72389a2453b17f43646 16 15 17 16 description The MPlayer movie player built from SVN. … … 41 40 system "svn export -r${dvdnav_ver} svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav/src ${worksrcpath}/libdvdnav/" 42 41 system "svn export -r${dvdnav_ver} svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdread/src ${worksrcpath}/libdvdread4/" 43 system "svn export -r${ffmpeg_ver} svn://svn.ffmpeg.org/ffmpeg/trunk/libavcodec ${worksrcpath}/libavcodec/" 44 system "svn export -r${ffmpeg_ver} svn://svn.ffmpeg.org/ffmpeg/trunk/libavutil ${worksrcpath}/libavutil/" 45 system "svn export -r${ffmpeg_ver} svn://svn.ffmpeg.org/ffmpeg/trunk/libavformat ${worksrcpath}/libavformat/" 46 system "svn export -r${ffmpeg_ver} svn://svn.ffmpeg.org/ffmpeg/trunk/libpostproc ${worksrcpath}/libpostproc/" 47 } 42 system "git clone --depth 1 git://git.videolan.org/ffmpeg.git ${worksrcpath}/ffmpeg" 43 system "cd ${worksrcpath}/ffmpeg && git checkout -f ${ffmpeg_ver}" 44 } 45 46 platform darwin 11 { 47 configure.compiler gcc-4.2 48 #post-patch { 49 # # MPlayer does not play well with llvm-gcc's link time optimization 50 # reinplace "s:-O4:-O4 -fno-lto:" ${worksrcpath}/configure 51 #} 52 } 53 48 54 # Do not use the following environment variables, otherwise the build phase 49 55 # will fail. … … 65 71 --mandir=${prefix}/share/man \ 66 72 --enable-png --enable-jpeg --enable-liblzo \ 67 --enable-theora --enable-libvorbis --enable-mad \ 68 --enable-largefiles 69 73 --enable-theora --enable-libvorbis --enable-mad 74 75 # MPlayer autodetects many support libs. To prevent undeclared 76 # dependencies, explicitly disable everything optional first. 77 # Later, let autodetect do its magic not explicit --enable 70 78 configure.args-append \ 71 79 --disable-smb --disable-live --disable-dvdnav \ … … 82 90 --disable-gif 83 91 84 patchfiles configure.x11.patch yadif.patch mp3lib-sse.patch dsputil-mmx.patch92 patchfiles configure.x11.patch 85 93 86 94 post-destroot { -
trunk/dports/multimedia/mplayer-devel/files/configure.x11.patch
r50035 r79717 1 --- configure.orig 20 09-04-12 10:07:30.000000000 -07002 +++ configure 20 09-04-22 22:53:09.000000000 -07003 @@ -4 196,6 +4196,9 @@ echores "$_x11_headers"1 --- configure.orig 2011-06-23 11:42:26.000000000 -0700 2 +++ configure 2011-06-23 13:34:17.000000000 -0700 3 @@ -4297,6 +4297,9 @@ echores "$_x11_headers" 4 4 5 5 … … 9 9 +fi 10 10 if test "$_x11" = auto && test "$_x11_headers" = yes ; then 11 cat > $TMPC <<EOF12 #include <X11/Xlib.h>13 @@ -67 60,6 +6763,7 @@ fi11 for I in "" -L/usr/X11R7/lib -L/usr/local/lib -L/usr/X11R6/lib -L/usr/lib/X11R6 \ 12 -L/usr/X11/lib -L/usr/lib32 -L/usr/openwin/lib -L/usr/local/lib64 -L/usr/X11R6/lib64 \ 13 @@ -6777,6 +6780,7 @@ fi 14 14 if test "$_qtx" = yes ; then 15 15 def_qtx='#define CONFIG_QTX_CODECS 1' 16 16 win32 && _qtx_codecs_win32=yes && def_qtx_win32='#define CONFIG_QTX_CODECS_WIN32 1' 17 17 + darwin && extra_ldflags="$extra_ldflags -framework Carbon -framework QuickTime" && def_quicktime='#define CONFIG_QUICKTIME 1' 18 _codecmodules="qtx $_codecmodules"18 codecmodules="qtx $codecmodules" 19 19 darwin || win32 || _qtx_emulation=yes 20 20 else
Note: See TracChangeset
for help on using the changeset viewer.

