From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- media-libs/libsoundtouch/Manifest | 10 ++++ .../files/libsoundtouch-1.7.0-flags.patch | 22 +++++++++ .../libsoundtouch/libsoundtouch-1.8.0-r1.ebuild | 48 +++++++++++++++++++ .../libsoundtouch/libsoundtouch-1.9.2.ebuild | 50 ++++++++++++++++++++ .../libsoundtouch/libsoundtouch-2.0.0.ebuild | 54 ++++++++++++++++++++++ media-libs/libsoundtouch/metadata.xml | 8 ++++ 6 files changed, 192 insertions(+) create mode 100644 media-libs/libsoundtouch/Manifest create mode 100644 media-libs/libsoundtouch/files/libsoundtouch-1.7.0-flags.patch create mode 100644 media-libs/libsoundtouch/libsoundtouch-1.8.0-r1.ebuild create mode 100644 media-libs/libsoundtouch/libsoundtouch-1.9.2.ebuild create mode 100644 media-libs/libsoundtouch/libsoundtouch-2.0.0.ebuild create mode 100644 media-libs/libsoundtouch/metadata.xml (limited to 'media-libs/libsoundtouch') diff --git a/media-libs/libsoundtouch/Manifest b/media-libs/libsoundtouch/Manifest new file mode 100644 index 000000000000..aa3d4d1fdc3d --- /dev/null +++ b/media-libs/libsoundtouch/Manifest @@ -0,0 +1,10 @@ +AUX libsoundtouch-1.7.0-flags.patch 651 SHA256 b180875611c8474f5642196cbd02588652ab2f06703aa9ff268c89f35ed5557f SHA512 10ce7ad86d442430af3c2bee3cc1358f98e54ebe205c1eb50c817fb687da21dbfe2db4499a8b623ff5d2d2bbbf04d4d7d9c4856399bcd3934ac7f8b6b8369b60 WHIRLPOOL 9798d8c1b23443dd3c09b537734875fd44ac0e88cfd51cec002f0ce5b8e94bfb6de67221c2520fde98513cee41f98f2a8a1a9d1df19d5c43b986c5df8b79f9be +DIST soundtouch-1.8.0.tar.gz 106229 SHA256 3d4161d74ca25c5a98c69dbb8ea10fd2be409ba1a3a0bf81db407c4c261f166b SHA512 724e6ecc1727ee4c4f2503d183717dc1503ee2017b176677da6f0268e82254a7cca3ff9a27dbb9cab59e32d002797eec1b39d2b729f741e5f2ea77a147af4d39 WHIRLPOOL e4abc67aa23448a6ef8230794d1e6b9d3f4c33db1fc4fd7c784ab60953d6b79fd850b3cfbdb8ce983b238e7dc249ee96824160bb6e4683b17fd521a4b12b1b1c +DIST soundtouch-1.9.2.tar.gz 171369 SHA256 caeb86511e81420eeb454cb5db53f56d96b8451d37d89af6e55b12eb4da1c513 SHA512 d8f3f8970198a46ef3dc252719749bc19cbd2f8de5e00eeb2874565bfc421b60d94d400bacf702591293e595edf6c1c35917b6153fd395cad8d6b03115da7068 WHIRLPOOL a5c5fa4537ffb1f1bc815347e23e980dcc6d307e9882dd0eb38648b42c4745391f0131c4880a2d2c479bd90edbdd94dffb8874349c7e04a4c4169025b1874242 +DIST soundtouch-2.0.0.tar.gz 455148 SHA256 d224f7d1421b5f8e74a74c85741345bd9802618a40ae30ce5b427a5705c89d25 SHA512 c916bdd2cb3d7547f264b1caf09b739b48a161c8c6288c3893fc97379546ed6b41dafaf603b583fbf64ae91270fdeb90811e5b0df0e9c051dc9f6ddca4d319f9 WHIRLPOOL a306e864c450b55970d4a6424d4186571a68a221735b7fe36470571b7d43e6f641b8c7fbc52fa8809c54a533898608ffa9de17efeb911ddae3eca7e763167c4c +EBUILD libsoundtouch-1.8.0-r1.ebuild 1274 SHA256 ce0cc591bf9e9aeed16f58a28692f2d23bda24e6d7d4bdc3511a910104cbda8b SHA512 1ce547e6fadaae27978584b70efb7b9a5a1fe2fe9ec29c43d56a8f69621ce87ee045bec59c550793c71adfddffee8db72b520f6650d8354238fc54a7b75ce63b WHIRLPOOL 5685919c4ec793c8dec5e01b1d835b3ff200f132c9422a01afbf906b761462b78cdce640a0e606bff960419a957603a0d1c87172bc07d8dc208782f07acd6a62 +EBUILD libsoundtouch-1.9.2.ebuild 1385 SHA256 6181ddc40b8c9bada0d75151e9ea67dfb7f95f3459009eaa439a28ebeeb23aa6 SHA512 bb278dea26b3fdc73e598b7fe05ce7af5595bd64a894eb0746b5ba36fbba90fcbfcfc3d43e43d7406b60f3f8bed5034368644dc1563a2a275103e93db87cd72d WHIRLPOOL 7faa6a969b79af42b601c9de9943c890e4494e3722418be8004b1ea928118445a1f97ea0fc0a054818bad2314ee45792cd55c2ee87c4f8dea9e5e6f3effa2d8b +EBUILD libsoundtouch-2.0.0.ebuild 1440 SHA256 21e956b3da3b231b8f87f130238587ed2ea24f6f23d674fbdcc92fa912de7551 SHA512 5ba4d6220fb33c1defdcefa8e0f1bbc0ce5720ae0f0c3e58a2230f23862c7b93e6087cf63e78c98216695a9469a39d29e252ba0d62d3f86bbecabb7fbdeac472 WHIRLPOOL 04cedb3746dc843d644c9a767fcdb92929fc5074e96e1b7b9414a3d54b4b8489ed5e087eb5505ac2403704c02b39a7f5e2ac1e60843fa5333591b8896f288c67 +MISC ChangeLog 2861 SHA256 74a36a3fc56e598567242b8cf01b45d85d0ea003150a543b454e62a866762dd0 SHA512 e181f7f45594191206ad1c722bc7fdf543549c0f24a49f756ddace579427f0d7852d3368c71c43f692f7c7b6b0c88b4b51aa05d41765ebf85a5617bc77ccdda7 WHIRLPOOL eb4d9f7ea43e3a2b11a6b3a503e03b044acd3eab0aced0bfcb14f866f197b2491831f20899daeb333775743e2dc03dd546843d3a0ea057ce9a33a7d610fe50bf +MISC ChangeLog-2015 11811 SHA256 3d766b80ebaf93c1861d98034bcae809e6837389accc8c2907aa6bcd34aa3103 SHA512 4cc971b173a9d5158c44e011d8f52d38302128f2abc7ab31bb46fcd2c66841d5d74deda2ad3aa9d84c7ca2952e7a61af90875b49cca877d24ddff166d8adf7a7 WHIRLPOOL 929e908bcbf1c37045faf1a042dc8a8b93639ebc0b445d90ccd1697ee4246291db50715c2372c8c49dde99fbdf3790f18299fe5d0243207a5b1085140055ba4e +MISC metadata.xml 253 SHA256 6b992cbf9f9d479cdf83d3f9a1ec920aa0be988f39ee4f1f41fd12b917f1b36b SHA512 78b724be3e1dbd6fc3c2e92cdbacc15ea4b0e8ee6fa22f76ebdd882b3a7bbedeaf8f80a29e36ec67e0432d2dfad3f57de4bc46480f92c8e544322755292df894 WHIRLPOOL 73df5c8f06d7079d8407b50207f0c217cf57ae161fbaf3c39e168b6f11b2bfac4f61b6191a5b9beecc981c003191844660c330dc8679580e1d2d336ff4e38e00 diff --git a/media-libs/libsoundtouch/files/libsoundtouch-1.7.0-flags.patch b/media-libs/libsoundtouch/files/libsoundtouch-1.7.0-flags.patch new file mode 100644 index 000000000000..2b1e1ac80958 --- /dev/null +++ b/media-libs/libsoundtouch/files/libsoundtouch-1.7.0-flags.patch @@ -0,0 +1,22 @@ +--- soundtouch/source/SoundStretch/Makefile.am ++++ soundtouch/source/SoundStretch/Makefile.am +@@ -48,7 +48,7 @@ + # soundstretch_LDFLAGS=-s + + ## additional compiler flags +-soundstretch_CXXFLAGS=-O3 ++#soundstretch_CXXFLAGS=-O3 + + #clean-local: + # -rm -f additional-files-to-remove-on-make-clean +--- soundtouch/source/SoundTouch/Makefile.am ++++ soundtouch/source/SoundTouch/Makefile.am +@@ -32,7 +32,7 @@ + + + # Compiler flags +-AM_CXXFLAGS=-O3 -fcheck-new -I../../include ++AM_CXXFLAGS=-fcheck-new -I../../include + + # Compile the files that need MMX and SSE individually. + libSoundTouch_la_LIBADD=libSoundTouchMMX.la libSoundTouchSSE.la diff --git a/media-libs/libsoundtouch/libsoundtouch-1.8.0-r1.ebuild b/media-libs/libsoundtouch/libsoundtouch-1.8.0-r1.ebuild new file mode 100644 index 000000000000..622e5152d3a6 --- /dev/null +++ b/media-libs/libsoundtouch/libsoundtouch-1.8.0-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils flag-o-matic multilib-minimal + +MY_PN=${PN/lib} + +DESCRIPTION="Audio processing library for changing tempo, pitch and playback rates" +HOMEPAGE="https://www.surina.net/soundtouch/" +SRC_URI="https://www.surina.net/soundtouch/${P/lib}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ~arm hppa ~mips ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" +IUSE="cpu_flags_x86_sse2 static-libs" + +DEPEND=">=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]" + +S=${WORKDIR}/${MY_PN} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.7.0-flags.patch + sed -i "s:^\(pkgdoc_DATA=\)COPYING.TXT :\1:" Makefile.am || die + sed -i 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:g' configure.ac || die + eautoreconf +} + +multilib_src_configure() { + ECONF_SOURCE=${S} \ + econf \ + --enable-shared \ + --disable-integer-samples \ + --enable-x86-optimizations=$(usex cpu_flags_x86_sse2 sse2) \ + $(use_enable static-libs static) +} + +multilib_src_compile() { + emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" +} + +multilib_src_install() { + emake DESTDIR="${D}" pkgdocdir="${EPREFIX}"/usr/share/doc/${PF}/html install +} + +multilib_src_install_all() { + prune_libtool_files +} diff --git a/media-libs/libsoundtouch/libsoundtouch-1.9.2.ebuild b/media-libs/libsoundtouch/libsoundtouch-1.9.2.ebuild new file mode 100644 index 000000000000..a086c0f67693 --- /dev/null +++ b/media-libs/libsoundtouch/libsoundtouch-1.9.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils flag-o-matic multilib-minimal + +MY_PN=${PN/lib} + +DESCRIPTION="Audio processing library for changing tempo, pitch and playback rates" +HOMEPAGE="https://www.surina.net/soundtouch/" +SRC_URI="https://www.surina.net/soundtouch/${P/lib}.tar.gz" + +LICENSE="LGPL-2.1" +# subslot = libSoundTouch.so soname +SLOT="0/1" +KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" +IUSE="cpu_flags_x86_sse openmp static-libs" + +DEPEND=">=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]" + +S=${WORKDIR}/${MY_PN} + +src_prepare() { + use openmp && { tc-has-openmp || die "Please switch to an openmp compatible compiler"; } + sed -i "s:^\(dist_doc_DATA=\)COPYING.TXT :\1:" Makefile.am || die + sed -i 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:g' configure.ac || die + eautoreconf +} + +multilib_src_configure() { + ECONF_SOURCE=${S} \ + econf \ + --enable-shared \ + --disable-integer-samples \ + $(use_enable cpu_flags_x86_sse x86-optimizations) \ + $(use_enable openmp) \ + $(use_enable static-libs static) +} + +multilib_src_compile() { + emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" +} + +multilib_src_install() { + emake DESTDIR="${D}" pkgdocdir="${EPREFIX}"/usr/share/doc/${PF}/html install +} + +multilib_src_install_all() { + prune_libtool_files +} diff --git a/media-libs/libsoundtouch/libsoundtouch-2.0.0.ebuild b/media-libs/libsoundtouch/libsoundtouch-2.0.0.ebuild new file mode 100644 index 000000000000..c95ddf7bd4b3 --- /dev/null +++ b/media-libs/libsoundtouch/libsoundtouch-2.0.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools flag-o-matic ltprune multilib-minimal + +MY_PN="${PN/lib}" + +DESCRIPTION="Audio processing library for changing tempo, pitch and playback rates" +HOMEPAGE="https://www.surina.net/soundtouch/" +SRC_URI="https://www.surina.net/soundtouch/${P/lib}.tar.gz" + +LICENSE="LGPL-2.1" +# subslot = libSoundTouch.so soname +SLOT="0/1" +KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" +IUSE="cpu_flags_x86_sse openmp static-libs" + +DEPEND=">=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]" + +S="${WORKDIR}/${MY_PN}" + +src_prepare() { + default + if use openmp ; then + tc-has-openmp || die "Please switch to an openmp compatible compiler" + fi + sed -i "s:^\(dist_doc_DATA=\)COPYING.TXT :\1:" Makefile.am || die + sed -i 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:g' configure.ac || die + eautoreconf +} + +multilib_src_configure() { + local myeconfargs=( + --enable-shared + --disable-integer-samples + $(use_enable cpu_flags_x86_sse x86-optimizations) + $(use_enable openmp) + $(use_enable static-libs static) + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_compile() { + emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" +} + +multilib_src_install() { + emake DESTDIR="${D}" pkgdocdir="${EPREFIX}"/usr/share/doc/${PF}/html install +} + +multilib_src_install_all() { + prune_libtool_files +} diff --git a/media-libs/libsoundtouch/metadata.xml b/media-libs/libsoundtouch/metadata.xml new file mode 100644 index 000000000000..ee7258ac28eb --- /dev/null +++ b/media-libs/libsoundtouch/metadata.xml @@ -0,0 +1,8 @@ + + + + + sound@gentoo.org + Gentoo Sound project + + -- cgit v1.2.3