mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-13 00:28:15 +02:00
bump copyright of touched ebuilds to 2024 Signed-off-by: Lucio Sauer <watermanpaint@posteo.net> Signed-off-by: Michał Górny <mgorny@gentoo.org>
37 lines
744 B
Bash
37 lines
744 B
Bash
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit cmake
|
|
|
|
DESCRIPTION="A/52 (AC-3) audio encoder"
|
|
HOMEPAGE="https://aften.sourceforge.net/"
|
|
SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.bz2"
|
|
|
|
LICENSE="LGPL-2.1 BSD"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ppc x86"
|
|
IUSE="cxx"
|
|
|
|
DOCS=( README Changelog )
|
|
|
|
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_src_configure
|
|
}
|
|
|
|
src_install() {
|
|
cmake_src_install
|
|
# File collision with media-sound/wavbreaker, upstream informed
|
|
mv "${ED}"/usr/bin/wavinfo{,-aften} || die
|
|
}
|