blob: 753aae4dae4d29ccc7d509a3cf88c51444ce3b67 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libsbsms/libsbsms-2.0.1.ebuild,v 1.2 2012/12/08 17:48:10 scarabeus Exp $
EAPI=4
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 ~ppc ~ppc64 ~x86"
IUSE="sse static-libs"
src_prepare() {
epatch \
"${FILESDIR}"/${PN}-2.0.0-cflags.patch \
"${FILESDIR}"/${PN}-2.0.1-includes.patch
eautoreconf
}
src_configure() {
econf \
--enable-shared \
$(use_enable static-libs static) \
$(use_enable sse) \
--disable-multithreaded
# threaded version causes segfaults
}
src_install() {
default
prune_libtool_files
}
|