diff options
Diffstat (limited to 'media-libs/libaacplus')
-rw-r--r-- | media-libs/libaacplus/Manifest | 2 | ||||
-rw-r--r-- | media-libs/libaacplus/libaacplus-2.0.2-r2.ebuild | 61 | ||||
-rw-r--r-- | media-libs/libaacplus/metadata.xml | 5 |
3 files changed, 68 insertions, 0 deletions
diff --git a/media-libs/libaacplus/Manifest b/media-libs/libaacplus/Manifest new file mode 100644 index 000000000000..cd28a9e2b947 --- /dev/null +++ b/media-libs/libaacplus/Manifest @@ -0,0 +1,2 @@ +DIST 26410-800.zip 1348294 SHA256 4e7b3268b4e21a4dc2c88ee3af57c9115334d6b616a6e5f2e3f43643bf37b72f SHA512 a1d5a4d9b67b4e7292d3d07ba62090f92e9f6cd90e72aadb0e4067120941cc89b93ed136023461354567e845f34274a8097187a70d1477695b3e2024f86ee29d WHIRLPOOL a8a595e2347d7ee8c6d229d4546ef14438821a54c6d4b92af26e47a9df1380288603df197bc84920373611dc861cebc1f921efea459487ec63d8066a2ea2717b +DIST libaacplus-2.0.2.tar.gz 42155 SHA256 60dceb64d4ecf0be8d21661d5af2f214710f9d5b6ab389a5bdebf746baa7e1d7 SHA512 05a6cc206fc187c96b065e94a80a57f6f1610fc5a3228f0163ac5acedabab2f2501dec8df3d196b9a1e2c2785277b0224cd5bb4d2a090bad2dcae44e023f9189 WHIRLPOOL 8af2ab05419cb2b72633ffef14e8930712241a7f9133dace168c443f57c993bd047950803f19df98e90579bf713846ee9882fa683049cb036ddc89e6e820603e diff --git a/media-libs/libaacplus/libaacplus-2.0.2-r2.ebuild b/media-libs/libaacplus/libaacplus-2.0.2-r2.ebuild new file mode 100644 index 000000000000..b5e5c3242636 --- /dev/null +++ b/media-libs/libaacplus/libaacplus-2.0.2-r2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools eutils multilib-minimal + +# This file cannot be mirrored. +# See the notes at http://tipok.org.ua/node/17 +# The .tar.gz, ie the wrapper library, is lgpl though. +TGPPDIST=26410-800.zip + +DESCRIPTION="HE-AAC+ v2 library, based on the reference implementation" +HOMEPAGE="http://tipok.org.ua/node/17" +SRC_URI=" + http://dev.gentoo.org/~aballier/${P}.tar.gz + http://tipok.ath.cx/downloads/media/aac+/libaacplus/${P}.tar.gz + http://217.20.164.161/~tipok/aacplus/${P}.tar.gz + http://www.3gpp.org/ftp/Specs/archive/26_series/26.410/${TGPPDIST}" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 hppa ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd" +IUSE="fftw static-libs" +RESTRICT="bindist mirror" + +RDEPEND=" + !media-sound/aacplusenc + fftw? ( >=sci-libs/fftw-3.3.3-r2:3.0[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + app-arch/unzip + virtual/pkgconfig" + +src_unpack() { + unpack ${P}.tar.gz +} + +src_prepare() { + sed \ + -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' \ + -i configure.ac || die + eautoreconf + cp "${DISTDIR}/${TGPPDIST}" src/ || die + multilib_copy_sources +} + +multilib_src_configure() { + econf \ + $(use_with fftw fftw3) \ + $(use_enable static-libs static) +} + +multilib_src_compile() { + emake -j1 +} + +multilib_src_install_all() { + prune_libtool_files --all + einstalldocs +} diff --git a/media-libs/libaacplus/metadata.xml b/media-libs/libaacplus/metadata.xml new file mode 100644 index 000000000000..3bf6bcfeb512 --- /dev/null +++ b/media-libs/libaacplus/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sound</herd> +</pkgmetadata> |