sbc: add 1.0 ebuild from Gentoo

Copied from Gentoo, unmasked on our archs.

BUG=chromium-os:21369
TEST=emerge-${BOARD} sbc

Change-Id: Ib90efef0f9edee20dbaee02001e5b1cbc046006c
Reviewed-on: https://gerrit.chromium.org/gerrit/34936
Reviewed-by: David James <davidjames@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Tested-by: Scott James Remnant <keybuk@chromium.org>
Commit-Ready: Scott James Remnant <keybuk@chromium.org>
This commit is contained in:
Scott James Remnant 2012-10-08 14:45:02 -07:00 committed by Gerrit
parent 285b9de961
commit 6a3cabe5a4
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST sbc-1.0.tar.xz 244048 RMD160 1760410aa45f9a7418a861a2767ccbef898c32e4 SHA1 142727399eeb8296369ffedc2607bd0478114bcb SHA256 bf970aa21226c594bb04ba3d949770c8fd91dc8f953556305f20c1016b16b882

View File

@ -0,0 +1,36 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/sbc/sbc-1.0.ebuild,v 1.1 2012/08/05 09:26:14 ssuominen Exp $
EAPI=4
inherit eutils
DESCRIPTION="An audio codec to connect bluetooth high quality audio devices like headphones or loudspeakers"
HOMEPAGE="http://git.kernel.org/?p=bluetooth/sbc.git http://www.bluez.org/sbc-10/"
SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.xz"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="arm amd64 x86"
IUSE="static-libs"
# --enable-tester is building src/sbctester but the tarball is missing required
# .wav file to execute it
RESTRICT="test"
RDEPEND=""
DEPEND="${RDEPEND}
virtual/pkgconfig"
DOCS="AUTHORS ChangeLog"
src_configure() {
econf \
$(use_enable static-libs static) \
--disable-tester
}
src_install() {
default
prune_libtool_files
}