media-libs/libsbsms: Revision bump 2.0.2-r1
authorJohannes Huber <johu@gentoo.org>
Mon, 16 Apr 2018 17:00:45 +0000 (19:00 +0200)
committerJohannes Huber <johu@gentoo.org>
Mon, 16 Apr 2018 17:01:07 +0000 (19:01 +0200)
EAPI 6

Package-Manager: Portage-2.3.28, Repoman-2.3.9

media-libs/libsbsms/libsbsms-2.0.2-r1.ebuild [new file with mode: 0644]

diff --git a/media-libs/libsbsms/libsbsms-2.0.2-r1.ebuild b/media-libs/libsbsms/libsbsms-2.0.2-r1.ebuild
new file mode 100644 (file)
index 0000000..4e77d0d
--- /dev/null
@@ -0,0 +1,37 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+AUTOTOOLS_AUTORECONF=true
+inherit eutils autotools
+
+DESCRIPTION="A library for high quality time and pitch scale modification"
+HOMEPAGE="http://sbsms.sourceforge.net/"
+SRC_URI="mirror://sourceforge/sbsms/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~x86"
+IUSE="cpu_flags_x86_sse static-libs"
+
+PATCHES=( "${FILESDIR}/${P}-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
+       prune_libtool_files
+}