From owner-freebsd-ports-bugs@FreeBSD.ORG Wed May 18 18:30:08 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8AA9616A4CE for ; Wed, 18 May 2005 18:30:08 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27EED43DC6 for ; Wed, 18 May 2005 18:30:08 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4IIU3nU040722 for ; Wed, 18 May 2005 18:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4IIU377040721; Wed, 18 May 2005 18:30:03 GMT (envelope-from gnats) Resent-Date: Wed, 18 May 2005 18:30:03 GMT Resent-Message-Id: <200505181830.j4IIU377040721@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dan Pelleg Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1BF1A16A4CE for ; Wed, 18 May 2005 18:29:34 +0000 (GMT) Received: from atoz.libagent.org (atoz.libagent.org [69.55.228.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id C324243D66 for ; Wed, 18 May 2005 18:29:31 +0000 (GMT) (envelope-from dpelleg@cs.cmu.edu) Received: from muky.here (bzq-218-207-58.red.bezeqint.net [81.218.207.58]) by atoz.libagent.org (Postfix) with ESMTP id BCE0056710 for ; Wed, 18 May 2005 21:29:25 +0300 (IDT) Received: by muky.here (Postfix, from userid 7675) id F13F9241; Wed, 18 May 2005 21:29:24 +0300 (IDT) Message-Id: <20050518182924.F13F9241@muky.here> Date: Wed, 18 May 2005 21:29:24 +0300 (IDT) From: Dan Pelleg To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/81212: Maintainer update: additional sound drivers for audio/boodler X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dan Pelleg List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2005 18:30:08 -0000 >Number: 81212 >Category: ports >Synopsis: Maintainer update: additional sound drivers for audio/boodler >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed May 18 18:30:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Dan Pelleg >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: >Description: ESD and file sound driver support, in addition to the (original, now default) OSS. Catch contributed by Sergey Zaharchenko. Build is controlled by the DRIVER variable, which is also appended to the package name. >How-To-Repeat: >Fix: diff -ruN boodler-1.5.3_1/Makefile boodler-1.5.3_2/Makefile --- boodler-1.5.3_1/Makefile Sun May 15 22:20:20 2005 +++ boodler-1.5.3_2/Makefile Sun May 15 22:39:26 2005 @@ -7,7 +7,7 @@ PORTNAME= boodler PORTVERSION= 1.5.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= http://www.eblong.com/zarf/boodler/ \ http://s89813419.onlinehome.us/ @@ -21,19 +21,40 @@ USE_GMAKE= yes USE_REINPLACE= yes USE_PYTHON= yes -DRIVER= oss +DRIVER?= oss WRKSRC= ${WRKDIR}/${PORTNAME} BHOME= ${PREFIX}/share/boodler INSTALLS_SHLIB= yes LDCONFIG_DIRS= %%PREFIX%%/share/boodler/boodle -.if defined(DRIVER_FILE) -DRIVER= FILE +pre-everything:: + @${ECHO} "" + @${ECHO} "The following build options are available for Boodler:" + @${ECHO} "" + @${ECHO} " DRIVER=OSS Configure to use /dev/dsp." + @${ECHO} " DRIVER=ESD Configure to use EsounD." + @${ECHO} " DRIVER=FILE Configure to write raw PCM data to a file." + @${ECHO} "" + @${ECHO} "Boodler can only be configured to use one of these" + @${ECHO} "interfaces. The default is to use OSS." + @${ECHO} "" + +.if ${DRIVER:L} == "oss" +# Probably nothing here... +.endif + +.if ${DRIVER:L} == "esd" +LIB_DEPENDS=esd.2:${PORTSDIR}/audio/esound +PKGNAMESUFFIX=-esd +.endif + +.if ${DRIVER:L} == "file" +PKGNAMESUFFIX=-file .endif .include -.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "ia64" +.if ${ARCH} == "amd64" || ${ARCH} == "ia64" PIC= --PIC .endif @@ -42,7 +63,7 @@ @${RMDIR} ${WRKDIR}/boodler-snd/string do-build: - (cd ${WRKSRC} && ${PYTHON_CMD} configure.py --driver ${DRIVER} ${PIC} && make) + (cd ${WRKSRC} && ${PYTHON_CMD} configure.py --driver ${DRIVER:L} ${PIC} --include ${PREFIX}/include --lib ${PREFIX}/lib && make) @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/effects ${WRKSRC}/boodle/ do-install: >Release-Note: >Audit-Trail: >Unformatted: