[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2023-06-25 Thread Miroslav Šulc
commit: 692947091263e8a2eef77a8d2fe3eeafea59625e
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Sun Jun 25 06:56:37 2023 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Sun Jun 25 06:56:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69294709

media-libs/speex: dropped obsolete 1.2.1

Bug: https://bugs.gentoo.org/909059
Signed-off-by: Miroslav Šulc  gentoo.org>

 media-libs/speex/speex-1.2.1.ebuild | 78 -
 1 file changed, 78 deletions(-)

diff --git a/media-libs/speex/speex-1.2.1.ebuild 
b/media-libs/speex/speex-1.2.1.ebuild
deleted file mode 100644
index 7e05ad3f6355..
--- a/media-libs/speex/speex-1.2.1.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools flag-o-matic multilib-minimal
-
-MY_P=${P/_}
-MY_P=${MY_P/_p/.}
-
-DESCRIPTION="Audio compression format designed for speech"
-HOMEPAGE="https://www.speex.org/;
-SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz;
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
utils valgrind +vbr"
-
-RDEPEND="
-   utils? (
-   media-libs/libogg:=
-   media-libs/speexdsp[${MULTILIB_USEDEP}]
-   )"
-DEPEND="
-   ${RDEPEND}
-   valgrind? ( dev-util/valgrind )
-"
-BDEPEND="virtual/pkgconfig"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.2.0-configure.patch
-   "${FILESDIR}"/${PN}-1.2.1-valgrind.patch
-)
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e 's:noinst_PROGRAMS:check_PROGRAMS:' \
-   libspeex/Makefile.am || die
-
-   eautoreconf
-}
-
-multilib_src_configure() {
-   append-lfs-flags
-
-   local FIXED_ARG="--disable-fixed-point"
-   local ARM4_ARG="--disable-arm4-asm"
-   local ARM5_ARG="--disable-arm5e-asm"
-
-   if use arm && ! use cpu_flags_arm_v6; then
-   FIXED_ARG="--enable-fixed-point"
-
-   if use cpu_flags_arm_v5; then
-   ARM5_ARG="--enable-arm5e-asm"
-   elif use cpu_flags_arm_v4; then
-   ARM4_ARG="--enable-arm4-asm"
-   fi
-   fi
-
-   ECONF_SOURCE="${S}" econf \
-   --disable-static \
-   $(multilib_native_use_enable valgrind) \
-   $(use_enable cpu_flags_x86_sse sse) \
-   $(use_enable vbr) \
-   $(use_with utils speexdsp) \
-   $(use_enable utils binaries) \
-   ${FIXED_ARG} ${ARM4_ARG} ${ARM5_ARG}
-}
-
-multilib_src_install_all() {
-   einstalldocs
-   find "${ED}" -name '*.la' -type f -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2023-06-24 Thread Jakov Smolić
commit: 4cb24b3a3e5807d10d53f6e914604e52fcc3472e
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sat Jun 24 06:48:44 2023 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sat Jun 24 06:48:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cb24b3a

media-libs/speex: Stabilize 1.2.1-r2 ppc, #909059

Signed-off-by: Jakov Smolić  gentoo.org>

 media-libs/speex/speex-1.2.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/speex/speex-1.2.1-r2.ebuild 
b/media-libs/speex/speex-1.2.1-r2.ebuild
index 5eefdb714df2..5957ec22049d 100644
--- a/media-libs/speex/speex-1.2.1-r2.ebuild
+++ b/media-libs/speex/speex-1.2.1-r2.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
utils valgrind +vbr"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2023-06-24 Thread Sam James
commit: 5bce442f3a83d07bf6b90052c6099cf58020e943
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun 24 06:44:55 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 24 06:44:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bce442f

media-libs/speex: Stabilize 1.2.1-r2 arm64, #909059

Signed-off-by: Sam James  gentoo.org>

 media-libs/speex/speex-1.2.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/speex/speex-1.2.1-r2.ebuild 
b/media-libs/speex/speex-1.2.1-r2.ebuild
index d9526d00010b..1b2ecf903964 100644
--- a/media-libs/speex/speex-1.2.1-r2.ebuild
+++ b/media-libs/speex/speex-1.2.1-r2.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
utils valgrind +vbr"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2023-06-24 Thread Sam James
commit: b826c50fc14de59e0bdc483069d426f1f84a9720
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun 24 06:44:56 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 24 06:44:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b826c50f

media-libs/speex: Stabilize 1.2.1-r2 arm, #909059

Signed-off-by: Sam James  gentoo.org>

 media-libs/speex/speex-1.2.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/speex/speex-1.2.1-r2.ebuild 
b/media-libs/speex/speex-1.2.1-r2.ebuild
index 1b2ecf903964..5eefdb714df2 100644
--- a/media-libs/speex/speex-1.2.1-r2.ebuild
+++ b/media-libs/speex/speex-1.2.1-r2.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
utils valgrind +vbr"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2023-06-24 Thread Sam James
commit: cf2189ef8c8b5901984ebb850a61472110a3e635
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun 24 06:43:33 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 24 06:43:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf2189ef

media-libs/speex: Stabilize 1.2.1-r2 x86, #909059

Signed-off-by: Sam James  gentoo.org>

 media-libs/speex/speex-1.2.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/speex/speex-1.2.1-r2.ebuild 
b/media-libs/speex/speex-1.2.1-r2.ebuild
index e19187e7560e..e16941cd306a 100644
--- a/media-libs/speex/speex-1.2.1-r2.ebuild
+++ b/media-libs/speex/speex-1.2.1-r2.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
utils valgrind +vbr"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2023-06-24 Thread Sam James
commit: 67e98d0a1e42679458347dc8e9221fdbf347de20
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun 24 06:43:37 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 24 06:43:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67e98d0a

media-libs/speex: Stabilize 1.2.1-r2 ppc64, #909059

Signed-off-by: Sam James  gentoo.org>

 media-libs/speex/speex-1.2.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/speex/speex-1.2.1-r2.ebuild 
b/media-libs/speex/speex-1.2.1-r2.ebuild
index e79d2b70375b..d9526d00010b 100644
--- a/media-libs/speex/speex-1.2.1-r2.ebuild
+++ b/media-libs/speex/speex-1.2.1-r2.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
utils valgrind +vbr"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2023-06-24 Thread Sam James
commit: 8ed0e424c9eb455457bd1aea4598c8688ae1a422
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun 24 06:43:35 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 24 06:43:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ed0e424

media-libs/speex: Stabilize 1.2.1-r2 amd64, #909059

Signed-off-by: Sam James  gentoo.org>

 media-libs/speex/speex-1.2.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/speex/speex-1.2.1-r2.ebuild 
b/media-libs/speex/speex-1.2.1-r2.ebuild
index e16941cd306a..1f588bfa3b79 100644
--- a/media-libs/speex/speex-1.2.1-r2.ebuild
+++ b/media-libs/speex/speex-1.2.1-r2.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
utils valgrind +vbr"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2023-06-24 Thread Sam James
commit: 6accefe87a69fabb9591a5f870856ac8570a49d6
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun 24 06:43:36 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 24 06:43:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6accefe8

media-libs/speex: Stabilize 1.2.1-r2 sparc, #909059

Signed-off-by: Sam James  gentoo.org>

 media-libs/speex/speex-1.2.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/speex/speex-1.2.1-r2.ebuild 
b/media-libs/speex/speex-1.2.1-r2.ebuild
index 1f588bfa3b79..e79d2b70375b 100644
--- a/media-libs/speex/speex-1.2.1-r2.ebuild
+++ b/media-libs/speex/speex-1.2.1-r2.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
utils valgrind +vbr"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2023-05-17 Thread Sam James
commit: b48ebe65007f0d5638b8e6459480de240987c317
Author: Sam James  gentoo  org>
AuthorDate: Wed May 17 07:12:45 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May 17 07:13:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b48ebe65

media-libs/speex: revbump(!) for fixed valgrind patch

Interestingly, the missing definition leaked into VALGRIND_MAKE_READABLE
because of bfd's defaults :(

Closes: https://bugs.gentoo.org/906455
Fixes: f6baa20f72862687508e23181f49972f8e428a50
Signed-off-by: Sam James  gentoo.org>

 media-libs/speex/{speex-1.2.1-r1.ebuild => speex-1.2.1-r2.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/media-libs/speex/speex-1.2.1-r1.ebuild 
b/media-libs/speex/speex-1.2.1-r2.ebuild
similarity index 100%
rename from media-libs/speex/speex-1.2.1-r1.ebuild
rename to media-libs/speex/speex-1.2.1-r2.ebuild



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/, media-libs/speex/files/

2023-05-15 Thread Sam James
commit: f6baa20f72862687508e23181f49972f8e428a50
Author: Sam James  gentoo  org>
AuthorDate: Tue May 16 03:55:13 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May 16 03:55:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6baa20f

media-libs/speex: fix valgrind build

Closes: https://bugs.gentoo.org/906455
Thanks-to: Andrei Slavoiu  yahoo.com>
Signed-off-by: Sam James  gentoo.org>

 media-libs/speex/files/speex-1.2.1-valgrind.patch | 53 +++
 media-libs/speex/speex-1.2.1-r1.ebuild|  1 +
 media-libs/speex/speex-1.2.1.ebuild   |  5 ++-
 3 files changed, 58 insertions(+), 1 deletion(-)

diff --git a/media-libs/speex/files/speex-1.2.1-valgrind.patch 
b/media-libs/speex/files/speex-1.2.1-valgrind.patch
new file mode 100644
index ..a9fd9789a127
--- /dev/null
+++ b/media-libs/speex/files/speex-1.2.1-valgrind.patch
@@ -0,0 +1,53 @@
+https://gitlab.xiph.org/xiph/speex/-/merge_requests/13
+
+From b15993fd560c90658ff2e4974e8b3a1afcfcfff2 Mon Sep 17 00:00:00 2001
+From: Andrei Slavoiu 
+Date: Tue, 16 May 2023 04:49:45 +0100
+Subject: [PATCH] Fix --enable-valgrind build
+
+VALGRIND_MAKE_READABLE has been replaced with VALGRIND_MAKE_MEM_DEFINED
+starting with version 3.2 (2006) 
https://valgrind.org/docs/manual/dist.news.old.html.
+
+Bug: https://bugs.gentoo.org/906455
+--- a/libspeex/nb_celp.c
 b/libspeex/nb_celp.c
+@@ -172,7 +172,7 @@ void *nb_encoder_init(const SpeexMode *m)
+st->highpass_enabled = 1;
+ 
+ #ifdef ENABLE_VALGRIND
+-   VALGRIND_MAKE_READABLE(st, NB_ENC_STACK);
++   VALGRIND_MAKE_MEM_DEFINED(st, NB_ENC_STACK);
+ #endif
+return st;
+ }
+@@ -1113,7 +1113,7 @@ void *nb_decoder_init(const SpeexMode *m)
+st->highpass_enabled = 1;
+ 
+ #ifdef ENABLE_VALGRIND
+-   VALGRIND_MAKE_READABLE(st, NB_DEC_STACK);
++   VALGRIND_MAKE_MEM_DEFINED(st, NB_DEC_STACK);
+ #endif
+return st;
+ }
+--- a/libspeex/sb_celp.c
 b/libspeex/sb_celp.c
+@@ -223,7 +223,7 @@ void *sb_encoder_init(const SpeexMode *m)
+speex_encoder_ctl(st->st_low, SPEEX_GET_SAMPLING_RATE, >sampling_rate);
+st->sampling_rate*=2;
+ #ifdef ENABLE_VALGRIND
+-   VALGRIND_MAKE_READABLE(st, (st->stack-(char*)st));
++   VALGRIND_MAKE_MEM_DEFINED(st, (st->stack-(char*)st));
+ #endif
+return st;
+ }
+@@ -1017,7 +1017,7 @@ void *sb_decoder_init(const SpeexMode *m)
+st->seed = 1000;
+ 
+ #ifdef ENABLE_VALGRIND
+-   VALGRIND_MAKE_READABLE(st, (st->stack-(char*)st));
++   VALGRIND_MAKE_MEM_DEFINED(st, (st->stack-(char*)st));
+ #endif
+return st;
+ }
+-- 
+GitLab

diff --git a/media-libs/speex/speex-1.2.1-r1.ebuild 
b/media-libs/speex/speex-1.2.1-r1.ebuild
index c966d61c2a6e..f84f46069fda 100644
--- a/media-libs/speex/speex-1.2.1-r1.ebuild
+++ b/media-libs/speex/speex-1.2.1-r1.ebuild
@@ -33,6 +33,7 @@ S="${WORKDIR}/${MY_P}"
 PATCHES=(
"${FILESDIR}"/${PN}-1.2.0-configure.patch
"${FILESDIR}"/${P}-vla-detection.patch
+   "${FILESDIR}"/${PN}-1.2.1-valgrind.patch
 )
 
 src_prepare() {

diff --git a/media-libs/speex/speex-1.2.1.ebuild 
b/media-libs/speex/speex-1.2.1.ebuild
index eecc7ebf0031..a79308db25b2 100644
--- a/media-libs/speex/speex-1.2.1.ebuild
+++ b/media-libs/speex/speex-1.2.1.ebuild
@@ -30,7 +30,10 @@ BDEPEND="virtual/pkgconfig"
 
 S="${WORKDIR}/${MY_P}"
 
-PATCHES=( "${FILESDIR}"/${PN}-1.2.0-configure.patch )
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.2.0-configure.patch
+   "${FILESDIR}"/${PN}-1.2.1-valgrind.patch
+)
 
 src_prepare() {
default



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/, media-libs/speex/files/

2023-05-15 Thread Sam James
commit: c6e05e88a81cd19c57175f4dc91e9dec0befc227
Author: Sam James  gentoo  org>
AuthorDate: Mon May 15 06:42:42 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May 15 06:47:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6e05e88

media-libs/speex: modernise ebuild; fix configure issue; simplify multilib

- Modernise ebuild (use an array etc for econf)
- Backport an upstream patch to fix configure typo for C99 VLA detection
- Simplify/speed up multilib build by not building thrown-away utilities
(only needed for native ABI).

Signed-off-by: Sam James  gentoo.org>

 .../speex/files/speex-1.2.1-vla-detection.patch| 27 
 media-libs/speex/speex-1.2.1-r1.ebuild | 81 ++
 2 files changed, 108 insertions(+)

diff --git a/media-libs/speex/files/speex-1.2.1-vla-detection.patch 
b/media-libs/speex/files/speex-1.2.1-vla-detection.patch
new file mode 100644
index ..1b3826f8b25e
--- /dev/null
+++ b/media-libs/speex/files/speex-1.2.1-vla-detection.patch
@@ -0,0 +1,27 @@
+https://gitlab.xiph.org/xiph/speex/-/commit/5b036b2ca5e27004502e67ee20490a16f5e68aa1
+
+From 5b036b2ca5e27004502e67ee20490a16f5e68aa1 Mon Sep 17 00:00:00 2001
+From: Kai Pastor 
+Date: Wed, 24 Aug 2022 20:14:31 +0200
+Subject: [PATCH] Fix vla detection
+
+Signed-off-by: Tristan Matthews 
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index d94c2feb..b8131482 100644
+--- a/configure.ac
 b/configure.ac
+@@ -37,7 +37,7 @@ AC_C_RESTRICT
+ 
+ 
+ AC_MSG_CHECKING(for C99 variable-size arrays)
+-+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[
++AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[
+ int foo;
+ foo = 10;
+ int array[foo];
+-- 
+GitLab

diff --git a/media-libs/speex/speex-1.2.1-r1.ebuild 
b/media-libs/speex/speex-1.2.1-r1.ebuild
new file mode 100644
index ..c966d61c2a6e
--- /dev/null
+++ b/media-libs/speex/speex-1.2.1-r1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic multilib-minimal
+
+MY_P=${P/_}
+MY_P=${MY_P/_p/.}
+
+DESCRIPTION="Audio compression format designed for speech"
+HOMEPAGE="https://www.speex.org/;
+SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz;
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x86-solaris"
+IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
utils valgrind +vbr"
+
+RDEPEND="
+   utils? (
+   media-libs/libogg:=
+   media-libs/speexdsp[${MULTILIB_USEDEP}]
+   )"
+DEPEND="
+   ${RDEPEND}
+   valgrind? ( dev-util/valgrind )
+"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.2.0-configure.patch
+   "${FILESDIR}"/${P}-vla-detection.patch
+)
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e 's:noinst_PROGRAMS:check_PROGRAMS:' \
+   libspeex/Makefile.am || die
+
+   eautoreconf
+}
+
+multilib_src_configure() {
+   append-lfs-flags
+
+   local myeconfargs=(
+   $(multilib_native_use_enable valgrind)
+   $(use_enable cpu_flags_x86_sse sse)
+   $(use_enable vbr)
+   $(multilib_native_use_with utils speexdsp)
+   $(multilib_native_use_enable utils binaries)
+   )
+
+   local FIXED_ARG="--disable-fixed-point"
+   local ARM4_ARG="--disable-arm4-asm"
+   local ARM5_ARG="--disable-arm5e-asm"
+
+   if use arm && ! use cpu_flags_arm_v6; then
+   FIXED_ARG="--enable-fixed-point"
+
+   if use cpu_flags_arm_v5; then
+   ARM5_ARG="--enable-arm5e-asm"
+   elif use cpu_flags_arm_v4; then
+   ARM4_ARG="--enable-arm4-asm"
+   fi
+   fi
+
+   myeconfargs+=( ${FIXED_ARG} ${ARM4_ARG} ${ARM5_ARG} )
+
+   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_install_all() {
+   einstalldocs
+   find "${ED}" -name '*.la' -type f -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2023-05-15 Thread Sam James
commit: ebeba7fbcaa4d087144dac48700a1fec7aa54875
Author: Sam James  gentoo  org>
AuthorDate: Mon May 15 06:34:09 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May 15 06:47:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebeba7fb

media-libs/speex: add Valgrind annotation support

Signed-off-by: Sam James  gentoo.org>

 media-libs/speex/speex-1.2.1.ebuild | 10 +++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/media-libs/speex/speex-1.2.1.ebuild 
b/media-libs/speex/speex-1.2.1.ebuild
index 6bd0527aef26..eecc7ebf0031 100644
--- a/media-libs/speex/speex-1.2.1.ebuild
+++ b/media-libs/speex/speex-1.2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -15,14 +15,17 @@ 
SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz;
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x86-solaris"
-IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
utils +vbr"
+IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
utils valgrind +vbr"
 
 RDEPEND="
utils? (
media-libs/libogg:=
media-libs/speexdsp[${MULTILIB_USEDEP}]
)"
-DEPEND="${RDEPEND}"
+DEPEND="
+   ${RDEPEND}
+   valgrind? ( dev-util/valgrind )
+"
 BDEPEND="virtual/pkgconfig"
 
 S="${WORKDIR}/${MY_P}"
@@ -58,6 +61,7 @@ multilib_src_configure() {
 
ECONF_SOURCE="${S}" econf \
--disable-static \
+   $(multilib_native_use_enable valgrind) \
$(use_enable cpu_flags_x86_sse sse) \
$(use_enable vbr) \
$(use_with utils speexdsp) \



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2023-01-22 Thread Sam James
commit: 9ab73236b77bf549183a8de6319b25a853f6ac42
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan 23 03:29:17 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan 23 03:29:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ab73236

media-libs/speex: add github upstream metadata

Signed-off-by: Sam James  gentoo.org>

 media-libs/speex/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-libs/speex/metadata.xml b/media-libs/speex/metadata.xml
index ea423248499b..ac2564db25cb 100644
--- a/media-libs/speex/metadata.xml
+++ b/media-libs/speex/metadata.xml
@@ -7,6 +7,7 @@
   
   
 cpe:/a:xiph:speex
+xiph/speex
   
   
 Enables speex commandline utilities (speexenc, 
speexdec).



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2022-07-26 Thread Miroslav Šulc
commit: d318b64c85d4233bc49315872da15f844e511f50
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Wed Jul 27 05:02:10 2022 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Wed Jul 27 05:02:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d318b64c

media-libs/speex: dropped obsolete 1.2.0-r2

Bug: https://bugs.gentoo.org/861104
Signed-off-by: Miroslav Šulc  gentoo.org>

 media-libs/speex/Manifest  |  1 -
 media-libs/speex/speex-1.2.0-r2.ebuild | 71 --
 2 files changed, 72 deletions(-)

diff --git a/media-libs/speex/Manifest b/media-libs/speex/Manifest
index ddba3d957b9c..9c6f5eaa652c 100644
--- a/media-libs/speex/Manifest
+++ b/media-libs/speex/Manifest
@@ -1,2 +1 @@
-DIST speex-1.2.0.tar.gz 1047080 BLAKE2B 
928e044e1195d4d977497cd1275a07323df233ee85e3ec188f362720f96303c2fc2002c1147c2ac93ca03570ff98428d983eb7d00439c9cdbe131041d9aa2697
 SHA512 
7fe10838c7d1bafcbe42295b82b79262420dba793b8a4388e2f73a3007850b5572face1b5308d9f4e8d7dfc9cb1c016cbad88cd65b2892667986107ed946836b
 DIST speex-1.2.1.tar.gz 1043278 BLAKE2B 
60afa7eb9ff87ebb1b69e2716b7fa6727b49f6c06ed6eb6fe81236c65dc4128769618dd1f4df31af56a00e9b766c4050c1b3e415c8f972d64d1fb9e7a537a650
 SHA512 
52e00300df82e1c7fb527b245af02b99a1f37faef74d004b7cd981052f1aa22a412cb18f5c7a5618df4c958f727c97eb7385beec99d68548d5b02e76192d4e0a

diff --git a/media-libs/speex/speex-1.2.0-r2.ebuild 
b/media-libs/speex/speex-1.2.0-r2.ebuild
deleted file mode 100644
index 610cbdba7d08..
--- a/media-libs/speex/speex-1.2.0-r2.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools flag-o-matic multilib-minimal
-
-MY_P=${P/_}
-MY_P=${MY_P/_p/.}
-
-DESCRIPTION="Audio compression format designed for speech"
-HOMEPAGE="https://www.speex.org/;
-SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz;
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x86-solaris"
-IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
utils +vbr"
-
-RDEPEND="
-   utils? (
-   media-libs/libogg:=
-   media-libs/speexdsp[${MULTILIB_USEDEP}]
-   )"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=( "${FILESDIR}"/${P}-configure.patch )
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e 's:noinst_PROGRAMS:check_PROGRAMS:' \
-   libspeex/Makefile.am || die
-
-   eautoreconf
-}
-
-multilib_src_configure() {
-   append-lfs-flags
-
-   local FIXED_ARG="--disable-fixed-point"
-   local ARM4_ARG="--disable-arm4-asm"
-   local ARM5_ARG="--disable-arm5e-asm"
-
-   if use arm && ! use cpu_flags_arm_v6; then
-   FIXED_ARG="--enable-fixed-point"
-
-   if use cpu_flags_arm_v5; then
-   ARM5_ARG="--enable-arm5e-asm"
-   elif use cpu_flags_arm_v4; then
-   ARM4_ARG="--enable-arm4-asm"
-   fi
-   fi
-
-   ECONF_SOURCE="${S}" econf \
-   --disable-static \
-   $(use_enable cpu_flags_x86_sse sse) \
-   $(use_enable vbr) \
-   $(use_with utils speexdsp) \
-   $(use_enable utils binaries) \
-   ${FIXED_ARG} ${ARM4_ARG} ${ARM5_ARG}
-}
-
-multilib_src_install_all() {
-   einstalldocs
-   find "${ED}" -name '*.la' -type f -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2022-07-26 Thread Agostino Sarubbo
commit: e3571ee307ce74c15578f33e8f11a05caebe15b9
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Jul 26 15:20:05 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Jul 26 15:20:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3571ee3

media-libs/speex: ppc64 stable wrt bug #861104

Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/speex/speex-1.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/speex/speex-1.2.1.ebuild 
b/media-libs/speex/speex-1.2.1.ebuild
index f8d574f32825..6bd0527aef26 100644
--- a/media-libs/speex/speex-1.2.1.ebuild
+++ b/media-libs/speex/speex-1.2.1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x86-solaris"
 IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
utils +vbr"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2022-07-26 Thread Agostino Sarubbo
commit: 619a1ce06d79c81479ab04e2e60eeb5eb0ba3854
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Jul 26 15:18:58 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Jul 26 15:18:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=619a1ce0

media-libs/speex: ppc stable wrt bug #861104

Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/speex/speex-1.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/speex/speex-1.2.1.ebuild 
b/media-libs/speex/speex-1.2.1.ebuild
index 2caee2d80b54..f8d574f32825 100644
--- a/media-libs/speex/speex-1.2.1.ebuild
+++ b/media-libs/speex/speex-1.2.1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x86-solaris"
 IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
utils +vbr"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2022-07-26 Thread Agostino Sarubbo
commit: 8e85cd1b95fd0b5a5dc82a0c65f45d7aee4961ed
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Jul 26 15:17:47 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Jul 26 15:17:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e85cd1b

media-libs/speex: arm64 stable wrt bug #861104

Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/speex/speex-1.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/speex/speex-1.2.1.ebuild 
b/media-libs/speex/speex-1.2.1.ebuild
index 62692149b538..2caee2d80b54 100644
--- a/media-libs/speex/speex-1.2.1.ebuild
+++ b/media-libs/speex/speex-1.2.1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x86-solaris"
 IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
utils +vbr"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2022-07-26 Thread Agostino Sarubbo
commit: 2edb25ea2ef0c4e0ea1c4e3cf4b0189e71fe8904
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Jul 26 15:16:42 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Jul 26 15:16:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2edb25ea

media-libs/speex: arm stable wrt bug #861104

Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/speex/speex-1.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/speex/speex-1.2.1.ebuild 
b/media-libs/speex/speex-1.2.1.ebuild
index 3a18b628ee4d..62692149b538 100644
--- a/media-libs/speex/speex-1.2.1.ebuild
+++ b/media-libs/speex/speex-1.2.1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x86-solaris"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x86-solaris"
 IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
utils +vbr"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2022-07-26 Thread Sam James
commit: 31386a9a73ad4a088fc4ea0806b9d796c1c37c41
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 26 07:04:59 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 26 07:04:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31386a9a

media-libs/speex: Stabilize 1.2.1 sparc, #861104

Signed-off-by: Sam James  gentoo.org>

 media-libs/speex/speex-1.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/speex/speex-1.2.1.ebuild 
b/media-libs/speex/speex-1.2.1.ebuild
index 24910537fb85..3a18b628ee4d 100644
--- a/media-libs/speex/speex-1.2.1.ebuild
+++ b/media-libs/speex/speex-1.2.1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x86-solaris"
 IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
utils +vbr"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2022-07-26 Thread Sam James
commit: c77eb5417c173dadbfe6633436f81531191e4f2b
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 26 07:03:15 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 26 07:03:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c77eb541

media-libs/speex: Stabilize 1.2.1 amd64, #861104

Signed-off-by: Sam James  gentoo.org>

 media-libs/speex/speex-1.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/speex/speex-1.2.1.ebuild 
b/media-libs/speex/speex-1.2.1.ebuild
index c8a727c5743d..1b3a8c92dd80 100644
--- a/media-libs/speex/speex-1.2.1.ebuild
+++ b/media-libs/speex/speex-1.2.1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x86-solaris"
 IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
utils +vbr"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2022-07-26 Thread Sam James
commit: 6b80a4231fd1803f4668a5dc969967dd3ca75cfc
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 26 07:03:40 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 26 07:03:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b80a423

media-libs/speex: Stabilize 1.2.1 x86, #861104

Signed-off-by: Sam James  gentoo.org>

 media-libs/speex/speex-1.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/speex/speex-1.2.1.ebuild 
b/media-libs/speex/speex-1.2.1.ebuild
index 1b3a8c92dd80..24910537fb85 100644
--- a/media-libs/speex/speex-1.2.1.ebuild
+++ b/media-libs/speex/speex-1.2.1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x86-solaris"
 IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
utils +vbr"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2022-06-25 Thread Miroslav Šulc
commit: 9ca1ee15663a0a1b92c9f34dc120cc2465fe4cbc
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Sat Jun 25 09:17:08 2022 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Sat Jun 25 09:17:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ca1ee15

media-libs/speex: bump to 1.2.1, eapi8

Signed-off-by: Miroslav Šulc  gentoo.org>

 media-libs/speex/Manifest   |  1 +
 media-libs/speex/speex-1.2.1.ebuild | 71 +
 2 files changed, 72 insertions(+)

diff --git a/media-libs/speex/Manifest b/media-libs/speex/Manifest
index 2f4a54298789..ddba3d957b9c 100644
--- a/media-libs/speex/Manifest
+++ b/media-libs/speex/Manifest
@@ -1 +1,2 @@
 DIST speex-1.2.0.tar.gz 1047080 BLAKE2B 
928e044e1195d4d977497cd1275a07323df233ee85e3ec188f362720f96303c2fc2002c1147c2ac93ca03570ff98428d983eb7d00439c9cdbe131041d9aa2697
 SHA512 
7fe10838c7d1bafcbe42295b82b79262420dba793b8a4388e2f73a3007850b5572face1b5308d9f4e8d7dfc9cb1c016cbad88cd65b2892667986107ed946836b
+DIST speex-1.2.1.tar.gz 1043278 BLAKE2B 
60afa7eb9ff87ebb1b69e2716b7fa6727b49f6c06ed6eb6fe81236c65dc4128769618dd1f4df31af56a00e9b766c4050c1b3e415c8f972d64d1fb9e7a537a650
 SHA512 
52e00300df82e1c7fb527b245af02b99a1f37faef74d004b7cd981052f1aa22a412cb18f5c7a5618df4c958f727c97eb7385beec99d68548d5b02e76192d4e0a

diff --git a/media-libs/speex/speex-1.2.1.ebuild 
b/media-libs/speex/speex-1.2.1.ebuild
new file mode 100644
index ..c8a727c5743d
--- /dev/null
+++ b/media-libs/speex/speex-1.2.1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic multilib-minimal
+
+MY_P=${P/_}
+MY_P=${MY_P/_p/.}
+
+DESCRIPTION="Audio compression format designed for speech"
+HOMEPAGE="https://www.speex.org/;
+SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz;
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x86-solaris"
+IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
utils +vbr"
+
+RDEPEND="
+   utils? (
+   media-libs/libogg:=
+   media-libs/speexdsp[${MULTILIB_USEDEP}]
+   )"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.2.0-configure.patch )
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e 's:noinst_PROGRAMS:check_PROGRAMS:' \
+   libspeex/Makefile.am || die
+
+   eautoreconf
+}
+
+multilib_src_configure() {
+   append-lfs-flags
+
+   local FIXED_ARG="--disable-fixed-point"
+   local ARM4_ARG="--disable-arm4-asm"
+   local ARM5_ARG="--disable-arm5e-asm"
+
+   if use arm && ! use cpu_flags_arm_v6; then
+   FIXED_ARG="--enable-fixed-point"
+
+   if use cpu_flags_arm_v5; then
+   ARM5_ARG="--enable-arm5e-asm"
+   elif use cpu_flags_arm_v4; then
+   ARM4_ARG="--enable-arm4-asm"
+   fi
+   fi
+
+   ECONF_SOURCE="${S}" econf \
+   --disable-static \
+   $(use_enable cpu_flags_x86_sse sse) \
+   $(use_enable vbr) \
+   $(use_with utils speexdsp) \
+   $(use_enable utils binaries) \
+   ${FIXED_ARG} ${ARM4_ARG} ${ARM5_ARG}
+}
+
+multilib_src_install_all() {
+   einstalldocs
+   find "${ED}" -name '*.la' -type f -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2022-05-25 Thread WANG Xuerui
commit: 2477dee9ab14d38e04f8a26addfe1b3f4ac9f216
Author: WANG Xuerui  gentoo  org>
AuthorDate: Thu May 26 04:06:38 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Thu May 26 04:44:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2477dee9

media-libs/speex: keyword 1.2.0-r2 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 media-libs/speex/speex-1.2.0-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/speex/speex-1.2.0-r2.ebuild 
b/media-libs/speex/speex-1.2.0-r2.ebuild
index e0ee8cb39de5..610cbdba7d08 100644
--- a/media-libs/speex/speex-1.2.0-r2.ebuild
+++ b/media-libs/speex/speex-1.2.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,7 +14,7 @@ 
SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x86-solaris"
 IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
utils +vbr"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2021-08-10 Thread Marek Szuba
commit: e22bd4e39d8c9f5b73bfd4d2957a683827fceaf0
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue Aug 10 17:53:22 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue Aug 10 18:06:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e22bd4e3

media-libs/speex: keyword 1.2.0-r2 for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 media-libs/speex/speex-1.2.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/speex/speex-1.2.0-r2.ebuild 
b/media-libs/speex/speex-1.2.0-r2.ebuild
index 6ab5df260cc..e0ee8cb39de 100644
--- a/media-libs/speex/speex-1.2.0-r2.ebuild
+++ b/media-libs/speex/speex-1.2.0-r2.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
 IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
utils +vbr"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2021-01-23 Thread Andreas Sturmlechner
commit: fc96ebe29a568af44f75290dfb88356982a35d4e
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Jan 23 17:32:07 2021 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Jan 23 21:11:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc96ebe2

media-libs/speex: Drop 1.2.0-r1

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-libs/speex/speex-1.2.0-r1.ebuild | 71 --
 1 file changed, 71 deletions(-)

diff --git a/media-libs/speex/speex-1.2.0-r1.ebuild 
b/media-libs/speex/speex-1.2.0-r1.ebuild
deleted file mode 100644
index 0500c287678..000
--- a/media-libs/speex/speex-1.2.0-r1.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit autotools flag-o-matic multilib-minimal
-
-MY_P=${P/_}
-MY_P=${MY_P/_p/.}
-
-DESCRIPTION="Audio compression format designed for speech"
-HOMEPAGE="https://www.speex.org/;
-SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz;
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
-IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
static-libs utils +vbr"
-
-RDEPEND="
-   utils? (
-   media-libs/libogg:=
-   media-libs/speexdsp[${MULTILIB_USEDEP}]
-   )"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig"
-
-S=${WORKDIR}/${MY_P}
-
-PATCHES=( "${FILESDIR}/${P}-configure.patch" )
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e 's:noinst_PROGRAMS:check_PROGRAMS:' \
-   libspeex/Makefile.am || die
-
-   eautoreconf
-}
-
-multilib_src_configure() {
-   append-lfs-flags
-
-   local \
-   FIXED_ARG=--disable-fixed-point \
-   ARM4_ARG=--disable-arm4-asm \
-   ARM5_ARG=--disable-arm5e-asm
-
-   if use arm && ! use cpu_flags_arm_v6; then
-   FIXED_ARG=--enable-fixed-point
-
-   if use cpu_flags_arm_v5; then
-   ARM5_ARG=--enable-arm5e-asm
-   elif use cpu_flags_arm_v4; then
-   ARM4_ARG=--enable-arm4-asm
-   fi
-   fi
-
-   ECONF_SOURCE="${S}" econf \
-   $(use_enable static-libs static) \
-   $(use_enable cpu_flags_x86_sse sse) \
-   $(use_enable vbr) \
-   $(use_with utils speexdsp) \
-   $(use_enable utils binaries) \
-   ${FIXED_ARG} ${ARM4_ARG} ${ARM5_ARG}
-}
-
-multilib_src_install_all() {
-   default
-   find "${D}" -name '*.la' -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2021-01-06 Thread Fabian Groffen
commit: 436e77eb64935bd7e4b2c35a332e0e2c2b8d1452
Author: Fabian Groffen  gentoo  org>
AuthorDate: Wed Jan  6 14:24:55 2021 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Wed Jan  6 14:26:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=436e77eb

media-libs/speex: drop x86-macos

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Fabian Groffen  gentoo.org>

 media-libs/speex/speex-1.2.0-r1.ebuild | 4 ++--
 media-libs/speex/speex-1.2.0-r2.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-libs/speex/speex-1.2.0-r1.ebuild 
b/media-libs/speex/speex-1.2.0-r1.ebuild
index 341b33f9e00..0500c287678 100644
--- a/media-libs/speex/speex-1.2.0-r1.ebuild
+++ b/media-libs/speex/speex-1.2.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -13,7 +13,7 @@ 
SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
 IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
static-libs utils +vbr"
 
 RDEPEND="

diff --git a/media-libs/speex/speex-1.2.0-r2.ebuild 
b/media-libs/speex/speex-1.2.0-r2.ebuild
index c6d40ee3ccb..6ab5df260cc 100644
--- a/media-libs/speex/speex-1.2.0-r2.ebuild
+++ b/media-libs/speex/speex-1.2.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,7 +14,7 @@ 
SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
 IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
utils +vbr"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2020-12-21 Thread Sergei Trofimovich
commit: 148f727ad5fb91577b3a0663958b464c5c9ccb75
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Dec 21 09:35:33 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Dec 21 09:36:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=148f727a

media-libs/speex: stable 1.2.0-r2 for hppa

stable wrt bug #758287

Package-Manager: Portage-3.0.12, Repoman-3.0.2
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 media-libs/speex/speex-1.2.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/speex/speex-1.2.0-r2.ebuild 
b/media-libs/speex/speex-1.2.0-r2.ebuild
index c6d40ee3ccb..4a46ec58cd0 100644
--- a/media-libs/speex/speex-1.2.0-r2.ebuild
+++ b/media-libs/speex/speex-1.2.0-r2.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~x86-solaris"
 IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
utils +vbr"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2020-12-16 Thread Sam James
commit: 9b1da9f3a918625bd3b481815b128648ae0092d3
Author: Sam James  gentoo  org>
AuthorDate: Wed Dec 16 11:12:09 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Dec 16 11:12:09 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b1da9f3

media-libs/speex: Stabilize 1.2.0-r2 amd64, #758287

Signed-off-by: Sam James  gentoo.org>

 media-libs/speex/speex-1.2.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/speex/speex-1.2.0-r2.ebuild 
b/media-libs/speex/speex-1.2.0-r2.ebuild
index 28948a702ac..c6d40ee3ccb 100644
--- a/media-libs/speex/speex-1.2.0-r2.ebuild
+++ b/media-libs/speex/speex-1.2.0-r2.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~x86-solaris"
 IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
utils +vbr"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2020-12-06 Thread Sam James
commit: 9c73198065d71d303b59061b8ebcb8c17bd65cab
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec  6 21:38:07 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec  6 21:38:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c731980

media-libs/speex: Stabilize 1.2.0-r2 arm64, #758287

Signed-off-by: Sam James  gentoo.org>

 media-libs/speex/speex-1.2.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/speex/speex-1.2.0-r2.ebuild 
b/media-libs/speex/speex-1.2.0-r2.ebuild
index 548ea50b45a..28948a702ac 100644
--- a/media-libs/speex/speex-1.2.0-r2.ebuild
+++ b/media-libs/speex/speex-1.2.0-r2.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~x86-solaris"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~x86-solaris"
 IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
utils +vbr"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2020-12-06 Thread Sam James
commit: 86dcf20f653f9eb67dd7ef52ddba639a074b9a95
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec  6 18:44:33 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec  6 18:44:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86dcf20f

media-libs/speex: Stabilize 1.2.0-r2 arm, #758287

Signed-off-by: Sam James  gentoo.org>

 media-libs/speex/speex-1.2.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/speex/speex-1.2.0-r2.ebuild 
b/media-libs/speex/speex-1.2.0-r2.ebuild
index 7f1907486ed..548ea50b45a 100644
--- a/media-libs/speex/speex-1.2.0-r2.ebuild
+++ b/media-libs/speex/speex-1.2.0-r2.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~x86-solaris"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~x86-solaris"
 IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
utils +vbr"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2020-12-05 Thread Sergei Trofimovich
commit: 91b6b1f79af391a85191ad6d413ada92785d6da1
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Dec  5 11:42:39 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Dec  5 11:43:37 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91b6b1f7

media-libs/speex: stable 1.2.0-r2 for sparc

stable wrt bug #758287

Package-Manager: Portage-3.0.11, Repoman-3.0.2
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 media-libs/speex/speex-1.2.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/speex/speex-1.2.0-r2.ebuild 
b/media-libs/speex/speex-1.2.0-r2.ebuild
index 205be191695..7f1907486ed 100644
--- a/media-libs/speex/speex-1.2.0-r2.ebuild
+++ b/media-libs/speex/speex-1.2.0-r2.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~x86-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~x86-solaris"
 IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
utils +vbr"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2020-12-04 Thread Sergei Trofimovich
commit: 52d6c9d7309092898eba25a321b7e13a89d6a1f5
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Dec  4 18:34:00 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Dec  4 18:37:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52d6c9d7

media-libs/speex: stable 1.2.0-r2 for ppc64

stable wrt bug #758287

Package-Manager: Portage-3.0.11, Repoman-3.0.2
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 media-libs/speex/speex-1.2.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/speex/speex-1.2.0-r2.ebuild 
b/media-libs/speex/speex-1.2.0-r2.ebuild
index fa0d696d618..205be191695 100644
--- a/media-libs/speex/speex-1.2.0-r2.ebuild
+++ b/media-libs/speex/speex-1.2.0-r2.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~x86-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~x86-solaris"
 IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
utils +vbr"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2020-12-03 Thread Thomas Deutschmann
commit: 8f70e83c91876557e88bf05e0dcd9ff53acf4e7b
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Dec  3 17:36:10 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Dec  3 17:37:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f70e83c

media-libs/speex: x86 stable (bug #758287)

Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann  gentoo.org>

 media-libs/speex/speex-1.2.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/speex/speex-1.2.0-r2.ebuild 
b/media-libs/speex/speex-1.2.0-r2.ebuild
index a1aeaecbc05..d789bf893b6 100644
--- a/media-libs/speex/speex-1.2.0-r2.ebuild
+++ b/media-libs/speex/speex-1.2.0-r2.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~x86-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~x86-solaris"
 IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
utils +vbr"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2020-11-07 Thread David Seifert
commit: 7db8834b2ea2aa89e2a28c911eb294b750941d80
Author: David Michael  gmail  com>
AuthorDate: Sat Nov  7 19:10:28 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Nov  7 19:10:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7db8834b

media-libs/speex: EAPI 7, drop static-libs

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: David Michael  gmail.com>
Signed-off-by: David Seifert  gentoo.org>

 media-libs/speex/speex-1.2.0-r2.ebuild | 71 ++
 1 file changed, 71 insertions(+)

diff --git a/media-libs/speex/speex-1.2.0-r2.ebuild 
b/media-libs/speex/speex-1.2.0-r2.ebuild
new file mode 100644
index 000..a1aeaecbc05
--- /dev/null
+++ b/media-libs/speex/speex-1.2.0-r2.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools flag-o-matic multilib-minimal
+
+MY_P=${P/_}
+MY_P=${MY_P/_p/.}
+
+DESCRIPTION="Audio compression format designed for speech"
+HOMEPAGE="https://www.speex.org/;
+SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz;
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~x86-solaris"
+IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
utils +vbr"
+
+RDEPEND="
+   utils? (
+   media-libs/libogg:=
+   media-libs/speexdsp[${MULTILIB_USEDEP}]
+   )"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=( "${FILESDIR}"/${P}-configure.patch )
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e 's:noinst_PROGRAMS:check_PROGRAMS:' \
+   libspeex/Makefile.am || die
+
+   eautoreconf
+}
+
+multilib_src_configure() {
+   append-lfs-flags
+
+   local FIXED_ARG="--disable-fixed-point"
+   local ARM4_ARG="--disable-arm4-asm"
+   local ARM5_ARG="--disable-arm5e-asm"
+
+   if use arm && ! use cpu_flags_arm_v6; then
+   FIXED_ARG="--enable-fixed-point"
+
+   if use cpu_flags_arm_v5; then
+   ARM5_ARG="--enable-arm5e-asm"
+   elif use cpu_flags_arm_v4; then
+   ARM4_ARG="--enable-arm4-asm"
+   fi
+   fi
+
+   ECONF_SOURCE="${S}" econf \
+   --disable-static \
+   $(use_enable cpu_flags_x86_sse sse) \
+   $(use_enable vbr) \
+   $(use_with utils speexdsp) \
+   $(use_enable utils binaries) \
+   ${FIXED_ARG} ${ARM4_ARG} ${ARM5_ARG}
+}
+
+multilib_src_install_all() {
+   einstalldocs
+   find "${ED}" -name '*.la' -type f -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2019-05-14 Thread Aaron Bauman
commit: be5bd42e734ee3ff7860b31292695cc0e65d9d62
Author: Aaron Bauman  gentoo  org>
AuthorDate: Tue May 14 17:48:06 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Tue May 14 17:53:05 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be5bd42e

media-libs/speex: arm64 stable

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.12
RepoMan-Options: --include-arches="arm64"

 media-libs/speex/speex-1.2.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/speex/speex-1.2.0-r1.ebuild 
b/media-libs/speex/speex-1.2.0-r1.ebuild
index 5350cb381f4..2a8671bf244 100644
--- a/media-libs/speex/speex-1.2.0-r1.ebuild
+++ b/media-libs/speex/speex-1.2.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -13,7 +13,7 @@ 
SRC_URI="https://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"
+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="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
static-libs utils +vbr"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/files/, media-libs/speex/

2018-04-30 Thread Mike Gilbert
commit: 63d714d838dcbc32e40814b80f4d684ed385d0d2
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Mon Apr 30 15:31:36 2018 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Mon Apr 30 15:39:52 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63d714d8

media-libs/speex: Delete old version (1.2_rc1-r2).

 media-libs/speex/Manifest  |  1 -
 .../speex/files/speex-1.2_rc1-r1-configure.patch   | 40 -
 media-libs/speex/speex-1.2_rc1-r2.ebuild   | 52 --
 3 files changed, 93 deletions(-)

diff --git a/media-libs/speex/Manifest b/media-libs/speex/Manifest
index 7f181475e7a..2f4a5429878 100644
--- a/media-libs/speex/Manifest
+++ b/media-libs/speex/Manifest
@@ -1,2 +1 @@
 DIST speex-1.2.0.tar.gz 1047080 BLAKE2B 
928e044e1195d4d977497cd1275a07323df233ee85e3ec188f362720f96303c2fc2002c1147c2ac93ca03570ff98428d983eb7d00439c9cdbe131041d9aa2697
 SHA512 
7fe10838c7d1bafcbe42295b82b79262420dba793b8a4388e2f73a3007850b5572face1b5308d9f4e8d7dfc9cb1c016cbad88cd65b2892667986107ed946836b
-DIST speex-1.2rc1.tar.gz 1061882 BLAKE2B 
1ce4a2c6682c7142cec64dab7075525ffb485d43f61aabab82e01333df2e59c04dba56bf8982a28dd544011dab45db03b4830430303e9610846ed79d77d69d0f
 SHA512 
bdf1ddb2d60496ab220b94c1bec7a43f267fc964fdbb5cc9f24b71b9b571f237f5ce98c1d74b02699d71a95281f4694ff464ebec25e3b135244e5b3099cb1813

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
deleted file mode 100644
index a6c9166a925..000
--- a/media-libs/speex/files/speex-1.2_rc1-r1-configure.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-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.0 +0100
-+++ speex-1.2rc1/configure.ac  2011-03-15 00:23:21.263751871 +
-@@ -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-oggEnable OGG support], [if test 
"$enableval" = yes; then
-+  XIPH_PATH_OGG([src="src"], [src=""])
-+  AC_SUBST(src)
-+fi
-+])
-+
- AC_ARG_ENABLE(sse, [  --enable-sseEnable 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/speex-1.2_rc1-r2.ebuild 
b/media-libs/speex/speex-1.2_rc1-r2.ebuild
deleted file mode 100644
index 17a13565651..000
--- a/media-libs/speex/speex-1.2_rc1-r2.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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:= )"
-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
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2018-03-22 Thread James Le Cuirot
commit: 755506b85255d86236beea42d56da56b6c85277f
Author: James Le Cuirot  gentoo  org>
AuthorDate: Thu Mar 22 20:47:53 2018 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Thu Mar 22 20:47:53 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=755506b8

media-libs/speex: Fix fixed point arithmetic on old ARM

Closes: https://bugs.gentoo.org/617322
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 media-libs/speex/speex-1.2.0-r1.ebuild | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/media-libs/speex/speex-1.2.0-r1.ebuild 
b/media-libs/speex/speex-1.2.0-r1.ebuild
index f692f00185d..f296eaea347 100644
--- a/media-libs/speex/speex-1.2.0-r1.ebuild
+++ b/media-libs/speex/speex-1.2.0-r1.ebuild
@@ -42,10 +42,13 @@ multilib_src_configure() {
append-lfs-flags
 
local \
+   FIXED_ARG=--disable-fixed-point \
ARM4_ARG=--disable-arm4-asm \
ARM5_ARG=--disable-arm5e-asm
 
if use arm && ! use cpu_flags_arm_v6; then
+   FIXED_ARG=--enable-fixed-point
+
if use cpu_flags_arm_v5; then
ARM5_ARG=--enable-arm5e-asm
elif use cpu_flags_arm_v4; then
@@ -53,15 +56,13 @@ multilib_src_configure() {
fi
fi
 
-   # Can also be configured without floating point
-   # --enable-fixed-point
ECONF_SOURCE="${S}" econf \
$(use_enable static-libs static) \
$(use_enable cpu_flags_x86_sse sse) \
$(use_enable vbr) \
$(use_with utils speexdsp) \
$(use_enable utils binaries) \
-   ${ARM4_ARG} ${ARM5_ARG}
+   ${FIXED_ARG} ${ARM4_ARG} ${ARM5_ARG}
 }
 
 multilib_src_install_all() {



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2018-03-03 Thread Tobias Klausmann
commit: 655184ca26473f6a1d4ed5bd48bf5754e9e0a499
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Sat Mar  3 12:14:08 2018 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Sat Mar  3 12:14:08 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=655184ca

media-libs/speex-1.2.0-r1: alpha stable

Gentoo-Bug: http://bugs.gentoo.org/641504

 media-libs/speex/speex-1.2.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/speex/speex-1.2.0-r1.ebuild 
b/media-libs/speex/speex-1.2.0-r1.ebuild
index 9368aa83749..f692f00185d 100644
--- a/media-libs/speex/speex-1.2.0-r1.ebuild
+++ b/media-libs/speex/speex-1.2.0-r1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://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"
+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="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
static-libs utils +vbr"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2018-02-27 Thread Sergei Trofimovich
commit: d90877832027d17108c4f3000300c0bc713098d0
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Tue Feb 27 22:25:35 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Feb 27 22:26:06 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9087783

media-libs/speex: stable 1.2.0-r1 for ppc/ppc64, bug #620176

Package-Manager: Portage-2.3.24, Repoman-2.3.6
RepoMan-Options: --include-arches="ppc ppc64"

 media-libs/speex/speex-1.2.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/speex/speex-1.2.0-r1.ebuild 
b/media-libs/speex/speex-1.2.0-r1.ebuild
index 959d53d9bd4..9368aa83749 100644
--- a/media-libs/speex/speex-1.2.0-r1.ebuild
+++ b/media-libs/speex/speex-1.2.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -13,7 +13,7 @@ 
SRC_URI="https://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"
+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="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
static-libs utils +vbr"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2017-12-24 Thread Sergei Trofimovich
commit: 4a1fc32c5469da14feb2881139ded901a4362a8d
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Dec 24 09:57:56 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Dec 24 09:59:13 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a1fc32c

media-libs/speex: stable 1.2.0-r1 for ia64, bug #641504

Package-Manager: Portage-2.3.19, Repoman-2.3.6
RepoMan-Options: --include-arches="ia64"

 media-libs/speex/speex-1.2.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/speex/speex-1.2.0-r1.ebuild 
b/media-libs/speex/speex-1.2.0-r1.ebuild
index e9094c73762..959d53d9bd4 100644
--- a/media-libs/speex/speex-1.2.0-r1.ebuild
+++ b/media-libs/speex/speex-1.2.0-r1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://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"
+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="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
static-libs utils +vbr"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2017-12-20 Thread Sergei Trofimovich
commit: f87367845a9afea931eaaeec9ab44bcc8e4be5c8
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Wed Dec 20 21:39:31 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Dec 20 21:42:24 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8736784

media-libs/speex: stable 1.2.0-r1 for sparc, bug #641504 (thanks to Rolf Eike 
Beer)

Package-Manager: Portage-2.3.19, Repoman-2.3.6
RepoMan-Options: --include-arches="sparc"

 media-libs/speex/speex-1.2.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/speex/speex-1.2.0-r1.ebuild 
b/media-libs/speex/speex-1.2.0-r1.ebuild
index 067a6748ea6..e9094c73762 100644
--- a/media-libs/speex/speex-1.2.0-r1.ebuild
+++ b/media-libs/speex/speex-1.2.0-r1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://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"
+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="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
static-libs utils +vbr"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2017-12-19 Thread Sergei Trofimovich
commit: cb3194ca2d9d215c32fac5fb7276852f6368a6fc
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Tue Dec 19 21:47:59 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Dec 19 21:48:23 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb3194ca

media-libs/speex: stable 1.2.0-r1 for hppa, bug #641504

Package-Manager: Portage-2.3.19, Repoman-2.3.6
RepoMan-Options: --include-arches="hppa"

 media-libs/speex/speex-1.2.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/speex/speex-1.2.0-r1.ebuild 
b/media-libs/speex/speex-1.2.0-r1.ebuild
index d8e39694072..067a6748ea6 100644
--- a/media-libs/speex/speex-1.2.0-r1.ebuild
+++ b/media-libs/speex/speex-1.2.0-r1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://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"
+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="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
static-libs utils +vbr"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2017-12-19 Thread Thomas Deutschmann
commit: 4ec0b68275a3f1355b6f7d2c48753b503c017b27
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Tue Dec 19 14:55:38 2017 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Tue Dec 19 15:45:08 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ec0b682

media-libs/speex: x86 stable (bug #641504)

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 media-libs/speex/speex-1.2.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/speex/speex-1.2.0-r1.ebuild 
b/media-libs/speex/speex-1.2.0-r1.ebuild
index b6de83e3abd..d8e39694072 100644
--- a/media-libs/speex/speex-1.2.0-r1.ebuild
+++ b/media-libs/speex/speex-1.2.0-r1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://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"
+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="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
static-libs utils +vbr"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2017-12-19 Thread Jason Zaman
commit: f853e33d216b16135c49a66d242d4396b6b0eb3c
Author: Jason Zaman  gentoo  org>
AuthorDate: Tue Dec 19 12:06:08 2017 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Tue Dec 19 12:07:41 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f853e33d

media-libs/speex: amd64 stable

Gentoo-bug: 641504
Package-Manager: Portage-2.3.13, Repoman-2.3.3

 media-libs/speex/speex-1.2.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/speex/speex-1.2.0-r1.ebuild 
b/media-libs/speex/speex-1.2.0-r1.ebuild
index 0c0c99a1cdf..b6de83e3abd 100644
--- a/media-libs/speex/speex-1.2.0-r1.ebuild
+++ b/media-libs/speex/speex-1.2.0-r1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://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"
+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="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
static-libs utils +vbr"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2017-12-17 Thread Andreas Sturmlechner
commit: 0ee77107268bfd47d2675271afee630a123047f8
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Dec 17 22:21:11 2017 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Dec 17 22:21:46 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ee77107

media-libs/speex: Switch to https

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 media-libs/speex/speex-1.2.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/speex/speex-1.2.0-r1.ebuild 
b/media-libs/speex/speex-1.2.0-r1.ebuild
index bf424f56d19..0c0c99a1cdf 100644
--- a/media-libs/speex/speex-1.2.0-r1.ebuild
+++ b/media-libs/speex/speex-1.2.0-r1.ebuild
@@ -8,8 +8,8 @@ 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;
+HOMEPAGE="https://www.speex.org/;
+SRC_URI="https://downloads.xiph.org/releases/speex/${MY_P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2017-08-30 Thread James Le Cuirot
commit: 88db124b3f3ed7eaaead23a888fbb01dad93eeab
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sat Aug 26 10:14:52 2017 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Wed Aug 30 21:29:24 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88db124b

media-libs/speex: Use CPU_FLAGS_ARM and fix logic on armv6+ (#617322)

Package-Manager: Portage-2.3.8, Repoman-2.3.2

 media-libs/speex/metadata.xml  |  1 -
 media-libs/speex/speex-1.2.0-r1.ebuild | 19 +++
 2 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/media-libs/speex/metadata.xml b/media-libs/speex/metadata.xml
index 7617efb0161..deddfd6ac1a 100644
--- a/media-libs/speex/metadata.xml
+++ b/media-libs/speex/metadata.xml
@@ -9,7 +9,6 @@
 cpe:/a:xiph:speex
   
   
-Enables optimizations for armv5te processors.
 Enables speex commandline utilities (speexenc, 
speexdec).
 Enable VBR support.
   

diff --git a/media-libs/speex/speex-1.2.0-r1.ebuild 
b/media-libs/speex/speex-1.2.0-r1.ebuild
index 138ae9c759b..bf424f56d19 100644
--- a/media-libs/speex/speex-1.2.0-r1.ebuild
+++ b/media-libs/speex/speex-1.2.0-r1.ebuild
@@ -14,7 +14,7 @@ 
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="armv5te cpu_flags_x86_sse static-libs utils +vbr"
+IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse 
static-libs utils +vbr"
 
 RDEPEND="
utils? (
@@ -41,16 +41,27 @@ src_prepare() {
 multilib_src_configure() {
append-lfs-flags
 
+   local \
+   ARM4_ARG=--disable-arm4-asm \
+   ARM5_ARG=--disable-arm5e-asm
+
+   if use arm && ! use cpu_flags_arm_v6; then
+   if use cpu_flags_arm_v5; then
+   ARM5_ARG=--enable-arm5e-asm
+   elif use cpu_flags_arm_v4; then
+   ARM4_ARG=--enable-arm4-asm
+   fi
+   fi
+
# Can also be configured without floating point
# --enable-fixed-point
ECONF_SOURCE="${S}" econf \
$(use_enable static-libs static) \
-   $(usex arm $(usex armv5te '--disable-arm4-asm' 
'--enable-arm4-asm') '--disable-arm4-asm') \
-   $(use_enable armv5te arm5e-asm) \
$(use_enable cpu_flags_x86_sse sse) \
$(use_enable vbr) \
$(use_with utils speexdsp) \
-   $(use_enable utils binaries)
+   $(use_enable utils binaries) \
+   ${ARM4_ARG} ${ARM5_ARG}
 }
 
 multilib_src_install_all() {



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/

2017-03-04 Thread Michael Palimaka
commit: 271b6d5def0ad1c3da114bdb9bc9ac1959e0aa07
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sat Mar  4 22:50:12 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sat Mar  4 22:50:40 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=271b6d5d

media-libs/speex: add missing USE dependency for multilib build

Package-Manager: Portage-2.3.4, Repoman-2.3.2

 media-libs/speex/{speex-1.2.0.ebuild => speex-1.2.0-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/speex/speex-1.2.0.ebuild 
b/media-libs/speex/speex-1.2.0-r1.ebuild
similarity index 97%
rename from media-libs/speex/speex-1.2.0.ebuild
rename to media-libs/speex/speex-1.2.0-r1.ebuild
index 33b2bb8cee1..138ae9c759b 100644
--- a/media-libs/speex/speex-1.2.0.ebuild
+++ b/media-libs/speex/speex-1.2.0-r1.ebuild
@@ -19,7 +19,7 @@ IUSE="armv5te cpu_flags_x86_sse static-libs utils +vbr"
 RDEPEND="
utils? (
media-libs/libogg:=
-   media-libs/speexdsp
+   media-libs/speexdsp[${MULTILIB_USEDEP}]
)"
 DEPEND="${RDEPEND}
virtual/pkgconfig"



[gentoo-commits] repo/gentoo:master commit in: media-libs/speex/, media-libs/speex/files/

2017-03-03 Thread Michael Palimaka
commit: 2776a627b16b7a06060cd2d563a77f35680f9910
Author: Aric Belsito  gmail  com>
AuthorDate: Fri Mar  3 20:59:43 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Fri Mar  3 23:11:38 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2776a627

media-libs/speex: version bump to 1.2.0

Move to EAPI 6
Gentoo-Bug: https://bugs.gentoo.org/596400

 media-libs/speex/Manifest  |  1 +
 media-libs/speex/files/speex-1.2.0-configure.patch | 27 ++
 media-libs/speex/metadata.xml  | 19 ---
 media-libs/speex/speex-1.2.0.ebuild| 59 ++
 4 files changed, 99 insertions(+), 7 deletions(-)

diff --git a/media-libs/speex/Manifest b/media-libs/speex/Manifest
index d7e33b8ef61..e5c7256f86e 100644
--- a/media-libs/speex/Manifest
+++ b/media-libs/speex/Manifest
@@ -1 +1,2 @@
+DIST speex-1.2.0.tar.gz 1047080 SHA256 
eaae8af0ac742dc7d542c9439ac72f1f385ce838392dc849cae4536af9210094 SHA512 
7fe10838c7d1bafcbe42295b82b79262420dba793b8a4388e2f73a3007850b5572face1b5308d9f4e8d7dfc9cb1c016cbad88cd65b2892667986107ed946836b
 WHIRLPOOL 
25274b640424318e06bceeb33c748f1299ebb35297ebbfe4a80aa183beb1fe4d3d656597e48d781c77ae104f9911770ffcebe9ff20a0fa555fbf68a07d5841d1
 DIST speex-1.2rc1.tar.gz 1061882 SHA256 
342f30dc57bd4a6dad41398365baaa690429660b10d866b7d508e8f1179cb7a6 SHA512 
bdf1ddb2d60496ab220b94c1bec7a43f267fc964fdbb5cc9f24b71b9b571f237f5ce98c1d74b02699d71a95281f4694ff464ebec25e3b135244e5b3099cb1813
 WHIRLPOOL 
c984f04a9c78332509b76ef98ff0eb84b8b4b8755d02890c5de41501325c2055e42243eaed2671e0087c8ca2cdea5967e5113c3d85a53f3704a8d8a3cfc487cb

diff --git a/media-libs/speex/files/speex-1.2.0-configure.patch 
b/media-libs/speex/files/speex-1.2.0-configure.patch
new file mode 100644
index 000..e0aca82b908
--- /dev/null
+++ b/media-libs/speex/files/speex-1.2.0-configure.patch
@@ -0,0 +1,27 @@
+diff -Naur speex-1.2.0.orig/configure.ac speex-1.2.0/configure.ac
+--- speex-1.2.0.orig/configure.ac  2016-12-12 13:53:12.254983043 -0800
 speex-1.2.0/configure.ac   2016-12-12 13:58:44.950298126 -0800
+@@ -138,7 +138,7 @@
+ AC_ARG_ENABLE(sse, [  --enable-sseEnable SSE support], [
+ if test "x$enableval" != xno; then
+ has_sse=yes
+-CFLAGS="$CFLAGS -O3 -msse"
++CFLAGS="$CFLAGS -msse"
+ else
+ has_sse=no
+ fi
+@@ -257,7 +257,13 @@
+ 
+ AM_CONDITIONAL(BUILD_VORBIS_PSY, [test "x$vorbis_psy" = "xyes"])
+ 
+-PKG_CHECK_MODULES([SPEEXDSP], [speexdsp], [AC_DEFINE([USE_SPEEXDSP], [], [Use 
SpeexDSP library])], [speexdsp_failed=yes])
++AC_ARG_WITH(speexdsp, [  --without-speexdsp   Do not build with SpeexDSP])
++if test "x$withval" != xno; then
++  PKG_CHECK_MODULES([SPEEXDSP], [speexdsp], [AC_DEFINE([USE_SPEEXDSP], [], 
[Use SpeexDSP library])])
++else
++  AC_DEFINE([USE_SPEEXDSP], false)
++fi
++
+ 
+ 
+ AC_CHECK_SIZEOF([int16_t])

diff --git a/media-libs/speex/metadata.xml b/media-libs/speex/metadata.xml
index 18e9eb1cce0..7617efb0161 100644
--- a/media-libs/speex/metadata.xml
+++ b/media-libs/speex/metadata.xml
@@ -1,11 +1,16 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-
-  so...@gentoo.org
-  Gentoo Sound project
-
-
-  cpe:/a:xiph:speex
-
+  
+so...@gentoo.org
+Gentoo Sound project
+  
+  
+cpe:/a:xiph:speex
+  
+  
+Enables optimizations for armv5te processors.
+Enables speex commandline utilities (speexenc, 
speexdec).
+Enable VBR support.
+  
 

diff --git a/media-libs/speex/speex-1.2.0.ebuild 
b/media-libs/speex/speex-1.2.0.ebuild
new file mode 100644
index 000..33b2bb8cee1
--- /dev/null
+++ b/media-libs/speex/speex-1.2.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools 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="armv5te cpu_flags_x86_sse static-libs utils +vbr"
+
+RDEPEND="
+   utils? (
+   media-libs/libogg:=
+   media-libs/speexdsp
+   )"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=( "${FILESDIR}/${P}-configure.patch" )
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e 's:noinst_PROGRAMS:check_PROGRAMS:' \
+   libspeex/Makefile.am || die
+
+   eautoreconf
+}
+
+multilib_src_configure() {
+   append-lfs-flags
+
+   # Can also be configured without floating point
+   # --enable-fixed-point
+   ECONF_SOURCE="${S}" econf \
+   $(use_enable static-libs static) \
+   $(usex arm $(usex armv5te