summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2021-09-23 08:43:26 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2021-09-23 08:43:43 +0200
commitd832e08719414fad8c566257397e3fad6afbdbe8 (patch)
tree23d0543a7ca6759f5cf9b69dfc378e235414225b /media-libs/libsbsms
parentdev-php/pecl-yaz: x86 stable wrt bug #814389 (diff)
downloadgentoo-d832e08719414fad8c566257397e3fad6afbdbe8.tar.gz
gentoo-d832e08719414fad8c566257397e3fad6afbdbe8.tar.bz2
gentoo-d832e08719414fad8c566257397e3fad6afbdbe8.zip
media-libs/libsbsms: bump to 2.3.0
Closes: https://bugs.gentoo.org/810574 Package-Manager: Portage-3.0.23, Repoman-3.0.3 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-libs/libsbsms')
-rw-r--r--media-libs/libsbsms/Manifest1
-rw-r--r--media-libs/libsbsms/libsbsms-2.3.0.ebuild37
-rw-r--r--media-libs/libsbsms/metadata.xml2
3 files changed, 39 insertions, 1 deletions
diff --git a/media-libs/libsbsms/Manifest b/media-libs/libsbsms/Manifest
index 03f1d3973750..9451b5824f53 100644
--- a/media-libs/libsbsms/Manifest
+++ b/media-libs/libsbsms/Manifest
@@ -1 +1,2 @@
DIST libsbsms-2.0.2.tar.gz 450170 BLAKE2B a9e75f1f2a3da2a407d21bd267fe842d2c2367f85e4cb588902ae34e56b76297c2f60968113ae7a08a6652e57bc20376f1a60e97d6d59863f9f1ae30589e0723 SHA512 8aaab3e191f3e10e559683ab4ebdcb8d951cf0e776390234f25675a98640d60d20aed872061ba72fdc3bd7827b7d46bc27225fe947cdd7fa4312f75cbdd78e6c
+DIST libsbsms-2.3.0.tar.gz 450111 BLAKE2B 3707b573ffef414e5373526704d4e54bf0f53b6bc5d9ce6e69bf22e11e5380eccb65a6c26e3598ee4bf43f341a7dcc6e1a7d7f5113bb649ef9e94b01ba36cc0f SHA512 e5b544c2bdbaa2169236987c7a043838c8d1761b25280c476d7a32656d482c6485cb33f579ea9d1ce586ec7b2913ed8fdcf1abe5c7cc8b9e4eef9ce87de54627
diff --git a/media-libs/libsbsms/libsbsms-2.3.0.ebuild b/media-libs/libsbsms/libsbsms-2.3.0.ebuild
new file mode 100644
index 000000000000..0519a044dd73
--- /dev/null
+++ b/media-libs/libsbsms/libsbsms-2.3.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+AUTOTOOLS_AUTORECONF=true
+inherit autotools
+
+DESCRIPTION="A library for high quality time and pitch scale modification"
+HOMEPAGE="https://github.com/claytonotey/libsbsms http://sbsms.sourceforge.net/"
+SRC_URI="https://github.com/claytonotey/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~mips ~ppc ~ppc64 ~riscv ~x86"
+IUSE="cpu_flags_x86_sse static-libs"
+
+PATCHES=( "${FILESDIR}/${PN}-2.0.2-cflags.patch" )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --enable-shared \
+ $(use_enable static-libs static) \
+ $(use_enable cpu_flags_x86_sse sse) \
+ --disable-multithreaded
+ # threaded version causes segfaults
+}
+
+src_install() {
+ default
+ find "${ED}" -name '*.la' -delete || die
+}
diff --git a/media-libs/libsbsms/metadata.xml b/media-libs/libsbsms/metadata.xml
index 8af19e1a74b8..7342d79ed0ba 100644
--- a/media-libs/libsbsms/metadata.xml
+++ b/media-libs/libsbsms/metadata.xml
@@ -6,6 +6,6 @@
<name>Gentoo ProAudio Project</name>
</maintainer>
<upstream>
- <remote-id type="sourceforge">sbsms</remote-id>
+ <remote-id type="github">claytonotey/libsbsms</remote-id>
</upstream>
</pkgmetadata>