diff options
author | Patrick McLean <chutzpah@gentoo.org> | 2008-07-31 02:58:59 +0000 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2008-07-31 02:58:59 +0000 |
commit | 235165829bb1d52cac3bfd334e132fd6e8d38da8 (patch) | |
tree | c2e406ee4595502e5d64ad9aa24571378c4aa29a /media-libs/speex | |
parent | - 2.6.25-r3: Update to Linux 2.6.25.13 and new grsecurity patch. Multiple fi... (diff) | |
download | gentoo-2-235165829bb1d52cac3bfd334e132fd6e8d38da8.tar.gz gentoo-2-235165829bb1d52cac3bfd334e132fd6e8d38da8.tar.bz2 gentoo-2-235165829bb1d52cac3bfd334e132fd6e8d38da8.zip |
Version bump.
(Portage version: 2.2_rc5/cvs/Linux 2.6.26-gentoo x86_64)
Diffstat (limited to 'media-libs/speex')
-rw-r--r-- | media-libs/speex/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/speex/files/speex-1.2_rc1-configure.patch | 31 | ||||
-rw-r--r-- | media-libs/speex/speex-1.2_rc1.ebuild | 46 |
3 files changed, 84 insertions, 1 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/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 +} |