From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CB9F7158012 for ; Tue, 13 Sep 2022 19:10:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DD4F3E090F; Tue, 13 Sep 2022 19:10:07 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BC87DE090F for ; Tue, 13 Sep 2022 19:10:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8596B340D85 for ; Tue, 13 Sep 2022 19:10:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D5FEC560 for ; Tue, 13 Sep 2022 19:10:04 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1663096192.e7d1d2bd3bf8659496481b4b708c4370b7d9dc41.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libtheora/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libtheora/libtheora-1.1.1-r2.ebuild X-VCS-Directories: media-libs/libtheora/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e7d1d2bd3bf8659496481b4b708c4370b7d9dc41 X-VCS-Branch: master Date: Tue, 13 Sep 2022 19:10:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: da073727-04d8-48ca-b529-efce633695c8 X-Archives-Hash: b7915e949934314d3a56dc5698d9d6ea commit: e7d1d2bd3bf8659496481b4b708c4370b7d9dc41 Author: Sam James gentoo org> AuthorDate: Tue Sep 13 19:09:52 2022 +0000 Commit: Sam James gentoo org> CommitDate: Tue Sep 13 19:09:52 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7d1d2bd media-libs/libtheora: fix examples installation Closes: https://bugs.gentoo.org/867694 Fixes: f7f0dc3aea8e956f0a806e54794f8570b5b48c6b Signed-off-by: Sam James gentoo.org> media-libs/libtheora/libtheora-1.1.1-r2.ebuild | 24 +++++++++++++----------- 1 file 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 }