1 |
commit: d832e08719414fad8c566257397e3fad6afbdbe8 |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 23 06:43:26 2021 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 23 06:43:43 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d832e087 |
7 |
|
8 |
media-libs/libsbsms: bump to 2.3.0 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/810574 |
11 |
Package-Manager: Portage-3.0.23, Repoman-3.0.3 |
12 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
13 |
|
14 |
media-libs/libsbsms/Manifest | 1 + |
15 |
media-libs/libsbsms/libsbsms-2.3.0.ebuild | 37 +++++++++++++++++++++++++++++++ |
16 |
media-libs/libsbsms/metadata.xml | 2 +- |
17 |
3 files changed, 39 insertions(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/media-libs/libsbsms/Manifest b/media-libs/libsbsms/Manifest |
20 |
index 03f1d397375..9451b5824f5 100644 |
21 |
--- a/media-libs/libsbsms/Manifest |
22 |
+++ b/media-libs/libsbsms/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST libsbsms-2.0.2.tar.gz 450170 BLAKE2B a9e75f1f2a3da2a407d21bd267fe842d2c2367f85e4cb588902ae34e56b76297c2f60968113ae7a08a6652e57bc20376f1a60e97d6d59863f9f1ae30589e0723 SHA512 8aaab3e191f3e10e559683ab4ebdcb8d951cf0e776390234f25675a98640d60d20aed872061ba72fdc3bd7827b7d46bc27225fe947cdd7fa4312f75cbdd78e6c |
25 |
+DIST libsbsms-2.3.0.tar.gz 450111 BLAKE2B 3707b573ffef414e5373526704d4e54bf0f53b6bc5d9ce6e69bf22e11e5380eccb65a6c26e3598ee4bf43f341a7dcc6e1a7d7f5113bb649ef9e94b01ba36cc0f SHA512 e5b544c2bdbaa2169236987c7a043838c8d1761b25280c476d7a32656d482c6485cb33f579ea9d1ce586ec7b2913ed8fdcf1abe5c7cc8b9e4eef9ce87de54627 |
26 |
|
27 |
diff --git a/media-libs/libsbsms/libsbsms-2.3.0.ebuild b/media-libs/libsbsms/libsbsms-2.3.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..0519a044dd7 |
30 |
--- /dev/null |
31 |
+++ b/media-libs/libsbsms/libsbsms-2.3.0.ebuild |
32 |
@@ -0,0 +1,37 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+AUTOTOOLS_AUTORECONF=true |
39 |
+inherit autotools |
40 |
+ |
41 |
+DESCRIPTION="A library for high quality time and pitch scale modification" |
42 |
+HOMEPAGE="https://github.com/claytonotey/libsbsms http://sbsms.sourceforge.net/" |
43 |
+SRC_URI="https://github.com/claytonotey/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="GPL-2" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~arm64 ~mips ~ppc ~ppc64 ~riscv ~x86" |
48 |
+IUSE="cpu_flags_x86_sse static-libs" |
49 |
+ |
50 |
+PATCHES=( "${FILESDIR}/${PN}-2.0.2-cflags.patch" ) |
51 |
+ |
52 |
+src_prepare() { |
53 |
+ default |
54 |
+ eautoreconf |
55 |
+} |
56 |
+ |
57 |
+src_configure() { |
58 |
+ econf \ |
59 |
+ --enable-shared \ |
60 |
+ $(use_enable static-libs static) \ |
61 |
+ $(use_enable cpu_flags_x86_sse sse) \ |
62 |
+ --disable-multithreaded |
63 |
+ # threaded version causes segfaults |
64 |
+} |
65 |
+ |
66 |
+src_install() { |
67 |
+ default |
68 |
+ find "${ED}" -name '*.la' -delete || die |
69 |
+} |
70 |
|
71 |
diff --git a/media-libs/libsbsms/metadata.xml b/media-libs/libsbsms/metadata.xml |
72 |
index 8af19e1a74b..7342d79ed0b 100644 |
73 |
--- a/media-libs/libsbsms/metadata.xml |
74 |
+++ b/media-libs/libsbsms/metadata.xml |
75 |
@@ -6,6 +6,6 @@ |
76 |
<name>Gentoo ProAudio Project</name> |
77 |
</maintainer> |
78 |
<upstream> |
79 |
- <remote-id type="sourceforge">sbsms</remote-id> |
80 |
+ <remote-id type="github">claytonotey/libsbsms</remote-id> |
81 |
</upstream> |
82 |
</pkgmetadata> |