blob: 2762e069040f531d19e084bc19f33a0756ceebe8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/aften/aften-0.0.8.ebuild,v 1.2 2008/01/06 01:32:59 josejx Exp $
inherit eutils cmake-utils
DESCRIPTION="An A/52 (AC-3) audio encoder"
HOMEPAGE="http://aften.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="LGPL-2.1 BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~ppc"
IUSE="cxx"
DEPEND=""
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-multilib.patch"
epatch "${FILESDIR}/${P}-ppc.patch"
}
src_compile() {
local mycmakeargs="-DSHARED=1"
use cxx && mycmakeargs="${mycmakeargs} -DBINDINGS_CXX=1"
cmake-utils_src_compile
}
src_install() {
cmake-utils_src_install
dodoc README Changelog
# File collision with media-sound/wavbreaker, upstream informed
mv "${D}/usr/bin/wavinfo" "${D}/usr/bin/wavinfo-aften"
}
|