public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libsoundtouch/
Date: Sun, 22 Aug 2021 09:26:36 +0000 (UTC)	[thread overview]
Message-ID: <1629624386.ea31defba9160c73e128616b1c9bf178555e831f.fordfrog@gentoo> (raw)

commit:     ea31defba9160c73e128616b1c9bf178555e831f
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 22 09:26:26 2021 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun Aug 22 09:26:26 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea31defb

media-libs/libsoundtouch: bump to 2.3.0

Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 media-libs/libsoundtouch/Manifest                  |  1 +
 .../libsoundtouch/libsoundtouch-2.3.0.ebuild       | 55 ++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/media-libs/libsoundtouch/Manifest b/media-libs/libsoundtouch/Manifest
index 8c873eb9d2e..63b211d5ab0 100644
--- a/media-libs/libsoundtouch/Manifest
+++ b/media-libs/libsoundtouch/Manifest
@@ -1 +1,2 @@
 DIST soundtouch-2.2.tar.bz2 527571 BLAKE2B 0ed67604f0996a9112cbabad9eda39c314aa1f3b1b70aac2a014f76880cb5ad06aeb697f44e9229ad197c9245ce8f684f5fb9b31ce31ae631400a17fe825679f SHA512 8bc1b9aa60031145e8be7ab48d10d93da84b0f5032eb2d8cf46291d4267b6810513f284f6fa72dd6f343e30eeec03070a7485cd933f30bace2ebf995bc843143
+DIST soundtouch-2.3.0.tar.bz2 528840 BLAKE2B e76627c323c223a067db6fd65a08661f39c9b55e0eb8ead7d643f92707dc56b8d235eded27a95d5eb1ea751d15336d4cb4b757c4abb2f6780258d81899484241 SHA512 f85974d7afd010bd874a4ffc51abf4013694334bfb09071f1c4d478641d34b5eecb9efc6ac41d8f0e6a5d1cb4095289316c124c522b4ca3fbd6a91b6cfc83083

diff --git a/media-libs/libsoundtouch/libsoundtouch-2.3.0.ebuild b/media-libs/libsoundtouch/libsoundtouch-2.3.0.ebuild
new file mode 100644
index 00000000000..05a3b1ff14d
--- /dev/null
+++ b/media-libs/libsoundtouch/libsoundtouch-2.3.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools flag-o-matic multilib-minimal toolchain-funcs
+
+MY_PN=${PN/lib}
+MY_P=${MY_PN}-${PV}
+DESCRIPTION="Audio processing library for changing tempo, pitch and playback rates"
+HOMEPAGE="https://www.surina.net/soundtouch/ https://gitlab.com/soundtouch/soundtouch"
+SRC_URI="https://gitlab.com/${MY_PN}/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+# subslot = libSoundTouch.so soname
+SLOT="0/1"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
+IUSE="cpu_flags_x86_sse openmp static-libs"
+
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+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() {
+	find "${ED}" -name '*.la' -delete || die
+}


             reply	other threads:[~2021-08-22  9:26 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-22  9:26 Miroslav Šulc [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-01  8:52 [gentoo-commits] repo/gentoo:master commit in: media-libs/libsoundtouch/ Sam James
2024-05-01  8:46 Sam James
2024-05-01  8:44 Sam James
2024-05-01  8:44 Sam James
2024-03-24  7:46 Sam James
2024-03-24  7:46 Sam James
2023-09-06 18:43 WANG Xuerui
2023-04-21  6:49 Miroslav Šulc
2023-04-20 22:44 Sam James
2023-04-20 22:40 Sam James
2022-12-15 16:51 Arthur Zamarin
2022-12-15 16:51 Arthur Zamarin
2022-12-15 16:51 Arthur Zamarin
2022-11-14  6:50 Miroslav Šulc
2022-05-14 21:30 David Seifert
2021-10-24  8:42 Miroslav Šulc
2021-10-24  8:13 Sam James
2021-10-24  8:13 Sam James
2021-10-24  8:08 Sam James
2021-10-24  8:08 Sam James
2021-09-24  6:46 Miroslav Šulc
2021-09-23 13:58 Agostino Sarubbo
2021-09-23  6:53 Miroslav Šulc
2021-09-23  6:40 Agostino Sarubbo
2021-09-22 21:53 Sam James
2021-09-22 21:53 Sam James
2021-09-22 14:30 Yixun Lan
2021-05-30 10:40 Miroslav Šulc
2021-05-30  9:50 Agostino Sarubbo
2021-05-29 15:23 Sam James
2021-05-29 13:28 Sam James
2021-05-29  9:02 Sam James
2021-04-27 17:45 Miroslav Šulc
2020-08-06  2:35 Sam James
2019-04-28 22:06 Thomas Deutschmann
2019-04-08  0:39 Aaron Bauman
2019-04-07 20:52 Sergei Trofimovich
2019-01-07 10:11 Lars Wendler
2019-01-04  8:20 Tim Harder
2018-08-25 18:55 Sergei Trofimovich
2018-08-25 18:25 Sergei Trofimovich
2018-08-24  3:42 Mikle Kolyada
2018-08-24  1:40 Thomas Deutschmann
2018-08-22 17:07 Andreas Sturmlechner
2017-08-31 12:37 Tim Harder
2017-08-01  8:05 Lars Wendler
2017-08-01  8:04 Lars Wendler
2017-08-01  8:04 Lars Wendler
2015-10-20 14:19 Alexis Ballier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1629624386.ea31defba9160c73e128616b1c9bf178555e831f.fordfrog@gentoo \
    --to=fordfrog@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox