Skip to content

Commit

Permalink
Updated MPlayer build script to SB30
Browse files Browse the repository at this point in the history
  • Loading branch information
SubJunk committed Apr 9, 2012
1 parent 38f3dc7 commit 9edeb06
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions contrib/binaries-deps-versions
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ VERSION_EXPAT=2.1.0
VERSION_FAAD2=2.7
VERSION_FLAC=1.2.1
VERSION_FONTCONFIG=2.8.0
VERSION_FFMPEG=49891784ce70456305f19847d4188f07bbc1b6e1
VERSION_FFMPEG=58c25724b7f921fdf3657fcb011b3bb3b7b353d4
VERSION_FREETYPE=2.4.9
VERSION_FRIBIDI=0.19.2
VERSION_GIFLIB=4.1.6
Expand All @@ -23,7 +23,7 @@ VERSION_LIBVORBIS=1.3.2
VERSION_LIBTHEORA=1.1.1
VERSION_LIBZEN=0.4.23
VERSION_LZO=2.06
VERSION_MPLAYER=34836
VERSION_MPLAYER=34849
VERSION_NCURSES=5.9
VERSION_PS3MEDIASERVER=release-1.50.0
VERSION_TSMUXER=1.10.6
Expand Down
4 changes: 2 additions & 2 deletions contrib/build-pms-binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1223,7 +1223,7 @@ build_mplayer() {
# See https://svn.macports.org/ticket/30279

# Apply SB patch that was used for the Windows version
patch -p0 < ./../../../../contrib/mplayer-r34836-SB29.patch
patch -p0 < ./../../../../contrib/mplayer-r34849-SB30.patch
exit_on_error

# Theora and vorbis support seems broken in this revision, disable it for now
Expand All @@ -1242,7 +1242,7 @@ build_mplayer() {
export LDFLAGS="$LDFLAGS -O4 -fomit-frame-pointer -pipe"

# Apply SB patch that was used for the Windows version
patch -p0 < ./../../../../contrib/mplayer-r34836-SB29.patch
patch -p0 < ./../../../../contrib/mplayer-r34849-SB30.patch
exit_on_error

# mplayer configure patch for r34587-SB22
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Index: configure
===================================================================
--- configure (revision 34836)
--- configure (revision 34849)
+++ configure (working copy)
@@ -565,6 +565,7 @@
--with-install=PATH path to a custom install program
Expand Down Expand Up @@ -132,7 +132,7 @@ Index: configure

Index: libao2/ao_sdl.c
===================================================================
--- libao2/ao_sdl.c (revision 34836)
--- libao2/ao_sdl.c (revision 34849)
+++ libao2/ao_sdl.c (working copy)
@@ -143,7 +143,7 @@
mp_msg(MSGT_AO,MSGL_INFO,MSGTR_AO_SDL_INFO, rate, (channels > 1) ? "Stereo" : "Mono", af_fmt2str_short(format));
Expand All @@ -145,7 +145,7 @@ Index: libao2/ao_sdl.c

Index: libvo/sdl_common.c
===================================================================
--- libvo/sdl_common.c (revision 34836)
--- libvo/sdl_common.c (revision 34849)
+++ libvo/sdl_common.c (working copy)
@@ -64,7 +64,7 @@
if (WinID > 0) {
Expand All @@ -167,7 +167,7 @@ Index: libvo/sdl_common.c
if (!s) {
Index: libvo/vo_sdl.c
===================================================================
--- libvo/vo_sdl.c (revision 34836)
--- libvo/vo_sdl.c (revision 34849)
+++ libvo/vo_sdl.c (working copy)
@@ -1334,17 +1334,17 @@
mp_msg(MSGT_VO,MSGL_DBG3, "SDL: Opening Plugin\n");
Expand All @@ -194,7 +194,7 @@ Index: libvo/vo_sdl.c
priv->fullmode = -2;
Index: mencoder.c
===================================================================
--- mencoder.c (revision 34836)
--- mencoder.c (revision 34849)
+++ mencoder.c (working copy)
@@ -139,6 +139,7 @@
int benchmark=0;
Expand Down Expand Up @@ -227,7 +227,7 @@ Index: mencoder.c
// av = compensated (with out buffering delay) A-V diff
Index: mp_msg.c
===================================================================
--- mp_msg.c (revision 34836)
--- mp_msg.c (revision 34849)
+++ mp_msg.c (working copy)
@@ -34,6 +34,26 @@
/* maximum message length of mp_msg */
Expand Down Expand Up @@ -317,9 +317,9 @@ Index: mp_msg.c
}
Index: mpcommon.c
===================================================================
--- mpcommon.c (revision 34836)
--- mpcommon.c (revision 34849)
+++ mpcommon.c (working copy)
@@ -538,40 +538,46 @@
@@ -544,40 +544,46 @@
/// Returns a_pts
double calc_a_pts(sh_audio_t *sh_audio, demux_stream_t *d_audio)
{
Expand Down Expand Up @@ -402,7 +402,7 @@ Index: mpcommon.c
}
Index: mplayer.c
===================================================================
--- mplayer.c (revision 34836)
--- mplayer.c (revision 34849)
+++ mplayer.c (working copy)
@@ -145,6 +145,12 @@
float start_volume = -1;
Expand Down Expand Up @@ -637,14 +637,14 @@ Index: osdep/alloc-win.c
\ No newline at end of file
Index: version.sh
===================================================================
--- version.sh (revision 34836)
--- version.sh (revision 34849)
+++ version.sh (working copy)
@@ -17,9 +17,9 @@
version=$svn_revision
fi

-NEW_REVISION="#define VERSION \"${version}${extra}\""
+NEW_REVISION="#define VERSION \"SB29\""
+NEW_REVISION="#define VERSION \"SB30\""
OLD_REVISION=$(head -n 1 version.h 2> /dev/null)
-TITLE='#define MP_TITLE "%s "VERSION" (C) 2000-2012 MPlayer Team\n"'
+TITLE='#define MP_TITLE "%s "VERSION" (C) 2000-2012 MPlayer Team\nCustom build by SubJunk, http://www.spirton.com\n\n"'
Expand Down

0 comments on commit 9edeb06

Please sign in to comment.