Commit graph

166 commits

Author SHA1 Message Date
bjs
04c7cadd25 Update patch-oldx264 to deal with new x264-devel snapshot. PKGREVISION++ 2008-12-18 16:31:53 +00:00
ahoka
45294630cd Disable SIMD on AMD64 too. 2008-12-02 19:40:43 +00:00
sborrill
e49bf21876 Patch support for img_resample() and friends back into ffmpeg even when
swscale is enabled. This allows older apps (such as vlc 0.8.6i) to run
without a specific ffmpeg package option and thus the swscale option is no
longer needed.
2008-09-15 21:24:00 +00:00
jmcneill
7c1d610b01 Add --disable-stripping so our libraries have symbols 2008-09-13 21:19:34 +00:00
ahoka
1c47c74360 I should have added this file in my previous commit. 2008-09-12 14:19:33 +00:00
sborrill
d515a5b3e8 Make swscale an option (on by default). This option needs to be disabled for
vlc08 (0.8.6i).
2008-09-12 13:44:23 +00:00
ahoka
010964ba5b Patch libavcodec to build with our slightly older version of x264.
This reenables the x264 option and makes it default again.

This patch should be removed after an x264 update.
2008-09-12 12:21:07 +00:00
joerg
7c390ad337 Provide code pathes using posix_memalign, applies at leas to NetBSD
current.
2008-09-11 12:08:41 +00:00
ahoka
c62b1f6e0b Fix the PLIST handling of the SDL option.
Problem reported by Amitai Schlair.
2008-09-08 17:57:02 +00:00
ahoka
09865e1650 Explicitly disable any mmx or sse code.
Fix endian detection.
2008-09-08 00:16:35 +00:00
ahoka
72eff7d638 Track FreeBSD's SVN snapshots of ffmpeg as there are no more stable
releases produced by the ffmpeg team.

Add v4l2 support for NetBSD.
2008-09-07 23:39:37 +00:00
tonnerre
c8e51c424c Add patch to fix ffmpeg remote system access vulnerability (CVE-2008-3162). 2008-09-01 00:00:10 +00:00
jdc
27c0a92236 This doesn't compile on sparc, so lets not bother spending time trying. 2008-01-22 22:51:45 +00:00
joerg
6f3e0e9c26 Linux needs -ldl in all cases (from PR 37587).
Add DESTDIR support.
2007-12-22 00:05:25 +00:00
dbj
09c4d82d2a remove dependency on liba52 since this builds its own tweaked
version of liba52 into libavcodec

bump pkgrevision
2007-08-02 21:53:05 +00:00
dbj
a38782a038 fix bktr patch so at least it applies
compiling not tested
2007-08-02 21:51:52 +00:00
dbj
9b6b629433 fixes to compile on darwin 2007-08-02 21:48:33 +00:00
joerg
51caae7584 Fix RCS ID. 2007-06-19 00:23:51 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
rillig
2829e658f2 Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
${PREFIX}/${PKGMANDIR}.

Fixes PR 35265, although I did not use the patch provided therein.
2007-01-07 09:13:46 +00:00
jdc
f707eb4925 Make this compile under sparc64.
OK joerg@.
2006-12-23 20:53:42 +00:00
rillig
277c86e453 Fixed PKGMANDIR. 2006-11-02 02:26:55 +00:00
drochner
926f5c78df fix HOMEPAGE 2006-10-25 14:02:00 +00:00
dillo
fd1154264d Fix homepage. 2006-09-27 15:29:11 +00:00
drochner
500f0b2681 -use tools framework for texi2html
-also use pod2man
2006-08-11 09:37:11 +00:00
ben
9d40c7b32a Change texi2html from a runtime to a buildtime dependency. 2006-08-11 05:40:47 +00:00
ben
597af5d82e Depend on texi2html, to make man pages. Bump pkgrevision.
This is related to PR#34173
2006-08-11 03:13:04 +00:00
wiz
555ba3a379 Use PKGREVISION for PKGREVISION bumps. 2006-08-09 17:13:53 +00:00
ben
3b9e117cf7 Fix PLIST in ffmpeg. Addresses PR#34173 2006-08-09 14:14:40 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
wiz
32d424955a Fix build with gcc4 on NetBSD-3.99.21. 2006-06-26 19:40:06 +00:00
wiz
e4e4661a37 regen (offsets) 2006-06-26 19:39:54 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
abs
9810d4080a fix BUILDLINK_RECOMMENDED.ffmpeg 2006-02-22 10:30:18 +00:00
abs
2002a9ba8f pkglint - no functional changes 2006-02-16 11:45:52 +00:00
abs
4aba7c950f Update ffmpeg to 0.4.9pre1, and add patch for libavcodec buffer overflow
http://secunia.com/advisories/17892/

version 0.4.9-pre1:

- DV encoder, DV muxer
- Microsoft RLE video decoder
- Microsoft Video-1 decoder
- Apple Animation (RLE) decoder
- Apple Graphics (SMC) decoder
- Apple Video (RPZA) decoder
- Cinepak decoder
- Sega FILM (CPK) file demuxer
- Westwood multimedia support (VQA & AUD files)
- Id Quake II CIN playback support
- 8BPS video decoder
- FLIC playback support
- RealVideo 2.0 (RV20) decoder
- Duck TrueMotion v1 (DUCK) video decoder
- Sierra VMD demuxer and video decoder
- MSZH and ZLIB decoder support
- SVQ1 video encoder
- AMR-WB support
- PPC optimisations
- rate distortion optimal cbp support
- rate distorted optimal ac prediction for mpeg4
- rate distorted optimal lambda->qp support
- AAC encoding with libfaac
- Sunplus JPEG codec (SP5X) support
- use lagrange multipler instead of qp for ratecontrol
- theora/VP3 decoding support
- XA and ADX ADPCM codecs
- export mpeg2 active display area / pan scan
- Add support for configuring with IBM XLC
- floating point AAN DCT
- initial support for zygovideo (not complete)
- rgb ffv1 support
- new audio/video parser API
- av_log() system
- av_read_frame() and av_seek_frame() support
- missing last frame fixes
- seek by mouse in ffplay
- noise reduction of dct coefficients
- h263 OBMC & 4MV support
- h263 alternative inter vlc support
- h263 loop filter
- h263 slice structured mode
- interlaced DCT support for MPEG2 encoding
- stuffing to stay above min_bitrate
- mb type & qp vissualization
- frame stepping for ffplay
- interlaced motion estimation
- alternate scantable support
- SVCD scan offset support
- closed gop support
- SSE2 fdct
- quantizer noise shaping
- G.726 ADPCM audio codec
- MS ADPCM encoding
- multithreaded/SMP motion estimation
- multithreaded/SMP encoding for MPEG1/MPEG2/MPEG4/H263
- multithreaded/SMP decoding for MPEG2
- FLAC decoder
- Metrowerks CodeWarrior suppport
- h263+ custom pcf support
- nicer output for 'ffmpeg -formats'
- matroska demuxer
- SGI image format, encoding and decoding
- h264 loop filter support
- h264 CABAC support
- nicer looking arrows for the motion vector vissualization
- improved VCD support
- audio timestamp drift compensation
- mpeg2 YUV 422/444 support
- polyphase kaiser windowed sinc and blackman nuttall windowed sinc audio resample
- better image scaling
- h261 support
- correctly interleave packets during encoding
- VIS optimized motion compensation
- intra_dc_precission>0 encoding support
- support reuse of motion vectors/mb types/field select values of the source video
- more accurate deblock filter
- padding support
- many optimizations and bugfixes
2006-02-16 10:26:30 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
wiz
3f18941eb3 Add DragonFlyBSD and FreeBSD support. From Steve O'Hara-Smith
via tech-pkg.
2006-01-12 22:08:07 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
joerg
0e62e8f46f Add DragonFly. 2005-12-28 16:20:05 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
2005-06-01 18:02:37 +00:00
dillo
f81ae835ad Packages have no business modifying PKG_DEFAULT_OPTIONS -- it's a
user settable variable.  Set PKG_SUGGESTED_OPTIONS instead.  Also,
make use of PKG_OPTIONS_LEGACY_VARS.

Reviewed by wiz.
2005-05-31 10:01:36 +00:00
jlam
3d9cc4a8f5 Minor quoting fixes. 2005-05-25 03:39:44 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
grant
ace46b1f0a the ffserver program uses dlopen(), so include dlopen.buildlink3.mk
and ensure -ldl is passed when linking ffserver where appropriate.

fixes build on Linux.
2005-03-05 13:32:10 +00:00
agc
5ae9517d74 Add RMD160 digests. 2005-02-24 11:24:01 +00:00
tron
c49147b2a8 Remove me as maintainer of this package because I now longer use it. 2005-02-05 19:40:22 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
wiz
5b41881920 Convert to bsd.options.mk, and add three new options: bktr lame vorbis.
The latter two add support for reading/writing mp3 and ogg files,
while the first adds support for grabbing from bktr(4), based on a file
from FreeBSD ports with some additional changes by me.
Additionally, document how to use it in the man page.

Also, add a patch (by me) to use the NetBSD native audio interface instead
of libossaudio (on NetBSD).

Based on PR 24691 and additional mails by Ove Soerensen (thanks!).
Also addresses PR 20281.

Bump PKGREVISION for the audio interface change.
2004-08-29 22:43:50 +00:00
drochner
6ff4c758af make sure libavcodec gets linked against libz and libm for proper
inter-library dependencies
2004-08-06 11:01:53 +00:00
recht
66c8815d3c fix typo: it's #if defined and not #ifdef defined 2004-07-31 11:08:47 +00:00
xtraeme
9345e507d9 Disable MMX support if USE_MMX != [Yy][Ee][Ss]. 2004-07-26 23:53:49 +00:00
kristerw
e842cce03c gcc 2.95 does not handle some of the asm statements. Fall back to
the C version when using gcc 2.
2004-07-18 17:40:25 +00:00
cube
d24b17b105 For USE_MMX users, do the following:
o only include it in the BUILD_DEFS if the current platform is concerned.
  For now that only includes i386, but we might find amd64 users in the
  future.
o test against [Yy][Ee][Ss], for consistency.

Fixes part of PR 26243.
2004-07-12 19:27:05 +00:00
xtraeme
05200787fe multimedia/ffmpeg:
o Use CONF_FILES for ffserver.conf.
	o Install the postprocess.h file into the right place.

Bump PKGREVISION.
2004-06-20 02:36:24 +00:00
xtraeme
26eace75e8 Enable postprocess support, required by vlc-0.7.2. 2004-06-20 02:02:58 +00:00
xtraeme
640338466b o Disable debug compilation flags.
o Honour USE_MMX.
2004-06-19 23:15:12 +00:00
wiz
00009234c6 Does not BUILD_DEPEND on nasm any longer, as noted
by drochner. No PKGREVISION bump since the binary package does not change.
2004-05-26 11:14:33 +00:00
wiz
c041b228d4 Update to 0.4.8, and install the header files that are customarily
installed.
Changes:
version 0.4.8:

- MPEG2 video encoding (Michael)
- Id RoQ playback subsystem (Mike Melanson and Tim Ferguson)
- Wing Commander III Movie (.mve) file playback subsystem (Mike Melanson
  and Mario Brito)
- Xan DPCM audio decoder (Mario Brito)
- Interplay MVE playback subsystem (Mike Melanson)
- Duck DK3 and DK4 ADPCM audio decoders (Mike Melanson)

version 0.4.7:

- RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders. Author unknown, code from a mplayerhq
  (originally from public domain player for Amiga at http://www.honeypot.net/audio)
- Current version now also compiles with older GCC (Fabrice)
- 4X multimedia playback system including 4xm file demuxer (Mike
  Melanson), and 4X video and audio codecs (Michael)
- Creative YUV (CYUV) decoder (Mike Melanson)
- FFV1 codec (our very simple lossless intra only codec, compresses much better
  then huffyuv) (Michael)
- ASV1 (Asus), H.264, Intel indeo3 codecs has been added (Various)
- Tiny PNG encoder and decoder, tiny GIF decoder, PAM decoder (PPM with
  alpha support), JPEG YUV colorspace support. (Fabrice Bellard)
- ffplay has been replaced with a newer version which uses SDL (optionally)
  for multi platform support (fabrice)
- Sorenson Version 3 codec (SVQ3) support has been added (decoding only) - donated
  by anonymous
- AMR format has been added (Johannes Carlsson)
- 3gp support has been added (Johannes Carlsson)
- VP3 codec has been added (Mike Melanson)
- more MPEG-1/2 fixes
- Better Multi platform support, MS Visual Studio fixes (various)
- Altivec optimizations (Magnus Damn and others)
- SH4 processor support has been added (BERO)
- New public interfaces (avcodec_get_pix_fmt) (Roman Shaposhnick)
- VOB Streaming support (Brian Foley)
- Better MP3 Autodetection (Andriy Rysin)
- qpel encoding (Michael)
- 4mv+b frames encoding finally fixed (Michael)
- chroma ME (Michael)
- 5 comparission functions for ME (Michael)
- b frame encoding speedup (Michael)
- wmv2 codec (unfinished - Michael)
- user specified diamond size for EPZS (Michael)
- Playstation STR playback subsystem, still experimental (Mike and Michael)
- ASV2 codec (Michael)
- CLJR decoder (Alex)

.. And lots more new enhances and fixes.

version 0.4.6:

- completely new integer only mpeg audio layer 1/2/3 decoder rewritten
  from scratch.
- recoded dct and motion vector search with gcc (no longer depends on
  nasm).
- fix quantization bug in AC3 encoder.
- added PCM codecs and format. Corrected wav/avi/asf pcm issues.
- added prototype ffplay program.
- added GOB header parsing on H.263/H.263+ decoder. (Juanjo)
- bug fix on MCBPC tables of H.263. (Juanjo)
- bug fix on DC coefficients of H.263. (Juanjo)
- added Advanced Prediction Mode on H.263/H.263+ decoder. (Juanjo)
- now we can decode H.263 streams found on QuickTime files. (Juanjo)
- now we can decode H.263 streams found on VIVO v1 files.(Juanjo)
- preliminary RTP "friendly" mode for H.263/H.263+ coding. (Juanjo)
- added GOB header for H.263/H.263+ coding on RTP mode. (Juanjo)
- now H.263 picture size is returned on the first decoded frame. (Juanjo)
- added first regression tests
- added MPEG2 TS demux
- new demux API for libav
- more accurate and faster IDCT (Michael)
- faster and entropy controlled motion search (Michael)
- two pass video encoding (Michael)
- new video rate control (Michael)
- added MSMPEG4V1, MSMPEGV2 and WMV1 support (Michael)
- great performance improvement of video encoders and decoders (Michael)
- new and faster bit readers and vlc parsers (Michael)
- high quality encoding mode : tries all macroblock/VLC types (Michael)
- added DV video decoder
- preliminary RTP/RTSP support in ffserver and libavformat
- H.263+ AIC decoding/encoding support. (Juanjo)
- VCD MPEG-PS mode. (Juanjo)
- PSNR stuff. (Juanjo)
- Simple stats output. (Juanjo)
- 16-bit and 15-bit rgb/bgr/gbr support (Bisqwit)
2004-05-25 21:49:26 +00:00
wiz
7e618c30cb Reimport graphics/ffmpeg as multimedia/ffmpeg. 2004-05-10 13:41:10 +00:00