summaryrefslogtreecommitdiff
path: root/media-libs/spandsp
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/spandsp
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/spandsp')
-rw-r--r--media-libs/spandsp/Manifest9
-rw-r--r--media-libs/spandsp/metadata.xml8
-rw-r--r--media-libs/spandsp/spandsp-0.0.6.ebuild67
-rw-r--r--media-libs/spandsp/spandsp-0.0.6_pre12-r1.ebuild49
-rw-r--r--media-libs/spandsp/spandsp-0.0.6_pre21.ebuild52
5 files changed, 185 insertions, 0 deletions
diff --git a/media-libs/spandsp/Manifest b/media-libs/spandsp/Manifest
new file mode 100644
index 000000000000..46abd4c38df8
--- /dev/null
+++ b/media-libs/spandsp/Manifest
@@ -0,0 +1,9 @@
+DIST spandsp-0.0.6.tar.gz 3309837 SHA256 cc053ac67e8ac4bb992f258fd94f275a7872df959f6a87763965feabfdcc9465 SHA512 16bb215ca89a39282e832403f69bc4c98ad3fe35ab3a6eb4731ee5029a6acd9b2df243c3701de845441cbdc16c88b3cd398ef15dc3502e45d5aeca8a161917d4 WHIRLPOOL 83aad8c11aeb3e0686cd35d2987602e4d9f4001f29463ece18d6843be855ad32f9a3fd8cba2842a1c8dc9f91acde1b776400b4317c93d0201b9039b0990f500a
+DIST spandsp-0.0.6pre12.tgz 2566669 SHA256 81820ab80be853ecfea79b75e5b5cf592ff7083853cc22ced46d57da47f9d0e8 SHA512 19a7fe491b836fe604373aa2d31d4b35dde19e593a8f3d5d2a4b866ea69a137ba5ebfd43c34f74e8f7800a7eb1ba93d1a0401540e310bad2b73aecb17c45de0b WHIRLPOOL c7ddee4f308af16dd77b612df0ce339ff89c8ec80cb77139d460299a76e291c334315f0ee48a51a6a6af125f1dc0d824fcf43e03fb206a909b5fec159e1cbf01
+DIST spandsp-0.0.6pre21.tgz 3278758 SHA256 bd152152bf0b204661ab9439c5a649098bcb8cefebcbfa959dd602442739aa50 SHA512 6f846021cd6a1605d371a8e5d1ac3a5b6adc5b85de2517e24a5afaa57b4864202c2d16c1196959f7f11d866732d17d301d2d37121228cec75077678f8fc3e488 WHIRLPOOL e3c375888c562a933ca9be22a916d57b538ee702b77d0e4ce078eadd93e8701e1bcd76296ba6b88934888a4a3f5b6c216441a5e5f8aea8134984fe4213f38736
+EBUILD spandsp-0.0.6.ebuild 2031 SHA256 ed3c7d8aaad8dd2651aea0dda2ef4e21999611acd16da3796d2b8050858d2aeb SHA512 4c3283e72fe68f46ad429b39a0b70cbdac1c75a90c71af96d24c14770460d38011d83f95ec3d533d11bd1e39c60403f57b7649e57e7790ade8554b133a6028c2 WHIRLPOOL 1c821529810d5c92f60af4dfccb9fab4ab2cae06fa269bbcdd2d9ee6339f4a2623e6c02d0aa55876eea2b309f0824f25e64174e9fdad0159a20f9df9dc4231bb
+EBUILD spandsp-0.0.6_pre12-r1.ebuild 1286 SHA256 829bad029a5fe055e4c91fb1fba9be2c56f79d21b92a9226038fa8b69850d1f0 SHA512 4e067b539d08b5369cd3b6b290400ec725238de997e6a4d1fd48bfe2d7b3b6fa5089ad282bdb7796b8c925b9b17cdf4702c5c4c19e7f9dc4f5d2d0fb65048ea2 WHIRLPOOL 23e23173c49f753aa8f112e547d9ddfe83c6409319c1d4d6635b161cae5d0a3e2c33e143346990cacdfc9ae2541c9fa5e9b177d023e6104084aa0770adcaad7c
+EBUILD spandsp-0.0.6_pre21.ebuild 1420 SHA256 7bb3ccf99fa862748dfe5ef0581e8d3436cd10022d3480469fb7f703d0b6e100 SHA512 7b7a36520e5f0f76d066078df5d3fd277540c1f7670a4beed8f3166e35f0be7eb67dace9e303586197919ba70ca00805eef0137dc3448f8b046d6b60d18f5099 WHIRLPOOL 251e8751eaa68b9aae53db4923af6d4f3131a81d9fffa461ba9989bf37b56f367626dad1c199464406f8990d66b6cdc7ecf981ff5abd2c9e8b4497f01dd46d50
+MISC ChangeLog 2707 SHA256 dd5cdd91b8b535c80bd0a45ab42322f7dae128d1659b3c061f18b1b76b17df44 SHA512 027e618d045811e1b590696d1af9385edcd15b5661162f0e58aedea2058acfa18cf5bcda74ddcab5ea08d6552eb8ab9aa891f7ce958e63fdedf7a2121a4b1cc7 WHIRLPOOL 0bdad222c23c1485f286a0fac494f42a9b60f4b72deeea4eeb6243cbbf215b0ee277debf5c70ccdbdc75a1e2d8f67e693fdbd50fca36868763fb55d584fbbf15
+MISC ChangeLog-2015 7192 SHA256 42b0095042b3178454a9f60f7592a4b3fe22613986bfbae75f3d3f7a0dc42120 SHA512 53c5f2b2267b89a385426829d62f067c62857423ca7143e83bab21ec7a0f15c39efff253bebf4eb8e94ac25512f6ecdbec1e38882f19518d13737b811f0efe4a WHIRLPOOL d02b3144311aecde891618925bc029974afe2a0b5203c80354363ca456af5dd912b916cbc06a09a8d21ae2d2f065f7db7312bd82506c7866205957e8b4794812
+MISC metadata.xml 290 SHA256 b07e909a0ea4eaf6427657aa13c5a8ab44873e3707801ace8f242cc3512df49e SHA512 f08879963e8fb56d360f85585ebcd98abf958cf0f68d3fcb7c3185ef84c39831f0b39927cf93470dd4c851016a7d19f482e2c4642de473af8ee8de06f1f316ba WHIRLPOOL b9eea21eb60bb687bda74795879768e5f418a02d4a161193b38ddf91a238cc7087e54f6d6aca4adb8dffb46ada713b62ca25502aa6a0b3ac6b410842b763a85a
diff --git a/media-libs/spandsp/metadata.xml b/media-libs/spandsp/metadata.xml
new file mode 100644
index 000000000000..3a50b0af1588
--- /dev/null
+++ b/media-libs/spandsp/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person"><email>chainsaw@gentoo.org</email></maintainer>
+ <use>
+ <flag name="fixed-point">Enable fixed point support</flag>
+ </use>
+</pkgmetadata>
diff --git a/media-libs/spandsp/spandsp-0.0.6.ebuild b/media-libs/spandsp/spandsp-0.0.6.ebuild
new file mode 100644
index 000000000000..042b3bcb6317
--- /dev/null
+++ b/media-libs/spandsp/spandsp-0.0.6.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit multilib versionator
+
+DESCRIPTION="SpanDSP is a library of DSP functions for telephony"
+HOMEPAGE="http://www.soft-switch.org/"
+SRC_URI="http://www.soft-switch.org/downloads/spandsp/${P/_}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 hppa ~ppc ~ppc64 ~x86"
+IUSE="doc fixed-point cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 static-libs"
+
+RDEPEND="media-libs/tiff
+ virtual/jpeg"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen
+ dev-libs/libxslt )"
+
+# Enabled implicitly by the build system. Really useless.
+REQUIRED_USE="
+ cpu_flags_x86_sse3? ( cpu_flags_x86_sse2 )
+ cpu_flags_x86_sse2? ( cpu_flags_x86_sse )
+ cpu_flags_x86_sse? ( cpu_flags_x86_mmx )"
+
+S=${WORKDIR}/${PN}-$(get_version_component_range 1-3)
+
+# TODO:
+# there are two tests options: tests and test-data
+# they need audiofile, fftw, libxml and probably more
+
+src_configure() {
+ # Note: flags over sse3 aren't really used -- they're only
+ # boilerplate. They also make some silly assumptions, e.g. that
+ # every CPU with SSE4* has SSSE3.
+ # Reference: https://bugs.funtoo.org/browse/FL-2069.
+ # If you want to re-add them, first check if the code started
+ # using them. If it did, figure out if the flags can be unbundled
+ # from one another. Otherwise, you'd have to do REQUIRED_USE.
+
+ econf \
+ --disable-dependency-tracking \
+ $(use_enable doc) \
+ $(use_enable fixed-point) \
+ $(use_enable cpu_flags_x86_mmx mmx) \
+ $(use_enable cpu_flags_x86_sse sse) \
+ $(use_enable cpu_flags_x86_sse2 sse2) \
+ $(use_enable cpu_flags_x86_sse3 sse3) \
+ $(use_enable static-libs static)
+}
+
+src_install () {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS ChangeLog DueDiligence NEWS README
+
+ if ! use static-libs; then
+ # remove useless la file when not installing static lib
+ rm "${D}"/usr/$(get_libdir)/lib${PN}.la || die "rm failed"
+ fi
+
+ if use doc; then
+ dohtml -r doc/{api/html/*,t38_manual}
+ fi
+}
diff --git a/media-libs/spandsp/spandsp-0.0.6_pre12-r1.ebuild b/media-libs/spandsp/spandsp-0.0.6_pre12-r1.ebuild
new file mode 100644
index 000000000000..d045fb6aff25
--- /dev/null
+++ b/media-libs/spandsp/spandsp-0.0.6_pre12-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="2"
+
+inherit multilib versionator
+
+DESCRIPTION="SpanDSP is a library of DSP functions for telephony"
+HOMEPAGE="http://www.soft-switch.org/"
+SRC_URI="http://www.soft-switch.org/downloads/spandsp/${P/_}.tgz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 ~arm ppc ppc64 x86"
+IUSE="doc fixed-point static-libs"
+
+RDEPEND="media-libs/tiff"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen
+ dev-libs/libxslt )"
+
+S=${WORKDIR}/${PN}-$(get_version_component_range 1-3)
+
+# TODO:
+# there are two tests options: tests and test-data
+# they need audiofile, fftw, libxml and probably more
+# configure script is auto-enabling some sse* options sometimes
+
+src_configure() {
+ econf \
+ --disable-dependency-tracking \
+ $(use_enable doc) \
+ $(use_enable fixed-point) \
+ $(use_enable static-libs static)
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog DueDiligence NEWS README || die "dodoc failed"
+
+ if ! use static-libs; then
+ # remove useless la file when not installing static lib
+ rm "${D}"/usr/$(get_libdir)/lib${PN}.la || die "rm failed"
+ fi
+
+ if use doc; then
+ dohtml -r doc/{api/html/*,t38_manual} || die "dohtml failed"
+ fi
+}
diff --git a/media-libs/spandsp/spandsp-0.0.6_pre21.ebuild b/media-libs/spandsp/spandsp-0.0.6_pre21.ebuild
new file mode 100644
index 000000000000..5d03ac487ecf
--- /dev/null
+++ b/media-libs/spandsp/spandsp-0.0.6_pre21.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit multilib versionator
+
+DESCRIPTION="SpanDSP is a library of DSP functions for telephony"
+HOMEPAGE="http://www.soft-switch.org/"
+SRC_URI="http://www.soft-switch.org/downloads/spandsp/${P/_}.tgz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="doc fixed-point cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 static-libs"
+
+RDEPEND="media-libs/tiff"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen
+ dev-libs/libxslt )"
+
+S=${WORKDIR}/${PN}-$(get_version_component_range 1-3)
+
+# TODO:
+# there are two tests options: tests and test-data
+# they need audiofile, fftw, libxml and probably more
+# configure script is auto-enabling some sse* options sometimes
+
+src_configure() {
+ econf \
+ --disable-dependency-tracking \
+ $(use_enable doc) \
+ $(use_enable fixed-point) \
+ $(use_enable cpu_flags_x86_mmx mmx) \
+ $(use_enable cpu_flags_x86_sse2 sse2) \
+ $(use_enable cpu_flags_x86_sse3 sse3) \
+ $(use_enable static-libs static)
+}
+
+src_install () {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS ChangeLog DueDiligence NEWS README
+
+ if ! use static-libs; then
+ # remove useless la file when not installing static lib
+ rm "${D}"/usr/$(get_libdir)/lib${PN}.la || die "rm failed"
+ fi
+
+ if use doc; then
+ dohtml -r doc/{api/html/*,t38_manual}
+ fi
+}