Comment 12 for bug 1362211

Revision history for this message
djcj (djcj) wrote :

I figured that linking the x262 and x26410b plugins dynamically does work. x26410b requires an rpath though, otherwise it would use the regular 8bit x264 library.

Here's the override_dh_auto_configure target I had to use:
override_dh_auto_configure:
 mkdir -p x262 x264
 cp /usr/include/x262.h /usr/include/x262_config.h x262/
 cp /usr/include/x264.h /usr/include/x264-10bit/x264_config.h x264/
 ln -s /usr/lib/$(DEB_HOST_MULTIARCH)/libx262.so x262/
 ln -s /usr/lib/$(DEB_HOST_MULTIARCH)/x264-10bit/libx264.so x264/
 dh_auto_configure -- $(confflags)

The patch for configure.ac is attached.