Skip to content

Commit

Permalink
Updated script to build MPlayer-SB21
Browse files Browse the repository at this point in the history
  • Loading branch information
SubJunk committed Jan 16, 2012
1 parent 15a3ca9 commit 485af69
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions contrib/build-pms-binaries.sh
Expand Up @@ -2,8 +2,8 @@
#
# build-pms-osx.sh
#
# Version: 2.0.5
# Last updated: 2012-01-15
# Version: 2.0.6
# Last updated: 2012-01-16
# Authors: Patrick Atoon, Happy-Neko
#
#
Expand Down Expand Up @@ -144,7 +144,7 @@ VERSION_LIBVORBIS=1.3.2
VERSION_LIBTHEORA=1.1.1
VERSION_LIBZEN=0.4.19
VERSION_LZO=2.04
VERSION_MPLAYER=34561
VERSION_MPLAYER=34577
VERSION_NCURSES=5.9
VERSION_PS3MEDIASERVER=2011-12-11
VERSION_TSMUXER=1.10.6
Expand Down Expand Up @@ -1405,7 +1405,7 @@ build_mplayer() {
# See https://svn.macports.org/ticket/30279

# Apply SB patch that was used for the Windows version
patch -p0 < ./../../mplayer-r34561-SB20.patch
patch -p0 < ./../../mplayer-r34577-SB21.patch

# Theora and vorbis support seems broken in this revision, disable it for now
./configure --cc=$GCC2 --disable-x11 --disable-gl --disable-qtx \
Expand Down
@@ -1,6 +1,6 @@
Index: configure
===================================================================
--- configure (revision 34561)
--- configure (revision 34577)
+++ configure (working copy)
@@ -563,6 +563,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 34561)
--- libao2/ao_sdl.c (revision 34577)
+++ libao2/ao_sdl.c (working copy)
@@ -142,7 +142,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/vo_sdl.c
===================================================================
--- libvo/vo_sdl.c (revision 34561)
--- libvo/vo_sdl.c (revision 34577)
+++ libvo/vo_sdl.c (working copy)
@@ -1427,17 +1427,17 @@
mp_msg(MSGT_VO,MSGL_DBG3, "SDL: Opening Plugin\n");
Expand All @@ -172,7 +172,7 @@ Index: libvo/vo_sdl.c
priv->fullmode = -2;
Index: mencoder.c
===================================================================
--- mencoder.c (revision 34561)
--- mencoder.c (revision 34577)
+++ mencoder.c (working copy)
@@ -139,6 +139,7 @@
int benchmark=0;
Expand Down Expand Up @@ -205,7 +205,7 @@ Index: mencoder.c
// av = compensated (with out buffering delay) A-V diff
Index: mp_msg.c
===================================================================
--- mp_msg.c (revision 34561)
--- mp_msg.c (revision 34577)
+++ mp_msg.c (working copy)
@@ -34,6 +34,26 @@
/* maximum message length of mp_msg */
Expand Down Expand Up @@ -295,7 +295,7 @@ Index: mp_msg.c
}
Index: mpcommon.c
===================================================================
--- mpcommon.c (revision 34561)
--- mpcommon.c (revision 34577)
+++ mpcommon.c (working copy)
@@ -538,40 +538,46 @@
/// Returns a_pts
Expand Down Expand Up @@ -380,7 +380,7 @@ Index: mpcommon.c
}
Index: mplayer.c
===================================================================
--- mplayer.c (revision 34561)
--- mplayer.c (revision 34577)
+++ mplayer.c (working copy)
@@ -145,6 +145,12 @@
float start_volume = -1;
Expand Down Expand Up @@ -615,14 +615,14 @@ Index: osdep/alloc-win.c
\ No newline at end of file
Index: version.sh
===================================================================
--- version.sh (revision 34561)
--- version.sh (revision 34577)
+++ version.sh (working copy)
@@ -17,9 +17,9 @@
version=$svn_revision
fi

-NEW_REVISION="#define VERSION \"${version}${extra}\""
+NEW_REVISION="#define VERSION \"SB20\""
+NEW_REVISION="#define VERSION \"SB21\""
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 485af69

Please sign in to comment.