1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit autotools eutils multilib-minimal
9 # This file cannot be mirrored.
10 # See the notes at http://tipok.org.ua/node/17
11 # The .tar.gz, ie the wrapper library, is lgpl though.
12 TGPPDIST=26410-800.zip
14 DESCRIPTION="HE-AAC+ v2 library, based on the reference implementation"
15 HOMEPAGE="http://tipok.org.ua/node/17"
17 https://dev.gentoo.org/~aballier/${P}.tar.gz
18 http://tipok.ath.cx/downloads/media/aac+/libaacplus/${P}.tar.gz
19 http://217.20.164.161/~tipok/aacplus/${P}.tar.gz
20 http://www.3gpp.org/ftp/Specs/archive/26_series/26.410/${TGPPDIST}"
24 KEYWORDS="amd64 hppa ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd"
25 IUSE="fftw static-libs"
26 RESTRICT="bindist mirror"
29 !media-sound/aacplusenc
30 fftw? ( >=sci-libs/fftw-3.3.3-r2:3.0[${MULTILIB_USEDEP}] )"
41 -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' \
42 -i configure.ac || die
44 cp "${DISTDIR}/${TGPPDIST}" src/ || die
48 multilib_src_configure() {
50 $(use_with fftw fftw3) \
51 $(use_enable static-libs static)
54 multilib_src_compile() {
58 multilib_src_install_all() {
59 prune_libtool_files --all