diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-libs/speex | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-libs/speex')
-rw-r--r-- | media-libs/speex/Manifest | 1 | ||||
-rw-r--r-- | media-libs/speex/files/speex-1.2_rc1-configure.patch | 31 | ||||
-rw-r--r-- | media-libs/speex/files/speex-1.2_rc1-r1-configure.patch | 40 | ||||
-rw-r--r-- | media-libs/speex/metadata.xml | 8 | ||||
-rw-r--r-- | media-libs/speex/speex-1.2_rc1-r2.ebuild | 55 |
5 files changed, 135 insertions, 0 deletions
diff --git a/media-libs/speex/Manifest b/media-libs/speex/Manifest new file mode 100644 index 000000000000..d7e33b8ef618 --- /dev/null +++ b/media-libs/speex/Manifest @@ -0,0 +1 @@ +DIST speex-1.2rc1.tar.gz 1061882 SHA256 342f30dc57bd4a6dad41398365baaa690429660b10d866b7d508e8f1179cb7a6 SHA512 bdf1ddb2d60496ab220b94c1bec7a43f267fc964fdbb5cc9f24b71b9b571f237f5ce98c1d74b02699d71a95281f4694ff464ebec25e3b135244e5b3099cb1813 WHIRLPOOL c984f04a9c78332509b76ef98ff0eb84b8b4b8755d02890c5de41501325c2055e42243eaed2671e0087c8ca2cdea5967e5113c3d85a53f3704a8d8a3cfc487cb 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/files/speex-1.2_rc1-r1-configure.patch b/media-libs/speex/files/speex-1.2_rc1-r1-configure.patch new file mode 100644 index 000000000000..a6c9166a9259 --- /dev/null +++ b/media-libs/speex/files/speex-1.2_rc1-r1-configure.patch @@ -0,0 +1,40 @@ +diff -urN speex-1.2rc1.orig/configure.ac speex-1.2rc1/configure.ac +--- speex-1.2rc1.orig/configure.ac 2008-07-21 03:17:08.000000000 +0100 ++++ speex-1.2rc1/configure.ac 2011-03-15 00:23:21.263751871 +0000 +@@ -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 +@@ -217,7 +220,7 @@ + ], + [gpl-fftw3], [ + AC_DEFINE([USE_GPL_FFTW3], [], [Use FFTW3 for FFT]) +- PKG_CHECK_MODULES(FFT, fftw3f) ++ PKG_CHECK_MODULES([FFT], [fftw3f]) + ], + [proprietary-intel-mkl], [ + AC_DEFINE([USE_INTEL_MKL], [], [Use Intel Math Kernel Library for FFT]) diff --git a/media-libs/speex/metadata.xml b/media-libs/speex/metadata.xml new file mode 100644 index 000000000000..d4990648f895 --- /dev/null +++ b/media-libs/speex/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sound</herd> +<upstream> + <remote-id type="cpe">cpe:/a:xiph:speex</remote-id> +</upstream> +</pkgmetadata> diff --git a/media-libs/speex/speex-1.2_rc1-r2.ebuild b/media-libs/speex/speex-1.2_rc1-r2.ebuild new file mode 100644 index 000000000000..c569606db6ae --- /dev/null +++ b/media-libs/speex/speex-1.2_rc1-r2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils flag-o-matic multilib-minimal + +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 ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="ogg cpu_flags_x86_sse static-libs" + +RDEPEND="ogg? ( media-libs/libogg:= ) + abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r3 + !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/${MY_P} + +DOCS=( AUTHORS ChangeLog NEWS README README.TI-DSP README.blackfin README.symbian TODO ) + +src_prepare() { + epatch "${FILESDIR}"/${P}-r1-configure.patch + + sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #467012 + + sed -i \ + -e 's:noinst_PROGRAMS:check_PROGRAMS:' \ + libspeex/Makefile.am || die + + eautoreconf +} + +multilib_src_configure() { + append-lfs-flags + + ECONF_SOURCE="${S}" econf \ + $(use_enable static-libs static) \ + $(use_enable cpu_flags_x86_sse sse) \ + $( [ "${ABI}" = "${DEFAULT_ABI}" ] && echo $(use_enable ogg)) + # ogg is only for speexdec/speexenc binaries, useless for non native ABIs +} + +multilib_src_install() { + emake DESTDIR="${D}" docdir="${EPREFIX}/usr/share/doc/${PF}" install + + prune_libtool_files +} |