summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2013-01-25 10:34:28 +0000
committerAlexis Ballier <aballier@gentoo.org>2013-01-25 10:34:28 +0000
commiteb19e5953b048b0cf5111efd03ecfa17c7202297 (patch)
tree6170e650a94fc3e918f95677f7ac9efc00a11814 /media-libs
parentBump (diff)
downloadhistorical-eb19e5953b048b0cf5111efd03ecfa17c7202297.tar.gz
historical-eb19e5953b048b0cf5111efd03ecfa17c7202297.tar.bz2
historical-eb19e5953b048b0cf5111efd03ecfa17c7202297.zip
Initial import. Ebuild by me. Standalone resampling library from SoX, which is fast and good quality according to some studies.
Package-Manager: portage-2.2.0_alpha161/cvs/Linux x86_64 Manifest-Sign-Key: 0x160F534A
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/soxr/ChangeLog12
-rw-r--r--media-libs/soxr/Manifest17
-rw-r--r--media-libs/soxr/files/libsuffix.patch13
-rw-r--r--media-libs/soxr/files/nodoc.patch19
-rw-r--r--media-libs/soxr/files/noexamples.patch9
-rw-r--r--media-libs/soxr/metadata.xml5
-rw-r--r--media-libs/soxr/soxr-0.1.0.ebuild36
7 files changed, 111 insertions, 0 deletions
diff --git a/media-libs/soxr/ChangeLog b/media-libs/soxr/ChangeLog
new file mode 100644
index 000000000000..7bb2d68e4076
--- /dev/null
+++ b/media-libs/soxr/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for media-libs/soxr
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/soxr/ChangeLog,v 1.1 2013/01/25 10:34:21 aballier Exp $
+
+*soxr-0.1.0 (25 Jan 2013)
+
+ 25 Jan 2013; Alexis Ballier <aballier@gentoo.org> +soxr-0.1.0.ebuild,
+ +files/libsuffix.patch, +files/nodoc.patch, +files/noexamples.patch,
+ +metadata.xml:
+ Initial import. Ebuild by me. Standalone resampling library from SoX, which
+ is fast and good quality according to some studies.
+
diff --git a/media-libs/soxr/Manifest b/media-libs/soxr/Manifest
new file mode 100644
index 000000000000..2ab188fb1cdf
--- /dev/null
+++ b/media-libs/soxr/Manifest
@@ -0,0 +1,17 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX libsuffix.patch 573 SHA256 659c38e8ea34e084505e2082d098691d7a922887921a24f50326b190f1d1b042 SHA512 05f27db41104e53bceb6e202f1a22beb31d55984ef913b3e5f0812bd2d2936523ed7869468a356592c1023a77494f701a55b2de664021d4dc5017e2183e5553c WHIRLPOOL a1a55c674655fa9c17edac87459eecdff522f3764451b81819c37cee6922aaa67bc7e2f2a31f2443fc730cf8802985fe587611ff1234f077c7d549c44bea6999
+AUX nodoc.patch 517 SHA256 da29b1a22f3bd8227e57fe2f56aa749f6e6e48f949c064640b2511e7d24843cf SHA512 1f49a4f4386d143f5309cfe8feec4f330931e340fe42ee093eb2067beb5b0b929367a59fba4b68b309f6bda67ee7b2662086518028612d381abbbbd982e5fb0e WHIRLPOOL 263c05bd9952eaea6384eeb5744177b8e38cb9285bd871e6381bc580c559dc8f096a8f3cf1071e64fceb11273ebc5586fac6d32bd1985aa17ce0ef6c82bd84d4
+AUX noexamples.patch 461 SHA256 18402ba0e505d084746e3ec940c547a42419d3753d28d879a3a6ad5a2e8b045b SHA512 2e04e90341fadfe17c72bc9eaae98088afb72b424bde7631a41d6fcf007c11bcf2e8f6a147e5a763977d0adf3f7118d0d39b53007cd15f3991c1a4bb8dac8aec WHIRLPOOL 105afe003311e6f33afcb202cbcb0e16e2a7807ea351d5ecc547454a098eccacf988a451fc0f91e632082746168957ef4fc035bc7b9b69fe923395343f9617c5
+DIST soxr-0.1.0-Source.tar.xz 78900 SHA256 12ce532a3045a3f6942736ac3417c6cafe0204896eb86537527d79723ddbffb1 SHA512 c11ad01461adde4ebd9db63d130b96c2e0335b75f166d7d966da7d2efa54495dfdf5cda271b806816945f880e61e4e9e0c6b29df7735f33b6adf3a857b336c85 WHIRLPOOL 8125926d8802d89f2a70b5f400df1c9452dc689fb94af0e3da54dcf8ba396a8cd5f325460ecb41af441c70dffe5639bad17b0ecd105426794482a2284f3eee77
+EBUILD soxr-0.1.0.ebuild 824 SHA256 02ddf0d7cce1e864b537241f0098633f937794b96cdea7472572bfab4a70fd37 SHA512 f39e1ba8a499c2c03a8028f99abb7bb9ff2008cc0499093f6f4d4848fdf335a931749375423d5175b0994f2ab6a8deb318bd077b229c4374c723e8b5cc2f5483 WHIRLPOOL 386c6fefd69f2c0ce6c6abaeed6ce0af1467b4919d2a6e9df1861406223f0c15276501dfddf2149990dc3726291cc8f6dea6a43adb4cb20c8d4b5cac014fef12
+MISC ChangeLog 525 SHA256 0aaf2c2d1a0358f7a52221b965671feda2d102ad8f5dd8d36e3ee3b6a11cbdbd SHA512 ca46992ffae6cb77f95dc0bf91559b09fe7672df088084ee94bf8cce662cf67fdcfd35aa9eda3219dfd0c031e575540e3c457fe18fd7c4e116d996d55cf19c8d WHIRLPOOL ffeeba76af84bb202dc46c52912db3af67c1e4ab44d4d84fbfacbd9c53be06a56bc42a4e7fcde768bb47b31fa3a2b78ca23d15ef8ab92dc0b9d0a790e676bdec
+MISC metadata.xml 160 SHA256 6bafe4a5c7b42309f124ebc2a9d78ebe5379aec4dcdc88c0bda2ab79c9851a6b SHA512 f00066790833ce0ac73de2a96f22bc5ba7b9440a8f73749e2ab52f85038a05d3f768fe6ad59b15430b39b3c36163ae60b5e32d0c323326bb9427529c365549b9 WHIRLPOOL 0e3afa7015a86fdd97bcf0aa4d3b0063e87e34fffeb907b1c7c25c3b662849fefa7e45330d5aa697c7d65b24647d0ecefdfeb6b83b27645c12f2afb2c21be423
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iEYEAREIAAYFAlECX64ACgkQvFcC4BYPU0oI6wCeLh6xxfXndWGcsjl4UXSrZDfP
+/jYAn1XQomwPv9TBfAKm470S7wkXS94V
+=7zgf
+-----END PGP SIGNATURE-----
diff --git a/media-libs/soxr/files/libsuffix.patch b/media-libs/soxr/files/libsuffix.patch
new file mode 100644
index 000000000000..e22512b78188
--- /dev/null
+++ b/media-libs/soxr/files/libsuffix.patch
@@ -0,0 +1,13 @@
+Index: soxr-0.1.0-Source/CMakeLists.txt
+===================================================================
+--- soxr-0.1.0-Source.orig/CMakeLists.txt
++++ soxr-0.1.0-Source/CMakeLists.txt
+@@ -180,7 +180,7 @@ if (NOT DEFINED BIN_INSTALL_DIR)
+ set (BIN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/bin")
+ endif ()
+ if (NOT DEFINED LIB_INSTALL_DIR)
+- set (LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib")
++ set (LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}")
+ endif ()
+ if (NOT DEFINED INCLUDE_INSTALL_DIR)
+ set (INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include")
diff --git a/media-libs/soxr/files/nodoc.patch b/media-libs/soxr/files/nodoc.patch
new file mode 100644
index 000000000000..0d64e1aba0f9
--- /dev/null
+++ b/media-libs/soxr/files/nodoc.patch
@@ -0,0 +1,19 @@
+Index: soxr-0.1.0-Source/CMakeLists.txt
+===================================================================
+--- soxr-0.1.0-Source.orig/CMakeLists.txt
++++ soxr-0.1.0-Source/CMakeLists.txt
+@@ -217,14 +217,6 @@ if (BUILD_TESTS OR BUILD_LSR_TESTS)
+ enable_testing ()
+ endif ()
+
+-install (FILES
+- ${CMAKE_CURRENT_SOURCE_DIR}/README
+- ${CMAKE_CURRENT_SOURCE_DIR}/LICENCE
+- ${CMAKE_CURRENT_SOURCE_DIR}/NEWS
+- DESTINATION ${DOC_INSTALL_DIR})
+-
+-
+-
+ # Subdirectories:
+
+ include_directories (${PROJECT_SOURCE_DIR}/src)
diff --git a/media-libs/soxr/files/noexamples.patch b/media-libs/soxr/files/noexamples.patch
new file mode 100644
index 000000000000..c66c0b1e5b19
--- /dev/null
+++ b/media-libs/soxr/files/noexamples.patch
@@ -0,0 +1,9 @@
+Index: soxr-0.1.0-Source/examples/CMakeLists.txt
+===================================================================
+--- soxr-0.1.0-Source.orig/examples/CMakeLists.txt
++++ soxr-0.1.0-Source/examples/CMakeLists.txt
+@@ -34,4 +34,3 @@ if (${BUILD_TESTS} AND ${WITH_LSR_BINDIN
+ endif ()
+
+ file (GLOB INSTALL_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/*.[cCh])
+-install (FILES ${INSTALL_SOURCES} ${CMAKE_CURRENT_SOURCE_DIR}/README DESTINATION ${DOC_INSTALL_DIR}/examples)
diff --git a/media-libs/soxr/metadata.xml b/media-libs/soxr/metadata.xml
new file mode 100644
index 000000000000..3bf6bcfeb512
--- /dev/null
+++ b/media-libs/soxr/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sound</herd>
+</pkgmetadata>
diff --git a/media-libs/soxr/soxr-0.1.0.ebuild b/media-libs/soxr/soxr-0.1.0.ebuild
new file mode 100644
index 000000000000..2fc8e875aaf3
--- /dev/null
+++ b/media-libs/soxr/soxr-0.1.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/soxr/soxr-0.1.0.ebuild,v 1.1 2013/01/25 10:34:21 aballier Exp $
+
+EAPI=4
+
+inherit cmake-utils
+
+MY_P=${P}-Source
+DESCRIPTION="The SoX Resampler library"
+HOMEPAGE="https://sourceforge.net/p/soxr/wiki/Home/"
+SRC_URI="mirror://sourceforge/soxr/${MY_P}.tar.xz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="examples"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+DOCS=( "README" "TODO" "NEWS" "AUTHORS" )
+PATCHES=(
+ "${FILESDIR}/libsuffix.patch"
+ "${FILESDIR}/nodoc.patch"
+ "${FILESDIR}/noexamples.patch"
+ )
+
+src_install() {
+ cmake-utils_src_install
+ if use examples ; then
+ insinto /usr/share/doc/${PF}/examples
+ doins examples/*.[cCh] examples/README
+ fi
+}