commit:     371d17a7b85af02fa78ed05ccef0a8f1c12aa77b
Author:     Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 16 17:00:45 2018 +0000
Commit:     Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Mon Apr 16 17:01:07 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=371d17a7

media-libs/libsbsms: Revision bump 2.0.2-r1

EAPI 6

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 media-libs/libsbsms/libsbsms-2.0.2-r1.ebuild | 37 ++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

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
index 00000000000..4e77d0d1ecc
--- /dev/null
+++ b/media-libs/libsbsms/libsbsms-2.0.2-r1.ebuild
@@ -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
+}

Reply via email to