From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Oct 22 17:50:17 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org 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 D4ED916A412 for ; Sun, 22 Oct 2006 17:50:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D60C843D49 for ; Sun, 22 Oct 2006 17:50:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k9MHoGf2030261 for ; Sun, 22 Oct 2006 17:50:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k9MHoGHZ030260; Sun, 22 Oct 2006 17:50:16 GMT (envelope-from gnats) Resent-Date: Sun, 22 Oct 2006 17:50:16 GMT Resent-Message-Id: <200610221750.k9MHoGHZ030260@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, Alexey Dokuchaev Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D294216A403 for ; Sun, 22 Oct 2006 17:49:15 +0000 (UTC) (envelope-from danfe@regency.nsu.ru) Received: from mx.nsu.ru (mx.nsu.ru [212.192.164.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11A9443D45 for ; Sun, 22 Oct 2006 17:49:15 +0000 (GMT) (envelope-from danfe@regency.nsu.ru) Received: from regency.nsu.ru ([193.124.210.26]) by mx.nsu.ru with esmtp (Exim 4.50) id 1GbhRh-0005ns-OR for FreeBSD-gnats-submit@freebsd.org; Mon, 23 Oct 2006 00:49:13 +0700 Received: from regency.nsu.ru (localhost [127.0.0.1]) by regency.nsu.ru (8.13.4/8.13.1) with ESMTP id k9MHtnvE001137 for ; Mon, 23 Oct 2006 00:55:49 +0700 (NOVST) (envelope-from danfe@regency.nsu.ru) Received: (from danfe@localhost) by regency.nsu.ru (8.13.4/8.13.1/Submit) id k9MHthMW001083; Mon, 23 Oct 2006 00:55:43 +0700 (NOVST) (envelope-from danfe) Message-Id: <200610221755.k9MHthMW001083@regency.nsu.ru> Date: Mon, 23 Oct 2006 00:55:43 +0700 (NOVST) From: Alexey Dokuchaev To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/104681: Add a few more OPTIONs to `multimedia/mplayer' X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexey Dokuchaev List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Oct 2006 17:50:17 -0000 >Number: 104681 >Category: ports >Synopsis: Add a few more OPTIONs to `multimedia/mplayer' >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: Sun Oct 22 17:50:16 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Alexey Dokuchaev >Release: FreeBSD 6.2-PRERELEASE i386 >Organization: Asempra Technologies, Inc. >Environment: >Description: It seems mplayer can be successfully build/linked with a few more options than currently provided by port. Maintainer should probably make sure all dependencies are correcly stated and work, but on the first look they seem correct (work for me here). >How-To-Repeat: N/A >Fix: Index: Makefile =================================================================== RCS file: /mnt/fbsd/development/FreeBSD-CVS/ports/multimedia/mplayer/Makefile,v retrieving revision 1.144 diff -u -r1.144 Makefile --- Makefile 6 Oct 2006 19:48:00 -0000 1.144 +++ Makefile 8 Oct 2006 15:08:21 -0000 @@ -119,9 +119,7 @@ --disable-libfame \ --disable-external-faad \ --disable-external-vidix \ - --disable-tv-v4l \ - --disable-liblzo \ - --disable-libcdio + --disable-tv-v4l OPTIONS= DEBUG "Include debug symbols in mplayer's binary files" off @@ -142,13 +140,19 @@ OPTIONS+= ARTS "Enable KDE sound system support" off OPTIONS+= ESOUND "Enable GNOME esound support" off OPTIONS+= POLYP "Enable polyp sound server support" off +OPTIONS+= JACK "Enable JackIt audio server support" off +OPTIONS+= OPENAL "Enable OpenAL sound support" off OPTIONS+= LIBUNGIF "Enable gif support" on OPTIONS+= AALIB "Enable aalib support" off OPTIONS+= LIBCACA "Enable libcaca support" off OPTIONS+= SVGALIB "Enable svgalib support" off OPTIONS+= LIBDV "Enable libdv support" off OPTIONS+= MAD "Enable mad MPEG audio engine support" off +OPTIONS+= TWOLAME "Enable twolame MPEG audio codec support" off OPTIONS+= DTS "Enable DTS audio codec support" on +OPTIONS+= LIBMPCDEC "Enable libmpcdec support" off +OPTIONS+= FAAC "Enable FAAC audio codec support" off +OPTIONS+= LADSPA "Enable LADSPA plugin support" off OPTIONS+= SPEEX "Enable speex audio codec support" off OPTIONS+= TREMOR "Use built-in tremor instead of libvorbis" off OPTIONS+= XMMS "Enable XMMS plugin support" off @@ -161,7 +165,9 @@ OPTIONS+= LIVEMEDIA "Enable LIVE555 streaming support" off OPTIONS+= FRIBIDI "Enable FriBiDi support" off OPTIONS+= LIRC "Enable lirc support" off +OPTIONS+= LIBCDIO "Enable libcdio support" off OPTIONS+= CDPARANOIA "Enable cdparanoia support" off +OPTIONS+= LIBLZO "Enable external liblzo library" off .endif WANT_GNOME= yes @@ -318,6 +324,12 @@ CONFIGURE_ARGS+= --disable-fribidi .endif +.if defined(WITH_LIBCDIO) && !defined(WITH_CDPARANOIA) +BUILD_DEPENDS+= ${LOCALBASE}/include/cdio/cdio.h:${PORTSDIR}/sysutils/libcdio +.else +CONFIGURE_ARGS+= --disable-libcdio +.endif + .if defined(WITH_CDPARANOIA) LIB_DEPENDS+= cdda_paranoia.0:${PORTSDIR}/audio/cdparanoia .else @@ -352,6 +364,12 @@ CONFIGURE_ARGS+= --disable-lirc .endif +.if defined(WITH_TWOLAME) +LIB_DEPENDS+= twolame.0:${PORTSDIR}/audio/twolame +.else +CONFIGURE_ARGS+= --disable-twolame +.endif + .if defined(WITH_MAD) LIB_DEPENDS+= mad.2:${PORTSDIR}/audio/libmad @@ -408,6 +426,18 @@ CONFIGURE_ARGS+= --disable-polyp .endif +.if defined(WITH_JACK) +LIB_DEPENDS+= jack.0:${PORTSDIR}/audio/jack +.else +CONFIGURE_ARGS+= --disable-jack +.endif + +.if defined(WITH_OPENAL) +LIB_DEPENDS+= openal.0:${PORTSDIR}/audio/openal +.else +CONFIGURE_ARGS+= --disable-openal +.endif + .if !defined(WITH_TREMOR) CONFIGURE_ARGS+= --disable-internal-tremor LIB_DEPENDS+= vorbis.3:${PORTSDIR}/audio/libvorbis @@ -458,6 +488,24 @@ CONFIGURE_ARGS+= --disable-libdts .endif +.if defined(WITH_LIBMPCDEC) +LIB_DEPENDS+= mpcdec.4:${PORTSDIR}/audio/libmpcdec +.else +CONFIGURE_ARGS+= --disable-musepack +.endif + +.if defined(WITH_FAAC) +LIB_DEPENDS+= faac.0:${PORTSDIR}/audio/faac +.else +CONFIGURE_ARGS+= --disable-faac +.endif + +.if defined(WITH_LADSPA) +RUN_DEPENDS+= ${LOCALBASE}/lib/ladspa/amp.so:${PORTSDIR}/audio/ladspa +.else +CONFIGURE_ARGS+= --disable-ladspa +.endif + .if !defined(WITHOUT_SPEEX) CONFIGURE_ARGS+= --enable-speex LIB_DEPENDS+= speex.3:${PORTSDIR}/audio/speex @@ -481,6 +529,12 @@ CONFIGURE_ARGS+=--disable-xanim .endif +.if defined(WITH_LIBLZO) +LIB_DEPENDS+= lzo.1:${PORTSDIR}/archivers/lzo +.else +CONFIGURE_ARGS+= --disable-liblzo +.endif + .if defined(WITH_DVD_DEVICE) DEFAULT_DVD_DEVICE=${WITH_DVD_DEVICE} .else >Release-Note: >Audit-Trail: >Unformatted: