diff options
Diffstat (limited to 'media-libs/libilbc')
-rw-r--r-- | media-libs/libilbc/Manifest | 1 | ||||
-rw-r--r-- | media-libs/libilbc/libilbc-1.1.1.ebuild | 33 | ||||
-rw-r--r-- | media-libs/libilbc/libilbc-9999.ebuild | 33 | ||||
-rw-r--r-- | media-libs/libilbc/metadata.xml | 9 |
4 files changed, 76 insertions, 0 deletions
diff --git a/media-libs/libilbc/Manifest b/media-libs/libilbc/Manifest new file mode 100644 index 000000000000..6038f79493d0 --- /dev/null +++ b/media-libs/libilbc/Manifest @@ -0,0 +1 @@ +DIST libilbc-1.1.1.tar.xz 302324 SHA256 c52a3f46cf5671ac67494371e78281fa72c87a1af1fd8b8e1731693b6541be87 SHA512 7c9fa6da4d8b32fd49ea62f9e876e385930501c9caedcafac94ea74b9372722b06dd28062dc4fcca765ad6c519cfb52bb595d396ca50d361f563c715f6679845 WHIRLPOOL 120a041823e58d0db3d05549491c00e1b74340f2eefd51f2903f29aacefbbbc94f12cc821451e772c7434ea21fc86ff0c5f8ff15a26e732d1e698d2e7ef44c0a diff --git a/media-libs/libilbc/libilbc-1.1.1.ebuild b/media-libs/libilbc/libilbc-1.1.1.ebuild new file mode 100644 index 000000000000..082202072f92 --- /dev/null +++ b/media-libs/libilbc/libilbc-1.1.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +if [[ ${PV} == 9999 ]] ; then + SCM="autotools git-2" + EGIT_REPO_URI="git://github.com/lu-zero/libilbc.git" + SRC_URI="" + KEYWORDS="" +else + SRC_URI="http://dev.gentoo.org/~lu_zero/${PN}/${P}.tar.xz" + KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +fi + +inherit eutils multilib ${SCM} + +DESCRIPTION="Packaged version of iLBC codec from the WebRTC project" +HOMEPAGE="https://github.com/dekkers/libilbc" + +LICENSE="BSD" +SLOT="0" +IUSE="" + +src_prepare() { + [[ ${PV} == *9999 ]] && eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install || die + find "${D}"usr/$(get_libdir) -name '*.la' -delete +} diff --git a/media-libs/libilbc/libilbc-9999.ebuild b/media-libs/libilbc/libilbc-9999.ebuild new file mode 100644 index 000000000000..06728b45f67b --- /dev/null +++ b/media-libs/libilbc/libilbc-9999.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +if [[ ${PV} == 9999 ]] ; then + SCM="autotools git-2" + EGIT_REPO_URI="git://github.com/lu-zero/libilbc.git" + SRC_URI="" + KEYWORDS="" +else + SRC_URI="http://dev.gentoo.org/~lu_zero/${PN}/${P}.tar.xz" + KEYWORDS="~amd64" +fi + +inherit eutils multilib ${SCM} + +DESCRIPTION="Packaged version of iLBC codec from the WebRTC project" +HOMEPAGE="https://github.com/dekkers/libilbc" + +LICENSE="BSD" +SLOT="0" +IUSE="" + +src_prepare() { + [[ ${PV} == *9999 ]] && eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install || die + find "${D}"usr/$(get_libdir) -name '*.la' -delete +} diff --git a/media-libs/libilbc/metadata.xml b/media-libs/libilbc/metadata.xml new file mode 100644 index 000000000000..7e328c947817 --- /dev/null +++ b/media-libs/libilbc/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sound</herd> + <longdescription lang="en">iLBC BSD implementation from WebRTC</longdescription> + <upstream> + <remote-id type="github">dekkers/libilbc</remote-id> + </upstream> +</pkgmetadata> |