diff options
author | Andrew Savchenko <bircoph@gmail.com> | 2013-10-13 06:39:39 +0400 |
---|---|---|
committer | Andrew Savchenko <bircoph@gmail.com> | 2013-10-13 06:39:39 +0400 |
commit | 7fc87eff6b3c2e88160fdb7aa5e6915662eb0bf1 (patch) | |
tree | d10cfa5e560f8a98552f09324c31aabb0f58a653 /media-plugins/mediastreamer-ilbc/mediastreamer-ilbc-2.0.3.ebuild | |
parent | mediastreamer-x264: fix build failure (diff) | |
download | voip-7fc87eff6b3c2e88160fdb7aa5e6915662eb0bf1.tar.gz voip-7fc87eff6b3c2e88160fdb7aa5e6915662eb0bf1.tar.bz2 voip-7fc87eff6b3c2e88160fdb7aa5e6915662eb0bf1.zip |
mediastreamer-ilbc: add pkgconfig dep
Diffstat (limited to 'media-plugins/mediastreamer-ilbc/mediastreamer-ilbc-2.0.3.ebuild')
-rw-r--r-- | media-plugins/mediastreamer-ilbc/mediastreamer-ilbc-2.0.3.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/media-plugins/mediastreamer-ilbc/mediastreamer-ilbc-2.0.3.ebuild b/media-plugins/mediastreamer-ilbc/mediastreamer-ilbc-2.0.3.ebuild new file mode 100644 index 0000000..e982df1 --- /dev/null +++ b/media-plugins/mediastreamer-ilbc/mediastreamer-ilbc-2.0.3.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.6 2013/10/10 10:40:35 hasufell 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 +} |