Lines 12-18
SRC_URI="mirror://sourceforge/${PN}/${P}
Link Here
|
12 |
LICENSE="LGPL-2.1" |
12 |
LICENSE="LGPL-2.1" |
13 |
SLOT="0" |
13 |
SLOT="0" |
14 |
KEYWORDS="~alpha amd64 ~arm ~hppa ia64 ~mips ~ppc ~ppc64 ~sh ~sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
14 |
KEYWORDS="~alpha amd64 ~arm ~hppa ia64 ~mips ~ppc ~ppc64 ~sh ~sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
15 |
IUSE="debug mmx mp3rtp sndfile static-libs" |
15 |
IUSE="debug mmx mp3rtp pic sndfile static-libs" |
16 |
|
16 |
|
17 |
RDEPEND=">=sys-libs/ncurses-5.2 |
17 |
RDEPEND=">=sys-libs/ncurses-5.2 |
18 |
sndfile? ( >=media-libs/libsndfile-1.0.2 )" |
18 |
sndfile? ( >=media-libs/libsndfile-1.0.2 )" |
Lines 33-51
src_prepare() {
Link Here
|
33 |
|
33 |
|
34 |
AT_M4DIR="${S}" eautoreconf |
34 |
AT_M4DIR="${S}" eautoreconf |
35 |
epunt_cxx #74498 |
35 |
epunt_cxx #74498 |
|
|
36 |
|
37 |
if use pic; then |
38 |
if use mmx; then |
39 |
ewarn "pic conflicts with pic unfriendly asm. mmx will be disabled." |
40 |
fi |
41 |
fi |
36 |
} |
42 |
} |
37 |
|
43 |
|
38 |
src_configure() { |
44 |
src_configure() { |
39 |
local myconf |
45 |
local myconf |
40 |
use sndfile && myconf="--with-fileio=sndfile" |
46 |
use sndfile && myconf="--with-fileio=sndfile" |
|
|
47 |
|
48 |
if use !pic; then |
49 |
if use mmx; then |
50 |
myconf="${myconf} --enable-nasm" |
51 |
#defining --enable-nasm=no causes nasm to unconditionally be used |
52 |
fi |
53 |
fi |
41 |
|
54 |
|
42 |
econf \ |
55 |
econf \ |
43 |
--disable-dependency-tracking \ |
56 |
--disable-dependency-tracking \ |
44 |
$(use_enable static-libs static) \ |
57 |
$(use_enable static-libs static) \ |
45 |
$(use_enable debug debug norm) \ |
58 |
$(use_enable debug debug norm) \ |
46 |
$(use_enable mmx nasm) \ |
|
|
47 |
--disable-mp3x \ |
59 |
--disable-mp3x \ |
48 |
$(use_enable mp3rtp) \ |
60 |
$(use_enable mp3rtp) \ |
|
|
61 |
$(use_with pic) \ |
49 |
${myconf} |
62 |
${myconf} |
50 |
} |
63 |
} |
51 |
|
64 |
|