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)
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: dh_auto_ configure: x262_config. h x262/ x264-10bit/ x264_config. h x264/ $(DEB_HOST_ MULTIARCH) /libx262. so x262/ $(DEB_HOST_ MULTIARCH) /x264-10bit/ libx264. so x264/
override_
mkdir -p x262 x264
cp /usr/include/x262.h /usr/include/
cp /usr/include/x264.h /usr/include/
ln -s /usr/lib/
ln -s /usr/lib/
dh_auto_configure -- $(confflags)
The patch for configure.ac is attached.