From cf7a93424319c30140acd24596b420f5020e4b39 Mon Sep 17 00:00:00 2001 From: Andrew Savchenko Date: Sun, 10 Mar 2013 20:51:46 +0400 Subject: spandsp: fix -msse4x flags And switch to EAPI=5 --- media-libs/spandsp/Manifest | 3 ++- media-libs/spandsp/files/spandsp-0.0.6_pre21-sse4x.patch | 15 +++++++++++++++ media-libs/spandsp/spandsp-0.0.6_pre21.ebuild | 12 +++++++----- 3 files changed, 24 insertions(+), 6 deletions(-) create mode 100644 media-libs/spandsp/files/spandsp-0.0.6_pre21-sse4x.patch (limited to 'media-libs') diff --git a/media-libs/spandsp/Manifest b/media-libs/spandsp/Manifest index 1da99c0..b374b20 100644 --- a/media-libs/spandsp/Manifest +++ b/media-libs/spandsp/Manifest @@ -1,4 +1,5 @@ +AUX spandsp-0.0.6_pre21-sse4x.patch 667 SHA256 561969858ef6ad9cfa5cf493c56e38e728d4615c783876b3b6c40a04ce39d33a SHA512 2984f1eab376069a05140e44ddd04bb2a9a02097ba638dbde7873475de9dcf9382b5eb7dcd6eb58c89b3746ee4d83237f1beb861ef7b7060f6c5170c7b45808d WHIRLPOOL 0ce51170ce9c5894124aea2282e82a00924b3cb0c7f81c27b2ad7d1c26c72237589977bf8da5ea36de096ba3e428a999f7fab17defeed848ef1e5762c9ecbb6c DIST spandsp-0.0.6pre21.tgz 3278758 SHA256 bd152152bf0b204661ab9439c5a649098bcb8cefebcbfa959dd602442739aa50 SHA512 6f846021cd6a1605d371a8e5d1ac3a5b6adc5b85de2517e24a5afaa57b4864202c2d16c1196959f7f11d866732d17d301d2d37121228cec75077678f8fc3e488 WHIRLPOOL e3c375888c562a933ca9be22a916d57b538ee702b77d0e4ce078eadd93e8701e1bcd76296ba6b88934888a4a3f5b6c216441a5e5f8aea8134984fe4213f38736 -EBUILD spandsp-0.0.6_pre21.ebuild 1650 SHA256 3d5735713264f55ce90b57d448b670322b56643a7ca3959564a4a8010a6abcc3 SHA512 e370421cb95d0ea0399901d5ccac5b59c0ca7d59fd52032994b78efa6e8d5a7b4836dba46c04ad9e73b7c2f718eab4c1ae4544bfa73fe185ee142c842520aba2 WHIRLPOOL 239e72ca44b61dc96ceaa94bc17b6efb9ea56fcecaca7a7c28e645d1042c9c768b38dc4d70f0b370c9e956c10f40cb75dcb053004360a3b6570decba0bb0a8be +EBUILD spandsp-0.0.6_pre21.ebuild 1624 SHA256 60ed7d188f62b40d34901437d34ddfe936b38ad7794f63338d954942c57eef1f SHA512 62f70637a3434475918de34107a912f52ff14912b9ccc5d98b1df63789fe48a101aa2435af8621646a005c715a8bcd100da4131b4d41d9750a13dbcc3f259d97 WHIRLPOOL 0d9c76168b98d944ce2c8081f6fa5fcd2b3efb38236aedd6d871d39dd83413c9e6f988b755c68fa51b21a0c36c80c0a5d855b780f9479124887ccd61a60a83e8 MISC ChangeLog 5312 SHA256 f010357685f9223954fe34f3c20796336125a5bd6102bcbd444e993d2adaedf2 SHA512 330cd933cf9e2b1b31c265aaec855d4860325994423323b82ef82989ff1025ea1f15d57b543300bc4a40d0fa84eb1839fc701e43b1eeefb0e7cc0c3a0c55023e WHIRLPOOL 565e7d90ffb316d756cfe0e5ac765d36f24a8ce6e6546035728b33d8e89ddc5058eee3551f15b30639393ed23d20aaaa0446e349ae32cb63231b8829f57082de MISC metadata.xml 442 SHA256 54a092acaca9174ccf4e05797557b4a473c390e8ab8686b307a5f430c6cd3431 SHA512 b08ad92c1c749a92b4ac1df7f6381da6c6193770069516e713c5634db8c953477bee3a605d63ad2ef58a6547f6d8fdccd28a2efb6bf703373fd6e6f2a7f37bd1 WHIRLPOOL d2c2f89b4def9d1453ac2ee92de4df77cfc19167e6e24d9bace6c48e13b814d5791fbaa45daf01b125fe0788b424ee162080abbde224b3518f61f0c99ea76c79 diff --git a/media-libs/spandsp/files/spandsp-0.0.6_pre21-sse4x.patch b/media-libs/spandsp/files/spandsp-0.0.6_pre21-sse4x.patch new file mode 100644 index 0000000..d4d3e2e --- /dev/null +++ b/media-libs/spandsp/files/spandsp-0.0.6_pre21-sse4x.patch @@ -0,0 +1,15 @@ +--- spandsp-0.0.6/configure.orig 2013-03-10 20:43:59.727318070 +0400 ++++ spandsp-0.0.6/configure 2011-01-22 10:49:54.000000000 +0300 +@@ -31460,10 +31460,10 @@ + COMP_VENDOR_CFLAGS="-msse4a $COMP_VENDOR_CFLAGS" + fi + if test "$enable_sse4_2" = "yes" ; then +- COMP_VENDOR_CFLAGS="-msse4.2 $COMP_VENDOR_CFLAGS" ++ COMP_VENDOR_CFLAGS="-msse42 $COMP_VENDOR_CFLAGS" + fi + if test "$enable_sse4_1" = "yes" ; then +- COMP_VENDOR_CFLAGS="-msse4.1 $COMP_VENDOR_CFLAGS" ++ COMP_VENDOR_CFLAGS="-msse41 $COMP_VENDOR_CFLAGS" + fi + if test "$enable_ssse3" = "yes" ; then + COMP_VENDOR_CFLAGS="-mssse3 $COMP_VENDOR_CFLAGS" diff --git a/media-libs/spandsp/spandsp-0.0.6_pre21.ebuild b/media-libs/spandsp/spandsp-0.0.6_pre21.ebuild index 9ebde48..aba9b75 100644 --- a/media-libs/spandsp/spandsp-0.0.6_pre21.ebuild +++ b/media-libs/spandsp/spandsp-0.0.6_pre21.ebuild @@ -2,9 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-libs/spandsp/spandsp-0.0.6_pre21.ebuild,v 1.1 2013/02/06 23:20:19 mattst88 Exp $ -EAPI="2" +EAPI="5" -inherit multilib versionator +inherit base multilib versionator DESCRIPTION="SpanDSP is a library of DSP functions for telephony." HOMEPAGE="http://www.soft-switch.org/" @@ -22,6 +22,8 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${PN}-$(get_version_component_range 1-3) +PATCHES=( "${FILESDIR}/${P}-sse4x.patch" ) + # TODO: # there are two tests options: tests and test-data # they need audiofile, fftw, libxml and probably more @@ -44,8 +46,8 @@ src_configure() { } src_install () { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc AUTHORS ChangeLog DueDiligence NEWS README || die "dodoc failed" + emake DESTDIR="${D}" install + dodoc AUTHORS ChangeLog DueDiligence NEWS README if ! use static-libs; then # remove useless la file when not installing static lib @@ -53,6 +55,6 @@ src_install () { fi if use doc; then - dohtml -r doc/{api/html/*,t38_manual} || die "dohtml failed" + dohtml -r doc/{api/html/*,t38_manual} fi } -- cgit v1.2.3-65-gdbad