blob: 27c55195002fae74ea85c7462ff34ddda545708d [file] [log] [blame]
# 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="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc 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
}