ports/51170: Patch to make mplayer support aalib without sdl
Dennis Kjær Jensen
signout at signout.dk
Sat Apr 19 23:10:09 UTC 2003
>Number: 51170
>Category: ports
>Synopsis: Patch to make mplayer support aalib without sdl
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Apr 19 16:10:07 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Dennis Kjær Jensen <signout at signout.dk
>Release: FreeBSD 4.8-RELEASE i386
>Organization:
Beer drinkers inc.
>Environment:
System: FreeBSD encode.signout.dk 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Wed Apr 16 13:03:05 CEST 2003 root at encode.signout.dk:/usr/obj/usr/src/sys/SiGNOUT i386
I guess this doesnt really matter for this kind of PR
>Description:
I just wondered what happened to the nice aalib support, and wrote a few lines to put it in
>How-To-Repeat:
Mix 2dl of Coca Cola with 4cl of Bacardi rum, and youre set
>Fix:
Apply the attached patch designed to work with the Makefile as of writing this PR
--- Makefile.diff begins here ---
*** /tmp/Makefile.original Sat Apr 19 02:18:47 2003
--- /usr/ports/multimedia/mplayer/Makefile Sat Apr 19 04:09:00 2003
***************
*** 2,8 ****
# Date created: 10 August 2001
# Whom: Thomas E. Zander
# with lots of help from Vladimir Kushnir
! # $FreeBSD: /repoman/r/pcvs/ports/multimedia/mplayer/Makefile,v 1.57 2003/04/09 17:05:10 nork Exp $
#
# There are many knobs to tune mplayer towards your specific wishes
# and preferences.
--- 2,10 ----
# Date created: 10 August 2001
# Whom: Thomas E. Zander
# with lots of help from Vladimir Kushnir
! # and a bit from Dennis Kjaer Jensen
! #
! # $FreeBSD: ports/multimedia/mplayer/Makefile,v 1.57 2003/04/09 17:05:10 nork Exp $
#
# There are many knobs to tune mplayer towards your specific wishes
# and preferences.
***************
*** 91,96 ****
--- 93,101 ----
# mplayer-internal dvd reading routine (which is derived from
# libdvdread). This only affect mplayer if WITH_DVD is used.
#
+ # WITH_AALIB
+ # default: autodetect
+ #
# WITH_LIBDVDNAV
# default: autodetect
#
***************
*** 208,213 ****
--- 213,222 ----
.include <bsd.port.pre.mk>
+ .if exists(${LOCALBASE}/lib/libaa.so.1)
+ WITH_AALIB= yes
+ .endif
+
.if exists(${LOCALBASE}/lib/libartsc.so.0)
WITH_ARTS= yes
.endif
***************
*** 296,301 ****
--- 305,317 ----
.else
CONFIGURE_ARGS+= --disable-mencoder
PLIST_SUB+= MENCODER="@comment "
+ .endif
+
+ .if defined(WITH_AALIB)
+ CONFIGURE_ARGS+= --enable-aa
+ LIB_DEPENDS+= aa.1:${PORTSDIR}/graphics/aalib
+ .else
+ CONFIGURE_ARGS+= --disable-aa
.endif
.if defined(WITH_ARTS)
--- Makefile.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list