diff options
author | 2022-06-25 11:06:10 +0200 | |
---|---|---|
committer | 2022-06-25 11:06:18 +0200 | |
commit | 2b2e018b39e6db4686f86128a138e4b878d264e7 (patch) | |
tree | 744c71b2356b240a7755a0bd35dc37d4e2fb1b2a /media-libs/sbc | |
parent | net-dns/dnsdist: add 1.7.2 (diff) | |
download | gentoo-2b2e018b39e6db4686f86128a138e4b878d264e7.tar.gz gentoo-2b2e018b39e6db4686f86128a138e4b878d264e7.tar.bz2 gentoo-2b2e018b39e6db4686f86128a138e4b878d264e7.zip |
media-libs/sbc: bump to 2.0, eapi8
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-libs/sbc')
-rw-r--r-- | media-libs/sbc/Manifest | 1 | ||||
-rw-r--r-- | media-libs/sbc/sbc-2.0.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/media-libs/sbc/Manifest b/media-libs/sbc/Manifest index 6b74d262d1bb..d848610661d1 100644 --- a/media-libs/sbc/Manifest +++ b/media-libs/sbc/Manifest @@ -1 +1,2 @@ DIST sbc-1.5.tar.xz 264472 BLAKE2B 421a4cb5ab0e282255f8bdb810384e0a4d6d66835869489c22d51d2a0cabd7ef834bef3756ff887b9d9166dcfe88f4d661c26cb804e2868fb6106cc4886f9dcc SHA512 0243586188acede595317f2afbfdb41be5850d2a6133c374edbe5cbcf59a2a0fd4570d0b8f2d13ce9637ce48b2f1910c3e4ab1c0354dbf273ee67b09db8c4915 +DIST sbc-2.0.tar.xz 270888 BLAKE2B d6dd20499871a4c217833c98a2f134ed828438ec4e5aa2073c8b9fc96da5c9ffc2d32e7a56697186731ac540ab58ff0c52559aff575feb8f2da30172badd4921 SHA512 600e86aa492ca1af512ec8e568a08fe526cf2f6eb7306bb0fbdd9a844d03a2a5dedb5f986725aa2c66fe3fe43a7ba45d111e9666eb8912ff3e3a36b948adbc61 diff --git a/media-libs/sbc/sbc-2.0.ebuild b/media-libs/sbc/sbc-2.0.ebuild new file mode 100644 index 000000000000..89a9642e9996 --- /dev/null +++ b/media-libs/sbc/sbc-2.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 ~riscv ~sparc ~x86" +IUSE="static-libs" + +# --enable-tester is building src/sbctester but the tarball is missing required +# .wav file to execute it +RESTRICT="test" + +BDEPEND="virtual/pkgconfig" + +PATCHES=( "${FILESDIR}/${PN}-1.5-ifdef-builtin.patch" ) + +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 +} |