2012-06-13 20:43:39 +04:00
|
|
|
# Copyright 1999-2012 Gentoo Foundation
|
2011-11-09 11:33:19 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2012-06-13 20:43:39 +04:00
|
|
|
# $Header: /var/cvsroot/gentoo-x86/media-sound/neroaac/neroaac-1.5.1.ebuild,v 1.4 2012/06/13 08:15:35 sbriesen Exp $
|
2011-11-09 11:33:19 +04:00
|
|
|
|
2012-06-13 20:43:39 +04:00
|
|
|
EAPI=4
|
2011-11-09 11:33:19 +04:00
|
|
|
|
|
|
|
inherit eutils
|
|
|
|
|
|
|
|
DESCRIPTION="Nero AAC reference quality MPEG-4 and 3GPP audio codec"
|
|
|
|
HOMEPAGE="http://www.nero.com/enu/technologies-aac-codec.html"
|
|
|
|
SRC_URI="http://ftp6.nero.com/tools/NeroAACCodec-${PV}.zip"
|
|
|
|
|
|
|
|
LICENSE="Nero-AAC-EULA"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="amd64 x86"
|
|
|
|
IUSE="doc"
|
|
|
|
|
|
|
|
RDEPEND=""
|
|
|
|
DEPEND="app-arch/unzip"
|
|
|
|
|
|
|
|
RESTRICT="strip mirror test"
|
|
|
|
|
|
|
|
QA_PRESTRIPPED="opt/${PN}/${PV}/neroAac\(Dec\|Enc\|Tag\)"
|
|
|
|
QA_EXECSTACK="opt/${PN}/${PV}/neroAacDec opt/${PN}/${PV}/neroAacEnc"
|
2012-06-13 20:43:39 +04:00
|
|
|
QA_FLAGS_IGNORED="${QA_PRESTRIPPED}"
|
2011-11-09 11:33:19 +04:00
|
|
|
|
|
|
|
S="${WORKDIR}"
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
edos2unix *.txt
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
exeinto /opt/${PN}/${PV}
|
|
|
|
doexe linux/*
|
|
|
|
dodir /opt/bin
|
2012-06-13 20:43:39 +04:00
|
|
|
dosym ../${PN}/${PV}/neroAacDec /opt/bin/neroAacDec
|
|
|
|
dosym ../${PN}/${PV}/neroAacEnc /opt/bin/neroAacEnc
|
|
|
|
dosym ../${PN}/${PV}/neroAacTag /opt/bin/neroAacTag
|
2011-11-09 11:33:19 +04:00
|
|
|
newdoc readme.txt README
|
|
|
|
newdoc license.txt LICENSE
|
|
|
|
newdoc changelog.txt ChangeLog
|
|
|
|
if use doc; then
|
|
|
|
insinto /usr/share/doc/${PF}
|
|
|
|
doins NeroAAC_tut.pdf
|
|
|
|
fi
|
|
|
|
}
|