public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libtheora/
Date: Tue, 13 Sep 2022 19:10:04 +0000 (UTC)	[thread overview]
Message-ID: <1663096192.e7d1d2bd3bf8659496481b4b708c4370b7d9dc41.sam@gentoo> (raw)

commit:     e7d1d2bd3bf8659496481b4b708c4370b7d9dc41
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 13 19:09:52 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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
 }


             reply	other threads:[~2022-09-13 19:10 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-13 19:10 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-19 10:38 [gentoo-commits] repo/gentoo:master commit in: media-libs/libtheora/ Sam James
2022-08-30 19:06 Sam James
2021-05-25 14:21 Yixun Lan
2021-01-06 14:27 Fabian Groffen
2020-12-27 17:47 Fabian Groffen
2018-12-13  9:57 Andreas Sturmlechner
2018-11-26  7:12 Sergei Trofimovich
2018-11-18 11:58 Mikle Kolyada
2018-10-13  6:56 Tobias Klausmann
2018-10-08 15:30 Andreas Sturmlechner
2018-10-07 12:07 Mikle Kolyada
2018-10-06 22:08 Sergei Trofimovich
2018-10-06 16:48 Matt Turner
2018-10-05  4:10 Thomas Deutschmann
2018-10-04 22:36 Sergei Trofimovich
2017-08-31 12:37 Tim Harder
2017-08-31 12:37 Tim Harder
2017-06-16  9:36 Alexis Ballier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1663096192.e7d1d2bd3bf8659496481b4b708c4370b7d9dc41.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox