media-libs/bcg729: Add live ebuild
authorJeroen Roovers <jer@gentoo.org>
Thu, 10 Oct 2019 08:17:10 +0000 (10:17 +0200)
committerJeroen Roovers <jer@gentoo.org>
Thu, 10 Oct 2019 08:17:23 +0000 (10:17 +0200)
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
media-libs/bcg729/bcg729-999999.ebuild [new file with mode: 0644]

diff --git a/media-libs/bcg729/bcg729-999999.ebuild b/media-libs/bcg729/bcg729-999999.ebuild
new file mode 100644 (file)
index 0000000..961164a
--- /dev/null
@@ -0,0 +1,24 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit git-r3 cmake-multilib
+
+DESCRIPTION="encoder and decoder of the ITU G729 Annex A/B speech codec"
+HOMEPAGE="https://github.com/BelledonneCommunications/bcg729"
+EGIT_REPO_URI="${HOMEPAGE}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS=""
+IUSE="static-libs"
+RDEPEND="
+       !media-plugins/mediastreamer-bcg729
+"
+
+multilib_src_configure() {
+       local mycmakeargs+=(
+               -DENABLE_STATIC=$(usex static-libs)
+       )
+       cmake-utils_src_configure
+}