diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-12-14 13:26:14 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-12-14 13:26:14 +0000 |
commit | 6abbf81ef2f298e3221ff5e67a1f3c5f23958212 (patch) | |
tree | 25413d1cb3a0cbfe36029db32398c0f333609215 /media-libs/sbc/sbc-1.5.ebuild | |
parent | 9c417bacd51da6d8b57fa9f37425161d30d4b95b (diff) |
gentoo resync : 14.12.2020
Diffstat (limited to 'media-libs/sbc/sbc-1.5.ebuild')
-rw-r--r-- | media-libs/sbc/sbc-1.5.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/media-libs/sbc/sbc-1.5.ebuild b/media-libs/sbc/sbc-1.5.ebuild new file mode 100644 index 000000000000..65d68e49819c --- /dev/null +++ b/media-libs/sbc/sbc-1.5.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit multilib-minimal + +DESCRIPTION="Audio codec to connect bluetooth HQ audio devices as headphones or loudspeakers" +HOMEPAGE="https://git.kernel.org/?p=bluetooth/sbc.git" +SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~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="virtual/pkgconfig" + +multilib_src_configure() { + ECONF_SOURCE=${S} \ + econf \ + $(use_enable static-libs static) \ + --disable-tester +} + +multilib_src_install_all() { + einstalldocs + find "${D}" -name '*.la' -delete || die +} |