[packages/mplayer] Disable obsolete quicktime and win32 support everywhere, more type fixes

baggins baggins at pld-linux.org
Sat Aug 16 00:20:40 CEST 2025


commit ce1b5908d177bb470a68386dd721a0e395817d21
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Aug 16 02:19:53 2025 +0200

    Disable obsolete quicktime and win32 support everywhere, more type fixes

 mplayer-types.patch | 11 +++++++++++
 mplayer.spec        |  6 ++----
 2 files changed, 13 insertions(+), 4 deletions(-)
---
diff --git a/mplayer.spec b/mplayer.spec
index 7c51faf..8bf8cf2 100644
--- a/mplayer.spec
+++ b/mplayer.spec
@@ -43,12 +43,12 @@
 %bcond_without	mpg123		# libmpg123 MP3 decoding support
 %bcond_with	musepack	# libmpcdec support (deprecated in favour of libavcodec)
 %bcond_without	openjpeg	# OpenJPEG (JPEG2000) input/output support
-%bcond_without	quicktime	# binary quicktime dll support
+%bcond_with	quicktime	# binary quicktime dll support
 %bcond_without	real		# Real* 8/9 codecs support
 %bcond_without	vorbis		# Ogg Vorbis audio support (both tremor and libvorbis)
 %bcond_with	tremor		# use tremor instead of libvorbis
 %bcond_without	theora		# Ogg Theora video support
-%bcond_without	win32		# Win32 codecs support
+%bcond_with	win32		# Win32 codecs support
 %bcond_without	x264		# x264 support
 %bcond_with	xmms		# XMMS inputplugin support
 %bcond_without	xvid		# XviD codec
@@ -84,8 +84,6 @@
 %endif
 
 %ifnarch %{ix86}
-%undefine	with_win32
-%undefine	with_quicktime
 %undefine	with_vidix
 %endif
 %ifnarch %{ix86} %{x8664} ppc ppc64
diff --git a/mplayer-types.patch b/mplayer-types.patch
index d4e6c8f..f79c659 100644
--- a/mplayer-types.patch
+++ b/mplayer-types.patch
@@ -383,3 +383,14 @@
  {
  	int size;
  	xvid_enc_stats_t stats;
+--- MPlayer-1.5/libmpcodecs/ve_nuv.c~	2025-08-16 02:13:08.000000000 +0200
++++ MPlayer-1.5/libmpcodecs/ve_nuv.c	2025-08-16 02:18:42.389992964 +0200
+@@ -125,7 +125,7 @@
+   uint8_t* data = vf->priv->buffer + FRAMEHEADERSIZE;
+   uint8_t* zdata = vf->priv->zbuffer + FRAMEHEADERSIZE;
+   int len = 0, r;
+-  size_t zlen = 0;
++  lzo_uint zlen = 0;
+ 
+   memset(header, 0, FRAMEHEADERSIZE); // Reset the header
+   if(vf->priv->lzo)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mplayer.git/commitdiff/ce1b5908d177bb470a68386dd721a0e395817d21



More information about the pld-cvs-commit mailing list