Skip to content

Commit

Permalink
media-libs/bcg729: Update live ebuild
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Jeroen Roovers <[email protected]>
  • Loading branch information
Jeroen Roovers committed Nov 30, 2019
1 parent d4c1662 commit 625a5bc
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions media-libs/bcg729/bcg729-999999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 625a5bc

Please sign in to comment.