Date: Mon, 23 Sep 2002 11:37:58 -0400 (EDT) From: Alan Eldridge <ports@geeksrus.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: riggs@rrr.de, lioux@freebsd.com Subject: ports/43291: graphics/mplayer: add support for REAL video/audio Message-ID: <200209231537.g8NFbwKE042635@wwweasel.geeksrus.net>
next in thread | raw e-mail | index | archive | help
>Number: 43291 >Category: ports >Synopsis: graphics/mplayer: add support for REAL video/audio >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Sep 23 08:40:02 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Alan Eldridge >Release: FreeBSD 4.7-RC i386 >Organization: Geeksrus.NET >Environment: System: FreeBSD wwweasel.geeksrus.net 4.7-RC FreeBSD 4.7-RC #0: Sat Sep 21 10:38:39 EDT 2002 root@wwweasel.geeksrus.net:/usr/obj/usr/src/sys/WWWEASEL i386 >Description: The new version of mplayer supports the linux realplayer shared libs, and does a much better job of playing realvideo than linux-realplayer does. This patch updates the Makefile to detect (or allow -DWITH_REAL) the linux-realplayer port and enable this feature. Please commit or give me permission to commit once the freeze is over. >How-To-Repeat: >Fix: ==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<== Index: graphics/mplayer/Makefile =================================================================== RCS file: /home/ncvs/ports/graphics/mplayer/Makefile,v retrieving revision 1.28 diff -u -3 -r1.28 Makefile --- graphics/mplayer/Makefile 20 Sep 2002 20:22:41 -0000 1.28 +++ graphics/mplayer/Makefile 23 Sep 2002 15:30:23 -0000 @@ -74,6 +74,10 @@ WITH_XANIM= yes .endif +.if exists(${LOCALBASE}/lib/RealPlayer8/realplay) +WITH_REAL= yes +.endif + .if defined(WITH_OPTIMIZED_CFLAGS) CFLAGS+= -O3 -ffast-math -fomit-frame-pointer .endif @@ -111,6 +115,14 @@ LIB_DEPENDS+= vorbis.2:${PORTSDIR}/audio/libvorbis .endif +.if defined(WITH_REAL) +CONFIGURE_ARGS+= --enable-real +CONFIGURE_ARGS+= \ + --with-reallibdir=${LOCALBASE}/lib/RealPlayer8/Codecs +RUN_DEPENDS+= realplay:${PORTSDIR}/audio/linux-realplayer +BUILD_DEPENDS+= realplay:${PORTSDIR}/audio/linux-realplayer +.endif + .if defined(WITH_XANIM) BUILD_DEPENDS+= xanim:${PORTSDIR}/graphics/xanim @@ -192,6 +204,10 @@ .if !defined(WITHOUT_WIN32_CODECS) @${ECHO_MSG} "You can disable support (this turns this into a X86 only port)" @${ECHO_MSG} "for Win32 codecs by defining WITHOUT_WIN32_CODECS" +.if !defined(WITH_REAL) + @${ECHO_MSG} \ + "You can enable RealPlayer DLL support by defining WITH_REAL." +.endif .endif .if defined(WITHOUT_RUNTIME_CPUDETECTION) .if !defined(WITHOUT_SSE) ==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<== >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209231537.g8NFbwKE042635>