[SCM] FFmpeg packaging branch, ubuntu.lucid, updated. debian/0.5+svn20090706-2ubuntu5.ppa2-1-geb8707f

lool at users.alioth.debian.org lool at users.alioth.debian.org
Wed Jan 13 09:46:07 UTC 2010

The following commit has been merged in the ubuntu.lucid branch:
commit eb8707fa36e123c7285dceda3d31b5759aa42a41
Author: Loïc Minier <lool at dooz.org>
Date:   Wed Jan 13 10:42:45 2010 +0100

    Update armel confflags on Ubuntu for lucid
    * Since Ubuntu lucid and later require v7 for Thumb 2, build all flavours
      for an armv7-a CPU, and the noopt flavour for a vfpv3-d16 FPU.
    * Build all armel flavours with -marm since ffmpeg has a lot of hand crafted
      assembly which doesn't build in the new lucid default mode (Thumb 2).
    * Build all armel flavours with -fPIC -DPIC instead of just the neon flavour
      as the new flags/toolchain are require this.

diff --git a/debian/confflags b/debian/confflags
index be114f7..1640848 100644
--- a/debian/confflags
+++ b/debian/confflags
@@ -18,7 +18,7 @@ SVNREVISION=$(shell cat .svnrevision 2>/dev/null || echo "UNKNOWN")
 ifeq      ($(DEB_HOST_ARCH),armel)
 # Ubuntu karmic and later assume v6 + VFP; just override CPU since it defaults
 # to uname -m
-nooptflags += --cpu=armv6 --extra-cflags="-mfpu=vfp -mfloat-abi=softfp"
+nooptflags += --extra-cflags="-mfpu=vfpv3-d16 -mfloat-abi=softfp"
 #FLAVORS += vfp
 FLAVORS += neon
 else ifeq ($(DEB_HOST_ARCH),arm)
@@ -73,6 +73,13 @@ confflags += --enable-pthreads
 confflags += --enable-zlib
 confflags += --disable-stripping
 confflags += --disable-vhook
+ifeq      ($(DEB_HOST_ARCH),armel)
+# this is required on Ubuntu lucid as it defaults to thumb2 and ffmpeg has
+# plenty of incompatible assembly
+confflags += --extra-cflags="-marm -fPIC -DPIC"
+# Ubuntu lucid and above require v7 for Thumb 2
+confflags += --cpu=armv7-a
 confflags += $(extra_common_confflags)
 # this part below is intended for the 'ffmpeg' package in ubuntu/multiverse
@@ -134,7 +141,6 @@ vfp_build_confflags += --disable-ffplay
 # NB: NEON always implies v7+ and ffmpeg's NEON implementation requires VFP
 neon_build_confflags += $(confflags)
 neon_build_confflags += --shlibdir=/usr/lib/neon/vfp
-neon_build_confflags += --cpu=armv7-a
 neon_build_confflags += --extra-cflags="-mfpu=neon -mfloat-abi=softfp -fPIC -DPIC"
 neon_build_confflags += --enable-shared
 neon_build_confflags += --disable-static

FFmpeg packaging

More information about the pkg-multimedia-commits mailing list