mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
media-libs/sbc: add 2.1
Thanks-to: Sam James Closes: https://bugs.gentoo.org/964699 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
parent
a28915d3fe
commit
601639873c
@ -1 +1,2 @@
|
||||
DIST sbc-2.0.tar.xz 270888 BLAKE2B d6dd20499871a4c217833c98a2f134ed828438ec4e5aa2073c8b9fc96da5c9ffc2d32e7a56697186731ac540ab58ff0c52559aff575feb8f2da30172badd4921 SHA512 600e86aa492ca1af512ec8e568a08fe526cf2f6eb7306bb0fbdd9a844d03a2a5dedb5f986725aa2c66fe3fe43a7ba45d111e9666eb8912ff3e3a36b948adbc61
|
||||
DIST sbc-2.1.tar.xz 272116 BLAKE2B 1efaf136969040a80cc1bb5745cc1bf2de1fe8e62d3a035ac7d6d192cd9e9c81edbe7d618b1366db3ed2f204489a261ad0451bc288729ef6908ec70a3ac840c5 SHA512 c7c1f624254de930c05de92233b85c95a0d3fb00a983b9f363df48ac8389655a7023a89ade92c7879f8f1e4d264c680aeb1a712c5f298bd6cb8ceecf82aceadd
|
||||
|
||||
35
media-libs/sbc/sbc-2.1.ebuild
Normal file
35
media-libs/sbc/sbc-2.1.ebuild
Normal file
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2025 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 ~loong ~mips ~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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user