flatpak / freedesktop-sdk-base

Yocto layer and build script for flatpak runtime base
8 stars 12 forks source link

Build arch-specific libvpx #9

Closed ptomato closed 7 years ago

ptomato commented 7 years ago

Building the "generic-gnu" target, at least on x86_64, leads to noticeably slower decoding, even becoming unusable on low-end systems. This hopefully will select the same targets for i586 and x86_64 as Debian does here: https://sources.debian.net/src/libvpx/1.6.1-3/debian/rules/

Please check that the names of the architecture overrides are correct, since I have no idea how to test this! (I actually tested it by building a runtime with a copy of libvpx that overwrote the one from the freedesktop base.) I assume that the values in TRANSLATED_TARGET_ARCH are supposed to be put here.

alexlarsson commented 7 years ago

Pushed an update which i think is more right.

ptomato commented 7 years ago

OK, I believe it! Thanks for fixing it up. I searched for quite a long time for documentation on what values go there, this was the closest thing I found: http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-TRANSLATED_TARGET_ARCH