Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Aug 2004 17:22:09 +0200 (CEST)
From:      Hendrik Scholz <hendrik@scholz.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Hendrik Scholz <hendrik@scholz.net>
Subject:   ports/70776: maintainer-update: multimedia/transcode: convert to OPTIONS
Message-ID:  <200408211522.i7LFM9iG094240@goanna.raisdorf.net>
Resent-Message-ID: <200408211620.i7LGK9KK050378@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         70776
>Category:       ports
>Synopsis:       maintainer-update: multimedia/transcode: convert to OPTIONS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 21 16:20:09 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Hendrik Scholz
>Release:        FreeBSD 6.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD goanna.raisdorf.net 6.0-CURRENT FreeBSD 6.0-CURRENT #3: Thu Aug 19 22:28:24 CEST 2004 hscholz@goanna.raisdorf.net:/usr/cvs-src/sys/i386/compile/GOANNA i386


	
>Description:
Convert the pre-everything part to OPTIONS.
>How-To-Repeat:
	
>Fix:

	

--- transcode-0.6.12_options.diff begins here ---
--- Makefile.orig	Sat Aug 21 17:01:41 2004
+++ Makefile	Sat Aug 21 17:19:10 2004
@@ -32,6 +32,26 @@
 USE_LIBTOOL_VER=13
 WANT_SDL=	yes
 
+OPTIONS=		OPTIMIZED_FLAGS	"Optimized CFLAGS" off \
+				LIBTHEORA	"Libtheora video support" off \
+				IMAGEMAGICK	"ImageMagick dependent modules" off \
+				SDL	"realtime-previewing using SDL" off \
+				LIBXML2	"libxml2 dependent modules" off \
+				FFMPEG "FFMPEG dependent modules" on \
+				LAME	"LAME MP3 support" off \
+				LIBDV	"libdv support (needed for DVDs)" on \
+				LIBA52	"liba52 support (needed for DVDs)" on \
+				AVIFILE "avifile converter modules" off \
+				NASM	"nasm optimization (i386 only!)" off \
+				OPENQUICKTIME	"openquicktime dependent modules" off \
+				FAME	"libfame encoding support" off \
+				XVID	"xvid MPEG-4 support" off \
+				OGG		"OGG audio support" off \
+				LZO		"LZO compression support" off \
+				MJPEG	"MJPEG toolkit support" off \
+				SUBRIP	"subtitle ripper support" off \
+				DIVX5	"experimental DivX 5 support" off
+
 MAN1=	avifix.1 aviindex.1 avimerge.1 avisplit.1 avisync.1 tccat.1 tcdemux.1 \
 	tcprobe.1 tcscan.1 transcode.1 tcextract.1 tcdecode.1 tcmodinfo.1 \
 	tcpvmexportd.1 tcxmlcheck.1
@@ -243,95 +263,6 @@
 BUILD_DEPENDS+=	${LINUXBASE}/usr/lib/libdivxdecore.so:${PORTSDIR}/multimedia/linux-divx4linux
 CONFIGURE_ENV+=	CFLAGS="-I${LINUXBASE}/usr/include/divx" CPPFLAGS="-I${LINUXBASE}/usr/include/divx"
 .else
-.endif
-
-pre-everything::
-.if !defined(WITH_OPTIMIZED_CFLAGS)
-	@${ECHO_MSG}
-	@${ECHO_MSG} "You can enable extra optimizations by defining WITH_OPTIMIZED_CFLAGS."
-.endif
-.if !defined(WITH_LIBTHEORA)
-	@${ECHO_MSG}
-	@${ECHO_MSG} "You can enable Libtheora by defining WITH_LIBTHEORA."
-.endif
-.if !defined(WITH_IMAGEMAGICK)
-	@${ECHO_MSG}
-	@${ECHO_MSG} "You can enable ImageMagick-dependent modules by defining WITH_IMAGEMAGICK."
-.endif
-.if !defined(WITH_SDL)
-	@${ECHO_MSG}
-	@${ECHO_MSG} "You can enable realtime-previewing by defining WITH_SDL."
-	@${ECHO_MSG} "This implies WITH_LIBDV."
-.endif
-.if !defined(WITH_LIBXML2)
-	@${ECHO_MSG}
-	@${ECHO_MSG} "You can enable libxml2-dependent modules by defining WITH_LIBXML2."
-.endif
-.if !defined(WITH_FFMPEG) || defined(WITHOUT_FFMEG)
-	@${ECHO_MSG}
-	@${ECHO_MSG} "You can enable ffmpeg-dependent modules by defining WITH_FFMPEG."
-.endif
-.if !defined(WITH_LAME)
-	@${ECHO_MSG}
-	@${ECHO_MSG} "You can enable lame-dependent modules by defining WITH_LAME."
-	@${ECHO_MSG} "You will probably want to enable this, if you plan to"
-	@${ECHO_MSG} "rip DVDs or dub videos."
-.endif
-.if !defined(WITH_LIBDV)
-	@${ECHO_MSG}
-	@${ECHO_MSG} "You can enable libdv-support by defining WITH_LIBDV."
-	@${ECHO_MSG} "You will probably want to enable this, if you plan to"
-	@${ECHO_MSG} "transcode DV data from a digital videocamera."
-.endif
-.if !defined(WITH_LIBA52)
-	@${ECHO_MSG}
-	@${ECHO_MSG} "You can enable liba52-support by defining WITH_LIBA52."
-	@${ECHO_MSG} "You will probably want to enable this, if you plan to"
-	@${ECHO_MSG} "rip DVDs."
-.endif
-.if !defined(WITH_AVIFILE)
-	@${ECHO_MSG}
-	@${ECHO_MSG} "You can enable avifile-dependent modules by defining WITH_AVIFILE."
-.endif(WITH_AVIFILE)
-.if !defined(WITH_NASM)
-	@${ECHO_MSG}
-	@${ECHO_MSG} "You can enable nasm dependent modules by defining WITH_NASM."
-	@${ECHO_MSG} "This turns this into an i386-only port."
-.endif(WITH_NASM)
-.if !defined(WITH_OPENQUICKTIME)
-	@${ECHO_MSG}
-	@${ECHO_MSG} "You can enable openquicktime-dependent modules by defining WITH_OPENQUICKTIME."
-.endif
-.if !defined(WITH_FAME)
-	@${ECHO_MSG}
-	@${ECHO_MSG} "You can enable libfame-support by defining WITH_FAME."
-.endif
-.if !defined(WITH_XVID)
-	@${ECHO_MSG}
-	@${ECHO_MSG} "You can enable xvid support by defining WITH_XVID."
-	@${ECHO_MSG} "This implies WITH_NASM and turns this into an i386-only port."
-	@${ECHO_MSG} "You will probably want to enable this, if you plan to"
-	@${ECHO_MSG} "rip DVDs."
-.endif
-.if !defined(WITH_OGG)
-	@${ECHO_MSG}
-	@${ECHO_MSG} "You can enable libogg support by defining WITH_OGG."
-.endif
-.if !defined(WITH_LZO)
-	@${ECHO_MSG}
-	@${ECHO_MSG} "You can enable liblzo support by defining WITH_LZO."
-.endif
-.if !defined(WITH_MJPEG)
-	@${ECHO_MSG}
-	@${ECHO_MSG} "You can enable support for the MJPEG toolkit by defining WITH_MJPEG."
-.endif
-.if !defined(WITH_SUBRIP)
-	@${ECHO_MSG}
-	@${ECHO_MSG} "You can enable compilation of subtitleripper by defining WITH_SUBRIP."
-.endif
-.if !defined(WITH_DIVX5)
-	@${ECHO_MSG}
-	@${ECHO_MSG} "You can enable experimental DivX 5 support by defining WITH_DIVX5."
 .endif
 
 post-patch:
--- transcode-0.6.12_options.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408211522.i7LFM9iG094240>