1 |
commit: 2b2e018b39e6db4686f86128a138e4b878d264e7 |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 25 09:06:10 2022 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 25 09:06:18 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b2e018b |
7 |
|
8 |
media-libs/sbc: bump to 2.0, eapi8 |
9 |
|
10 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
11 |
|
12 |
media-libs/sbc/Manifest | 1 + |
13 |
media-libs/sbc/sbc-2.0.ebuild | 35 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 36 insertions(+) |
15 |
|
16 |
diff --git a/media-libs/sbc/Manifest b/media-libs/sbc/Manifest |
17 |
index 6b74d262d1bb..d848610661d1 100644 |
18 |
--- a/media-libs/sbc/Manifest |
19 |
+++ b/media-libs/sbc/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST sbc-1.5.tar.xz 264472 BLAKE2B 421a4cb5ab0e282255f8bdb810384e0a4d6d66835869489c22d51d2a0cabd7ef834bef3756ff887b9d9166dcfe88f4d661c26cb804e2868fb6106cc4886f9dcc SHA512 0243586188acede595317f2afbfdb41be5850d2a6133c374edbe5cbcf59a2a0fd4570d0b8f2d13ce9637ce48b2f1910c3e4ab1c0354dbf273ee67b09db8c4915 |
22 |
+DIST sbc-2.0.tar.xz 270888 BLAKE2B d6dd20499871a4c217833c98a2f134ed828438ec4e5aa2073c8b9fc96da5c9ffc2d32e7a56697186731ac540ab58ff0c52559aff575feb8f2da30172badd4921 SHA512 600e86aa492ca1af512ec8e568a08fe526cf2f6eb7306bb0fbdd9a844d03a2a5dedb5f986725aa2c66fe3fe43a7ba45d111e9666eb8912ff3e3a36b948adbc61 |
23 |
|
24 |
diff --git a/media-libs/sbc/sbc-2.0.ebuild b/media-libs/sbc/sbc-2.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..89a9642e9996 |
27 |
--- /dev/null |
28 |
+++ b/media-libs/sbc/sbc-2.0.ebuild |
29 |
@@ -0,0 +1,35 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+inherit multilib-minimal |
36 |
+ |
37 |
+DESCRIPTION="Audio codec to connect bluetooth HQ audio devices as headphones or loudspeakers" |
38 |
+HOMEPAGE="https://git.kernel.org/?p=bluetooth/sbc.git" |
39 |
+SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz" |
40 |
+ |
41 |
+LICENSE="GPL-2 LGPL-2.1" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" |
44 |
+IUSE="static-libs" |
45 |
+ |
46 |
+# --enable-tester is building src/sbctester but the tarball is missing required |
47 |
+# .wav file to execute it |
48 |
+RESTRICT="test" |
49 |
+ |
50 |
+BDEPEND="virtual/pkgconfig" |
51 |
+ |
52 |
+PATCHES=( "${FILESDIR}/${PN}-1.5-ifdef-builtin.patch" ) |
53 |
+ |
54 |
+multilib_src_configure() { |
55 |
+ ECONF_SOURCE=${S} \ |
56 |
+ econf \ |
57 |
+ $(use_enable static-libs static) \ |
58 |
+ --disable-tester |
59 |
+} |
60 |
+ |
61 |
+multilib_src_install_all() { |
62 |
+ einstalldocs |
63 |
+ find "${D}" -name '*.la' -delete || die |
64 |
+} |