From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Aug 25 22:00:45 2004 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 972F116A4D7 for ; Wed, 25 Aug 2004 22:00:45 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7324443D6A for ; Wed, 25 Aug 2004 22:00:45 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i7PM0jrj028816 for ; Wed, 25 Aug 2004 22:00:45 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7PM0jnh028805; Wed, 25 Aug 2004 22:00:45 GMT (envelope-from gnats) Resent-Date: Wed, 25 Aug 2004 22:00:45 GMT Resent-Message-Id: <200408252200.i7PM0jnh028805@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, "Thomas E. Zander" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1074F16A4CE for ; Wed, 25 Aug 2004 21:59:24 +0000 (GMT) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E97243D39 for ; Wed, 25 Aug 2004 21:59:23 +0000 (GMT) (envelope-from riggs@rrr.de) Received: from mail.m-online.net (svr14.m-online.net [192.168.3.144]) by svr8.m-online.net (Postfix) with ESMTP id 78FC4651DD for ; Wed, 25 Aug 2004 23:59:22 +0200 (CEST) Received: from marvin.riggiland.au (ppp-62-245-211-155.mnet-online.de [62.245.211.155]) by mail.m-online.net (Postfix) with ESMTP id 41AAD104282 for ; Wed, 25 Aug 2004 23:59:21 +0200 (CEST) Received: from marvin.riggiland.au (localhost [127.0.0.1]) by marvin.riggiland.au (8.13.1/8.12.11) with ESMTP id i7PLxMwr069641 for ; Wed, 25 Aug 2004 23:59:22 +0200 (CEST) (envelope-from riggs@marvin.riggiland.au) Received: (from riggs@localhost) by marvin.riggiland.au (8.13.1/8.13.1/Submit) id i7PLxMig069640; Wed, 25 Aug 2004 23:59:22 +0200 (CEST) (envelope-from riggs) Message-Id: <200408252159.i7PLxMig069640@marvin.riggiland.au> Date: Wed, 25 Aug 2004 23:59:22 +0200 (CEST) From: "Thomas E. Zander" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/70959: Update of multimedia/mplayer X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2004 22:00:45 -0000 >Number: 70959 >Category: ports >Synopsis: Update of multimedia/mplayer >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Aug 25 22:00:45 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Thomas E. Zander >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD marvin.riggiland.au 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Mon Aug 2 13:00:46 CEST 2004 root@marvin.riggiland.au:/usr/obj/usr/src/sys/MARVIN i386 >Description: This update (requested by Koop Mast ) resolves two problems: o Correct detection of ogg theora codec o Avoid accidently linking to libtremor if not explicitly forced by user (important, therefore PORTREVISION bump!) >How-To-Repeat: >Fix: Please apply to multimedia/mplayer: diff -ruN mplayer-old/Makefile mplayer/Makefile --- mplayer-old/Makefile Thu Aug 19 19:42:16 2004 +++ mplayer/Makefile Wed Aug 25 23:38:40 2004 @@ -158,6 +158,14 @@ # WITH_AALIB # default: autodetect # +# WITH_THEORA +# default: autodetect +# +# WITH_TREMOR +# default: autodetect +# By setting this option mplayer will use libtremor (integer only vorbis +# decoding lib) instead of libvorbis even if libvorbis is installed. +# # WITH_SDL # default: autodetect # (implies WITH_AALIB) @@ -219,7 +227,7 @@ PORTNAME= mplayer PORTVERSION= 0.99.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia audio ipv6 MASTER_SITES= http://www1.mplayerhq.hu/MPlayer/releases/ \ http://www2.mplayerhq.hu/MPlayer/releases/ \ @@ -321,6 +329,10 @@ WITH_SVGALIB= yes .endif +.if exists(${LOCALBASE}/lib/libtheora.so.0) +WITH_THEORA= yes +.endif + .if exists(${LOCALBASE}/lib/libaa.so.1) WITH_AALIB= yes .endif @@ -501,6 +513,17 @@ .if defined(WITH_AALIB) LIB_DEPENDS+= aa.1:${PORTSDIR}/graphics/aalib +.endif + +.if defined(WITH_THEORA) +LIB_DEPENDS+= theora.0:${PORTSDIR}/graphics/libtheora +.endif + +.if defined(WITH_TREMOR) +LIB_DEPENDS+= vorbisidec.1:${PORTSDIR}/audio/libtremor +CONFIGURE_ARGS+= --enable-tremor +.else +CONFIGURE_ARGS+= --disable-tremor .endif .if defined(WITH_SDL) >Release-Note: >Audit-Trail: >Unformatted: