| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.2.0 | 8 | amd64 ppc ppc64 ~sparc x86 | 0 |
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit multilib-minimal
if [[ ${PV} == *9999* ]] ; then
inherit autotools git-r3
EGIT_REPO_URI="https://code.videolan.org/videolan/libbdplus.git"
else
SRC_URI="https://downloads.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.bz2"
KEYWORDS="amd64 ppc ppc64 ~sparc x86"
fi
DESCRIPTION="Blu-ray library for BD+ decryption"
HOMEPAGE="https://www.videolan.org/developers/libbdplus.html"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="aacs"
RDEPEND="
dev-libs/libgcrypt:=[${MULTILIB_USEDEP}]
dev-libs/libgpg-error[${MULTILIB_USEDEP}]
aacs? ( >=media-libs/libaacs-0.7.0[${MULTILIB_USEDEP}] )
"
DEPEND="${RDEPEND}"
src_prepare() {
default
[[ ${PV} == 9999 ]] && eautoreconf
}
multilib_src_configure() {
local myeconfargs=(
--disable-optimizations
$(use_with aacs libaacs)
)
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
}
multilib_src_install_all() {
einstalldocs
find "${ED}" -type f -name "*.la" -delete || die
}
dev-libs/libgcrypt:=[${MULTILIB_USEDEP}]
dev-libs/libgpg-error[${MULTILIB_USEDEP}]
aacs? ( >=media-libs/libaacs-0.7.0[${MULTILIB_USEDEP}] )
dev-libs/libgcrypt:=[${MULTILIB_USEDEP}]
dev-libs/libgpg-error[${MULTILIB_USEDEP}]
aacs? ( >=media-libs/libaacs-0.7.0[${MULTILIB_USEDEP}] )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | libbdplus-0.2.0.tar.bz2 | 321743 bytes | https://downloads.videolan.org/pub/videolan/libbdplus/0.2.0/libbdplus-0.2.0.tar.bz2 |