| 1 |
# Copyright 1999-2013 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/libsbsms/libsbsms-2.0.1.ebuild,v 1.2 2012/12/08 17:48:10 scarabeus Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
|
| 7 |
inherit eutils autotools
|
| 8 |
|
| 9 |
DESCRIPTION="A library for high quality time and pitch scale modification"
|
| 10 |
HOMEPAGE="http://sbsms.sourceforge.net/"
|
| 11 |
SRC_URI="mirror://sourceforge/sbsms/${P}.tar.gz"
|
| 12 |
|
| 13 |
LICENSE="GPL-2"
|
| 14 |
SLOT="0"
|
| 15 |
KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~x86"
|
| 16 |
IUSE="sse static-libs"
|
| 17 |
|
| 18 |
src_prepare() {
|
| 19 |
epatch \
|
| 20 |
"${FILESDIR}"/${PN}-2.0.0-cflags.patch \
|
| 21 |
"${FILESDIR}"/${PN}-2.0.1-includes.patch
|
| 22 |
eautoreconf
|
| 23 |
}
|
| 24 |
|
| 25 |
src_configure() {
|
| 26 |
econf \
|
| 27 |
--enable-shared \
|
| 28 |
$(use_enable static-libs static) \
|
| 29 |
$(use_enable sse) \
|
| 30 |
--disable-multithreaded
|
| 31 |
# threaded version causes segfaults
|
| 32 |
}
|
| 33 |
|
| 34 |
src_install() {
|
| 35 |
default
|
| 36 |
prune_libtool_files
|
| 37 |
}
|