mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
- correct linux real player codecs detection, by Conrad J. Sabatier
<conrads@cox.net> - introduce new vidix patches to enable -vo xvidix for some accidently mistreated radeon and matrox cards, reported by Andre Albsmeier <andre@albsmeier.net> - explicitly forbid -fforce-addr gcc optimization as it reliably breaks all ffmpeg descendants, by Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> PR: ports/79828 Submitted by: Thomas E. Zander <riggs@rrr.de> (maintainer)
This commit is contained in:
parent
5729185ae1
commit
74c8703e5e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133177
@ -260,7 +260,7 @@
|
||||
|
||||
PORTNAME= mplayer
|
||||
PORTVERSION= 0.99.6
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= multimedia audio ipv6
|
||||
MASTER_SITES= http://www1.mplayerhq.hu/MPlayer/releases/ \
|
||||
http://www2.mplayerhq.hu/MPlayer/releases/ \
|
||||
@ -422,7 +422,7 @@ LIB_DEPENDS+= jpeg.9:${PORTSDIR}/graphics/jpeg
|
||||
WITH_XANIM= yes
|
||||
.endif
|
||||
|
||||
.if exists(${LOCALBASE}/lib/RealPlayer8/realplay)
|
||||
.if exists(${LOCALBASE}/lib/RealPlayer/realplay.bin)
|
||||
WITH_REALPLAYER= yes
|
||||
.endif
|
||||
|
||||
@ -524,6 +524,7 @@ DEFAULT_CDROM_DEVICE=/dev/acd0
|
||||
#Kernel granularity
|
||||
DEFAULT_KERN_HZ=1024
|
||||
.else #MPLAYER_GENERIC_BUILD
|
||||
CFLAGS+= -fno-force-addr
|
||||
.if defined(DEBUG)
|
||||
CONFIGURE_ARGS+= --enable-debug
|
||||
.endif
|
||||
@ -701,7 +702,7 @@ LIB_DEPENDS+= vorbis.3:${PORTSDIR}/audio/libvorbis
|
||||
|
||||
.if defined(WITH_REALPLAYER)
|
||||
CONFIGURE_ARGS+= --enable-real \
|
||||
--with-reallibdir=${LOCALBASE}/lib/RealPlayer8/Codecs
|
||||
--with-reallibdir=${LOCALBASE}/lib/RealPlayer/codecs
|
||||
RUN_DEPENDS+= realplay:${PORTSDIR}/multimedia/linux-realplayer
|
||||
BUILD_DEPENDS+= realplay:${PORTSDIR}/multimedia/linux-realplayer
|
||||
.endif
|
||||
|
12
multimedia/mplayer/files/patch-vidix-drivers-mga_vid.c
Normal file
12
multimedia/mplayer/files/patch-vidix-drivers-mga_vid.c
Normal file
@ -0,0 +1,12 @@
|
||||
--- vidix/drivers/mga_vid.c.orig Thu Sep 2 13:34:25 2004
|
||||
+++ vidix/drivers/mga_vid.c Tue Apr 12 17:51:55 2005
|
||||
@@ -1218,8 +1218,7 @@
|
||||
{
|
||||
if ((lst[i].command & PCI_COMMAND_IO) == 0)
|
||||
{
|
||||
- printf("[mga] Device is disabled, ignoring\n");
|
||||
- continue;
|
||||
+ printf("[mga] Device is disabled, trying anyways.\n");
|
||||
}
|
||||
switch(lst[i].device)
|
||||
{
|
11
multimedia/mplayer/files/patch-vidix-drivers-radeon_vid.c
Normal file
11
multimedia/mplayer/files/patch-vidix-drivers-radeon_vid.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- vidix/drivers/radeon_vid.c.orig Tue Dec 21 00:43:54 2004
|
||||
+++ vidix/drivers/radeon_vid.c Tue Apr 12 17:49:46 2005
|
||||
@@ -852,6 +852,8 @@
|
||||
DEVICE_ATI_RAGE_128_PRO2,
|
||||
DEVICE_ATI_RAGE_128_PRO3,
|
||||
/* these seem to be based on rage 128 instead of mach64 */
|
||||
+ DEVICE_ATI_RAGE_MOBILITY_M4,
|
||||
+ DEVICE_ATI_RAGE_MOBILITY_M42,
|
||||
DEVICE_ATI_RAGE_MOBILITY_M3,
|
||||
DEVICE_ATI_RAGE_MOBILITY_M32
|
||||
#else
|
Loading…
Reference in New Issue
Block a user