diff options
-rw-r--r-- | media-libs/speex/ChangeLog | 6 | ||||
-rw-r--r-- | media-libs/speex/Manifest | 54 | ||||
-rw-r--r-- | media-libs/speex/files/digest-speex-1.1.11.1 | 3 | ||||
-rw-r--r-- | media-libs/speex/files/digest-speex-1.2_beta2 | 3 | ||||
-rw-r--r-- | media-libs/speex/files/speex-1.2_beta2-optional-ogg-and-cflags.patch | 35 | ||||
-rw-r--r-- | media-libs/speex/speex-1.1.11.1.ebuild | 51 | ||||
-rw-r--r-- | media-libs/speex/speex-1.1.12.ebuild | 4 | ||||
-rw-r--r-- | media-libs/speex/speex-1.1.7.ebuild | 18 | ||||
-rw-r--r-- | media-libs/speex/speex-1.2_beta2.ebuild | 49 |
9 files changed, 28 insertions, 195 deletions
diff --git a/media-libs/speex/ChangeLog b/media-libs/speex/ChangeLog index 68192606f7c5..01aef6fb9940 100644 --- a/media-libs/speex/ChangeLog +++ b/media-libs/speex/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/speex # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/speex/ChangeLog,v 1.74 2008/01/09 16:37:31 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/speex/ChangeLog,v 1.75 2008/01/10 14:58:30 drac Exp $ + + 10 Jan 2008; Samuli Suominen <drac@gentoo.org> speex-1.1.7.ebuild, + -speex-1.1.11.1.ebuild, -speex-1.2_beta2.ebuild: + Remove old versions, leave one ebuild for mips wrt #204405 09 Jan 2008; Jeroen Roovers <jer@gentoo.org> speex-1.2_beta3.ebuild: Stable for HPPA (bug #204405). diff --git a/media-libs/speex/Manifest b/media-libs/speex/Manifest index e5a46667fdcb..eda329f6c154 100644 --- a/media-libs/speex/Manifest +++ b/media-libs/speex/Manifest @@ -1,70 +1,40 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX speex-1.1.12-malloc.patch 337 RMD160 30eb657cf06b66ec80f7d4b66a9125f0d776726a SHA1 ea1a7ed550154646f8e9fc8a6fa7d45376c196ae SHA256 67db66fb39f89845cb7efdf7ccab389016b667d2d4fa2883fa25adc555aa4e74 MD5 7df4b50ceda2456be6f0a3315c95c9b5 files/speex-1.1.12-malloc.patch 337 RMD160 30eb657cf06b66ec80f7d4b66a9125f0d776726a files/speex-1.1.12-malloc.patch 337 SHA256 67db66fb39f89845cb7efdf7ccab389016b667d2d4fa2883fa25adc555aa4e74 files/speex-1.1.12-malloc.patch 337 -AUX speex-1.2_beta2-optional-ogg-and-cflags.patch 1169 RMD160 8e740233eea96c93a1c6a5efea5187809aab8740 SHA1 01cdd53fde58ced46eaae8356646370b1d747179 SHA256 d1a7c4ed3212c34af1e07c97bc3ec79b444a9a5dea9a98f5e250e2a0905e417c -MD5 0caeb7305ca1ceab569a80b6393ca351 files/speex-1.2_beta2-optional-ogg-and-cflags.patch 1169 -RMD160 8e740233eea96c93a1c6a5efea5187809aab8740 files/speex-1.2_beta2-optional-ogg-and-cflags.patch 1169 -SHA256 d1a7c4ed3212c34af1e07c97bc3ec79b444a9a5dea9a98f5e250e2a0905e417c files/speex-1.2_beta2-optional-ogg-and-cflags.patch 1169 AUX speex-1.2_beta3-configure.patch 896 RMD160 6876ddb6f2596c90f06d5c0ec8ff660529f0b4a3 SHA1 a7ce0d6cacf7c59cb3aa0058c1061a6c3a8b798b SHA256 43e553eda67f2ca76118cde43ac3a201361dedcfcb1533f86325da42f20603df MD5 1fdce81d3a9892194b9f31685042b497 files/speex-1.2_beta3-configure.patch 896 RMD160 6876ddb6f2596c90f06d5c0ec8ff660529f0b4a3 files/speex-1.2_beta3-configure.patch 896 SHA256 43e553eda67f2ca76118cde43ac3a201361dedcfcb1533f86325da42f20603df files/speex-1.2_beta3-configure.patch 896 -DIST speex-1.1.11.1.tar.gz 720528 RMD160 6287327d6a3d5f45637af516cab568249e765160 SHA1 59cac04ddce85087b7143e20bdb3959a1d62e107 SHA256 b32000d4ca4e6f3cf02eeca90de765e759efa53c33f8ada8500df73fa55cda1f DIST speex-1.1.12.tar.gz 740110 RMD160 24271522d1e1d4b8ccb2833d5fbd75b33789de07 SHA1 8d52c5fc51ae5fd3b1297e5aaa48872dd045a671 SHA256 77c8505bd9b73192789770299e0a727fba9c1d556d853b8cc473bfee393709f8 DIST speex-1.1.7.tar.gz 594364 RMD160 2365581c1c5eb276be24ee332798b4039402038f SHA1 8f58ae945370a6b7b7b0fd52d567ec22a863de40 SHA256 95674d39b89bdb46d786aa2ea40e907467f211eaede9d0a8c6c2f397c93a9de2 -DIST speex-1.2beta2.tar.gz 997255 RMD160 6e86dec0b56bae8d65cf3b6476f6d5cb3a74b1ec SHA1 7a0c55763d71f2d845c65968964b1fb1b1897f2e SHA256 e57573e86276972080b5d82746d0968492859f35eaa265e79b5cfb130b26e3da DIST speex-1.2beta3.tar.gz 1046521 RMD160 3282bfc972513471a63ea59e1ae8c7b9e8993d1f SHA1 cebbf0dc38a7a8075f10f020c0c5cf43edb2ad35 SHA256 77a3609bf1762f533461c01ef3485d0c9382fa54ec05204f0ff157a4789ce7ab -EBUILD speex-1.1.11.1.ebuild 1160 RMD160 254d402fc1ceb139744255f900f6b24b4f06a842 SHA1 f66f1144d58535d0e932ca767fef52bc31e9cc6e SHA256 9d5167d7b0d213f480b75cf3e2f0d15218e5d200273232400d8f6b321837b964 -MD5 fb4fa334251635deb0c88242974585b5 speex-1.1.11.1.ebuild 1160 -RMD160 254d402fc1ceb139744255f900f6b24b4f06a842 speex-1.1.11.1.ebuild 1160 -SHA256 9d5167d7b0d213f480b75cf3e2f0d15218e5d200273232400d8f6b321837b964 speex-1.1.11.1.ebuild 1160 -EBUILD speex-1.1.12.ebuild 1149 RMD160 4cc3e53516adef33daa1ca048836e98d37873b68 SHA1 3e8b532756e8a2014372449d220ae9c310fb613a SHA256 f886647aa0f75814070af20c70bb7eabdfa8d5a3feec39c884e401249544e825 -MD5 6bce585c9c708f97dc34a044fd9c3322 speex-1.1.12.ebuild 1149 -RMD160 4cc3e53516adef33daa1ca048836e98d37873b68 speex-1.1.12.ebuild 1149 -SHA256 f886647aa0f75814070af20c70bb7eabdfa8d5a3feec39c884e401249544e825 speex-1.1.12.ebuild 1149 -EBUILD speex-1.1.7.ebuild 946 RMD160 3a08df5c3eeea73876e0a611a0756b501187d957 SHA1 c45f6ec1dd031ffec667ef3bfc62a4d66ce1cd88 SHA256 c9258b1ffe93b9c04ff0248afe2760ef88037f999c141e2544c9349a64f983a6 -MD5 d0ff9d557293d990ea3b05e725a04368 speex-1.1.7.ebuild 946 -RMD160 3a08df5c3eeea73876e0a611a0756b501187d957 speex-1.1.7.ebuild 946 -SHA256 c9258b1ffe93b9c04ff0248afe2760ef88037f999c141e2544c9349a64f983a6 speex-1.1.7.ebuild 946 -EBUILD speex-1.2_beta2.ebuild 1256 RMD160 3bf45f01e19abdcb5cd3c149ece3d48bfd23694b SHA1 cde7d36955580f2b3501807256dd80817b5110e8 SHA256 0510d6062c21445d5ef0a24dd60e6619faff79f50f2d26c5368c52a759389397 -MD5 744bca4edeef228b11d6cdf6d64a9a4c speex-1.2_beta2.ebuild 1256 -RMD160 3bf45f01e19abdcb5cd3c149ece3d48bfd23694b speex-1.2_beta2.ebuild 1256 -SHA256 0510d6062c21445d5ef0a24dd60e6619faff79f50f2d26c5368c52a759389397 speex-1.2_beta2.ebuild 1256 +EBUILD speex-1.1.12.ebuild 1149 RMD160 6ee42992d52624e1b87a3cde703c408d81eb5251 SHA1 e05276ece62349962e8cabe0bfbc6d0e4a484cdb SHA256 00cdcb4239049ffc117d87edce81ba0c31abf30dc85b0452f17aba21e99b6280 +MD5 495ae7568d9965d9027fae8c3fd106d1 speex-1.1.12.ebuild 1149 +RMD160 6ee42992d52624e1b87a3cde703c408d81eb5251 speex-1.1.12.ebuild 1149 +SHA256 00cdcb4239049ffc117d87edce81ba0c31abf30dc85b0452f17aba21e99b6280 speex-1.1.12.ebuild 1149 +EBUILD speex-1.1.7.ebuild 947 RMD160 360fa0a5b80b8d4bcf65fe9b52d023806a70e638 SHA1 5d60a7fa968aa1e057da7c66730165411c90fca5 SHA256 096cbb1f31d42cb7c56f2ce4615b728e103988674b0696396592bc2f722d43a6 +MD5 6d8c167ab32c7c31c4b0155b936bf47e speex-1.1.7.ebuild 947 +RMD160 360fa0a5b80b8d4bcf65fe9b52d023806a70e638 speex-1.1.7.ebuild 947 +SHA256 096cbb1f31d42cb7c56f2ce4615b728e103988674b0696396592bc2f722d43a6 speex-1.1.7.ebuild 947 EBUILD speex-1.2_beta3.ebuild 1018 RMD160 e310e2bbcb1fbc824e8f334c6e48d008cfd45b16 SHA1 810d754e304627122a315626b919f8c8b2031da5 SHA256 fe0820fcdaa4624db5ef6548db347f48dbdb80eef74aeb724be5f9827044bad8 MD5 e723687fea87604a63d8d5e6c9d3867b speex-1.2_beta3.ebuild 1018 RMD160 e310e2bbcb1fbc824e8f334c6e48d008cfd45b16 speex-1.2_beta3.ebuild 1018 SHA256 fe0820fcdaa4624db5ef6548db347f48dbdb80eef74aeb724be5f9827044bad8 speex-1.2_beta3.ebuild 1018 -MISC ChangeLog 9768 RMD160 327b96e952e342d8fd4394a9a42a0fd9909456e7 SHA1 657cdc7320a385a846b3c56878e3dae07caef24e SHA256 339f6304eef1b69cadcf509fe09ade15321dfa2a710fc3b6275069fc9433eb80 -MD5 6664685f2f2511f981dde57df490e54e ChangeLog 9768 -RMD160 327b96e952e342d8fd4394a9a42a0fd9909456e7 ChangeLog 9768 -SHA256 339f6304eef1b69cadcf509fe09ade15321dfa2a710fc3b6275069fc9433eb80 ChangeLog 9768 +MISC ChangeLog 9951 RMD160 2f82af467339465b6b8039927af315333936b1c8 SHA1 3312bbf35475057d11e2a0b0af62870de7aab5c2 SHA256 f80ee72f7ea354422107d00713276c382c8569c80ed91c6a5851f1bc1d972717 +MD5 0ff6b0af86fe2d48497c39f09a82da8b ChangeLog 9951 +RMD160 2f82af467339465b6b8039927af315333936b1c8 ChangeLog 9951 +SHA256 f80ee72f7ea354422107d00713276c382c8569c80ed91c6a5851f1bc1d972717 ChangeLog 9951 MISC metadata.xml 217 RMD160 906a4752f7a779a157215dc1c5f05e8de62aeb4a SHA1 bb95f672fc20ce8075d27f34c751073cb97849d2 SHA256 cbd33766e3d30e5e0112ad6c57ffc10052659ebb132a0a16fb3462ea8c5a2789 MD5 2f758c82434233f84f01f80f850a1112 metadata.xml 217 RMD160 906a4752f7a779a157215dc1c5f05e8de62aeb4a metadata.xml 217 SHA256 cbd33766e3d30e5e0112ad6c57ffc10052659ebb132a0a16fb3462ea8c5a2789 metadata.xml 217 -MD5 1218262a764680110df631bc0b35d570 files/digest-speex-1.1.11.1 244 -RMD160 e1471aa85abb9d2d353e077d655fc37002460c72 files/digest-speex-1.1.11.1 244 -SHA256 705f08c0979ae6fcbfb1bbb38720265fdde7b43e42fd0305411167f46041d7fe files/digest-speex-1.1.11.1 244 MD5 b84d36f735da8d050717b8b23153d6fd files/digest-speex-1.1.12 238 RMD160 01050014c2fec5f1a32ec61ac9fa55df8c0ee24d files/digest-speex-1.1.12 238 SHA256 156a6caf340c5bbcdc3413493758f35faf187fa6f6aac5883198d254ed22ab4b files/digest-speex-1.1.12 238 MD5 b049f9cf9c718e292dd3036658fd2ebf files/digest-speex-1.1.7 235 RMD160 6584b7b8fda33d272c6e7a61e08bcee20e769fb1 files/digest-speex-1.1.7 235 SHA256 b5c500b136ba42703516f37ca7f92c88d290e11d8e61da7b87f5b88fe3516691 files/digest-speex-1.1.7 235 -MD5 0024640e88c5078d512117a1c14c687e files/digest-speex-1.2_beta2 244 -RMD160 198d260abd68ca16f4c9a5586483ca34d4841403 files/digest-speex-1.2_beta2 244 -SHA256 f6d00a8414db8afd1ee7db73b4c76bf7226c155851103235ddcf8cf4d6a27997 files/digest-speex-1.2_beta2 244 MD5 3e1bb097d21efdeb04f99e7c39fc8c2d files/digest-speex-1.2_beta3 247 RMD160 8afffeb1d5fd2053176b2d2ebf98550f091d9756 files/digest-speex-1.2_beta3 247 SHA256 ac8d98082606bc2eda0f56e289be5541f3f84e51d688acbe6680c55ed3001dca files/digest-speex-1.2_beta3 247 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.8 (GNU/Linux) - -iEYEARECAAYFAkeF3U4ACgkQj9hvisErhMJQ3ACfSrEPbqK6+J/PFzW57C6UqiIj -EOcAn3vW0LKLrIV+IYaLjIGaLIFqaetZ -=a1Bw ------END PGP SIGNATURE----- diff --git a/media-libs/speex/files/digest-speex-1.1.11.1 b/media-libs/speex/files/digest-speex-1.1.11.1 deleted file mode 100644 index f6b9264f7487..000000000000 --- a/media-libs/speex/files/digest-speex-1.1.11.1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 5282d23ea605232be05b537cca7af242 speex-1.1.11.1.tar.gz 720528 -RMD160 6287327d6a3d5f45637af516cab568249e765160 speex-1.1.11.1.tar.gz 720528 -SHA256 b32000d4ca4e6f3cf02eeca90de765e759efa53c33f8ada8500df73fa55cda1f speex-1.1.11.1.tar.gz 720528 diff --git a/media-libs/speex/files/digest-speex-1.2_beta2 b/media-libs/speex/files/digest-speex-1.2_beta2 deleted file mode 100644 index 388f14df64f0..000000000000 --- a/media-libs/speex/files/digest-speex-1.2_beta2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 5480fa53a7451603ecb57ff815c87ac0 speex-1.2beta2.tar.gz 997255 -RMD160 6e86dec0b56bae8d65cf3b6476f6d5cb3a74b1ec speex-1.2beta2.tar.gz 997255 -SHA256 e57573e86276972080b5d82746d0968492859f35eaa265e79b5cfb130b26e3da speex-1.2beta2.tar.gz 997255 diff --git a/media-libs/speex/files/speex-1.2_beta2-optional-ogg-and-cflags.patch b/media-libs/speex/files/speex-1.2_beta2-optional-ogg-and-cflags.patch deleted file mode 100644 index 210715b35290..000000000000 --- a/media-libs/speex/files/speex-1.2_beta2-optional-ogg-and-cflags.patch +++ /dev/null @@ -1,35 +0,0 @@ -diff -ur speex-1.2beta2.orig/configure.ac speex-1.2beta2/configure.ac ---- speex-1.2beta2.orig/configure.ac 2007-05-17 17:14:35.000000000 +0300 -+++ speex-1.2beta2/configure.ac 2007-08-27 17:49:26.000000000 +0300 -@@ -67,9 +67,6 @@ - - AC_CHECK_HEADERS(sys/soundcard.h sys/audioio.h) - --XIPH_PATH_OGG([src="src"], [src=""]) --AC_SUBST(src) -- - AC_CHECK_LIB(m, sin) - - # Check for getopt_long; if not found, use included source. -@@ -89,6 +86,12 @@ - AC_DEFINE_UNQUOTED(SPEEX_MICRO_VERSION, ${SPEEX_MICRO_VERSION}, [Version micro]) - AC_DEFINE_UNQUOTED(SPEEX_EXTRA_VERSION, "${SPEEX_EXTRA_VERSION}", [Version extra]) - -+AC_ARG_ENABLE(ogg, [ --enable-ogg Enable OGG], -+[if test "$enableval" = yes; then -+ XIPH_PATH_OGG([src="src"], [src=""]) -+ AC_SUBST(src) -+fi]) -+ - AC_ARG_ENABLE(wideband, [ --disable-wideband Disable wideband codec], - [if test "$enableval" = no; then - AC_DEFINE([DISABLE_WIDEBAND], , [Disable wideband codec]) -@@ -106,7 +109,7 @@ - - AC_ARG_ENABLE(sse, [ --enable-sse Enable SSE support], [if test "$enableval" = yes; then - AC_DEFINE([_USE_SSE], , [Enable SSE support]) --CFLAGS="$CFLAGS -O3 -msse" -+CFLAGS="$CFLAGS -msse" - fi - ]) - diff --git a/media-libs/speex/speex-1.1.11.1.ebuild b/media-libs/speex/speex-1.1.11.1.ebuild deleted file mode 100644 index a83f6da00155..000000000000 --- a/media-libs/speex/speex-1.1.11.1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/speex/speex-1.1.11.1.ebuild,v 1.6 2007/03/01 16:26:40 genstef Exp $ - -WANT_AUTOCONF="latest" -WANT_AUTOMAKE="latest" - -inherit eutils autotools libtool - -DESCRIPTION="Speech encoding library" -HOMEPAGE="http://www.speex.org/" -SRC_URI="http://downloads.xiph.org/releases/speex/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" -IUSE="ogg sse" - -RDEPEND="ogg? ( >=media-libs/libogg-1.0 )" - -DEPEND="${RDEPEND} - sys-devel/autoconf - sys-devel/automake - sys-devel/libtool" - -src_unpack() { - unpack ${A} - cd ${S} - - # This is needed to fix parallel make issues. - # As this changes the Makefile.am, need to rebuild autotools. - sed -i -e 's:\$(top_builddir)/libspeex/libspeex.la:libspeex.la:' \ - ${S}/libspeex/Makefile.am - - eautoreconf - - # Better being safe - elibtoolize -} - -src_compile() { - # ogg autodetect only - econf $(use_enable sse) || die - emake || die -} - -src_install () { - make DESTDIR="${D}" install || die - - dodoc AUTHORS ChangeLog README* TODO NEWS -} diff --git a/media-libs/speex/speex-1.1.12.ebuild b/media-libs/speex/speex-1.1.12.ebuild index ef5f130b496d..f83750337e84 100644 --- a/media-libs/speex/speex-1.1.12.ebuild +++ b/media-libs/speex/speex-1.1.12.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/speex/speex-1.1.12.ebuild,v 1.11 2007/10/26 06:05:05 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/speex/speex-1.1.12.ebuild,v 1.12 2008/01/10 14:58:30 drac Exp $ inherit eutils autotools libtool @@ -10,7 +10,7 @@ SRC_URI="http://downloads.xiph.org/releases/speex/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="alpha ~amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd" IUSE="ogg sse vorbis-psy" RDEPEND="ogg? ( >=media-libs/libogg-1.0 )" diff --git a/media-libs/speex/speex-1.1.7.ebuild b/media-libs/speex/speex-1.1.7.ebuild index e0b6fd818ca3..10521fa1978a 100644 --- a/media-libs/speex/speex-1.1.7.ebuild +++ b/media-libs/speex/speex-1.1.7.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/speex/speex-1.1.7.ebuild,v 1.8 2007/03/01 16:26:40 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/speex/speex-1.1.7.ebuild,v 1.9 2008/01/10 14:58:30 drac Exp $ MY_P=${P/_/} S=${WORKDIR}/${MY_P} @@ -11,10 +11,10 @@ SRC_URI="http://www.speex.org/download/${MY_P}.tar.gz" LICENSE="BSD as-is" SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sh sparc x86" +KEYWORDS="mips" IUSE="ogg sse" -DEPEND="ogg? ( >=media-libs/libogg-1.0 )" +DEPEND="ogg? ( >=media-libs/libogg-1 )" src_compile() { local myconf @@ -25,15 +25,15 @@ src_compile() { then use sse && myconf="${myconf} --enable-sse" fi - econf ${myconf} || die - emake || die + econf ${myconf} || die "econf failed." + emake || die "emake failed." } src_install () { - einstall || die - rm -rf ${D}/usr/share/doc/* + einstall || die "einstall failed." + rm -rf "${D}"/usr/share/doc/* insinto /usr/share/doc/${P} - doins ${S}/doc/manual.pdf + doins "${S}"/doc/manual.pdf dodoc AUTHORS ChangeLog README TODO NEWS } diff --git a/media-libs/speex/speex-1.2_beta2.ebuild b/media-libs/speex/speex-1.2_beta2.ebuild deleted file mode 100644 index d46457624cf8..000000000000 --- a/media-libs/speex/speex-1.2_beta2.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/speex/speex-1.2_beta2.ebuild,v 1.8 2007/11/23 22:10:25 drac Exp $ - -EAPI=1 - -inherit autotools eutils flag-o-matic - -MY_P=${P/_/} - -DESCRIPTION="Audio compression format designed for speech." -HOMEPAGE="http://www.speex.org" -SRC_URI="http://downloads.xiph.org/releases/speex/${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc ~x86 ~x86-fbsd" -IUSE="doc ogg sse vorbis-psy +wideband" - -RDEPEND="ogg? ( >=media-libs/libogg-1 )" -DEPEND="${RDEPEND}" - -S="${WORKDIR}"/${MY_P} - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-optional-ogg-and-cflags.patch - eautoreconf - _elibtoolize -} - -src_compile() { - # Add largefile support. - append-flags -D_FILE_OFFSET_BITS=64 - - econf $(use_enable vorbis-psy) $(use_enable sse) \ - $(use_enable ogg) $(use_enable wideband) - emake || die "emake failed." -} - -src_install () { - emake DESTDIR="${D}" install || die "emake install failed." - dodoc AUTHORS ChangeLog NEWS README* TODO - - # Install manual.pdf to correct location. - rm -f "${D}"/usr/share/doc/speex-1.2beta2/manual.pdf - use doc && dodoc doc/manual.pdf -} |