Skip to contentSkip to conversation

mplayer: Update to version 1.1.

PATCH New Kelvin Cheung 2 participants 2 messages Aug 21, 2012

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 mplayer: Update to version 1.1.

Update to version 1.1 (r34994).

remove --enable-largefiles configure option which was deleted in r33321.

Discard mplayer-theora-fix.patch which is a backport of r34498 and r34503.

---
 .../mplayer-1.0rc3-disable-install-strip.patch     |   24 --
 .../mplayer/mplayer-1.0rc3-fix-cc-parsing.patch    |   22 --
 .../mplayer-1.1-disable-install-strip.patch        |   24 ++
 .../mplayer/mplayer-1.1-fix-cc-parsing.patch       |   22 ++
 .../multimedia/mplayer/mplayer-theora-fix.patch    |  374 --------------------
 package/multimedia/mplayer/mplayer.mk              |   19 +-
 6 files changed, 49 insertions(+), 436 deletions(-)
 delete mode 100644 package/multimedia/mplayer/mplayer-1.0rc3-disable-install-strip.patch
 delete mode 100644 package/multimedia/mplayer/mplayer-1.0rc3-fix-cc-parsing.patch
 create mode 100644 package/multimedia/mplayer/mplayer-1.1-disable-install-strip.patch
 create mode 100644 package/multimedia/mplayer/mplayer-1.1-fix-cc-parsing.patch
 delete mode 100644 package/multimedia/mplayer/mplayer-theora-fix.patch
package/multimedia/mplayer/mplayer-1.0rc3-disable-install-strip.patch deleted +0 -24
deleted file mode 100644
index 644d292..0000000
@@ -1,24 +0,0 @@
-Disable stripping on installation
-
-Using the -s option of install does not work, as it uses the host
-strip instead of the cross strip. So, get rid of it, and let Buildroot
-handle the stripping.
-
-Signed-off-by: Thomas Petazzoni <[email protected]>
----
- configure |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: mplayer-32710/configure
-===================================================================
---- mplayer-32710.orig/configure
-+++ mplayer-32710/configure
-@@ -2519,7 +2519,7 @@
- 
- 
- # Checking for CFLAGS
--_install_strip="-s"
-+_install_strip=
- if test "$_profile" != "" || test "$_debug" != "" ; then
-   CFLAGS="-O2 $_march $_mcpu $_pipe $_debug $_profile"
-   WARNFLAGS="-W -Wall"
package/multimedia/mplayer/mplayer-1.0rc3-fix-cc-parsing.patch deleted +0 -22
deleted file mode 100644
index a3ba03f..0000000
@@ -1,22 +0,0 @@
-[PATCH] mplayer: fix --cc= parsing if the value contains equal signs (=)
-
-E.G. if -cc="$CROSS-gcc --sysroot=<SYSROOT>" is passed.
-
-Signed-off-by: Peter Korsgaard <[email protected]>
----
- configure |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: mplayer-32710/configure
-===================================================================
---- mplayer-32710.orig/configure
-+++ mplayer-32710/configure
-@@ -870,7 +870,7 @@
-     _target=$(echo $ac_option | cut -d '=' -f 2)
-     ;;
-   --cc=*)
--    _cc=$(echo $ac_option | cut -d '=' -f 2)
-+    _cc=$(echo $ac_option | cut -d '=' -f 2-)
-     ;;
-   --host-cc=*)
-     _host_cc=$(echo $ac_option | cut -d '=' -f 2)
package/multimedia/mplayer/mplayer-1.1-disable-install-strip.patch new file +24 -0
new file mode 100644
index 0000000..644d292
@@ -0,0 +1,24 @@
+Disable stripping on installation
+
+Using the -s option of install does not work, as it uses the host
+strip instead of the cross strip. So, get rid of it, and let Buildroot
+handle the stripping.
+
+Signed-off-by: Thomas Petazzoni <[email protected]>
+---
+ configure |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: mplayer-32710/configure
+===================================================================
+--- mplayer-32710.orig/configure
++++ mplayer-32710/configure
+@@ -2519,7 +2519,7 @@
+ 
+ 
+ # Checking for CFLAGS
+-_install_strip="-s"
++_install_strip=
+ if test "$_profile" != "" || test "$_debug" != "" ; then
+   CFLAGS="-O2 $_march $_mcpu $_pipe $_debug $_profile"
+   WARNFLAGS="-W -Wall"
package/multimedia/mplayer/mplayer-1.1-fix-cc-parsing.patch new file +22 -0
new file mode 100644
index 0000000..a3ba03f
@@ -0,0 +1,22 @@
+[PATCH] mplayer: fix --cc= parsing if the value contains equal signs (=)
+
+E.G. if -cc="$CROSS-gcc --sysroot=<SYSROOT>" is passed.
+
+Signed-off-by: Peter Korsgaard <[email protected]>
+---
+ configure |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: mplayer-32710/configure
+===================================================================
+--- mplayer-32710.orig/configure
++++ mplayer-32710/configure
+@@ -870,7 +870,7 @@
+     _target=$(echo $ac_option | cut -d '=' -f 2)
+     ;;
+   --cc=*)
+-    _cc=$(echo $ac_option | cut -d '=' -f 2)
++    _cc=$(echo $ac_option | cut -d '=' -f 2-)
+     ;;
+   --host-cc=*)
+     _host_cc=$(echo $ac_option | cut -d '=' -f 2)
package/multimedia/mplayer/mplayer-theora-fix.patch deleted +0 -374

374 lines not on this page · raw message

package/multimedia/mplayer/mplayer.mk +3 -16
index f4fedf4..05120bf 100644
@@ -3,10 +3,9 @@
 # mplayer
 #
 #############################################################
-MPLAYER_VERSION = 32726
-# MPLAYER_SOURCE = MPlayer-$(MPLAYER_VERSION).tar.bz2
-# MPLAYER_SITE = http://www.mplayerhq.hu/MPlayer/releases
-MPLAYER_SITE = svn://svn.mplayerhq.hu/mplayer/trunk
+MPLAYER_VERSION = 1.1
+MPLAYER_SOURCE = MPlayer-$(MPLAYER_VERSION).tar.xz
+MPLAYER_SITE = http://www.mplayerhq.hu/MPlayer/releases
 
 MPLAYER_CFLAGS = $(TARGET_CFLAGS)
 MPLAYER_LDFLAGS = $(TARGET_LDFLAGS)
@@ -25,18 +24,6 @@ else
 MPLAYER_CONF_OPTS += --disable-big-endian
 endif
 
-# mplayer unfortunately uses --disable-largefiles, so we cannot use
-# DISABLE_LARGEFILE
-ifeq ($(BR2_LARGEFILE),y)
-MPLAYER_CONF_OPTS += --enable-largefiles
-else
-# dvdread/dvdcss requires largefile support
-MPLAYER_CONF_OPTS += 			\
-	--disable-largefiles 		\
-	--disable-dvdread-internal 	\
-	--disable-libdvdcss-internal
-endif
-
 ifeq ($(BR2_PACKAGE_SDL),y)
 MPLAYER_CONF_OPTS += \
 	--enable-sdl \
Signature · 1 line
1.7.1
#1 lore raw

PATCH v2 1/1 mplayer: Update to version 1.1.

Le Tue, 21 Aug 2012 18:13:48 +0800,
Kelvin Cheung <[email protected]> a ?crit :

Quoted 9 lines

Update to version 1.1 (r34994).

remove --enable-largefiles configure option which was deleted in r33321.

Discard mplayer-theora-fix.patch which is a backport of r34498 and r34503.

Applied, thanks.

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com