summaryrefslogtreecommitdiff
path: root/media-libs/libsbsms
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/libsbsms
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/libsbsms')
-rw-r--r--media-libs/libsbsms/Manifest12
-rw-r--r--media-libs/libsbsms/files/libsbsms-2.0.0-cflags.patch24
-rw-r--r--media-libs/libsbsms/files/libsbsms-2.0.1-includes.patch11
-rw-r--r--media-libs/libsbsms/files/libsbsms-2.0.2-cflags.patch24
-rw-r--r--media-libs/libsbsms/libsbsms-2.0.0.ebuild34
-rw-r--r--media-libs/libsbsms/libsbsms-2.0.1.ebuild36
-rw-r--r--media-libs/libsbsms/libsbsms-2.0.2.ebuild34
-rw-r--r--media-libs/libsbsms/metadata.xml11
8 files changed, 186 insertions, 0 deletions
diff --git a/media-libs/libsbsms/Manifest b/media-libs/libsbsms/Manifest
new file mode 100644
index 000000000000..4151a5c96755
--- /dev/null
+++ b/media-libs/libsbsms/Manifest
@@ -0,0 +1,12 @@
+AUX libsbsms-2.0.0-cflags.patch 688 SHA256 190daeec24319d852e3e0b5151dc3dd34da109f729f98bd65ca86d06375fd096 SHA512 f968f88ea1f66fda6539a949266371adc8927305366ec8c4d9ae32a7c2d32d10edc762469b2c8bcd16a7c1d73598b0f90d5e01c7cf872065267ee8ac3aa6a139 WHIRLPOOL 5ba8f25e7926bbad0e1dcc33062ae5a5c1d78c94228c8f1c9450735e877976433aa6706cab27d0470dd38e66fd6146e0298d63435fdc48a37e80fc12a25672a3
+AUX libsbsms-2.0.1-includes.patch 342 SHA256 6a02bc5b80ca9a0da1078ced0c4f1b5f4f24dd4bce046f5719c87eba45c62d05 SHA512 ab8b944a7966a9b297b6d80aeb5dfaffad4fb28662d8041621d9d871aeae3e79fbfe44486c29bd10a6010ce853933db50355b300d7dfb6ccd1020fccf61fe746 WHIRLPOOL 4276563152e18fb1a5be6248ef6d0d85adb57da53c01d5f55f43d31334e8463a53603e0dc1e51a16fa4ceb42232a7bbdfccdd7a2154d28d5adfb82f63c981363
+AUX libsbsms-2.0.2-cflags.patch 688 SHA256 58ea7e6c5ed90149a4908b7db6977d3200b5b92551abcc332b6cc388ab4f7e4c SHA512 330a26e5b4b99f00546a2f625c4bae90f8a8645e855379e7de4f833a1c561c3c8e23f0faa954a989359f0de09a1310374ff93644d2f646bae3b9788293cfcd29 WHIRLPOOL b73a8e14dfd488725e167df00a48e0b29950971ff6c09eb3e9d0260942a114297a7d0811e6a24a54a957941256b0cc7804f830d287cb8f9437dc238f9208bdce
+DIST libsbsms-2.0.0.tar.gz 832881 SHA256 960c7bf4bd0f5024f96be6ff8891118bd5d029f55525d1a43d8d01c8430c88d9 SHA512 c3047310c5e5080eb437f426ac679fda3cd18ccf06e287667701aa9ef50e47285df4cc29e5d1dd82e9bdd1e668bf33ee437d9bc8499ba1687b172ac904d80d92 WHIRLPOOL ae519fc74e9145a309c0fcdf7eb84335fb8c0b4d5ea5863ab14fe447dc8100fa7cb98c3dbd8ddbb0ddc07b609404f49405f2d96e7c68d1e8f98bcbfc9563da5a
+DIST libsbsms-2.0.1.tar.gz 741474 SHA256 1012201f3d982960ca29142e3adab79f3668932b23cc38a9f9088ca9a2588b25 SHA512 62d5b3bc58069d697f0cf9505f2da22555a1fa8c966191cdd369161d56266069ae47a41100103439dc58b7dd01bbc3b11279400a2d0c161b2b4b9c854199ae45 WHIRLPOOL a01fa860088e4b386184f36ddc8c19522ce5f850f76cebf8f2800aa6f21715112fc03457653842b581b4cb16c7d064a9f2babe54149ca4c652a497ea31fdce93
+DIST libsbsms-2.0.2.tar.gz 450170 SHA256 ceab3d970664b337057b46bcf55283d50d329da636bf83d0ee7c36e22341aeee SHA512 8aaab3e191f3e10e559683ab4ebdcb8d951cf0e776390234f25675a98640d60d20aed872061ba72fdc3bd7827b7d46bc27225fe947cdd7fa4312f75cbdd78e6c WHIRLPOOL 4cf6c0564a1e270ad46b90f07e1ab36c642384994ad1224c0f4c56dfdeafa5afbaadecbf8151a9767a39203e661443964b823b21c45d3a7b29fcf121cb7910e6
+EBUILD libsbsms-2.0.0.ebuild 705 SHA256 f6bb7506dc31b8d12cdda0e421940691faa40f9e4863d2aa2fbdb4c00fca2565 SHA512 17ecc8575892f659b939b6e75d09337331187b0005921670df54c93015a90d9e55f77369f0ff8bf0530dc157361bfb13f7a332f206d48c9bc352fc0a9c75939f WHIRLPOOL 7f00de373be3f88c4395611cbda2f8bf393568db56eee088cd0a234578ccac600a861437e5bcffe52ec80f2d21c918ca80100c9f30caaa551752364e3d74caca
+EBUILD libsbsms-2.0.1.ebuild 775 SHA256 1a94978fa62dbf0e6c5f7330ca0803dcc0549bc438886dedb999eb0a60c56062 SHA512 52e7466ea91977aec9929299129fc909e324f1ff08c63ab058e4609ecdcdb60f761c658ce1420d58882f9ff15a9f84e07a406461139a86665ae8c62425c7734c WHIRLPOOL 114c3941dca5fa4a2903bc8e3a7582f4ba6edc191fd959104d534b7985cc2c5c53baa10a387056af4565babfd175412fb5bab1f0438e0eb4da58bd5cb24a918c
+EBUILD libsbsms-2.0.2.ebuild 719 SHA256 b67804aee352c044d122cdca4e05b74981a5343ff529d3ba8f666e7edc70ad36 SHA512 ebfc7e0316c67e1fa2d9cd34a6c79386fa634879509731bde60ee08ae528f98fad4cef6ca19faf40545216cf4a364a698947a4fd1aeb7498db46e227d032dd8c WHIRLPOOL f65c1126a6cf1baa8362b5fe3b8d857775b0ff06e87c2507c9ee5ec16fd3b45d17509e34d9df2bbbd725158313b98e3328c5ade3a94ae9f3128e4e5839e96146
+MISC ChangeLog 2831 SHA256 155dcbc147a3d4b6cfb3961950fbaef80ed9a892f452f2aff0ca8c7242919c3c SHA512 03d82ecce365af1ec7e8e0a2f2fd4367478394ffdc6b197cc9c4c94f83b155fa43634f918da1b775864733b21dcec8b176fea0acb87803373675c8770285ad94 WHIRLPOOL 946515d909617486d5e4296d5f674554abc1b8087aa5939898c74f6fc164f1a2314426839a056ffcf6048b37df6edfb3d141c8d689108835f3b8c7a310056b5d
+MISC ChangeLog-2015 1906 SHA256 5178bb3a9b132792307bb85cf73d912b2889b5f8c720ef5b94ad6c7439806716 SHA512 45f5693571e794e5e56437a3c0ceb9aafe99370a26a8b670757816a71e7d9f9d6aee13c1d492f411df0133e4d0b5f9fa54af1cbd78146a9b1012656eaccd4dc1 WHIRLPOOL cdda83b630786f4be02c042d6436cc885f2c8ab2a6f1d1f1b1af335ce2deb3aadd31997d2b5394984ba5d5fd9766485e323c114662840e661f8c4eb8bfb49def
+MISC metadata.xml 334 SHA256 937632eeaddee8e739f3ecf1d645120d255c030f07024aee19689e465f5188c7 SHA512 0bdcb69cb01f3ee3734ee6374e72b0e2d6b413660067b0c63df773f61d13230d0e1b7af19ed5ffe8a31472a4f8e715c3da3b76bdb3e350cfbadab5dbb4d25a59 WHIRLPOOL ff13c10798a735f814fc8a6177e254756e365fe0cfce385abdd226ebc2beeb0491184d38c032a2db0661259890dea6f9b3e731549815d9b99917a7444d7d4b3f
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/files/libsbsms-2.0.1-includes.patch b/media-libs/libsbsms/files/libsbsms-2.0.1-includes.patch
new file mode 100644
index 000000000000..63937fa6157d
--- /dev/null
+++ b/media-libs/libsbsms/files/libsbsms-2.0.1-includes.patch
@@ -0,0 +1,11 @@
+diff -urN libsbsms-2.0.1.old/src/buffer.h libsbsms-2.0.1/src/buffer.h
+--- libsbsms-2.0.1.old/src/buffer.h 2012-12-08 18:43:46.772667486 +0100
++++ libsbsms-2.0.1/src/buffer.h 2012-12-08 18:44:04.677668212 +0100
+@@ -2,6 +2,7 @@
+ #ifndef BUFFER_H
+ #define BUFFER_H
+
++#include <stdlib.h>
+ #include "sbsms.h"
+ #include "grain.h"
+ #include <list>
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.0.ebuild b/media-libs/libsbsms/libsbsms-2.0.0.ebuild
new file mode 100644
index 000000000000..d29fc3b908d3
--- /dev/null
+++ b/media-libs/libsbsms/libsbsms-2.0.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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="cpu_flags_x86_sse static-libs"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-cflags.patch
+ 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
+}
diff --git a/media-libs/libsbsms/libsbsms-2.0.1.ebuild b/media-libs/libsbsms/libsbsms-2.0.1.ebuild
new file mode 100644
index 000000000000..c4a25747efd2
--- /dev/null
+++ b/media-libs/libsbsms/libsbsms-2.0.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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 ~mips ppc ppc64 x86"
+IUSE="cpu_flags_x86_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 cpu_flags_x86_sse sse) \
+ --disable-multithreaded
+ # threaded version causes segfaults
+}
+
+src_install() {
+ default
+ prune_libtool_files
+}
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..c4c78f578fa5
--- /dev/null
+++ b/media-libs/libsbsms/libsbsms-2.0.2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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="cpu_flags_x86_sse static-libs"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-cflags.patch
+ 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
+}
diff --git a/media-libs/libsbsms/metadata.xml b/media-libs/libsbsms/metadata.xml
new file mode 100644
index 000000000000..e69e5a4ce730
--- /dev/null
+++ b/media-libs/libsbsms/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>proaudio@gentoo.org</email>
+ <name>Gentoo ProAudio Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">sbsms</remote-id>
+ </upstream>
+</pkgmetadata>