summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2008-04-15 09:33:19 +0000
committerSamuli Suominen <drac@gentoo.org>2008-04-15 09:33:19 +0000
commit1f27ab194e0073463cae39dbd34dbd7c93849b38 (patch)
tree52033319f2d8d17a8278e9ff0e8f445766fa42df
parentMoved into the tree. Thanks to Michael Krelin (polyonymous). (diff)
downloadgentoo-2-1f27ab194e0073463cae39dbd34dbd7c93849b38.tar.gz
gentoo-2-1f27ab194e0073463cae39dbd34dbd7c93849b38.tar.bz2
gentoo-2-1f27ab194e0073463cae39dbd34dbd7c93849b38.zip
Version bump.
(Portage version: 2.1.5_rc3)
-rw-r--r--media-libs/speex/ChangeLog8
-rw-r--r--media-libs/speex/speex-1.1.7.ebuild39
-rw-r--r--media-libs/speex/speex-1.2_beta3_p2.ebuild42
3 files changed, 49 insertions, 40 deletions
diff --git a/media-libs/speex/ChangeLog b/media-libs/speex/ChangeLog
index 01aef6fb9940..7443c3ddb036 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.75 2008/01/10 14:58:30 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/speex/ChangeLog,v 1.76 2008/04/15 09:33:19 drac Exp $
+
+*speex-1.2_beta3_p2 (15 Apr 2008)
+
+ 15 Apr 2008; Samuli Suominen <drac@gentoo.org> -speex-1.1.7.ebuild,
+ +speex-1.2_beta3_p2.ebuild:
+ Version bump.
10 Jan 2008; Samuli Suominen <drac@gentoo.org> speex-1.1.7.ebuild,
-speex-1.1.11.1.ebuild, -speex-1.2_beta2.ebuild:
diff --git a/media-libs/speex/speex-1.1.7.ebuild b/media-libs/speex/speex-1.1.7.ebuild
deleted file mode 100644
index 10521fa1978a..000000000000
--- a/media-libs/speex/speex-1.1.7.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# 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.9 2008/01/10 14:58:30 drac Exp $
-
-MY_P=${P/_/}
-S=${WORKDIR}/${MY_P}
-
-DESCRIPTION="Speech encoding library"
-HOMEPAGE="http://www.speex.org"
-SRC_URI="http://www.speex.org/download/${MY_P}.tar.gz"
-
-LICENSE="BSD as-is"
-SLOT="0"
-KEYWORDS="mips"
-IUSE="ogg sse"
-
-DEPEND="ogg? ( >=media-libs/libogg-1 )"
-
-src_compile() {
- local myconf
- use ogg \
- && myconf="--enable-ogg=yes --with-ogg-dir=/usr" \
- || myconf="--enable-ogg=no"
- if [ "${ARCH}" != "amd64" ]
- then
- use sse && myconf="${myconf} --enable-sse"
- fi
- econf ${myconf} || die "econf failed."
- emake || die "emake failed."
-}
-
-src_install () {
- einstall || die "einstall failed."
- rm -rf "${D}"/usr/share/doc/*
-
- insinto /usr/share/doc/${P}
- doins "${S}"/doc/manual.pdf
- dodoc AUTHORS ChangeLog README TODO NEWS
-}
diff --git a/media-libs/speex/speex-1.2_beta3_p2.ebuild b/media-libs/speex/speex-1.2_beta3_p2.ebuild
new file mode 100644
index 000000000000..f9fffc9e39d0
--- /dev/null
+++ b/media-libs/speex/speex-1.2_beta3_p2.ebuild
@@ -0,0 +1,42 @@
+# 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_beta3_p2.ebuild,v 1.1 2008/04/15 09:33:19 drac 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}"/${PN}-1.2_beta3-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
+}