Add examples useflag as requested by Stefan de Konink in bug #136081.
authorDiego Elio Pettenò <flameeyes@gentoo.org>
Thu, 8 Jun 2006 17:54:34 +0000 (17:54 +0000)
committerDiego Elio Pettenò <flameeyes@gentoo.org>
Thu, 8 Jun 2006 17:54:34 +0000 (17:54 +0000)
Package-Manager: portage-2.1_rc4-r4

media-libs/libtheora/ChangeLog
media-libs/libtheora/Manifest
media-libs/libtheora/libtheora-1.0_alpha6.ebuild

index 863456e7334c1a412f2b05071feb139c1acc3fc6..8acc44631e6668138f822b565ccc21d851f08d7f 100644 (file)
@@ -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ò <flameeyes@gentoo.org>
+  libtheora-1.0_alpha6.ebuild:
+  Add examples useflag as requested by Stefan de Konink in bug #136081.
 
 *libtheora-1.0_alpha6 (07 Jun 2006)
 
index 6462b09e0223c21089b8cec8cb71896b5dee7522..c8bcb5b5e4d68c368a4263fef3ae2394360c8349 100644 (file)
@@ -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-----
index ba648c70a94950015715315fe0e18f30f684e9c4..4e910d546959114c9b428d2c5f75eb8b9b601077 100644 (file)
@@ -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
 }