Bug#613034: Build ffmpeg on hurd-i386
Samuel Thibault
sthibault at debian.org
Tue May 1 08:57:29 UTC 2012
reopen 613034
thanks
Hello,
Pino Toscano, le Sat 12 Feb 2011 13:07:10 +0100, a écrit :
> currently, ffmpeg build-depends on libva-dev, which is not available on
> hurd-i386 (and not easy to get to compile), so it is not buildable.
> The proposed patch disables vaapi for hurd-i386, allowing ffmpeg to compile.
This is actually still an issue, but some packaging revamping lost the
fix, here is an updated patch.
Samuel
-------------- next part --------------
--- a/debian/control
+++ b/debian/control
@@ -35,7 +35,7 @@ Build-Depends:
libopencore-amrnb-dev,
libopencore-amrwb-dev,
libopenjpeg-dev,
- libpulse-dev [!hurd-any],
+ libpulse-dev,
libraw1394-dev [linux-any],
librtmp-dev (>= 2.2e-4),
libschroedinger-dev,
@@ -43,7 +43,7 @@ Build-Depends:
libspeex-dev,
libtheora-dev (>> 0.0.0.alpha4),
libtiff4-dev | libtiff-dev,
- libva-dev,
+ libva-dev [!hurd-any],
libvdpau-dev,
libvo-aacenc-dev,
libvo-amrwbenc-dev,
--- a/debian/confflags
+++ b/debian/confflags
@@ -97,7 +97,6 @@ confflags += --extra-version='$(DEB_VERS
confflags += --arch='$(DEB_HOST_ARCH_CPU)'
confflags += --prefix=/usr
confflags += --libdir=/usr/lib/$(DEB_HOST_MULTIARCH)
-confflags += --enable-vaapi
confflags += --enable-vdpau
confflags += --enable-bzlib
confflags += --enable-frei0r
@@ -113,6 +112,7 @@ confflags += --enable-zlib
confflags += --enable-libvpx
confflags += --enable-runtime-cpudetect
confflags += --enable-libfreetype
+confflags += --enable-libpulse
ifeq ($(DEB_HOST_ARCH),armel)
# this is required on Ubuntu lucid as it defaults to thumb2 and Libav has
# plenty of incompatible assembly; not sure how to detect that properly
@@ -125,8 +125,8 @@ endif
confflags += $(extra_common_confflags)
-# pulse is not available on the hurd
-confflags += $(call cond_enable,/usr/include/pulse/simple.h,libpulse)
+# libva is not available on the hurd
+confflags += $(call cond_enable,/usr/include/va/va.h,vaapi)
# this part below is intended for the 'Libav' package in ubuntu/multiverse
gpl_confflags += $(call cond_enable,/usr/include/dirac/libdirac_decoder/dirac_parser.h,libdirac)
More information about the pkg-multimedia-maintainers
mailing list