From 29a6dc3b73ba731e4398288a83180cced740531c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Diego=20Elio=20Petten=C3=B2?= Date: Thu, 8 Jun 2006 17:54:34 +0000 Subject: [PATCH] Add examples useflag as requested by Stefan de Konink in bug #136081. Package-Manager: portage-2.1_rc4-r4 --- media-libs/libtheora/ChangeLog | 6 ++++- media-libs/libtheora/Manifest | 22 +++++++++---------- .../libtheora/libtheora-1.0_alpha6.ebuild | 19 ++++++++++++---- 3 files changed, 31 insertions(+), 16 deletions(-) diff --git a/media-libs/libtheora/ChangeLog b/media-libs/libtheora/ChangeLog index 863456e7334c..8acc44631e66 100644 --- a/media-libs/libtheora/ChangeLog +++ b/media-libs/libtheora/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/libtheora # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libtheora/ChangeLog,v 1.39 2006/06/07 12:01:51 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libtheora/ChangeLog,v 1.40 2006/06/08 17:54:34 flameeyes Exp $ + + 08 Jun 2006; Diego Pettenò + libtheora-1.0_alpha6.ebuild: + Add examples useflag as requested by Stefan de Konink in bug #136081. *libtheora-1.0_alpha6 (07 Jun 2006) diff --git a/media-libs/libtheora/Manifest b/media-libs/libtheora/Manifest index 6462b09e0223..c8bcb5b5e4d6 100644 --- a/media-libs/libtheora/Manifest +++ b/media-libs/libtheora/Manifest @@ -25,14 +25,14 @@ EBUILD libtheora-1.0_alpha5.ebuild 1240 RMD160 32bb1624140b5b3719bee6fde37f7ccc7 MD5 ec899c4e644f4fad96d375d369d6d05e libtheora-1.0_alpha5.ebuild 1240 RMD160 32bb1624140b5b3719bee6fde37f7ccc7a38d556 libtheora-1.0_alpha5.ebuild 1240 SHA256 81ed04561ac6d5132610964694ea187a65cf58b17bc9df3d779f53c981935630 libtheora-1.0_alpha5.ebuild 1240 -EBUILD libtheora-1.0_alpha6.ebuild 1325 RMD160 f5ce6414bc5e1c6e78e7ec5030d7b8cc81f85f13 SHA1 880ab8add880c2e0b51db1b94ded5ce5608c2d03 SHA256 cb7d5510962258f80b198f7bc9dcf5f96523dad74538b3ace1adbc574f3a1c2c -MD5 ee4b565a79bb2d9425a209c7f55c4335 libtheora-1.0_alpha6.ebuild 1325 -RMD160 f5ce6414bc5e1c6e78e7ec5030d7b8cc81f85f13 libtheora-1.0_alpha6.ebuild 1325 -SHA256 cb7d5510962258f80b198f7bc9dcf5f96523dad74538b3ace1adbc574f3a1c2c libtheora-1.0_alpha6.ebuild 1325 -MISC ChangeLog 5240 RMD160 c7aec3b5732caaee0e8f9809d72612551d276ed2 SHA1 ac3a7d59f6baaa88c4e4c04e7fafce4b37cd4771 SHA256 4167805543bba1a5cc41240c672c4f472e442608c78677497994dc6004cecb31 -MD5 b37aa7e030014f993f78da66da70b3eb ChangeLog 5240 -RMD160 c7aec3b5732caaee0e8f9809d72612551d276ed2 ChangeLog 5240 -SHA256 4167805543bba1a5cc41240c672c4f472e442608c78677497994dc6004cecb31 ChangeLog 5240 +EBUILD libtheora-1.0_alpha6.ebuild 1594 RMD160 33ee8188956bf2e2975ab3d1eaef48ae69ce815f SHA1 562e8256a8cd3a56a55cacedd822795812bc9a0b SHA256 e7c192f0f60b1db3fc0be2398828f9047547ad05ab0544b13fd8f9833971eac5 +MD5 1b2ce35bb8bbcf35d6134e2fce387faa libtheora-1.0_alpha6.ebuild 1594 +RMD160 33ee8188956bf2e2975ab3d1eaef48ae69ce815f libtheora-1.0_alpha6.ebuild 1594 +SHA256 e7c192f0f60b1db3fc0be2398828f9047547ad05ab0544b13fd8f9833971eac5 libtheora-1.0_alpha6.ebuild 1594 +MISC ChangeLog 5397 RMD160 dca1aaf9284304ae187b043f8deb20fd8d4ccdaf SHA1 07b1c4d4066c25b390787433aa27927898112f78 SHA256 2556591bf9cb49d405ec5b13e33e10548f29ba7465653bf47c86a642cdb26ded +MD5 c12c52dbc0f961c22b53221bd73f1261 ChangeLog 5397 +RMD160 dca1aaf9284304ae187b043f8deb20fd8d4ccdaf ChangeLog 5397 +SHA256 2556591bf9cb49d405ec5b13e33e10548f29ba7465653bf47c86a642cdb26ded ChangeLog 5397 MISC metadata.xml 225 RMD160 6e3fccd1ae62f02a0cb28d319aa185af0020822d SHA1 1b8ccc849053361ac907dc9b652796defd1ce906 SHA256 1a7f3e805478b42bc379b2a36944579d34d7e66ba5bf418a651e1cd58ad0a7f5 MD5 9ef4af14dad87b03fde8e43f19e08d26 metadata.xml 225 RMD160 6e3fccd1ae62f02a0cb28d319aa185af0020822d metadata.xml 225 @@ -52,7 +52,7 @@ SHA256 749c39f8feedca85f21af8969bc98c8c33c3d786faf52a5ed656dd7c063f1c00 files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) -iD8DBQFEhsA2AiZjviIA2XgRAmJOAKCLce8/W4oBVWYCBskbhpaV3ZI5wgCggjz8 -7IhK2TgaM7JTijZMGtdcUXk= -=5pMt +iD8DBQFEiGRhAiZjviIA2XgRAvP9AJ93PGZbt8Tigpl/eW4ytkDa8sXJewCgihur +LCyPMPLv8KhHHg8H1y0Dxgg= +=7h0t -----END PGP SIGNATURE----- diff --git a/media-libs/libtheora/libtheora-1.0_alpha6.ebuild b/media-libs/libtheora/libtheora-1.0_alpha6.ebuild index ba648c70a949..4e910d546959 100644 --- a/media-libs/libtheora/libtheora-1.0_alpha6.ebuild +++ b/media-libs/libtheora/libtheora-1.0_alpha6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libtheora/libtheora-1.0_alpha6.ebuild,v 1.1 2006/06/07 12:01:51 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libtheora/libtheora-1.0_alpha6.ebuild,v 1.2 2006/06/08 17:54:34 flameeyes Exp $ inherit flag-o-matic libtool autotools @@ -11,7 +11,7 @@ SRC_URI="http://downloads.xiph.org/releases/theora/${P/_}.tar.bz2" LICENSE="xiph" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" -IUSE="encode doc" +IUSE="encode doc examples" RDEPEND=">=media-libs/libogg-1.1.0 encode? ( >=media-libs/libvorbis-1.0.1 )" @@ -29,6 +29,12 @@ src_unpack() { AT_M4DIR="m4" eautoreconf elibtoolize + + if use examples; then + # This creates a clean copy of examples sources + cp -R "${S}/examples" "${WORKDIR}" + rm -f "${WORKDIR}/examples/Makefile"* + fi } src_compile() { @@ -46,10 +52,15 @@ src_compile() { } src_install() { - make \ + emake \ DESTDIR="${D}" \ - docdir=usr/share/doc/${PF} \ + docdir="usr/share/doc/${PF}" \ install || die "make install failed" + if use examples; then + insinto "/usr/share/doc/${PF}/examples" + doins "${WORKDIR}/examples/"* + fi + dodoc README } -- 2.26.2