Commit ad93ca15 authored by Michael's avatar Michael

updated ffmpeg

parent ddcf6408
......@@ -5,7 +5,7 @@
pkgname=alsa-firmware
pkgver=1.0.25
pkgrel=5
pkgrel=6
pkgdesc="ALSA firmware package"
arch=('i686' 'x86_64')
url="http://alsa-project.org/"
......
......@@ -5,7 +5,7 @@
pkgname=alsa-lib
pkgver=1.0.25
pkgrel=4
pkgrel=5
pkgdesc="An alternative implementation of Linux sound support"
arch=('i686' 'x86_64')
url="http://www.alsa-project.org"
......
......@@ -5,7 +5,7 @@
pkgname=alsa-oss
pkgver=1.0.25
pkgrel=4
pkgrel=5
pkgdesc="OSS compatibility library"
arch=(i686 x86_64)
license=('GPL')
......
......@@ -5,7 +5,7 @@
pkgname=alsa-plugins
pkgver=1.0.25
pkgrel=4
pkgrel=5
pkgdesc="Extra alsa plugins"
arch=(i686 x86_64)
url="http://www.alsa-project.org"
......@@ -18,11 +18,12 @@ optdepends=('libpulse: PulseAudio plugin'
'libsamplerate: libsamplerate resampling plugin'
'speex: libspeexdsp resampling plugin')
options=('!libtool')
source=("ftp://ftp.alsa-project.org/pub/plugins/$pkgname-$pkgver.tar.bz2")
md5sums=('038c023eaa51171f018fbf7141255185')
#source=("http://chakra.sourceforge.net/sources/${pkgname}/${pkgname}-${pkgver}.tar.xz")
#md5sums=('01d00251cbe4f510e131eeee69c8361a')
source=("ftp://ftp.alsa-project.org/pub/plugins/$pkgname-$pkgver.tar.bz2"
"alsa-plugins-1.0.25-ffmpeg-0.11-obsolete-avcodec_init.patch"
"alsa-plugins-1.0.25-ffmpeg-0.11-renamed-CH_LAYOUT-defs-v2.patch")
md5sums=('038c023eaa51171f018fbf7141255185'
'9c52cbe8f1bc8c823d70a92b171c1055'
'07d382f969d0514297e9dbc5f642bbdf')
# create tarball: source PKGBUILD && mksource
......@@ -38,6 +39,9 @@ mksource() {
build() {
cd "$srcdir/$pkgname-$pkgver"
patch -Np1 -i "${srcdir}/alsa-plugins-1.0.25-ffmpeg-0.11-renamed-CH_LAYOUT-defs-v2.patch"
patch -Np1 -i "${srcdir}/alsa-plugins-1.0.25-ffmpeg-0.11-obsolete-avcodec_init.patch"
./configure --prefix=/usr
make
}
......@@ -46,6 +50,6 @@ package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
mkdir -p "$pkgdir/usr/share/doc/$pkgname"
install -d "$pkgdir/usr/share/doc/$pkgname"
install -m644 doc/README* doc/*.txt "$pkgdir/usr/share/doc/$pkgname/"
}
\ No newline at end of file
}
diff -u -r alsa-plugins-1.0.25/a52/pcm_a52.c alsa-plugins-1.0.25-ffmpeg/a52/pcm_a52.c
--- alsa-plugins-1.0.25/a52/pcm_a52.c 2012-01-25 08:57:07.000000000 +0100
+++ alsa-plugins-1.0.25-ffmpeg/a52/pcm_a52.c 2012-06-09 00:42:52.177219012 +0200
@@ -702,7 +702,6 @@
rec->channels = channels;
rec->format = format;
- avcodec_init();
avcodec_register_all();
rec->codec = avcodec_find_encoder_by_name("ac3_fixed");
Ffmpeg 0.11 (LIBAVCODEC_VERSION_MAJOR = 54) removed the CH_LAYOUT_* aliases for
the AV_CH_LAYOUT_* defines.
diff -pru alsa-plugins-1.0.25-original/a52/pcm_a52.c alsa-plugins-1.0.25-for-ffmpeg-0.11/a52/pcm_a52.c
--- alsa-plugins-1.0.25-original/a52/pcm_a52.c 2012-01-25 08:57:07.000000000 +0100
+++ alsa-plugins-1.0.25-for-ffmpeg-0.11/a52/pcm_a52.c 2012-06-01 14:59:47.096671464 +0200
@@ -441,7 +441,21 @@ static int a52_prepare(snd_pcm_ioplug_t
#else
rec->avctx->sample_fmt = SAMPLE_FMT_S16;
#endif
-#if LIBAVCODEC_VERSION_MAJOR > 52 || (LIBAVCODEC_VERSION_MAJOR == 52 && LIBAVCODEC_VERSION_MINOR >= 3)
+#if (LIBAVCODEC_VERSION_MAJOR >= 54)
+ switch (io->channels) {
+ case 2:
+ rec->avctx->channel_layout = AV_CH_LAYOUT_STEREO;
+ break;
+ case 4:
+ rec->avctx->channel_layout = AV_CH_LAYOUT_QUAD;
+ break;
+ case 6:
+ rec->avctx->channel_layout = AV_CH_LAYOUT_5POINT1;
+ break;
+ default:
+ break;
+ }
+#elif (LIBAVCODEC_VERSION_MAJOR > 52 && LIBAVCODEC_VERSION_MAJOR < 54) || (LIBAVCODEC_VERSION_MAJOR == 52 && LIBAVCODEC_VERSION_MINOR >= 3)
switch (io->channels) {
case 2:
rec->avctx->channel_layout = CH_LAYOUT_STEREO;
......@@ -5,7 +5,7 @@
pkgname=alsa-utils
pkgver=1.0.25
pkgrel=5
pkgrel=6
pkgdesc="An alternative implementation of Linux sound support"
arch=('i686' 'x86_64')
url="http://www.alsa-project.org"
......
......@@ -5,7 +5,7 @@
pkgname=cdemu-client
pkgver=1.5.0
pkgrel=1
pkgrel=2
pkgdesc="Simple command-line client for controlling cdemu-daemon"
arch=('i686' 'x86_64')
url="http://cdemu.sourceforge.net/"
......
......@@ -5,7 +5,7 @@
pkgname=cdemu-daemon
pkgver=1.5.0
pkgrel=1
pkgrel=2
pkgdesc="CD/DVD-ROM device emulator daemon"
arch=('i686' 'x86_64')
backup=('etc/conf.d/cdemud'
......
......@@ -6,7 +6,7 @@
pkgname=('cdrdao')
pkgver=1.2.3
pkgrel=7
pkgrel=8
arch=('i686' 'x86_64')
license=('GPL')
url="http://cdrdao.sourceforge.net/"
......
......@@ -6,7 +6,7 @@
pkgname=celt
pkgver=0.11.1
pkgrel=8
pkgrel=9
pkgdesc="Low-latency audio communication codec"
arch=('i686' 'x86_64')
url="http://www.celt-codec.org"
......
......@@ -5,7 +5,7 @@
pkgname=dssi
pkgver=1.1.1
pkgrel=5
pkgrel=6
pkgdesc="An API for audio plugins, with particular application for software synthesis plugins with native user interfaces."
arch=("i686" "x86_64")
url="http://dssi.sourceforge.net/"
......
......@@ -4,16 +4,17 @@
# maintainer abveritas@chakra-project.org
pkgname=ffmpeg
pkgver=0.10.3
pkgrel=3
pkgver=0.11.1
pkgrel=1
pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix"
arch=('i686' 'x86_64')
url="http://ffmpeg.org/"
license=('GPL')
depends=('bzip2' 'lame' 'sdl' 'libvorbis' 'xvidcore' 'zlib' 'x264' 'libtheora' 'opencore-amr' 'alsa-lib' 'libvdpau' 'libxfixes' 'schroedinger' 'libvpx' 'libva' 'openjpeg' 'rtmpdump' 'speex' 'gsm' 'libpulse')
depends=('bzip2' 'lame' 'sdl' 'libvorbis' 'xvidcore' 'zlib' 'x264' 'libtheora' 'opencore-amr' 'alsa-lib' 'libvdpau' 'libxfixes' 'schroedinger' 'libvpx>=1.1.0' 'libva' 'openjpeg' 'rtmpdump' 'speex' 'gsm'
'libpulse')
makedepends=('yasm')
source=("http://${pkgname}.org/releases/${pkgname}-${pkgver}.tar.bz2")
md5sums=('775d184933f71ff44a2fff4968e78b2b')
md5sums=('ff8cb914f657e164dd60ea1008b555a8')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
......
......@@ -5,7 +5,7 @@
pkgname=ffmpegthumbnailer
pkgver=2.0.8
pkgrel=1
pkgrel=2
pkgdesc="Lightweight video thumbnailer that can be used by file managers."
url="http://code.google.com/p/ffmpegthumbnailer/"
license=('GPL2')
......
......@@ -5,7 +5,7 @@
pkgname=flac
pkgver=1.2.1
pkgrel=9
pkgrel=10
pkgdesc="Free Lossless Audio Codec"
arch=('i686' 'x86_64')
url="http://flac.sourceforge.net/"
......
......@@ -6,7 +6,7 @@
pkgbase=gstreamer0.10-bad
pkgname=('gstreamer0.10-bad' 'gstreamer0.10-bad-plugins')
pkgver=0.10.23
pkgrel=3
pkgrel=4
arch=('i686' 'x86_64')
license=('LGPL' 'GPL')
makedepends=('pkgconfig' 'gstreamer0.10-base>=0.10.36' 'xvidcore' 'libdca' 'bzip2' 'libdc1394'
......
......@@ -6,7 +6,7 @@
pkgbase=('gstreamer0.10-base')
pkgname=('gstreamer0.10-base' 'gstreamer0.10-base-plugins')
pkgver=0.10.36
pkgrel=2
pkgrel=3
arch=('i686' 'x86_64')
license=('LGPL')
makedepends=('pkgconfig' "gstreamer0.10>=${pkgver}" 'orc' 'libxv' 'alsa-lib' 'cdparanoia' 'libvisual' 'libvorbis' 'libtheora' 'pango' 'gobject-introspection')
......
......@@ -6,7 +6,7 @@
pkgbase=gstreamer0.10-good
pkgname=('gstreamer0.10-good' 'gstreamer0.10-good-plugins')
pkgver=0.10.31
pkgrel=2
pkgrel=3
arch=('i686' 'x86_64')
license=('LGPL')
makedepends=('intltool' 'pkgconfig' 'gstreamer0.10-base>=0.10.36' 'libavc1394' 'libiec61883' 'aalib' 'libshout' 'libdv'
......
......@@ -5,7 +5,7 @@
pkgname=gstreamer0.10-python
pkgver=0.10.22
pkgrel=5
pkgrel=6
pkgdesc="Python bindings for GStreamer 0.10"
arch=('i686' 'x86_64')
license=('LGPL')
......
......@@ -6,7 +6,7 @@
pkgbase=gstreamer0.10-ugly
pkgname=('gstreamer0.10-ugly' 'gstreamer0.10-ugly-plugins')
pkgver=0.10.19
pkgrel=2
pkgrel=3
arch=('i686' 'x86_64')
license=('LGPL')
makedepends=('pkgconfig' 'gstreamer0.10-base' 'libdvdread' 'lame' 'libmpeg2' 'a52dec' 'libid3tag' 'libmad'
......
......@@ -5,7 +5,7 @@
pkgname=gstreamer0.10
pkgver=0.10.36
pkgrel=2
pkgrel=3
pkgdesc="GStreamer Multimedia Framework"
arch=('i686' 'x86_64')
license=('LGPL')
......
......@@ -5,7 +5,7 @@
pkgname=jack
pkgver=0.121.3
pkgrel=8
pkgrel=9
pkgdesc="A low-latency audio server"
arch=('i686' 'x86_64')
license=('GPL2' 'custom:LGPL2')
......
......@@ -5,7 +5,7 @@
pkgname=ladspa
pkgver=1.13
pkgrel=7
pkgrel=8
pkgdesc="Linux Audio Developer's Simple Plugin API (LADSPA)"
arch=("i686" "x86_64")
license=('LGPL')
......
......@@ -6,7 +6,7 @@
pkgname=libao
pkgver=1.1.0
pkgrel=6
pkgrel=7
pkgdesc="A cross-platform audio output library and plugins"
url="http://www.xiph.org/ao"
arch=('i686' 'x86_64')
......
......@@ -5,7 +5,7 @@
pkgname=liblastfm
pkgver=1.0.1
pkgrel=2
pkgrel=3
pkgdesc='A Qt C++ library for the Last.fm webservices'
url="https://github.com/eartle/liblastfm/"
license=('GPL3')
......
......@@ -5,7 +5,7 @@
pkgname=liblrdf
pkgver=0.5.0
pkgrel=2
pkgrel=3
pkgdesc="A library for the manipulation of RDF file in LADSPA plugins"
arch=('i686' 'x86_64')
url="https://github.com/swh/LRDF"
......
......@@ -5,7 +5,7 @@
pkgname=libmirage
pkgver=1.5.0
pkgrel=1
pkgrel=2
pkgdesc="CD-ROM image (B6T/CCD/CDI/CUE/ISO/MDS/NRG/TOC) access library"
arch=('i686' 'x86_64')
url="http://cdemu.sourceforge.net/"
......
......@@ -5,7 +5,7 @@
pkgname=libogg
pkgver=1.3.0
pkgrel=5
pkgrel=6
pkgdesc="Ogg bitstream and framing library"
arch=('i686' 'x86_64')
url="http://www.xiph.org/ogg/"
......
......@@ -5,7 +5,7 @@
pkgname=libsamplerate
pkgver=0.1.8
pkgrel=5
pkgrel=6
pkgdesc="Secret Rabbit Code - aka Sample Rate Converter for audio"
arch=('i686' 'x86_64')
url="http://www.mega-nerd.com/SRC/index.html"
......
......@@ -5,7 +5,7 @@
pkgname=libshout
pkgver=2.3.1
pkgrel=1
pkgrel=2
pkgdesc="Library for accessing a shoutcast/icecast server"
arch=('i686' 'x86_64')
depends=('libvorbis' 'libtheora' 'speex')
......
......@@ -5,7 +5,7 @@
pkgname=libsndfile
pkgver=1.0.25
pkgrel=5
pkgrel=6
pkgdesc="A C library for reading and writing files containing sampled sound"
arch=('i686' 'x86_64')
url="http://www.mega-nerd.com/libsndfile"
......
......@@ -5,7 +5,7 @@
pkgname=libtheora
pkgver=1.1.1
pkgrel=8
pkgrel=9
pkgdesc="An open video codec developed by the Xiph.org"
arch=('i686' 'x86_64')
url="http://www.xiph.org"
......
......@@ -5,7 +5,7 @@
pkgname=libvorbis
pkgver=1.3.3
pkgrel=4
pkgrel=5
pkgdesc="Vorbis codec library"
arch=('i686' 'x86_64')
license=('custom')
......
......@@ -6,7 +6,7 @@
pkgname=libvpx
pkgver=1.1.0
pkgrel=1
pkgrel=2
pkgdesc="The VP8 Codec SDK"
arch=('i686' 'x86_64')
url="http://www.webmproject.org/"
......
......@@ -7,34 +7,36 @@
pkgbase=mlt
pkgname=('mlt' 'mlt-python-bindings')
pkgver=0.8.0
pkgver=0.8.2
pkgrel=1
pkgdesc="An open source multimedia framework"
arch=('i686' 'x86_64')
url="http://www.mltframework.org"
license=('GPL')
depends=('sdl_image' 'libsamplerate' 'libdv' 'qt' 'sox' 'libxml2' 'ffmpeg>=0.8.9' 'frei0r-plugins' 'swig' 'python2')
depends=('sdl_image' 'libsamplerate' 'libdv' 'qt' 'sox' 'libxml2' 'ffmpeg>=0.11' 'frei0r-plugins' 'swig' 'python2')
optdepends=('jack')
makedepends=('subversion')
conflicts=('mlt++<=0.3.8')
source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('d56e0cdfba9c5b5608bf84493322615f')
md5sums=('c7a8c4ca7485bb615cbcf851d8742a1c')
build() {
# mlt
cd $srcdir/mlt-$pkgver
cd "${srcdir}/mlt-${pkgver}"
# [ $CARCH == "i686" ] && SSE2=--disable-sse2 || SSE2=
SSE2=--disable-sse2
SSE=--disable-sse
msg "SSE2=$SSE2"
msg "SSE=$SSE"
./configure --prefix=/usr \
--enable-gpl \
--qimage-libdir=/usr/lib/ \
--qimage-includedir=/usr/include/Qt \
--avformat-vdpau \
--disable-gtk2 \
--avformat-swscale $SSE2
--avformat-swscale $SSE2 $SSE
make
# mlt python bindings
......@@ -46,7 +48,7 @@ build() {
}
package_mlt() {
depends=('sdl_image' 'libsamplerate' 'libdv' 'sox' 'libxml2' 'ffmpeg' 'frei0r-plugins')
depends=('sdl_image' 'libsamplerate' 'libdv' 'sox' 'libxml2' 'ffmpeg>=0.11' 'frei0r-plugins')
optdepends=('jack' 'libexif' 'qt' "ladspa")
conflicts=('mlt++<=0.3.8')
......@@ -55,7 +57,7 @@ package_mlt() {
}
package_mlt-python-bindings() {
depends=('python2' 'mlt')
depends=('python2' 'mlt>=0.8')
cd "$srcdir/mlt-$pkgver/src/swig/python"
mkdir -p "$pkgdir/usr/lib/python2.7/"
......
......@@ -5,7 +5,7 @@
pkgname=mpg123
pkgver=1.14.4
pkgrel=1
pkgrel=2
pkgdesc="A console based real time MPEG Audio Player for Layer 1, 2 and 3"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/mpg123"
......
......@@ -5,7 +5,7 @@
pkgname=mplayer
pkgver=34923
pkgrel=4
pkgrel=5
pkgdesc="Multimedia player."
arch=('i686' 'x86_64')
depends=('a52dec' 'aalib' 'alsa-lib' 'bzip2' 'cdparanoia' 'directfb' 'enca' 'faac' 'faad2'
......
......@@ -5,7 +5,7 @@
pkgname=mplayer2
pkgver=2.0.4
pkgrel=3
pkgrel=4
pkgdesc="A movie player"
arch=('i686' 'x86_64')
license=('GPL')
......
......@@ -5,7 +5,7 @@
pkgname=normalize
pkgver=0.7.7
pkgrel=7
pkgrel=8
pkgdesc="A tool for adjusting the volume of WAV files to a standard level"
arch=('i686' 'x86_64')
url="http://normalize.nongnu.org"
......
......@@ -7,7 +7,7 @@ pkgbase=opencv
pkgname=('opencv' 'opencv-docs' 'opencv-samples')
_realname=OpenCV
pkgver=2.4.2
pkgrel=1
pkgrel=2
pkgdesc="Open Source Computer Vision Library"
arch=('i686' 'x86_64')
license=('BSD')
......
......@@ -5,7 +5,7 @@
pkgname=orc
pkgver=0.4.16
pkgrel=4
pkgrel=5
pkgdesc="The Oild Runtime Compiler"
arch=('i686' 'x86_64')
license=('custom')
......
......@@ -2,7 +2,7 @@
pkgname=perl-sdl
pkgver=2.536
pkgrel=5
pkgrel=6
pkgdesc="Simple DirectMedia Layer for Perl."
arch=(i686 x86_64)
license=(LGPL)
......
......@@ -5,7 +5,7 @@
pkgname=('phonon-backend-gstreamer')
pkgver=4.6.2
pkgrel=2
pkgrel=3
pkgdesc="Phonon GStreamer backend"
arch=('i686' 'x86_64')
url='http://phonon.kde.org'
......
......@@ -6,7 +6,7 @@
pkgname=('phonon-backend-mplayer')
_pkgname=('phonon-mplayer')
pkgver=20120212
pkgrel=6
pkgrel=7
pkgdesc='Phonon MPlayer backend'
arch=('i686' 'x86_64')
url='http://phonon.kde.org'
......
......@@ -5,7 +5,7 @@
pkgname=('phonon-backend-vlc')
pkgver=0.6.0
pkgrel=1
pkgrel=2
pkgdesc='Phonon VLC backend'
arch=('i686' 'x86_64')
url='http://phonon.kde.org'
......
......@@ -5,7 +5,7 @@
pkgname=phonon
pkgver=4.6.0
pkgrel=5
pkgrel=6
arch=('i686' 'x86_64')
url="http://phonon.kde.org"
license=('LGPL')
......
......@@ -7,7 +7,7 @@ pkgbase=pulseaudio
pkgname=('pulseaudio' 'libpulse')
pkgdesc="A featureful, general-purpose sound server"
pkgver=2.1
pkgrel=1
pkgrel=2
arch=('i686' 'x86_64')
url="http://pulseaudio.org/"
license=('GPL' 'LGPL')
......
......@@ -5,7 +5,7 @@
pkgname=pyogg
pkgver=1.3
pkgrel=12
pkgrel=13
pkgdesc="Python ogg wrapper library"
arch=('i686' 'x86_64')
url="http://ekyo.nerim.net/software/pyogg/index.html"
......
......@@ -5,7 +5,7 @@
pkgname=pyvorbis
pkgver=1.4
pkgrel=11
pkgrel=12
pkgdesc="Python vorbis wrapper library"
arch=(i686 x86_64)
license=('LGPL')
......
......@@ -5,7 +5,7 @@
pkgname=rdesktop
pkgver=1.7.1
pkgrel=4
pkgrel=5
depends=('libx11' 'openssl' 'libao' 'libsamplerate')
pkgdesc="Is used to connect to windows terminal servers"
url="http://www.rdesktop.org/"
......
......@@ -5,7 +5,7 @@
pkgname=sdl_mixer
pkgver=1.2.12
pkgrel=4
pkgrel=5
pkgdesc="A simple multi-channel audio mixer"
arch=('i686' 'x86_64')
url="http://www.libsdl.org/projects/SDL_mixer/"
......
......@@ -5,7 +5,7 @@
pkgname=sdl_sound
pkgver=1.0.3
pkgrel=9
pkgrel=10
pkgdesc="A library to decode several popular sound file formats, such as .WAV and .MP3"
arch=('i686' 'x86_64')
url="http://icculus.org/SDL_sound/"
......
......@@ -5,7 +5,7 @@
pkgname=soundtouch
pkgver=1.6.0
pkgrel=3
pkgrel=4
pkgdesc="SoundTouch is an open-source audio processing library for changing the Tempo, Pitch and Playback Rates of audio streams or audio files."
arch=('i686' 'x86_64')
url="http://www.surina.net/soundtouch/"
......
......@@ -6,7 +6,7 @@
pkgname=sox
pkgver=14.4.0
pkgrel=2
pkgrel=3
pkgdesc="The Swiss Army knife of sound processing tools"
arch=('i686' 'x86_64')
url="http://sox.sourceforge.net/"
......
......@@ -5,7 +5,7 @@
pkgname=speex
pkgver=1.2rc1
pkgrel=7
pkgrel=8
pkgdesc="A free codec for free speech"
arch=('i686' 'x86_64')
license=('BSD')
......
......@@ -5,7 +5,7 @@
pkgname=timidity++
pkgver=2.13.2
pkgrel=16
pkgrel=17
pkgdesc="A MIDI to WAVE converter and player"
arch=('i686' 'x86_64')
url="http://timidity.sourceforge.net"
......
......@@ -6,29 +6,29 @@
pkgname=transcode
_sripver=0.3-4
pkgver=1.1.7
pkgrel=5
pkgrel=6
pkgdesc="A video/DVD ripper and encoder for the terminal/console"
arch=('i686' 'x86_64')
url="http://tcforge.berlios.de/"
license=('GPL')
depends=('gawk' 'imagemagick' 'lzo2' 'libdvdread' 'ffmpeg' 'mjpegtools'
depends=('gawk' 'imagemagick' 'lzo2' 'libdvdread' 'ffmpeg>0.11' 'mjpegtools'
'libmpeg2' 'libxaw' 'libxml2' 'libxv' 'a52dec')
makedepends=('nasm')
options=('!libtool')
source=(https://bitbucket.org/france/transcode-tcforge/downloads/${pkgname}-${pkgver}.tar.bz2
http://downloads.sourceforge.net/sourceforge/subtitleripper/subtitleripper-${_sripver}.tgz
subtitleripper-0.3.4-linkingorder.patch subtitleripper-0.3.4-respect-ldflags.patch
ffmpeg-0.10.patch)
ffmpeg-0.11.patch)
sha1sums=('e35df68b960eb56ef0a59a4cdbed1491be56aee6'
'd93ff3578dd5f722c8f4ef16bc0903eec5781a0d'
'fa05aa1770d9350d90b7cf315aa7c4a1fd921ac7'
'591943a33235342a66c3df0625a164a1479c09ae'
'3c03111cfae88db918afff3837cec7db32ace3cc')
'54d4be67de3d6d9436357be76d9620af553ee30d')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i "${srcdir}/ffmpeg-0.10.patch"
patch -Np1 -i "${srcdir}/ffmpeg-0.11.patch"
./configure --prefix=/usr \
--disable-sse --disable-sse2 --disable-altivec --enable-mmx \
--enable-lame --enable-ogg --enable-vorbis --enable-theora \
......
diff -Nur transcode-1.1.7.orig/filter/filter_pp.c transcode-1.1.7/filter/filter_pp.c
--- transcode-1.1.7.orig/filter/filter_pp.c 2012-01-27 19:55:13.706613234 +0000
+++ transcode-1.1.7/filter/filter_pp.c 2012-01-27 19:56:04.719541629 +0000
@@ -38,8 +38,8 @@
/* FIXME: these use the filter ID as an index--the ID can grow
* arbitrarily large, so this needs to be fixed */
-static pp_mode_t *mode[100];
-static pp_context_t *context[100];
+static pp_mode *mode[100];
+static pp_context *context[100];
static int width[100], height[100];
static int pre[100];
diff -Naur transcode-1.1.7/export/export_ffmpeg.c fixed-tc/export/export_ffmpeg.c
--- transcode-1.1.7/export/export_ffmpeg.c 2011-11-19 16:50:27.000000000 +0000
+++ fixed-tc/export/export_ffmpeg.c 2012-08-29 09:17:18.796437760 +0000
@@ -180,7 +180,7 @@
/* START: COPIED FROM ffmpeg-0.5_p22846(ffmpeg.c, cmdutils.c) */
-#include <libavcodec/opt.h>
+#include <libavutil/opt.h>
#include <libavutil/avstring.h>
#include <libswscale/swscale.h>
@@ -470,7 +470,6 @@
}
TC_LOCK_LIBAVCODEC;
- avcodec_init();
avcodec_register_all();
TC_UNLOCK_LIBAVCODEC;
@@ -634,7 +633,6 @@