diff options
author | Samuli Suominen <drac@gentoo.org> | 2007-12-15 13:16:17 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2007-12-15 13:16:17 +0000 |
commit | 0dcce4b31c9ce28cd21528642a69282d5d979606 (patch) | |
tree | 6488d6cf39f6012fc1561aa18d2c8c7eba82e0a7 /media-libs/speex | |
parent | Minor touchups, use 1.5.0.13 for 0.94.4 (diff) | |
download | gentoo-2-0dcce4b31c9ce28cd21528642a69282d5d979606.tar.gz gentoo-2-0dcce4b31c9ce28cd21528642a69282d5d979606.tar.bz2 gentoo-2-0dcce4b31c9ce28cd21528642a69282d5d979606.zip |
Version bump wrt #202248, thanks to Guido Imperiale for reporting.
(Portage version: 2.1.4_rc9)
Diffstat (limited to 'media-libs/speex')
-rw-r--r-- | media-libs/speex/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/speex/files/digest-speex-1.2_beta3 | 3 | ||||
-rw-r--r-- | media-libs/speex/files/speex-1.2_beta3-configure.patch | 30 | ||||
-rw-r--r-- | media-libs/speex/speex-1.2_beta3.ebuild | 42 |
4 files changed, 82 insertions, 1 deletions
diff --git a/media-libs/speex/ChangeLog b/media-libs/speex/ChangeLog index 35b055e6d679..6feac115b5cc 100644 --- a/media-libs/speex/ChangeLog +++ b/media-libs/speex/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-libs/speex # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/speex/ChangeLog,v 1.66 2007/11/23 22:10:25 drac Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/speex/ChangeLog,v 1.67 2007/12/15 13:16:17 drac Exp $ + +*speex-1.2_beta3 (15 Dec 2007) + + 15 Dec 2007; Samuli Suominen <drac@gentoo.org> + +files/speex-1.2_beta3-configure.patch, +speex-1.2_beta3.ebuild: + Version bump wrt #202248, thanks to Guido Imperiale for reporting. 23 Nov 2007; Samuli Suominen <drac@gentoo.org> speex-1.2_beta2.ebuild: Enable USE wideband by default, no reason to have only narrowband by default. diff --git a/media-libs/speex/files/digest-speex-1.2_beta3 b/media-libs/speex/files/digest-speex-1.2_beta3 new file mode 100644 index 000000000000..2352e3395b8a --- /dev/null +++ b/media-libs/speex/files/digest-speex-1.2_beta3 @@ -0,0 +1,3 @@ +MD5 bcada04dc663a725ee7fcfa6301520a3 speex-1.2beta3.tar.gz 1046521 +RMD160 3282bfc972513471a63ea59e1ae8c7b9e8993d1f speex-1.2beta3.tar.gz 1046521 +SHA256 77a3609bf1762f533461c01ef3485d0c9382fa54ec05204f0ff157a4789ce7ab speex-1.2beta3.tar.gz 1046521 diff --git a/media-libs/speex/files/speex-1.2_beta3-configure.patch b/media-libs/speex/files/speex-1.2_beta3-configure.patch new file mode 100644 index 000000000000..216541971f90 --- /dev/null +++ b/media-libs/speex/files/speex-1.2_beta3-configure.patch @@ -0,0 +1,30 @@ +diff -ur speex-1.2beta3.orig/configure.ac speex-1.2beta3/configure.ac +--- speex-1.2beta3.orig/configure.ac 2007-12-08 08:56:37.000000000 +0200 ++++ speex-1.2beta3/configure.ac 2007-12-15 14:57:03.000000000 +0200 +@@ -75,9 +75,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. +@@ -102,9 +99,15 @@ + 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 "$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.2_beta3.ebuild b/media-libs/speex/speex-1.2_beta3.ebuild new file mode 100644 index 000000000000..1075ea354a11 --- /dev/null +++ b/media-libs/speex/speex-1.2_beta3.ebuild @@ -0,0 +1,42 @@ +# 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_beta3.ebuild,v 1.1 2007/12/15 13:16:17 drac Exp $ + +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="ogg sse" + +RDEPEND="ogg? ( >=media-libs/libogg-1 )" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-configure.patch + 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 +} |