From owner-freebsd-ports-bugs Tue Mar 4 18: 3: 3 2003 Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E86137B405; Tue, 4 Mar 2003 18:02:59 -0800 (PST) Received: from www.am-productions.biz (nr4-216-196-153-203.fuse.net [216.196.153.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A4B343FB1; Tue, 4 Mar 2003 18:02:58 -0800 (PST) (envelope-from amistry@am-productions.biz) Received: from www.am-productions.biz (nr4-216-196-153-203.fuse.net [216.196.153.203]) by www.am-productions.biz (8.12.3/8.12.3) with ESMTP id h252Hhqn051183; Tue, 4 Mar 2003 21:17:44 -0500 (EST) (envelope-from amistry@www.am-productions.biz) Received: (from amistry@localhost) by www.am-productions.biz (8.12.3/8.12.3/Submit) id h252HgbG051182; Tue, 4 Mar 2003 21:17:42 -0500 (EST) Date: Tue, 4 Mar 2003 21:17:42 -0500 (EST) Message-Id: <200303050217.h252HgbG051182@www.am-productions.biz> To: FreeBSD-gnats-submit@freebsd.org, edwin@freebsd.org, freebsd-ports-bugs@freebsd.org Subject: Update/Current bug fix From: Anish Mistry Reply-To: Anish Mistry Cc: X-send-pr-version: 3.113 X-GNATS-Notify: Sender: owner-freebsd-ports-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Submitter-Id: current-users >Originator: Anish Mistry >Organization: AM Productions >Confidential: no >Synopsis: Update/Current bug fix >Severity: non-critical >Priority: low >Category: ports >Class: maintainer-update >Release: FreeBSD 4.6.2-RELEASE-p6 i386 >Environment: System: FreeBSD www.am-productions.biz 4.6.2-RELEASE-p6 FreeBSD 4.6.2-RELEASE-p6 #3: Wed Jan 8 01:43:04 EST 2003 amistry@www.am-productions.biz:/usr/obj/usr/src/sys/RUSTY i386 >Description: Update and fix for current, superceeds ports/46760 >How-To-Repeat: >Fix: --- avidemux-rc1.patch begins here --- diff -ru avidemux.orig/Makefile avidemux/Makefile --- avidemux.orig/Makefile Sun Dec 1 02:43:56 2002 +++ avidemux/Makefile Tue Mar 4 19:39:09 2003 @@ -2,39 +2,67 @@ # Date created: 15 August 2002 # Whom: Anish Mistry # with help from mean -# $FreeBSD: ports/graphics/avidemux/Makefile,v 1.7 2002/12/01 07:43:56 lioux Exp $ +# $FreeBSD: ports/graphics/avidemux/Makefile,v 1.5 2002/11/12 11:50:43 arved Exp $ # PORTNAME= avidemux -PORTVERSION= 0.9.0.16 -CATEGORIES= graphics +PORTVERSION= 0.9.0.101 +CATEGORIES= graphics multimedia MASTER_SITES= http://fixounet.free.fr/avidemux/ -DISTNAME= avidemux-0.9pre16_gtkfix +DISTNAME= avidemux-0.9rc1 EXTRACT_SUFX= .tgz MAINTAINER= amistry@am-productions.biz -LIB_DEPENDS= xvidcore.0:${PORTSDIR}/graphics/xvid \ - mp3lame.0:${PORTSDIR}/audio/lame \ - mad.1:${PORTSDIR}/audio/mad +LIB_DEPENDS= mp3lame.0:${PORTSDIR}/audio/lame \ + mad.1:${PORTSDIR}/audio/mad \ + freetype.9:${PORTSDIR}/print/freetype2 BUILD_DEPENDS= \ - ${LINUXBASE}/usr/include/divx/decore.h:${PORTSDIR}/multimedia/linux-divx4linux \ ${X11BASE}/include/X11/extensions/Xvlib.h:${PORTSDIR}/graphics/xv -WRKSRC= ${WRKDIR}/avidemux-0.9pre16 USE_REINPLACE= yes USE_X_PREFIX= yes USE_GNOMENG= yes USE_GNOME= gtk12 GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include \ - -I${LINUXBASE}/usr/include/divx" \ + -I${LOCALASE}/include/ffmpeg \ + -I${LOCALBASE}/include/a52dec" \ LIBFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \ LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" -CONFIGURE_ARGS= --with-xvid-as-decoder --disable-warnings +CONFIGURE_ARGS= --disable-warnings USE_GMAKE= yes +.if exists(${LOCALBASE}/lib/liba52.so.0) +WITH_A52= yes +.endif + +.if exists(${LOCALBASE}/lib/xvidcore.so.0) +WITH_XVID= yes +.endif + +.if defined(WITH_XVID) +LIB_DEPENDS+= xvidcore.0:${PORTSDIR}/graphics/xvid +CONFIGURE_ARGS+= --with-xvid-as-decoder +.endif + +.if defined(WITH_A52) +LIB_DEPENDS+= a52.0:${PORTSDIR}/audio/liba52 +.endif + +pre-everything:: +.if !defined(WITH_XVID) + @${ECHO_MSG} "To enable xvid as the decoder define WITH_XVID." +.endif + +.if !defined(WITH_A52) + @${ECHO_MSG} "To enable A/52 support define WITH_A52." +.endif + post-patch: + @${TOUCH} ${WRKSRC}/* @${REINPLACE_CMD} 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure +post-configure: + @${SH} ${WRKSRC}/buildLavCodec.sh .include diff -ru avidemux.orig/distinfo avidemux/distinfo --- avidemux.orig/distinfo Tue Nov 12 06:50:43 2002 +++ avidemux/distinfo Tue Mar 4 19:39:31 2003 @@ -1 +1 @@ -MD5 (avidemux-0.9pre16_gtkfix.tgz) = 24bce8b1cca8981c3b6d95c19b6353d1 +MD5 (avidemux-0.9rc1.tgz) = 890a7b4b80127981d0afa7d13be6f314 Only in avidemux: files --- avidemux-rc1.patch ends here --- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message