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.

** Patch added: "link_x26x_plugins_dynamically.patch"
   
https://bugs.launchpad.net/ubuntu/+source/vlc/+bug/1362211/+attachment/4295298/+files/link_x26x_plugins_dynamically.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1362211

Title:
  enable fdk-aac, x262, x264 10bit and x265

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vlc/+bug/1362211/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to