[arch-commits] Commit in ffmpeg/repos (6 files)

Ionuț Mircea Bîru ioni at nymeria.archlinux.org
Thu Feb 21 12:49:48 UTC 2013


    Date: Thursday, February 21, 2013 @ 13:49:48
  Author: ioni
Revision: 178409

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  ffmpeg/repos/extra-i686/PKGBUILD
    (from rev 178408, ffmpeg/trunk/PKGBUILD)
  ffmpeg/repos/extra-i686/h264-vdpau.patch
    (from rev 178408, ffmpeg/trunk/h264-vdpau.patch)
  ffmpeg/repos/extra-x86_64/PKGBUILD
    (from rev 178408, ffmpeg/trunk/PKGBUILD)
  ffmpeg/repos/extra-x86_64/h264-vdpau.patch
    (from rev 178408, ffmpeg/trunk/h264-vdpau.patch)
Deleted:
  ffmpeg/repos/extra-i686/PKGBUILD
  ffmpeg/repos/extra-x86_64/PKGBUILD

-------------------------------+
 extra-i686/PKGBUILD           |  147 ++++++++++++++++++++--------------------
 extra-i686/h264-vdpau.patch   |   26 +++++++
 extra-x86_64/PKGBUILD         |  147 ++++++++++++++++++++--------------------
 extra-x86_64/h264-vdpau.patch |   26 +++++++
 4 files changed, 202 insertions(+), 144 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2013-02-21 12:49:15 UTC (rev 178408)
+++ extra-i686/PKGBUILD	2013-02-21 12:49:48 UTC (rev 178409)
@@ -1,72 +0,0 @@
-# $Id$
-# Maintainer : Ionut Biru <ibiru at archlinux.org>
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-# Contributor: Paul Mattal <paul at archlinux.org>
-
-pkgname=ffmpeg
-pkgver=1.1.2
-pkgrel=2
-epoch=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=(
-      'alsa-lib' 'bzip2' 'fontconfig' 'gsm' 'lame' 'libass'
-      'libbluray' 'libmodplug' 'libpulse' 'libtheora' 'libva' 'libvorbis' 'libvpx'
-      'opencore-amr' 'openjpeg' 'opus' 'rtmpdump' 'schroedinger' 'sdl' 'speex'
-      'v4l-utils' 'x264' 'xvidcore' 'zlib'
-      )
-makedepends=('libvdpau' 'yasm')
-source=(http://ffmpeg.org/releases/$pkgname-$pkgver.tar.bz2)
-sha256sums=('dc91e4a2499b05740cfddc2b679694e5c0f2ca20c94191de82d7eb200e8c48ce')
-
-build() {
-  cd $pkgname-$pkgver
-
-  ./configure \
-    --prefix=/usr \
-    --disable-debug \
-    --disable-static \
-    --enable-avresample \
-    --enable-fontconfig \
-    --enable-gpl \
-    --enable-libass \
-    --enable-libbluray \
-    --enable-libfreetype \
-    --enable-libgsm \
-    --enable-libmodplug \
-    --enable-libmp3lame \
-    --enable-libopencore_amrnb \
-    --enable-libopencore_amrwb \
-    --enable-libopenjpeg \
-    --enable-libopus \
-    --enable-libpulse \
-    --enable-librtmp \
-    --enable-libschroedinger \
-    --enable-libspeex \
-    --enable-libtheora \
-    --enable-libv4l2 \
-    --enable-libvorbis \
-    --enable-libvpx \
-    --enable-libx264 \
-    --enable-libxvid \
-    --enable-postproc \
-    --enable-runtime-cpudetect \
-    --enable-shared \
-    --enable-version3 \
-    --enable-x11grab
- 
-
-  make
-  make tools/qt-faststart
-  make doc/ff{mpeg,play,server}.1
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install install-man
-  install -D -m755 tools/qt-faststart "$pkgdir/usr/bin/qt-faststart"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: ffmpeg/repos/extra-i686/PKGBUILD (from rev 178408, ffmpeg/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2013-02-21 12:49:48 UTC (rev 178409)
@@ -0,0 +1,75 @@
+# $Id$
+# Maintainer : Ionut Biru <ibiru at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+# Contributor: Paul Mattal <paul at archlinux.org>
+
+pkgname=ffmpeg
+pkgver=1.1.2
+pkgrel=3
+epoch=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=(
+      'alsa-lib' 'bzip2' 'fontconfig' 'gsm' 'lame' 'libass'
+      'libbluray' 'libmodplug' 'libpulse' 'libtheora' 'libva' 'libvorbis' 'libvpx'
+      'opencore-amr' 'openjpeg' 'opus' 'rtmpdump' 'schroedinger' 'sdl' 'speex'
+      'v4l-utils' 'x264' 'xvidcore' 'zlib'
+      )
+makedepends=('libvdpau' 'yasm')
+source=(http://ffmpeg.org/releases/$pkgname-$pkgver.tar.bz2
+        h264-vdpau.patch)
+sha256sums=('dc91e4a2499b05740cfddc2b679694e5c0f2ca20c94191de82d7eb200e8c48ce'
+            'f55f31a40627ac375fa903c958f34af0f4c72dd9f64dd5f4f64320bb6f126f42')
+
+build() {
+  cd $pkgname-$pkgver
+
+  patch -Np1 -i ../h264-vdpau.patch
+  ./configure \
+    --prefix=/usr \
+    --disable-debug \
+    --disable-static \
+    --enable-avresample \
+    --enable-fontconfig \
+    --enable-gpl \
+    --enable-libass \
+    --enable-libbluray \
+    --enable-libfreetype \
+    --enable-libgsm \
+    --enable-libmodplug \
+    --enable-libmp3lame \
+    --enable-libopencore_amrnb \
+    --enable-libopencore_amrwb \
+    --enable-libopenjpeg \
+    --enable-libopus \
+    --enable-libpulse \
+    --enable-librtmp \
+    --enable-libschroedinger \
+    --enable-libspeex \
+    --enable-libtheora \
+    --enable-libv4l2 \
+    --enable-libvorbis \
+    --enable-libvpx \
+    --enable-libx264 \
+    --enable-libxvid \
+    --enable-postproc \
+    --enable-runtime-cpudetect \
+    --enable-shared \
+    --enable-version3 \
+    --enable-x11grab
+ 
+
+  make
+  make tools/qt-faststart
+  make doc/ff{mpeg,play,server}.1
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install install-man
+  install -D -m755 tools/qt-faststart "$pkgdir/usr/bin/qt-faststart"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: ffmpeg/repos/extra-i686/h264-vdpau.patch (from rev 178408, ffmpeg/trunk/h264-vdpau.patch)
===================================================================
--- extra-i686/h264-vdpau.patch	                        (rev 0)
+++ extra-i686/h264-vdpau.patch	2013-02-21 12:49:48 UTC (rev 178409)
@@ -0,0 +1,26 @@
+X-Git-Url: http://git.videolan.org/?p=ffmpeg.git;a=blobdiff_plain;f=libavcodec%2Fh264.c;h=da749a241d5647751cb5a961429abb6657a79a00;hp=56ef1092bd4509697f11b76ae97757bbc03aef14;hb=c6f59b95c529baf2ea6729ab9089fddce3ddd86a;hpb=6407800521d26b103db4c22d9de709e957381e4b
+
+diff --git a/libavcodec/h264.c b/libavcodec/h264.c
+index 56ef109..da749a2 100644
+--- a/libavcodec/h264.c
++++ b/libavcodec/h264.c
+@@ -2537,11 +2537,17 @@ static enum PixelFormat get_pixel_format(H264Context *h)
+             return s->avctx->color_range == AVCOL_RANGE_JPEG ? AV_PIX_FMT_YUVJ422P
+                                                              : AV_PIX_FMT_YUV422P;
+         } else {
+-            return s->avctx->get_format(s->avctx, s->avctx->codec->pix_fmts ?
++            int i;
++            const enum AVPixelFormat * fmt = s->avctx->codec->pix_fmts ?
+                                         s->avctx->codec->pix_fmts :
+                                         s->avctx->color_range == AVCOL_RANGE_JPEG ?
+                                         hwaccel_pixfmt_list_h264_jpeg_420 :
+-                                        ff_hwaccel_pixfmt_list_420);
++                                        ff_hwaccel_pixfmt_list_420;
++
++            for (i=0; fmt[i] != AV_PIX_FMT_NONE; i++)
++                if (fmt[i] == s->avctx->pix_fmt)
++                    return fmt[i];
++            return s->avctx->get_format(s->avctx, fmt);
+         }
+         break;
+     default:

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2013-02-21 12:49:15 UTC (rev 178408)
+++ extra-x86_64/PKGBUILD	2013-02-21 12:49:48 UTC (rev 178409)
@@ -1,72 +0,0 @@
-# $Id$
-# Maintainer : Ionut Biru <ibiru at archlinux.org>
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-# Contributor: Paul Mattal <paul at archlinux.org>
-
-pkgname=ffmpeg
-pkgver=1.1.2
-pkgrel=2
-epoch=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=(
-      'alsa-lib' 'bzip2' 'fontconfig' 'gsm' 'lame' 'libass'
-      'libbluray' 'libmodplug' 'libpulse' 'libtheora' 'libva' 'libvorbis' 'libvpx'
-      'opencore-amr' 'openjpeg' 'opus' 'rtmpdump' 'schroedinger' 'sdl' 'speex'
-      'v4l-utils' 'x264' 'xvidcore' 'zlib'
-      )
-makedepends=('libvdpau' 'yasm')
-source=(http://ffmpeg.org/releases/$pkgname-$pkgver.tar.bz2)
-sha256sums=('dc91e4a2499b05740cfddc2b679694e5c0f2ca20c94191de82d7eb200e8c48ce')
-
-build() {
-  cd $pkgname-$pkgver
-
-  ./configure \
-    --prefix=/usr \
-    --disable-debug \
-    --disable-static \
-    --enable-avresample \
-    --enable-fontconfig \
-    --enable-gpl \
-    --enable-libass \
-    --enable-libbluray \
-    --enable-libfreetype \
-    --enable-libgsm \
-    --enable-libmodplug \
-    --enable-libmp3lame \
-    --enable-libopencore_amrnb \
-    --enable-libopencore_amrwb \
-    --enable-libopenjpeg \
-    --enable-libopus \
-    --enable-libpulse \
-    --enable-librtmp \
-    --enable-libschroedinger \
-    --enable-libspeex \
-    --enable-libtheora \
-    --enable-libv4l2 \
-    --enable-libvorbis \
-    --enable-libvpx \
-    --enable-libx264 \
-    --enable-libxvid \
-    --enable-postproc \
-    --enable-runtime-cpudetect \
-    --enable-shared \
-    --enable-version3 \
-    --enable-x11grab
- 
-
-  make
-  make tools/qt-faststart
-  make doc/ff{mpeg,play,server}.1
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install install-man
-  install -D -m755 tools/qt-faststart "$pkgdir/usr/bin/qt-faststart"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: ffmpeg/repos/extra-x86_64/PKGBUILD (from rev 178408, ffmpeg/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2013-02-21 12:49:48 UTC (rev 178409)
@@ -0,0 +1,75 @@
+# $Id$
+# Maintainer : Ionut Biru <ibiru at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+# Contributor: Paul Mattal <paul at archlinux.org>
+
+pkgname=ffmpeg
+pkgver=1.1.2
+pkgrel=3
+epoch=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=(
+      'alsa-lib' 'bzip2' 'fontconfig' 'gsm' 'lame' 'libass'
+      'libbluray' 'libmodplug' 'libpulse' 'libtheora' 'libva' 'libvorbis' 'libvpx'
+      'opencore-amr' 'openjpeg' 'opus' 'rtmpdump' 'schroedinger' 'sdl' 'speex'
+      'v4l-utils' 'x264' 'xvidcore' 'zlib'
+      )
+makedepends=('libvdpau' 'yasm')
+source=(http://ffmpeg.org/releases/$pkgname-$pkgver.tar.bz2
+        h264-vdpau.patch)
+sha256sums=('dc91e4a2499b05740cfddc2b679694e5c0f2ca20c94191de82d7eb200e8c48ce'
+            'f55f31a40627ac375fa903c958f34af0f4c72dd9f64dd5f4f64320bb6f126f42')
+
+build() {
+  cd $pkgname-$pkgver
+
+  patch -Np1 -i ../h264-vdpau.patch
+  ./configure \
+    --prefix=/usr \
+    --disable-debug \
+    --disable-static \
+    --enable-avresample \
+    --enable-fontconfig \
+    --enable-gpl \
+    --enable-libass \
+    --enable-libbluray \
+    --enable-libfreetype \
+    --enable-libgsm \
+    --enable-libmodplug \
+    --enable-libmp3lame \
+    --enable-libopencore_amrnb \
+    --enable-libopencore_amrwb \
+    --enable-libopenjpeg \
+    --enable-libopus \
+    --enable-libpulse \
+    --enable-librtmp \
+    --enable-libschroedinger \
+    --enable-libspeex \
+    --enable-libtheora \
+    --enable-libv4l2 \
+    --enable-libvorbis \
+    --enable-libvpx \
+    --enable-libx264 \
+    --enable-libxvid \
+    --enable-postproc \
+    --enable-runtime-cpudetect \
+    --enable-shared \
+    --enable-version3 \
+    --enable-x11grab
+ 
+
+  make
+  make tools/qt-faststart
+  make doc/ff{mpeg,play,server}.1
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install install-man
+  install -D -m755 tools/qt-faststart "$pkgdir/usr/bin/qt-faststart"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: ffmpeg/repos/extra-x86_64/h264-vdpau.patch (from rev 178408, ffmpeg/trunk/h264-vdpau.patch)
===================================================================
--- extra-x86_64/h264-vdpau.patch	                        (rev 0)
+++ extra-x86_64/h264-vdpau.patch	2013-02-21 12:49:48 UTC (rev 178409)
@@ -0,0 +1,26 @@
+X-Git-Url: http://git.videolan.org/?p=ffmpeg.git;a=blobdiff_plain;f=libavcodec%2Fh264.c;h=da749a241d5647751cb5a961429abb6657a79a00;hp=56ef1092bd4509697f11b76ae97757bbc03aef14;hb=c6f59b95c529baf2ea6729ab9089fddce3ddd86a;hpb=6407800521d26b103db4c22d9de709e957381e4b
+
+diff --git a/libavcodec/h264.c b/libavcodec/h264.c
+index 56ef109..da749a2 100644
+--- a/libavcodec/h264.c
++++ b/libavcodec/h264.c
+@@ -2537,11 +2537,17 @@ static enum PixelFormat get_pixel_format(H264Context *h)
+             return s->avctx->color_range == AVCOL_RANGE_JPEG ? AV_PIX_FMT_YUVJ422P
+                                                              : AV_PIX_FMT_YUV422P;
+         } else {
+-            return s->avctx->get_format(s->avctx, s->avctx->codec->pix_fmts ?
++            int i;
++            const enum AVPixelFormat * fmt = s->avctx->codec->pix_fmts ?
+                                         s->avctx->codec->pix_fmts :
+                                         s->avctx->color_range == AVCOL_RANGE_JPEG ?
+                                         hwaccel_pixfmt_list_h264_jpeg_420 :
+-                                        ff_hwaccel_pixfmt_list_420);
++                                        ff_hwaccel_pixfmt_list_420;
++
++            for (i=0; fmt[i] != AV_PIX_FMT_NONE; i++)
++                if (fmt[i] == s->avctx->pix_fmt)
++                    return fmt[i];
++            return s->avctx->get_format(s->avctx, fmt);
+         }
+         break;
+     default:




More information about the arch-commits mailing list