From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5315B138351 for ; Wed, 15 Jan 2020 08:56:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1A890E0885; Wed, 15 Jan 2020 08:56:08 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E8F1FE0885 for ; Wed, 15 Jan 2020 08:56:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 70E6F34DFAD for ; Wed, 15 Jan 2020 08:56:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 833D027 for ; Wed, 15 Jan 2020 08:56:04 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1579078562.c5a1e1dfad6dbc11613a2eeef78af8ea35ed8e3f.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/bcg729/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/bcg729/bcg729-1.0.4-r1.ebuild X-VCS-Directories: media-libs/bcg729/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: c5a1e1dfad6dbc11613a2eeef78af8ea35ed8e3f X-VCS-Branch: master Date: Wed, 15 Jan 2020 08:56:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7a9847c4-f9eb-4ff9-ada4-c46351cae9e2 X-Archives-Hash: e4d0d1778512d2f180df9e6620e054e9 commit: c5a1e1dfad6dbc11613a2eeef78af8ea35ed8e3f Author: Jeroen Roovers gentoo org> AuthorDate: Wed Jan 15 08:53:40 2020 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Wed Jan 15 08:56:02 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5a1e1df media-libs/bcg729: EAPI=7 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Jeroen Roovers gentoo.org> media-libs/bcg729/bcg729-1.0.4-r1.ebuild | 33 ++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/media-libs/bcg729/bcg729-1.0.4-r1.ebuild b/media-libs/bcg729/bcg729-1.0.4-r1.ebuild new file mode 100644 index 00000000000..53c6d19ed72 --- /dev/null +++ b/media-libs/bcg729/bcg729-1.0.4-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit cmake-utils + +DESCRIPTION="encoder and decoder of the ITU G729 Annex A/B speech codec" +HOMEPAGE="https://github.com/BelledonneCommunications/bcg729" +SRC_URI="https://github.com/BelledonneCommunications/bcg729/archive/${PV/_/-}.tar.gz \ + -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc64 ~x86" +IUSE="static-libs" + +RDEPEND=" + !media-plugins/mediastreamer-bcg729 +" +S=${WORKDIR}/${P/_/-} +DOCS=( AUTHORS NEWS README.md ) + +src_configure() { + mycmakeargs=( + -DENABLE_STATIC=$(usex static-libs) + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + find "${ED}" -name '*.la' -delete || die +}