diff options
author | Sam James <sam@gentoo.org> | 2022-09-13 20:09:52 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-09-13 20:09:52 +0100 |
commit | e7d1d2bd3bf8659496481b4b708c4370b7d9dc41 (patch) | |
tree | e0f4280dce0f480575cb4a1f697ad288303f33b9 /media-libs | |
parent | sys-libs/llvm-libunwind: filter LTO (diff) | |
download | gentoo-e7d1d2bd3bf8659496481b4b708c4370b7d9dc41.tar.gz gentoo-e7d1d2bd3bf8659496481b4b708c4370b7d9dc41.tar.bz2 gentoo-e7d1d2bd3bf8659496481b4b708c4370b7d9dc41.zip |
media-libs/libtheora: fix examples installation
Closes: https://bugs.gentoo.org/867694
Fixes: f7f0dc3aea8e956f0a806e54794f8570b5b48c6b
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/libtheora/libtheora-1.1.1-r2.ebuild | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/media-libs/libtheora/libtheora-1.1.1-r2.ebuild b/media-libs/libtheora/libtheora-1.1.1-r2.ebuild index ff35ecea75a0..7d778ea82a67 100644 --- a/media-libs/libtheora/libtheora-1.1.1-r2.ebuild +++ b/media-libs/libtheora/libtheora-1.1.1-r2.ebuild @@ -71,6 +71,15 @@ multilib_src_install() { DESTDIR="${D}" \ docdir="${EPREFIX}"/usr/share/doc/${PF} \ install + + if multilib_is_native_abi && use examples ; then + dobin examples/.libs/png2theora + + local bin + for bin in dump_{psnr,video} {encoder,player}_example; do + newbin examples/.libs/${bin} theora_${bin} + done + fi } multilib_src_install_all() { @@ -79,16 +88,9 @@ multilib_src_install_all() { einstalldocs if use examples ; then - dobin examples/.libs/png2theora - for bin in dump_{psnr,video} {encoder,player}_example; do - newbin examples/.libs/${bin} theora_${bin} - done - - if use doc ; then - docinto examples - dodoc examples/*.[ch] - docompress -x /usr/share/doc/${PF}/examples - docinto . - fi + docinto examples + dodoc examples/*.[ch] + docompress -x /usr/share/doc/${PF}/examples + docinto . fi } |