summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2008-07-31 02:58:59 +0000
committerPatrick McLean <chutzpah@gentoo.org>2008-07-31 02:58:59 +0000
commitd94a753099aad36ed865d0c0772a5b587a6118d2 (patch)
treeed5a45b4bc56da68f0cabb347562f72f9c9e0aad /media-libs/speex
parent- 2.6.25-r3: Update to Linux 2.6.25.13 and new grsecurity patch. Multiple fi... (diff)
downloadhistorical-d94a753099aad36ed865d0c0772a5b587a6118d2.tar.gz
historical-d94a753099aad36ed865d0c0772a5b587a6118d2.tar.bz2
historical-d94a753099aad36ed865d0c0772a5b587a6118d2.zip
Version bump.
Package-Manager: portage-2.2_rc5/cvs/Linux 2.6.26-gentoo x86_64
Diffstat (limited to 'media-libs/speex')
-rw-r--r--media-libs/speex/ChangeLog8
-rw-r--r--media-libs/speex/Manifest15
-rw-r--r--media-libs/speex/files/speex-1.2_rc1-configure.patch31
-rw-r--r--media-libs/speex/speex-1.2_rc1.ebuild46
4 files changed, 88 insertions, 12 deletions
diff --git a/media-libs/speex/ChangeLog b/media-libs/speex/ChangeLog
index 9f5e2c1e7b24..e32e93e1f879 100644
--- a/media-libs/speex/ChangeLog
+++ b/media-libs/speex/ChangeLog
@@ -1,6 +1,12 @@
# 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.86 2008/06/16 11:01:24 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/speex/ChangeLog,v 1.87 2008/07/31 02:58:58 chutzpah Exp $
+
+*speex-1.2_rc1 (31 Jul 2008)
+
+ 31 Jul 2008; Patrick McLean <chutzpah@gentoo.org>
+ +files/speex-1.2_rc1-configure.patch, +speex-1.2_rc1.ebuild:
+ Version bump.
16 Jun 2008; Diego Pettenò <flameeyes@gentoo.org>
speex-1.2_beta3_p2.ebuild:
diff --git a/media-libs/speex/Manifest b/media-libs/speex/Manifest
index ac20ad230e3f..d22c182c354c 100644
--- a/media-libs/speex/Manifest
+++ b/media-libs/speex/Manifest
@@ -1,20 +1,13 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX speex-1.1.12-malloc.patch 337 RMD160 30eb657cf06b66ec80f7d4b66a9125f0d776726a SHA1 ea1a7ed550154646f8e9fc8a6fa7d45376c196ae SHA256 67db66fb39f89845cb7efdf7ccab389016b667d2d4fa2883fa25adc555aa4e74
AUX speex-1.2_beta3-configure.patch 896 RMD160 6876ddb6f2596c90f06d5c0ec8ff660529f0b4a3 SHA1 a7ce0d6cacf7c59cb3aa0058c1061a6c3a8b798b SHA256 43e553eda67f2ca76118cde43ac3a201361dedcfcb1533f86325da42f20603df
+AUX speex-1.2_rc1-configure.patch 874 RMD160 5b361daaf91abaf4ef62e9ccc7c24432e846f319 SHA1 1ce1a2e82a2a11fbc5065050859102fbfc409737 SHA256 205aa8a4ba729f015535b084f8932c19f5efaa35f81df8b8dc807201fb40c922
DIST speex-1.1.12.tar.gz 740110 RMD160 24271522d1e1d4b8ccb2833d5fbd75b33789de07 SHA1 8d52c5fc51ae5fd3b1297e5aaa48872dd045a671 SHA256 77c8505bd9b73192789770299e0a727fba9c1d556d853b8cc473bfee393709f8
DIST speex-1.2beta3.2.tar.gz 1048015 RMD160 fe0c67d2c56e1ebea6c237105b7d157fe70e1b3d SHA1 770556944d58e34552d995f35aa0c802107f8385 SHA256 4d20d70b04d1ae2ad6018367185cd4604be0a94127a394324be89f32747636e1
DIST speex-1.2beta3.tar.gz 1046521 RMD160 3282bfc972513471a63ea59e1ae8c7b9e8993d1f SHA1 cebbf0dc38a7a8075f10f020c0c5cf43edb2ad35 SHA256 77a3609bf1762f533461c01ef3485d0c9382fa54ec05204f0ff157a4789ce7ab
+DIST speex-1.2rc1.tar.gz 1061882 RMD160 6f4a11ef910b0db9b820826bcac3da1b79cad3a1 SHA1 52daa72572e844e5165315e208da539b2a55c5eb SHA256 342f30dc57bd4a6dad41398365baaa690429660b10d866b7d508e8f1179cb7a6
EBUILD speex-1.1.12.ebuild 1204 RMD160 9062fe34d3a04ef047409f58fcd74c2e70c27208 SHA1 e42e54075e0a838b58c4387f0f807c3c4c1d63ed SHA256 e8dba787f50aabfdbd89ae9cd86f196bd5f2434fe056d7613faa23eaba6e7035
EBUILD speex-1.2_beta3.ebuild 1018 RMD160 e310e2bbcb1fbc824e8f334c6e48d008cfd45b16 SHA1 810d754e304627122a315626b919f8c8b2031da5 SHA256 fe0820fcdaa4624db5ef6548db347f48dbdb80eef74aeb724be5f9827044bad8
EBUILD speex-1.2_beta3_p2.ebuild 1179 RMD160 5e504a5f730cd3d8047cf5bdb6ce26e7ad82edf2 SHA1 6f60f710ad547894f24507fad5ed9ca238123d62 SHA256 45a492a312bcf228e1b8ed69e58f34d03b14d2af9ea5824520ac14ecd06856a3
-MISC ChangeLog 11280 RMD160 4b82a4b5342105b134b867f1091b3321accc39b5 SHA1 1024223b033e888c76be746d6fb8f036341fb196 SHA256 7495046384409e8ac7326770784c84cfca7f3267d66aa54c0faca4311a7965f4
+EBUILD speex-1.2_rc1.ebuild 1169 RMD160 7e1e16d167bd8c39f21a776e0511687504e53ba5 SHA1 6253d0e2824467f18f23b41c9b4cc71de9f370ab SHA256 9e0911e02722dba5564cdad9e7581591b0174d92844feb15004b34dce53728f2
+MISC ChangeLog 11441 RMD160 319dba46e54ca861acefdcd1451142a462d5ecf0 SHA1 ebc68720c7061792504e90903866b0f2d4ef0c0e SHA256 9899564fd3f742375d98e5c3825c2ab23a55ad80bc878b1a69a2b9d84edbbe9b
MISC metadata.xml 217 RMD160 906a4752f7a779a157215dc1c5f05e8de62aeb4a SHA1 bb95f672fc20ce8075d27f34c751073cb97849d2 SHA256 cbd33766e3d30e5e0112ad6c57ffc10052659ebb132a0a16fb3462ea8c5a2789
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkhWSAoACgkQAiZjviIA2XggJwCgvsJb1xlmGd+fmmMXDq1evXV6
-oUIAoLN6cODxIcZm+U4cLRvqhHagXGfG
-=p0VC
------END PGP SIGNATURE-----
diff --git a/media-libs/speex/files/speex-1.2_rc1-configure.patch b/media-libs/speex/files/speex-1.2_rc1-configure.patch
new file mode 100644
index 000000000000..cd780daf261e
--- /dev/null
+++ b/media-libs/speex/files/speex-1.2_rc1-configure.patch
@@ -0,0 +1,31 @@
+diff -ur speex-1.2rc1.orig/configure.ac speex-1.2rc1/configure.ac
+--- speex-1.2rc1.orig/configure.ac 2008-07-30 22:49:17.000000000 -0400
++++ speex-1.2rc1/configure.ac 2008-07-30 22:50:33.000000000 -0400
+@@ -112,9 +112,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.
+@@ -139,10 +136,16 @@
+ AC_DEFINE([ENABLE_VALGRIND], , [Enable valgrind extra checks])
+ fi])
+
++AC_ARG_ENABLE(ogg, [ --enable-ogg Enable OGG support], [if test "$enableval" = yes; then
++ XIPH_PATH_OGG([src="src"], [src=""])
++ AC_SUBST(src)
++fi
++])
++
+ AC_ARG_ENABLE(sse, [ --enable-sse Enable SSE support], [
+ if test "x$enableval" != xno; then
+ has_sse=yes
+-CFLAGS="$CFLAGS -O3 -msse"
++CFLAGS="$CFLAGS -msse"
+ else
+ has_sse=no
+ fi
diff --git a/media-libs/speex/speex-1.2_rc1.ebuild b/media-libs/speex/speex-1.2_rc1.ebuild
new file mode 100644
index 000000000000..78a46217053a
--- /dev/null
+++ b/media-libs/speex/speex-1.2_rc1.ebuild
@@ -0,0 +1,46 @@
+# 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.2_rc1.ebuild,v 1.1 2008/07/31 02:58:58 chutzpah Exp $
+
+inherit autotools eutils flag-o-matic
+
+MY_P=${P/_} ; MY_P=${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="ogg sse"
+
+RDEPEND="ogg? ( media-libs/libogg )"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-configure.patch
+
+ sed -i -e 's:noinst_PROGRAMS:check_PROGRAMS:' \
+ "${S}"/libspeex/Makefile.am \
+ || die "unable to disable tests building"
+ eautoreconf
+}
+
+src_compile() {
+ append-flags -D_FILE_OFFSET_BITS=64
+
+ econf $(use_enable sse) $(use_enable ogg)
+ emake || die "emake failed."
+}
+
+src_install() {
+ emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}" \
+ install || die "emake install failed."
+
+ dodoc AUTHORS ChangeLog NEWS README* TODO
+}