You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-libs/aften/aften-0.0.8-r2.ebuild

38 lines
760 B

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit 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 ~ppc ~x86"
IUSE="cxx"
PATCHES=(
"${FILESDIR}/${P}-multilib.patch"
"${FILESDIR}/${P}-ppc.patch"
"${FILESDIR}/${P}-no-static-aften.patch"
)
src_configure() {
local mycmakeargs=(
-DSHARED=1
-DBINDINGS_CXX=$(usex cxx)
)
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
dodoc README Changelog
# File collision with media-sound/wavbreaker, upstream informed
mv "${D}"/usr/bin/wavinfo{,-aften} || die
}