summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-06-30 04:02:48 +0000
committerTim Harder <radhermit@gentoo.org>2012-06-30 04:02:48 +0000
commita33494957f8e6ca2577ef5ee9efbcf0ae4a97216 (patch)
treec023e5d723a42a79aa6ee6f40194511d85bce024 /media-libs/libsbsms
parentVersion bump. (diff)
downloadgentoo-2-a33494957f8e6ca2577ef5ee9efbcf0ae4a97216.tar.gz
gentoo-2-a33494957f8e6ca2577ef5ee9efbcf0ae4a97216.tar.bz2
gentoo-2-a33494957f8e6ca2577ef5ee9efbcf0ae4a97216.zip
Initial import, ebuild by me. Optional dependency for audacity.
(Portage version: 2.2.0_alpha114/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libsbsms')
-rw-r--r--media-libs/libsbsms/ChangeLog10
-rw-r--r--media-libs/libsbsms/Manifest5
-rw-r--r--media-libs/libsbsms/files/libsbsms-2.0.0-cflags.patch24
-rw-r--r--media-libs/libsbsms/libsbsms-2.0.0.ebuild35
-rw-r--r--media-libs/libsbsms/metadata.xml8
5 files changed, 82 insertions, 0 deletions
diff --git a/media-libs/libsbsms/ChangeLog b/media-libs/libsbsms/ChangeLog
new file mode 100644
index 000000000000..a555fb804e45
--- /dev/null
+++ b/media-libs/libsbsms/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-libs/libsbsms
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsbsms/ChangeLog,v 1.1 2012/06/30 04:02:48 radhermit Exp $
+
+*libsbsms-2.0.0 (30 Jun 2012)
+
+ 30 Jun 2012; Tim Harder <radhermit@gentoo.org> +libsbsms-2.0.0.ebuild,
+ +files/libsbsms-2.0.0-cflags.patch, +metadata.xml:
+ Initial import, ebuild by me. Optional dependency for audacity.
+
diff --git a/media-libs/libsbsms/Manifest b/media-libs/libsbsms/Manifest
new file mode 100644
index 000000000000..b5020b33cdf1
--- /dev/null
+++ b/media-libs/libsbsms/Manifest
@@ -0,0 +1,5 @@
+AUX libsbsms-2.0.0-cflags.patch 688 RMD160 3a47f765771c21d09d23d57698b761b03ffa6b74 SHA1 31432702258d60c64a8ab0d03aad32b1aa7ea02a SHA256 190daeec24319d852e3e0b5151dc3dd34da109f729f98bd65ca86d06375fd096
+DIST libsbsms-2.0.0.tar.gz 832881 RMD160 ecfb7244d45e07b15f1a111e139cb848bd346de3 SHA1 14e56ede70676f5f4da069b8736c86e192112198 SHA256 960c7bf4bd0f5024f96be6ff8891118bd5d029f55525d1a43d8d01c8430c88d9
+EBUILD libsbsms-2.0.0.ebuild 686 RMD160 c2a07113df304b74b00feadbf6f1a783c767c130 SHA1 8953e7e7a6f42bdb81f99b983dcaa41928e013a5 SHA256 6ef087920fc33c832a53f89034ce6ee321a846c4143f0d8a4a8df84b93b0b22f
+MISC ChangeLog 344 RMD160 531ae5e506d8e5c0126ab4e678c901779138c6e8 SHA1 161627f49974a674e1f7afe1faf84d580728220d SHA256 6f5cae7342e506153cf48920f5a0ba534e3f00ee3596adca7c015c72f8e05ca6
+MISC metadata.xml 237 RMD160 044a8b68d9090a9875d3a15988afcf3e326c233c SHA1 c113b066650c0d82fde6d5c576c258073a1bf19b SHA256 c267bb94adf40f0d82243ec7fe1777061e9180712c7ec1597ddd627610446443
diff --git a/media-libs/libsbsms/files/libsbsms-2.0.0-cflags.patch b/media-libs/libsbsms/files/libsbsms-2.0.0-cflags.patch
new file mode 100644
index 000000000000..63de676beb66
--- /dev/null
+++ b/media-libs/libsbsms/files/libsbsms-2.0.0-cflags.patch
@@ -0,0 +1,24 @@
+--- libsbsms-2.0.0/configure.in
++++ libsbsms-2.0.0/configure.in
+@@ -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.0.ebuild b/media-libs/libsbsms/libsbsms-2.0.0.ebuild
new file mode 100644
index 000000000000..612a6e2b3374
--- /dev/null
+++ b/media-libs/libsbsms/libsbsms-2.0.0.ebuild
@@ -0,0 +1,35 @@
+# 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.0.ebuild,v 1.1 2012/06/30 04:02:48 radhermit 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 ~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
+}
diff --git a/media-libs/libsbsms/metadata.xml b/media-libs/libsbsms/metadata.xml
new file mode 100644
index 000000000000..8b48dd28506f
--- /dev/null
+++ b/media-libs/libsbsms/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>proaudio</herd>
+ <upstream>
+ <remote-id type="sourceforge">sbsms</remote-id>
+ </upstream>
+</pkgmetadata>