summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2014-10-10 04:29:01 +0000
committerTim Harder <radhermit@gentoo.org>2014-10-10 04:29:01 +0000
commitbcbaba38c42821924778d5a9293fbdb531ed78b8 (patch)
treeb95a89231e448a6d87d55ceb3487df703d780571 /media-libs/libsbsms
parentBump (diff)
downloadgentoo-2-bcbaba38c42821924778d5a9293fbdb531ed78b8.tar.gz
gentoo-2-bcbaba38c42821924778d5a9293fbdb531ed78b8.tar.bz2
gentoo-2-bcbaba38c42821924778d5a9293fbdb531ed78b8.zip
Version bump.
(Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'media-libs/libsbsms')
-rw-r--r--media-libs/libsbsms/ChangeLog10
-rw-r--r--media-libs/libsbsms/files/libsbsms-2.0.2-cflags.patch24
-rw-r--r--media-libs/libsbsms/libsbsms-2.0.2.ebuild35
3 files changed, 67 insertions, 2 deletions
diff --git a/media-libs/libsbsms/ChangeLog b/media-libs/libsbsms/ChangeLog
index 2b46eb8cac68..9644f2fc0d82 100644
--- a/media-libs/libsbsms/ChangeLog
+++ b/media-libs/libsbsms/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/libsbsms
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libsbsms/ChangeLog,v 1.8 2013/06/29 19:41:03 ago Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsbsms/ChangeLog,v 1.9 2014/10/10 04:29:01 radhermit Exp $
+
+*libsbsms-2.0.2 (10 Oct 2014)
+
+ 10 Oct 2014; Tim Harder <radhermit@gentoo.org> +libsbsms-2.0.2.ebuild,
+ +files/libsbsms-2.0.2-cflags.patch:
+ Version bump.
29 Jun 2013; Agostino Sarubbo <ago@gentoo.org> libsbsms-2.0.1.ebuild:
Stable for ppc64, wrt bug #436664
diff --git a/media-libs/libsbsms/files/libsbsms-2.0.2-cflags.patch b/media-libs/libsbsms/files/libsbsms-2.0.2-cflags.patch
new file mode 100644
index 000000000000..929135baa0ec
--- /dev/null
+++ b/media-libs/libsbsms/files/libsbsms-2.0.2-cflags.patch
@@ -0,0 +1,24 @@
+--- libsbsms-2.0.2/configure.ac
++++ libsbsms-2.0.2/configure.ac
+@@ -69,8 +69,6 @@
+
+ AC_ARG_ENABLE(universal_binary,[ --enable-universal_binary enable universal binary build: (default: disable)],[enable_universal_binary=$enableval],[enable_universal_binary=no])
+
+-SBSMS_CFLAGS="-ffast-math -funroll-loops"
+-
+ if test x$enable_static = xno; then
+ case "$target_os" in
+ darwin*)
+@@ -81,12 +79,6 @@
+ esac
+ fi
+
+-if test x$enable_debug = xyes; then
+- SBSMS_CFLAGS="$SBSMS_CFLAGS -g -O3"
+-else
+- SBSMS_CFLAGS="$SBSMS_CFLAGS -O3 -fomit-frame-pointer"
+-fi
+-
+ if test x$enable_multithreaded = xyes; then
+ AC_DEFINE(MULTITHREADED,1,[Define to compile multithreaded sbsms])
+ fi
diff --git a/media-libs/libsbsms/libsbsms-2.0.2.ebuild b/media-libs/libsbsms/libsbsms-2.0.2.ebuild
new file mode 100644
index 000000000000..88a5e35888b8
--- /dev/null
+++ b/media-libs/libsbsms/libsbsms-2.0.2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsbsms/libsbsms-2.0.2.ebuild,v 1.1 2014/10/10 04:29:01 radhermit Exp $
+
+EAPI=5
+
+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="sse static-libs"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-cflags.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
+}