diff options
author | Alexis Ballier <aballier@gentoo.org> | 2013-07-28 22:29:34 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2013-07-28 22:29:34 +0000 |
commit | aa5a56cce41e6134f1f5fa50c06a4d1be004feb9 (patch) | |
tree | 823085e595d79e7967007ba06715e6d61bbaa8c4 | |
parent | go multilib (diff) | |
download | gentoo-2-aa5a56cce41e6134f1f5fa50c06a4d1be004feb9.tar.gz gentoo-2-aa5a56cce41e6134f1f5fa50c06a4d1be004feb9.tar.bz2 gentoo-2-aa5a56cce41e6134f1f5fa50c06a4d1be004feb9.zip |
go multilib and slat it for medialibs -r4
(Portage version: 2.2.0_alpha190/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
-rw-r--r-- | media-libs/speex/ChangeLog | 7 | ||||
-rw-r--r-- | media-libs/speex/speex-1.2_rc1-r2.ebuild | 54 |
2 files changed, 60 insertions, 1 deletions
diff --git a/media-libs/speex/ChangeLog b/media-libs/speex/ChangeLog index c219869afdb3..8edd8646f51f 100644 --- a/media-libs/speex/ChangeLog +++ b/media-libs/speex/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/speex # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/speex/ChangeLog,v 1.103 2013/07/06 17:51:03 ottxor Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/speex/ChangeLog,v 1.104 2013/07/28 22:29:34 aballier Exp $ + +*speex-1.2_rc1-r2 (28 Jul 2013) + + 28 Jul 2013; Alexis Ballier <aballier@gentoo.org> +speex-1.2_rc1-r2.ebuild: + go multilib and slat it for medialibs -r4 06 Jul 2013; Christoph Junghans <ottxor@gentoo.org> speex-1.2_rc1-r1.ebuild: added prefix support 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..c7a83caf3ce7 --- /dev/null +++ b/media-libs/speex/speex-1.2_rc1-r2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2013 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-r2.ebuild,v 1.1 2013/07/28 22:29:34 aballier Exp $ + +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 ~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 sse static-libs" + +RDEPEND="ogg? ( media-libs/libogg:=[${MULTILIB_USEDEP}] ) + 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 sse) \ + $(use_enable ogg) +} + +multilib_src_install() { + emake DESTDIR="${D}" docdir="${EPREFIX}/usr/share/doc/${PF}" install + + prune_libtool_files +} |