From owner-freebsd-multimedia@FreeBSD.ORG Thu Feb 28 16:42:45 2008 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 972E31065673 for ; Thu, 28 Feb 2008 16:42:45 +0000 (UTC) (envelope-from cyberbotx@cyberbotx.com) Received: from QMTA06.emeryville.ca.mail.comcast.net (qmta06.emeryville.ca.mail.comcast.net [76.96.30.56]) by mx1.freebsd.org (Postfix) with ESMTP id 7684E8FC21 for ; Thu, 28 Feb 2008 16:42:45 +0000 (UTC) (envelope-from cyberbotx@cyberbotx.com) Received: from OMTA06.emeryville.ca.mail.comcast.net ([76.96.30.51]) by QMTA06.emeryville.ca.mail.comcast.net with comcast id v4R01Y00116AWCUA600B00; Thu, 28 Feb 2008 16:26:16 +0000 Received: from kirby.cyberbotx.com ([68.43.195.82]) by OMTA06.emeryville.ca.mail.comcast.net with comcast id v4Sk1Y00B1n8LeU8S00000; Thu, 28 Feb 2008 16:26:45 +0000 X-Authority-Analysis: v=1.0 c=1 a=_4vcYASKp8YA:10 a=UwWPYhvJAAAA:8 a=zBr0feZYAAAA:8 a=jc2IaQhsVOaRGvTyEtYA:9 a=W_Di0W62IyRDsZgaqLUA:7 a=eyEeH9yC2rjJu3BtbJwLpow4xLgA:4 a=SV7veod9ZcQA:10 a=M3PvEdNFSBYA:10 Received: by kirby.cyberbotx.com (Postfix, from userid 1001) id 7EEB5C1AA; Thu, 28 Feb 2008 11:26:43 -0500 (EST) To: FreeBSD-gnats-submit@freebsd.org From: Naram Qashat X-send-pr-version: 3.113 X-GNATS-Notify: Message-Id: <20080228162643.7EEB5C1AA@kirby.cyberbotx.com> Date: Thu, 28 Feb 2008 11:26:43 -0500 (EST) Cc: multimedia@FreeBSD.org Subject: [PATCH] multimedia/transcode: Allow users to disable knobs & add extra master site X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Feb 2008 16:42:45 -0000 >Submitter-Id: current-users >Originator: Naram Qashat >Organization: >Confidential: no >Synopsis: [PATCH] multimedia/transcode: Allow users to disable knobs & add extra master site >Severity: non-critical >Priority: low >Category: ports >Class: change-request >Release: FreeBSD 6.3-RELEASE i386 >Environment: System: FreeBSD kirby.cyberbotx.com 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Wed Jan 23 16:14:04 EST 2008 >Description: - Add an additional master site from the Transcoding website - Allow WITH_* knobs to be disabled by users using WITHOUT_* Port maintainer (multimedia@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- transcode-1.0.5.patch begins here --- diff -ruN --exclude=CVS /usr/ports/multimedia/transcode/Makefile /kirby/shared/ports/transcode/Makefile --- /usr/ports/multimedia/transcode/Makefile 2008-02-25 09:10:36.000000000 -0500 +++ /kirby/shared/ports/transcode/Makefile 2008-02-28 11:23:23.000000000 -0500 @@ -8,7 +8,8 @@ PORTNAME= transcode PORTVERSION= 1.0.5 CATEGORIES= multimedia -MASTER_SITES= http://fromani.exit1.org/ +MASTER_SITES= http://transcode.kabewm.com/ \ + http://fromani.exit1.org/ MAINTAINER= multimedia@FreeBSD.org COMMENT= A text-console utility for video stream processing @@ -45,14 +46,14 @@ .include -.if defined(WITH_FREETYPE) || exists(${LOCALBASE}/lib/libfreetype.so) +.if (defined(WITH_FREETYPE) || exists(${LOCALBASE}/lib/libfreetype.so)) && !defined(WITHOUT_FREETYPE) LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2 CONFIGURE_ARGS+= --with-ft-prefix=${LOCALBASE} --enable-freetype2 .else CONFIGURE_ARGS+= --disable-fttest --enable-freetype=no .endif -.if defined(WITH_OGG) || exists(${LOCALBASE}/lib/libogg.so) +.if (defined(WITH_OGG) || exists(${LOCALBASE}/lib/libogg.so)) && !defined(WITHOUT_OGG) LIB_DEPENDS+= ogg.5:${PORTSDIR}/audio/libogg CONFIGURE_ARGS+= --with-ogg-prefix=${LOCALBASE} --enable-ogg .else @@ -63,35 +64,35 @@ CONFIGURE_ARGS+= --enable-bktr .endif -.if defined(WITH_VORBIS) || exists(${LOCALBASE}/lib/libvorbis.so) +.if (defined(WITH_VORBIS) || exists(${LOCALBASE}/lib/libvorbis.so)) && !defined(WITHOUT_VORBIS) LIB_DEPENDS+= vorbis.4:${PORTSDIR}/audio/libvorbis CONFIGURE_ARGS+= --with-vorbis-prefix=${LOCALBASE} --enable-vorbis .else CONFIGURE_ARGS+= --enable-vorbis=no .endif -.if defined(WITH_THEORA) || exists(${LOCALBASE}/lib/libtheora.so) +.if (defined(WITH_THEORA) || exists(${LOCALBASE}/lib/libtheora.so)) && !defined(WITHOUT_THEORA) LIB_DEPENDS+= theora.0:${PORTSDIR}/multimedia/libtheora CONFIGURE_ARGS+= --with-theora-prefix=${LOCALBASE} --enable-theora .else CONFIGURE_ARGS+= --enable-theora=no .endif -.if defined(WITH_IMAGEMAGICK) || exists(${LOCALBASE}/lib/libMagick.so) +.if (defined(WITH_IMAGEMAGICK) || exists(${LOCALBASE}/lib/libMagick.so)) && !defined(WITHOUT_IMAGEMAGICK) LIB_DEPENDS+= Magick.10:${PORTSDIR}/graphics/ImageMagick CONFIGURE_ARGS+= --enable-imagemagick --with-imagemagick-prefix=${LOCALBASE} .else CONFIGURE_ARGS+= --enable-imagemagick=no .endif -.if defined(WITH_MJPEG) || exists(${LOCALBASE}/lib/liblavjpeg.so) +.if (defined(WITH_MJPEG) || exists(${LOCALBASE}/lib/liblavjpeg.so)) && !defined(WITHOUT_MJPEG) LIB_DEPENDS+= lavjpeg-1.9.1:${PORTSDIR}/multimedia/mjpegtools CONFIGURE_ARGS+= --enable-mjpegtools .else CONFIGURE_ARGS+= --enable-mjpegtools=no .endif -.if (defined(WITH_AVIFILE) || exists(${LOCALBASE}/lib/libaviplay.so)) && ${OSVERSION} < 700000 +.if (defined(WITH_AVIFILE) || exists(${LOCALBASE}/lib/libaviplay.so)) && !defined(WITHOUT_AVIFILE) && ${OSVERSION} < 700000 LIB_DEPENDS+= aviplay:${PORTSDIR}/multimedia/avifile CONFIGURE_ARGS+= --with-avifile-prefix=${LOCALBASE} --enable-avifile .else @@ -113,14 +114,14 @@ CONFIGURE_ARGS+= --enable-libxml2=no .endif -.if defined(WITH_LIBDV) || exists(${LOCALBASE}/lib/libdv.so) +.if (defined(WITH_LIBDV) || exists(${LOCALBASE}/lib/libdv.so)) && !defined(WITHOUT_LIBDV) LIB_DEPENDS+= dv.4:${PORTSDIR}/multimedia/libdv CONFIGURE_ARGS+= --with-pal-yuv=YV12 --enable-libdv .else CONFIGURE_ARGS+= --enable-libdv=no .endif -.if defined(WITH_QUICKTIME) || exists(${LOCALBASE}/lib/libquicktime.so) +.if (defined(WITH_QUICKTIME) || exists(${LOCALBASE}/lib/libquicktime.so)) && !defined(WITHOUT_QUICKTIME) LIB_DEPENDS+= quicktime.0:${PORTSDIR}/multimedia/libquicktime CONFIGURE_ARGS+= --enable-libquicktime \ --with-libquicktime-prefix=${LOCALBASE} \ --- transcode-1.0.5.patch ends here ---