From 227aa84c71bfb1e8d01d0dc18fe0fd5c1ef67ff0 Mon Sep 17 00:00:00 2001 From: Andrew Savchenko Date: Thu, 10 Oct 2013 09:35:44 +0400 Subject: mediastreamer-ilbc: add missing ebuild --- .../mediastreamer-ilbc-2.0.3-r1.ebuild | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 media-plugins/mediastreamer-ilbc/mediastreamer-ilbc-2.0.3-r1.ebuild diff --git a/media-plugins/mediastreamer-ilbc/mediastreamer-ilbc-2.0.3-r1.ebuild b/media-plugins/mediastreamer-ilbc/mediastreamer-ilbc-2.0.3-r1.ebuild new file mode 100644 index 0000000..b653a33 --- /dev/null +++ b/media-plugins/mediastreamer-ilbc/mediastreamer-ilbc-2.0.3-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/mediastreamer-ilbc/mediastreamer-ilbc-2.0.3.ebuild,v 1.5 2013/04/02 20:56:39 ago Exp $ + +EAPI="5" + +inherit multilib + +MY_P="msilbc-${PV}" + +DESCRIPTION="mediastreamer plugin: add iLBC support" +HOMEPAGE="http://www.linphone.org/" +SRC_URI="http://download.savannah.nongnu.org/releases/linphone/plugins/sources/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86" +IUSE="20ms-frames" + +RDEPEND="dev-libs/ilbc-rfc3951 + >=media-libs/mediastreamer-2.0.0:=" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/${MY_P} + +src_configure() { + # dev-libs/ilbc-rfc3951 does not ship pkgconfig .pc file, + # so these variables should be set here to satisfy configure + ILBC_CFLAGS="/usr/include" ILBC_LIBS="/usr/include -lilbc" \ + econf \ + $(use_enable 20ms-frames) +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS ChangeLog NEWS README +} -- cgit v1.2.3-65-gdbad