public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/spandsp/
Date: Thu, 25 Nov 2021 13:51:13 +0000 (UTC)	[thread overview]
Message-ID: <1637848267.d31ba5cc9b101152a6f73d13de88aaa7e3b6bd84.marecki@gentoo> (raw)

commit:     d31ba5cc9b101152a6f73d13de88aaa7e3b6bd84
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 25 13:50:47 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu Nov 25 13:51:07 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d31ba5cc

media-libs/spandsp: update EAPI 5 -> 8

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 media-libs/spandsp/spandsp-0.0.6-r1.ebuild | 63 ++++++++++++++++++++++++++++++
 1 file changed, 63 insertions(+)

diff --git a/media-libs/spandsp/spandsp-0.0.6-r1.ebuild b/media-libs/spandsp/spandsp-0.0.6-r1.ebuild
new file mode 100644
index 000000000000..bbbf322e189f
--- /dev/null
+++ b/media-libs/spandsp/spandsp-0.0.6-r1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="SpanDSP is a library of DSP functions for telephony"
+HOMEPAGE="https://www.soft-switch.org/"
+SRC_URI="https://www.soft-switch.org/downloads/spandsp/${P/_}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc fixed-point cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3"
+
+RDEPEND="media-libs/tiff
+	virtual/jpeg"
+DEPEND="${RDEPEND}"
+BDEPEND="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}-$(ver_cut 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 \
+		$(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)
+}
+
+src_install() {
+	emake DESTDIR="${D}" install
+	dodoc AUTHORS ChangeLog DueDiligence NEWS README
+
+	find "${ED}" -name '*.la' -delete || die
+
+	if use doc; then
+		docinto html
+		dodoc -r doc/{api/html/*,t38_manual}
+	fi
+}


             reply	other threads:[~2021-11-25 13:51 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-25 13:51 Marek Szuba [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-27 13:35 [gentoo-commits] repo/gentoo:master commit in: media-libs/spandsp/ WANG Xuerui
2022-02-27 23:01 Sam James
2022-02-19 13:00 Arthur Zamarin
2022-02-19 12:33 Arthur Zamarin
2022-02-19 12:06 Arthur Zamarin
2022-02-19  8:23 Arthur Zamarin
2021-12-31  3:42 Yixun Lan
2021-05-31 17:49 David Seifert
2021-03-25 19:08 Sam James
2019-07-29 18:42 Aaron Bauman
2018-05-20  9:23 Mikle Kolyada
2018-05-20  9:22 Mikle Kolyada
2018-04-14 11:40 Markus Meier
2018-04-10 11:32 Tobias Klausmann
2018-04-07 12:07 Sergei Trofimovich
2018-03-18 19:00 Sergei Trofimovich
2018-02-21  3:01 Thomas Deutschmann
2018-02-20 20:41 Sergei Trofimovich
2017-11-19 20:44 Sergei Trofimovich
2017-11-19 15:14 Markus Meier
2017-10-28 22:08 Sergei Trofimovich
2017-09-28 21:43 Jeroen Roovers
2017-07-12 18:40 Alexis Ballier
2017-07-11  8:41 Alexis Ballier
2017-06-08 12:24 Jeroen Roovers

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=1637848267.d31ba5cc9b101152a6f73d13de88aaa7e3b6bd84.marecki@gentoo \
    --to=marecki@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