pkgsrc/multimedia/handbrake/patches/patch-ad
jmcneill 684be9f2d4 Import handbrake version 0.9.3.
HandBrake is an open-source, GPL-licensed, multiplatform, multithreaded video
transcoder, available for MacOS X, NetBSD, Linux and Windows.

Supported sources:
 * Any DVD-like source: VIDEO_TS folder, DVD image or real DVD
   (unencrypted--protection methods including CSS are not supported internally
   and must be handled externally with third-party software and libraries),
   and some .VOB and .TS files
 * Most any multimedia file it can get libavformat to read and libavcodec to
   decode.

Outputs:
 * File format: MP4, MKV, AVI or OGM
 * Video: MPEG-4, H.264, or Theora (1 or 2 passes or constant quantizer/rate
   encoding)
 * Audio: AAC, MP3, Vorbis or AC-3 pass-through (supports encoding of several
   audio tracks)

Misc features:
 * Chapter selection
 * Basic subtitle support (burned into the picture)
 * Integrated bitrate calculator
 * Picture deinterlacing, cropping and scaling
 * Grayscale encoding
2009-01-21 14:15:15 +00:00

23 lines
884 B
Text

$NetBSD: patch-ad,v 1.1.1.1 2009/01/21 14:15:15 jmcneill Exp $
--- contrib/Jamfile.orig 2008-10-27 19:29:19.000000000 -0400
+++ contrib/Jamfile
@@ -80,6 +80,7 @@ rule LibAvCodec
FFMPEG_PATCH = "$(PATCH) -p0 < ../patch-ffmpeg.patch" ;
FFMPEG_PATCH += " && $(PATCH) -p0 < ../patch-ffmpeg-latm.patch " ;
FFMPEG_PATCH += " && $(PATCH) -p0 < ../patch-ffmpeg-mpegleak.patch " ;
+ FFMPEG_PATCH += " && $(PATCH) -p0 < ../patch-ffmpeg-nodocs.patch " ;
if $(OS) = CYGWIN
{
FFMPEG_PATCH += " && $(PATCH) -p1 < ../patch-ffmpeg-cygwin.patch " ;
@@ -98,6 +99,10 @@ rule LibAvCodec
#
FFMPEG_EXTRA_OPTIONS = "--disable-vis --disable-demuxer=mpc8 --disable-vhook --disable-network" ;
}
+ else
+ {
+ FFMPEG_EXTRA_OPTIONS = "--enable-memalign-hack --disable-devices" ;
+ }
Depends $(<) : $(>) ;
Depends lib : $(<) ;