media-libs/opusfile - 0.12 (gentoo)

Search

Install

Install this version:

emerge -a =media-libs/opusfile-0.12

Package Information

Description:
A high-level decoding and seeking API for .opus files
Homepage:
https://www.opus-codec.org/
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
0.12 8 ~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~sparc x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools multilib-minimal

DESCRIPTION="A high-level decoding and seeking API for .opus files"
HOMEPAGE="https://www.opus-codec.org/"
SRC_URI="https://downloads.xiph.org/releases/opus/${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~sparc x86"
IUSE="doc fixed-point +float +http static-libs"

RDEPEND="
	media-libs/libogg[${MULTILIB_USEDEP}]
	media-libs/opus[${MULTILIB_USEDEP}]
	http? (
		dev-libs/openssl:=[${MULTILIB_USEDEP}]
	)
"
DEPEND="${RDEPEND}"
BDEPEND="doc? ( app-text/doxygen )"

REQUIRED_USE="^^ ( fixed-point float )"

PATCHES=(
	"${FILESDIR}"/${PN}-0.12-configure-clang16.patch
)

src_prepare() {
	default

	# Drop once configure patch merged
	eautoreconf
}

multilib_src_configure() {
	local myeconfargs=(
		$(multilib_native_use_enable doc)
		$(use_enable fixed-point)
		$(use_enable float)
		$(use_enable http)
		$(use_enable static-libs static)
	)
	ECONF_SOURCE=${S} econf "${myeconfargs[@]}"
}

multilib_src_install_all() {
	einstalldocs
	find "${ED}" -type f -name "*.la" -delete || die
}

USE Flags

Manage flags for this package: euse -i <flag> -p media-libs/opusfile | euse -E <flag> -p media-libs/opusfile | euse -D <flag> -p media-libs/opusfile

Global/Standard Flags

doc
float
Default: Enabled (+)
http
Default: Enabled (+)

Inherited Eclasses

Dependencies

DEPEND

	media-libs/libogg[]
	media-libs/opus[]
	http? (
		dev-libs/openssl:=[]
	)

RDEPEND

	media-libs/libogg[]
	media-libs/opus[]
	http? (
		dev-libs/openssl:=[]
	)

BDEPEND

doc? ( app-text/doxygen )

Manifest for 0.12

Type File Size Source URLs
DIST opusfile-0.12.tar.gz 471354 bytes https://downloads.xiph.org/releases/opus/opusfile-0.12.tar.gz