@@ -, +, @@ --- media-libs/libbdplus/libbdplus-0.1.2.ebuild | 25 +++++++++++++------ media-libs/libbdplus/libbdplus-9999.ebuild | 27 +++++++++++++++------ 2 files changed, 37 insertions(+), 15 deletions(-) --- a/media-libs/libbdplus/libbdplus-0.1.2.ebuild +++ a/media-libs/libbdplus/libbdplus-0.1.2.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit autotools-multilib +EAPI=7 +inherit multilib-minimal if [[ ${PV} == 9999 ]] ; then - inherit git-r3 + 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" @@ -24,12 +24,23 @@ RDEPEND="dev-libs/libgcrypt:0=[${MULTILIB_USEDEP}] aacs? ( >=media-libs/libaacs-0.7.0[${MULTILIB_USEDEP}] )" DEPEND="${RDEPEND}" -DOCS="ChangeLog README.txt" +DOCS=( ChangeLog README.txt ) -src_configure() { +src_prepare() { + default + [[ ${PV} == 9999 ]] && eautoreconf +} + +multilib_src_configure() { local myeconfargs=( --disable-optimizations + $(use_enable static-libs static) $(use_with aacs libaacs) ) - autotools-multilib_src_configure + ECONF_SOURCE=${S} econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + einstalldocs + find "${ED}" -type f -name "*.la" -delete || die } --- a/media-libs/libbdplus/libbdplus-9999.ebuild +++ a/media-libs/libbdplus/libbdplus-9999.ebuild @@ -1,15 +1,15 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit autotools-multilib +EAPI=7 +inherit multilib-minimal if [[ ${PV} == 9999 ]] ; then - inherit git-r3 + 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 ~x86" + KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" fi DESCRIPTION="Blu-ray library for BD+ decryption" @@ -24,12 +24,23 @@ RDEPEND="dev-libs/libgcrypt:0=[${MULTILIB_USEDEP}] aacs? ( >=media-libs/libaacs-0.7.0[${MULTILIB_USEDEP}] )" DEPEND="${RDEPEND}" -DOCS="ChangeLog README.txt" +DOCS=( ChangeLog README.md ) -src_configure() { +src_prepare() { + default + [[ ${PV} == 9999 ]] && eautoreconf +} + +multilib_src_configure() { local myeconfargs=( --disable-optimizations + $(use_enable static-libs static) $(use_with aacs libaacs) ) - autotools-multilib_src_configure + ECONF_SOURCE=${S} econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + einstalldocs + find "${ED}" -type f -name "*.la" -delete || die } --