ffmpeg-wxvlc _unstable_ port information

Package: ffmpeg-wxvlc
Version: 0.4.20071217
Revision: 2
###
BuildDepends: a52dec-dev, amrnb-dev, faac-dev, freetype219, imlib2, lame-dev, libfaad1-dev, libgsm1-dev, libogg, libtheora0, libvorbis0, libx264-dev, pkgconfig, sdl, xvidcore, fink (>= 0.28)
Depends: %N-shlibs, a52dec, amrnb, faac, faad, lame, a52dec-shlibs, amrnb-shlibs, faac-shlibs, freetype219-shlibs, imlib2-shlibs, lame-shlibs, libfaad1-shlibs, libogg-shlibs, libtheora0-shlibs, libvorbis0-shlibs, libx264-57-shlibs, sdl-shlibs, xvidcore-shlibs
###
Source: mirror:sourceforge:fink/ffmpeg-%v.tar.gz
Source-MD5: a214c8629ba0e8648bea743eb1f2dcc3
###
# link directly to build-dir lib files instead of mis-ordering local -L flags
# make sure global -I come after local ones too
PatchFile: %n.patch
PatchFile-MD5: 88ea025ad08a3a779fb257ce857ed73a
PatchScript: <<
%{default_script}
### Link to proper shlibs
perl -pi -e 's;-install_name,\$\(SHLIBDIR\)/\$\(SLIBNAME\);-install_name,\$\(SHLIBDIR\)/\$\(SLIBNAME_WITH_MAJOR\);g' configure
### Fix for 10.5 ASM problem with ld: absolute addressing (perhaps -mdynamic-no-pic) used in _rgb24tobgr24_MMX from rgb2rgb.o not allowed in slidable image
perl -pi -e 's,defined\(ARCH_X86\) \&\& defined\(CONFIG_GPL\),defined\(ARCH_X86\) \&\& defined\(CONFIG_GPL\) \&\& \!defined\(__APPLE__\),g' libswscale/rgb2rgb.c
### Fix for "warning: cast from pointer to integer of different size" with gcc-4.2
perl -pi -e 's|(\(int\))|$1 (uintptr_t)|g' libavcodec/cabac.h
### Fix for selecting x86_32 in spite of --arch=x86_64
perl -pi -e '$c++ if m,arch="x86_32",; s,arch="x86_32",arch="x86_64", if $c==2' configure
<<
###
DocFiles: COPYING.GPL COPYING.LGPL CREDITS Changelog INSTALL README doc/TODO doc/*.txt
###
# gets included "too early" in gcc calls if also set during "make"
#SetCFLAGS: -I%p/include
###
ConfigureParams: --prefix=%p/lib/vlc --enable-shared --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-x11grab --enable-liba52 --enable-libamr-nb --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --disable-mmx --disable-iwmmxt (%m = powerpc) --enable-powerpc-perf (%m = i386) --disable-altivec
###
CompileScript: <<
CFLAGS=-I%p/include ./configure %c
make
<<
###
InstallScript: <<
make install DESTDIR=%d
rm -rf %i/lib/vlc/bin
rm -rf %i/lib/vlc/share
mkdir %i/lib/vlc/lib/vhook/vhook
mv %i/lib/vlc/lib/vhook/*.dylib %i/lib/vlc/lib/vhook/vhook
<<
###
SplitOff: <<
Package: %N-shlibs
Depends: a52dec-shlibs, amrnb-shlibs, faac-shlibs, lame-shlibs, libfaad1-shlibs, libgsm1-shlibs, libogg-shlibs, libtheora0-shlibs, libvorbis0-shlibs, libx264-57-shlibs, xvidcore-shlibs
Files: <<
lib/vlc/lib/libavcodec.*.dylib
lib/vlc/lib/libavformat.*.dylib
lib/vlc/lib/libavutil.*.dylib
lib/vlc/lib/libpostproc.*.dylib
lib/vlc/lib/libswscale.*.dylib
lib/vlc/lib/libavdevice.*.dylib
lib/vlc/lib/vhook/vhook/*.dylib
<<
Shlibs: <<
!%p/lib/vlc/lib/vhook/vhook/drawtext.dylib
!%p/lib/vlc/lib/vhook/vhook/fish.dylib
!%p/lib/vlc/lib/vhook/vhook/imlib2.dylib
!%p/lib/vlc/lib/vhook/vhook/null.dylib
!%p/lib/vlc/lib/vhook/vhook/ppm.dylib
!%p/lib/vlc/lib/vhook/vhook/watermark.dylib
%p/lib/vlc/lib/libavcodec.51.dylib 51.1.0 %n (>= 0.4.20071021-1)
%p/lib/vlc/lib/libavformat.52.dylib 51.1.0 %n (>= 0.4.20071021-1)
%p/lib/vlc/lib/libavutil.49.dylib 51.1.0 %n (>= 0.4.20071021-1)
%p/lib/vlc/lib/libpostproc.51.dylib 51.1.0 %n (>= 0.4.20071021-1)
%p/lib/vlc/lib/libswscale.0.dylib 51.1.0 %n (>= 0.4.20071021-1)
%p/lib/vlc/lib/libavdevice.52.dylib 51.1.0 %n (>= 0.4.20071217-6)
<<
DocFiles: COPYING.LGPL
Description: Audio/video encoders and decoders shared libs
<<
#SplitOff2: <<
# Package: ffmpeg-wxvlc-dev
# Depends: %N-shlibs (= %v-%r)
# BuildDependsOnly: true
# Files: <<
# lib/vlc/include
# lib/vlc/lib/libavcodec.a
# lib/vlc/lib/libavformat.a
# lib/vlc/lib/libavutil.a
# lib/vlc/lib/libpostproc.a
# lib/vlc/lib/libswscale.a
# lib/vlc/lib/libavdevice.a
# lib/vlc/lib/libavcodec.dylib
# lib/vlc/lib/libavformat.dylib
# lib/vlc/lib/libavutil.dylib
# lib/vlc/lib/libpostproc.dylib
# lib/vlc/lib/libswscale.dylib
# lib/vlc/lib/libavdevice.dylib
# lib/vlc/lib/pkgconfig/libavcodec.pc
# lib/vlc/lib/pkgconfig/libavformat.pc
# lib/vlc/lib/pkgconfig/libavutil.pc
# lib/vlc/lib/pkgconfig/libswscale.pc
# lib/vlc/lib/pkgconfig/libavdevice.pc
# <<
# DocFiles: COPYING.LGPL
# Description: Audio/video encoders and decoders dev files
#<<
###
Description: Tool to convert video file formats
DescDetail: <<

FFMpeg is a complete and free Internet live audio and video broadcasting
solution for Linux/Unix. It also includes a digital VCR. It can encode in
real time in many formats including MPEG1 audio and video, MPEG4, h263,
ac3, asf, avi, real, mjpeg, and flash.

Custom version required by VLC version 0.8

<<
###
License: GPL
Maintainer: Pierre-Henri Lavigne
Homepage: http://ffmpeg.mplayerhq.hu/