summaryrefslogtreecommitdiff
path: root/media-libs/sbc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
commit0f558761aa2dee1017b4751e4017205e015a9560 (patch)
tree037df795519468a25d9362b4e95cdaeb84eb1cf9 /media-libs/sbc
parent752d6256e5204b958b0ef7905675a940b5e9172f (diff)
gentoo resync : 29.12.2022
Diffstat (limited to 'media-libs/sbc')
-rw-r--r--media-libs/sbc/Manifest2
-rw-r--r--media-libs/sbc/sbc-2.0.ebuild35
2 files changed, 37 insertions, 0 deletions
diff --git a/media-libs/sbc/Manifest b/media-libs/sbc/Manifest
index a2dd02f3ebb8..0ec715694992 100644
--- a/media-libs/sbc/Manifest
+++ b/media-libs/sbc/Manifest
@@ -1,4 +1,6 @@
AUX sbc-1.5-ifdef-builtin.patch 871 BLAKE2B a63b5d5ce0e00723d8492a83e403d926eb16091b8eaf9c426cc24444a041949a6747fe134020261131f0681448111d2558b85391308157c828a96ea1b046c7d1 SHA512 bc1116ff941c88418e79bb35e1f08828d637e4d2d3192c1e808b1d5adc02e1942f968f49805365cb7a34817f119e24d8d9c3baf2133c77b91ba79a3e4446d249
DIST sbc-1.5.tar.xz 264472 BLAKE2B 421a4cb5ab0e282255f8bdb810384e0a4d6d66835869489c22d51d2a0cabd7ef834bef3756ff887b9d9166dcfe88f4d661c26cb804e2868fb6106cc4886f9dcc SHA512 0243586188acede595317f2afbfdb41be5850d2a6133c374edbe5cbcf59a2a0fd4570d0b8f2d13ce9637ce48b2f1910c3e4ab1c0354dbf273ee67b09db8c4915
+DIST sbc-2.0.tar.xz 270888 BLAKE2B d6dd20499871a4c217833c98a2f134ed828438ec4e5aa2073c8b9fc96da5c9ffc2d32e7a56697186731ac540ab58ff0c52559aff575feb8f2da30172badd4921 SHA512 600e86aa492ca1af512ec8e568a08fe526cf2f6eb7306bb0fbdd9a844d03a2a5dedb5f986725aa2c66fe3fe43a7ba45d111e9666eb8912ff3e3a36b948adbc61
EBUILD sbc-1.5.ebuild 887 BLAKE2B ca83eaca32006094585e5bbc89ee72a74721c027b5445233bee854fa46068816a9532c0956f41e967e0becbc27868e185c2c7761370740583fa3b16b1171dd51 SHA512 55ec0c9ab32d0171d4ca510b28147a79dfb5c192398f346d76bdc948777d4c685adbd5d6de180bc5e1b0d4f0411d442190c4772bdf1e15a5f02a4ae255e5ed00
+EBUILD sbc-2.0.ebuild 899 BLAKE2B 00a7967ce5674448dea52aa9c918bec026ca20ab49c86470944eafee713373ac7f3bfb31d89b849f253aae569fb66e39f042745b4012779d3955a44db6d04343 SHA512 bd8a85705f9e6a78ecc64132d0f28934cf8474c6110a79968bf1da5bf9ec268e08ebda2ea2f075d3cbb4cbcb7a81dbf2d7777d9c4aa6a6991b1f76b8355ceeb8
MISC metadata.xml 357 BLAKE2B 17cc13819b617829b6bc8f8cad8a1ab04dffe094121b3d30849afee817c5c1c65ff9520c314a8a30a82316e0ef2f7dfecf99316d4f12f87f9a1032bf9b7bd84d SHA512 8eee906c78aa8619015de225ade4753afcd086a9ac9fd282c3db1b1a62744af84ec0effd13a45a727e1e2c03fbbbabd37d0aabfb6efaab6bfe491c46fdbe1346
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
+}