Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 617322 | Differences between
and this patch

Collapse All | Expand All

(-)a/media-libs/speex/metadata.xml (-1 lines)
Lines 9-15 Link Here
9
    <remote-id type="cpe">cpe:/a:xiph:speex</remote-id>
9
    <remote-id type="cpe">cpe:/a:xiph:speex</remote-id>
10
  </upstream>
10
  </upstream>
11
  <use>
11
  <use>
12
    <flag name="armv5te">Enables optimizations for armv5te processors.</flag>
13
    <flag name="utils">Enables speex commandline utilities (speexenc, speexdec).</flag>
12
    <flag name="utils">Enables speex commandline utilities (speexenc, speexdec).</flag>
14
    <flag name="vbr">Enable VBR support.</flag>
13
    <flag name="vbr">Enable VBR support.</flag>
15
  </use>
14
  </use>
(-)a/media-libs/speex/speex-1.2.0-r1.ebuild (-5 / +15 lines)
Lines 14-20 SRC_URI="http://downloads.xiph.org/releases/speex/${MY_P}.tar.gz" Link Here
14
LICENSE="BSD"
14
LICENSE="BSD"
15
SLOT="0"
15
SLOT="0"
16
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"
16
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"
17
IUSE="armv5te cpu_flags_x86_sse static-libs utils +vbr"
17
IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse static-libs utils +vbr"
18
18
19
RDEPEND="
19
RDEPEND="
20
	utils? (
20
	utils? (
Lines 41-56 src_prepare() { Link Here
41
multilib_src_configure() {
41
multilib_src_configure() {
42
	append-lfs-flags
42
	append-lfs-flags
43
43
44
	local \
45
		ARM4_ARG=--disable-arm4-asm \
46
		ARM5_ARG=--disable-arm5e-asm
47
48
	if use arm && ! use cpu_flags_arm_v6; then
49
		if use cpu_flags_arm_v5; then
50
			ARM5_ARG=--enable-arm5e-asm
51
		elif use cpu_flags_arm_v4; then
52
			ARM4_ARG=--enable-arm4-asm
53
		fi
54
	fi
55
44
	# Can also be configured without floating point
56
	# Can also be configured without floating point
45
	# --enable-fixed-point
57
	# --enable-fixed-point
46
	ECONF_SOURCE="${S}" econf \
58
	ECONF_SOURCE="${S}" econf \
47
		$(use_enable static-libs static) \
59
		$(use_enable static-libs static) \
48
		$(usex arm $(usex armv5te '--disable-arm4-asm' '--enable-arm4-asm') '--disable-arm4-asm') \
49
		$(use_enable armv5te arm5e-asm) \
50
		$(use_enable cpu_flags_x86_sse sse) \
60
		$(use_enable cpu_flags_x86_sse sse) \
51
		$(use_enable vbr) \
61
		$(use_enable vbr) \
52
		$(use_with utils speexdsp) \
62
		$(use_with utils speexdsp) \
53
		$(use_enable utils binaries)
63
		$(use_enable utils binaries) \
64
		${ARM4_ARG} ${ARM5_ARG}
54
}
65
}
55
66
56
multilib_src_install_all() {
67
multilib_src_install_all() {
57
- 

Return to bug 617322