Date: Fri, 11 Feb 2011 12:09:48 GMT From: "aldis@bsdroot.lv" <Aldis.Berjoza@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/154680: [PATCH] games/odamex add support for midi Message-ID: <201102111209.p1BC9mnQ015326@red.freebsd.org> Resent-Message-ID: <201102111210.p1BCAAlc081915@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 154680 >Category: ports >Synopsis: [PATCH] games/odamex add support for midi >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Feb 11 12:10:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: aldis@bsdroot.lv >Release: >Organization: >Environment: >Description: games/odamex doesn't play music. I found out, that if you install audio/timidity it will play music. I attached patch for port, that allows adding optional dependency on audio/timidity. Right now I don't know why, but this doesn't work with timidity++ >How-To-Repeat: >Fix: Patch attached with submission follows: diff -u odamex.bak/Makefile odamex/Makefile --- odamex.bak/Makefile 2011-02-11 12:40:22.928345082 +0200 +++ odamex/Makefile 2011-02-11 13:54:51.901435237 +0200 @@ -7,7 +7,7 @@ PORTNAME= odamex PORTVERSION= 0.4.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/Odamex/${PORTVERSION} DISTNAME= odamex-src-${PORTVERSION} @@ -19,7 +19,8 @@ USE_GMAKE= yes USE_SDL= sdl mixer -OPTIONS= LAUNCHER "Enable GUI launcher program" off +OPTIONS= LAUNCHER "Enable GUI launcher program" off \ + MIDI "Enable MIDI support (timidity)" off .include <bsd.port.pre.mk> @@ -31,6 +32,10 @@ PLIST_SUB+= LAUNCHER="@comment " .endif +.if defined(WITH_MIDI) +RUN_DEPENDS+= timidity:${PORTSDIR}/audio/timidity +.endif + post-patch: @${REINPLACE_CMD} -e 's|%%DMDIR%%|${DMDIR}|; \ s|%%DATADIR%%|${DATADIR}|' \ Common subdirectories: odamex.bak/files and odamex/files >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102111209.p1BC9mnQ015326>