Subject: pkg/15133: a patch for the graphics/mplayer to compile with the graphics/aalib support
To: None <gnats-bugs@gnats.netbsd.org>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-bugs
Date: 01/04/2002 04:33:47
>Number:         15133
>Category:       pkg
>Synopsis:       a patch for the graphics/mplayer to compile with the graphics/aalib support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 03 20:34:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Lubomir Sedlacik
>Release:        -current
>Organization:
>Environment:
>Description:

this is a patch for the MPEG mplayer--graphics/mplayer to compile with native
support for the ascii art library (graphics/aalib). this is better than using
SDL driver for aalib and has more possibilities of tuning and control
(contrast, lightness, seekbar, volume control and more).

have you ever watched DVD in ascii? :) no? so now you can give it a try!

 using native aalib support:  mplayer -vo aa somefile.mpg
 using aalib support in SDL:  mplayer -vo sdl:aalib somefile.mpg

 AA-MPlayer Control Keys (only with native driver):

        1 : contrast -
        2 : contrast +
        3 : brightness -
        4 : brightness +
        5 : fast rendering
        6 : dithering
        7 : invert image
        a : toggles between aa and mplayer control

>How-To-Repeat:
>Fix:

mplayer's autoconf script will detect aalib, we only need to create
appropriate buildlink files so it can find them (--enable-aa is not
neccessary)

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/mplayer/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile	2001/12/27 02:11:50	1.10
+++ Makefile	2002/01/04 04:05:05
@@ -2,6 +2,7 @@
 
 DISTNAME=	MPlayer-0.60pre1
 PKGNAME=	mplayer-0.60.0.1
+PKGREVISION= 1
 CATEGORIES=	graphics
 MASTER_SITES=	http://mp.dev.hu/MPlayer/releases/
 EXTRACT_SUFX=	.tar.bz2
@@ -45,5 +46,6 @@
 .include "../../audio/lame/buildlink.mk"
 .include "../../devel/SDL/buildlink.mk"
 .include "../../graphics/png/buildlink.mk"
+.include "../../graphics/aalib/buildlink.mk"
 .include "../../mk/ossaudio.buildlink.mk"
 .include "../../mk/bsd.pkg.mk"
>Release-Note:
>Audit-Trail:
>Unformatted: