summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-12-15 09:44:12 +0000
committerPeter Volkov <pva@gentoo.org>2008-12-15 09:44:12 +0000
commit9de737eb8c4bcfa9babc602e235f87621dce7d49 (patch)
tree982b125a893b3358186e084ff3a3503b4d5ec40d /media-libs/spandsp
parentx86 stable wrt #250804 (diff)
downloadgentoo-2-9de737eb8c4bcfa9babc602e235f87621dce7d49.tar.gz
gentoo-2-9de737eb8c4bcfa9babc602e235f87621dce7d49.tar.bz2
gentoo-2-9de737eb8c4bcfa9babc602e235f87621dce7d49.zip
Updated metadata.xml to include USE flag descriptions.
(Portage version: 2.2_rc17/cvs/Linux 2.6.26-openvz.git-89451f9 i686)
Diffstat (limited to 'media-libs/spandsp')
-rw-r--r--media-libs/spandsp/ChangeLog13
-rw-r--r--media-libs/spandsp/files/spandsp-0.0.6_pre2-v27ter_tx.h.patch14
-rw-r--r--media-libs/spandsp/metadata.xml9
-rw-r--r--media-libs/spandsp/spandsp-0.0.6_pre2.ebuild57
4 files changed, 91 insertions, 2 deletions
diff --git a/media-libs/spandsp/ChangeLog b/media-libs/spandsp/ChangeLog
index 8646dee2ec93..fbd835399f40 100644
--- a/media-libs/spandsp/ChangeLog
+++ b/media-libs/spandsp/ChangeLog
@@ -1,6 +1,17 @@
# ChangeLog for media-libs/spandsp
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/spandsp/ChangeLog,v 1.12 2008/06/24 16:15:41 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/spandsp/ChangeLog,v 1.13 2008/12/15 09:44:12 pva Exp $
+
+ 15 Dec 2008; Peter Volkov <pva@gentoo.org>
+ +files/spandsp-0.0.6_pre2-v27ter_tx.h.patch, metadata.xml,
+ +spandsp-0.0.6_pre2.ebuild:
+ Updated metadata.xml to include USE flag descriptions.
+
+*spandsp-0.0.6_pre2 (15 Dec 2008)
+
+ 15 Dec 2008; Peter Volkov <pva@gentoo.org>
+ +files/spandsp-0.0.6_pre2-v27ter_tx.h.patch, +spandsp-0.0.6_pre2.ebuild:
+ Version bump. Upstream states that everybody should use this version.
*spandsp-0.0.5_pre3 (24 Jun 2008)
diff --git a/media-libs/spandsp/files/spandsp-0.0.6_pre2-v27ter_tx.h.patch b/media-libs/spandsp/files/spandsp-0.0.6_pre2-v27ter_tx.h.patch
new file mode 100644
index 000000000000..6541898b3eb9
--- /dev/null
+++ b/media-libs/spandsp/files/spandsp-0.0.6_pre2-v27ter_tx.h.patch
@@ -0,0 +1,14 @@
+=== modified file 'src/spandsp/private/v27ter_tx.h'
+--- src/spandsp/private/v27ter_tx.h 2008-12-15 09:30:32 +0000
++++ src/spandsp/private/v27ter_tx.h 2008-12-15 09:30:51 +0000
+@@ -91,9 +91,5 @@
+ logging_state_t logging;
+ };
+
+-#if defined(__cplusplus)
+-}
+-#endif
+-
+ #endif
+ /*- End of file ------------------------------------------------------------*/
+
diff --git a/media-libs/spandsp/metadata.xml b/media-libs/spandsp/metadata.xml
index 43cc20ba7f03..b185bd22723c 100644
--- a/media-libs/spandsp/metadata.xml
+++ b/media-libs/spandsp/metadata.xml
@@ -1,5 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>voip</herd>
+ <herd>voip</herd>
+ <use>
+ <flag name='sse3'>Enable SSE3 support</flag>
+ <flag name='sse4.1'>Enable SSE4.1 support</flag>
+ <flag name='sse4.2'>Enable SSE4.2 support</flag>
+ <flag name='sse4a'>Enable SSE4a support</flag>
+ <flag name='sse5'>Enable SSE5 support</flag>
+ </use>
</pkgmetadata>
diff --git a/media-libs/spandsp/spandsp-0.0.6_pre2.ebuild b/media-libs/spandsp/spandsp-0.0.6_pre2.ebuild
new file mode 100644
index 000000000000..6b0baa71852a
--- /dev/null
+++ b/media-libs/spandsp/spandsp-0.0.6_pre2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/spandsp/spandsp-0.0.6_pre2.ebuild,v 1.1 2008/12/15 09:44:12 pva Exp $
+
+inherit versionator eutils
+
+DESCRIPTION="SpanDSP is a library of DSP functions for telephony."
+HOMEPAGE="http://www.soft-switch.org/"
+SRC_URI="http://www.soft-switch.org/downloads/spandsp/${P/_}.tgz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc mmx sse sse2 sse3 sse4.1 sse4.2 sse4a sse5"
+# test"
+
+RDEPEND="media-libs/audiofile
+ media-libs/tiff
+ =sci-libs/fftw-3*"
+# test? ( x11-libs/libXft
+# x11-libs/libXext
+# x11-libs/libX11
+# dev-libs/libxml2
+# x11-libs/fltk )"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen
+ dev-libs/libxslt )"
+
+S=${WORKDIR}/${PN}-$(get_version_component_range 1-3)
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-v27ter_tx.h.patch"
+}
+
+src_compile() {
+ econf \
+ $(use_enable doc) \
+ $(use_enable mmx) \
+ $(use_enable sse) \
+ $(use_enable sse2) \
+ $(use_enable sse3) \
+ $(use_enable sse4.1 sse4-1) \
+ $(use_enable sse4.2 sse4-2) \
+ $(use_enable sse4a sse4a) \
+ $(use_enable sse5)
+# $(use_enable test tests) \
+# $(use_enable test test-data)
+ emake || die "emake failed."
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "emake install failed."
+ dodoc AUTHORS NEWS README DueDiligence
+ use doc && dohtml -r doc/{api/html/*,t38_manual}
+}