media-libs/mpeghdec - 9999 (4nykey)

Search

Install

Install this version:

emerge -a =media-libs/mpeghdec-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =media-libs/mpeghdec-9999

Or alternatively:

emerge --autounmask-write -a =media-libs/mpeghdec-9999

Package Information

Description:
A C/C++ implementation of the MPEG-H Audio standard
Homepage:
https://github.com/Fraunhofer-IIS/mpeghdec
License:
FraunhoferFDK

Ebuild Details

Version EAPI Keywords Slot
9999 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

if [[ -z ${PV%%*9999} ]]; then
	EGIT_REPO_URI="https://github.com/Fraunhofer-IIS/${PN}.git"
	inherit git-r3
else
	MY_PV="c08b803"
	[[ -n ${PV%%*_p*} ]] && MY_PV="r${PV}"
	MY_ILO="ilo-r2.0.2"
	MY_MMT="mmtisobmff-r1.0.4"
	SRC_URI+="
		mirror://githubcl/Fraunhofer-IIS/${PN}/tar.gz/${MY_PV} -> ${P}.tar.gz
		mirror://githubcl/Fraunhofer-IIS/${MY_ILO%-*}/tar.gz/${MY_ILO#*-} -> ${MY_ILO}.tar.gz
		mirror://githubcl/Fraunhofer-IIS/${MY_MMT%-*}/tar.gz/${MY_MMT#*-} -> ${MY_MMT}.tar.gz
	"
	KEYWORDS="~amd64"
	S="${WORKDIR}/${PN}-${MY_PV}"
	RESTRICT="primaryuri"
fi

DESCRIPTION="A C/C++ implementation of the MPEG-H Audio standard"
HOMEPAGE="https://github.com/Fraunhofer-IIS/${PN}"

LICENSE="FraunhoferFDK"
SLOT="0"
IUSE="apidocs tools"
DEPEND="
	tools? (
		dev-libs/ilo
		media-libs/mmtisobmff
	)
"
BDEPEND="
	apidocs? ( app-text/doxygen )
"
PATCHES=( "${FILESDIR}"/install.diff )

src_configure() {
	local mycmakeargs=(
		-Dmpeghdec_BUILD_BINARIES=$(usex tools)
		-Dmpeghdec_BUILD_DOC=$(usex apidocs)
		-DUSE_PKGCONFIG_DEPS=yes
	)
	cmake_src_configure
}

USE Flags

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

Global/Standard Flags

Inherited Eclasses

Applicable Mirrors

Mirror Name URLs
githubcl

Dependencies

DEPEND

	tools? (
		dev-libs/ilo
		media-libs/mmtisobmff
	)

BDEPEND

	apidocs? ( app-text/doxygen )

Manifest for 9999

Type File Size Source URLs
DIST ilo-r2.0.2.tar.gz 68079 bytes mirror://githubcl/Fraunhofer-IIS/ilo/tar.gz/r2.0.2
DIST mmtisobmff-r1.0.4.tar.gz 282691 bytes mirror://githubcl/Fraunhofer-IIS/mmtisobmff/tar.gz/r1.0.4