You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
771 B
38 lines
771 B
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
AUTOTOOLS_AUTORECONF=true
|
|
inherit eutils autotools ltprune
|
|
|
|
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 ~arm64 ~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
|
|
}
|