commit: 625a5bcc3e463c5f266e17ab5aab98b94e79ee6b Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> AuthorDate: Sat Nov 30 14:56:32 2019 +0000 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> CommitDate: Sat Nov 30 14:59:31 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=625a5bcc
media-libs/bcg729: Update live ebuild Package-Manager: Portage-2.3.80, Repoman-2.3.19 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> media-libs/bcg729/bcg729-999999.ebuild | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/media-libs/bcg729/bcg729-999999.ebuild b/media-libs/bcg729/bcg729-999999.ebuild index 961164ae6e9..aabbb6a8fda 100644 --- a/media-libs/bcg729/bcg729-999999.ebuild +++ b/media-libs/bcg729/bcg729-999999.ebuild @@ -2,23 +2,32 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit git-r3 cmake-multilib +inherit cmake-utils git-r3 DESCRIPTION="encoder and decoder of the ITU G729 Annex A/B speech codec" HOMEPAGE="https://github.com/BelledonneCommunications/bcg729" -EGIT_REPO_URI="${HOMEPAGE}" +EGIT_REPO_URI="https://github.com/BelledonneCommunications/bcg729" -LICENSE="GPL-3" +LICENSE="GPL-2" SLOT="0" KEYWORDS="" IUSE="static-libs" RDEPEND=" !media-plugins/mediastreamer-bcg729 " +S=${WORKDIR}/${P/_/-} +PATCHES=( + "${FILESDIR}"/${PN}-4.3.0_beta-cmake-build.patch +) -multilib_src_configure() { - local mycmakeargs+=( +src_configure() { + mycmakeargs=( -DENABLE_STATIC=$(usex static-libs) ) cmake-utils_src_configure } + +src_install() { + cmake-utils_src_install + find "${ED}" -name '*.la' -delete || die +}
