public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/flac/
Date: Sun, 25 Sep 2022 03:51:54 +0000 (UTC)	[thread overview]
Message-ID: <1664077896.ac8f78e4e709a03b3afa571bb9af445cd6473231.sam@gentoo> (raw)

commit:     ac8f78e4e709a03b3afa571bb9af445cd6473231
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 25 03:51:36 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 25 03:51:36 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac8f78e4

media-libs/flac: add 1.4.1

Closes: https://bugs.gentoo.org/677274
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/flac/Manifest          |  1 +
 media-libs/flac/flac-1.4.1.ebuild | 65 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

diff --git a/media-libs/flac/Manifest b/media-libs/flac/Manifest
index e94ef33b1852..b3bfc7884786 100644
--- a/media-libs/flac/Manifest
+++ b/media-libs/flac/Manifest
@@ -1,2 +1,3 @@
 DIST flac-1.3.4.tar.xz 1038356 BLAKE2B 0553cd42705f31d6a98d10e8b73953265e97c6b1e46bb59c7d97d12ec1b4aae4c3d6f5e85b9e5d1513f7efac82a65ea9dc59d89d8df0254ff3ab1188039c55c5 SHA512 4a626e8a1bd126e234c0e5061e3b46f3a27c2065fdfa228fd8cf00d3c7fa2c05fafb5cec36acce7bfce4914bfd7db0b2a27ee15decf2d8c4caad630f62d44ec9
 DIST flac-1.4.0.tar.xz 783372 BLAKE2B 69fd756ae6a41bdf84a1237cb24949ae24126a66432a0ecf1d9943a9ddd082629aa9ff480bf77ff60fcfc2401a4942bdc4549e22378841997e0d1a83f8f18f25 SHA512 b7310de7bcf49584c0a1fdc6d5ee7216a8ab3e2b1af85366fa0905752da13e1cbb9638e0d92f3b756568a69848abf4d5c2fe0d21a86c6fdb4840f2678daf0f8d
+DIST flac-1.4.1.tar.xz 1024160 BLAKE2B 9ed283a0e56e96667bb0c7d66ad9f9d932dc001bfe4c5a71b0302d393a829fdeae6cfa1b0fed5a1d243f32b73933cbbf29c7f7684314b60c2a05758925acde4d SHA512 72a5ced62e06407ddea3ed6dcd28bf8f56f3d45e0649ea38e1b778f7856041c68bf85c3cec0a55170c2fbc144626829fed132d386f7439f1d6e3d0b45f13dba7

diff --git a/media-libs/flac/flac-1.4.1.ebuild b/media-libs/flac/flac-1.4.1.ebuild
new file mode 100644
index 000000000000..8fd8883406b0
--- /dev/null
+++ b/media-libs/flac/flac-1.4.1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit multilib-minimal
+
+DESCRIPTION="Free lossless audio encoder and decoder"
+HOMEPAGE="https://xiph.org/flac/"
+SRC_URI="https://downloads.xiph.org/releases/${PN}/${P}.tar.xz"
+
+LICENSE="BSD FDL-1.2 GPL-2 LGPL-2.1"
+# <libFLAC SONAME>-<libFLAC++ SONAME>
+SLOT="0/10-12"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="+cxx debug ogg cpu_flags_ppc_altivec cpu_flags_ppc_vsx cpu_flags_x86_avx2 cpu_flags_x86_avx cpu_flags_x86_sse2 static-libs"
+
+# AVX configure switch is for both AVX & AVX2
+REQUIRED_USE="
+	cpu_flags_x86_avx2? ( cpu_flags_x86_avx )
+"
+
+RDEPEND="ogg? ( media-libs/libogg[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	app-arch/xz-utils
+	sys-devel/gettext
+	virtual/pkgconfig
+	abi_x86_32? ( dev-lang/nasm )"
+
+multilib_src_configure() {
+	local myeconfargs=(
+		--disable-doxygen-docs
+		--disable-examples
+		--disable-xmms-plugin
+		$([[ ${CHOST} == *-darwin* ]] && echo "--disable-asm-optimizations")
+		$(use_enable cpu_flags_ppc_altivec altivec)
+		$(use_enable cpu_flags_ppc_vsx vsx)
+		$(use_enable cpu_flags_x86_avx avx)
+		# SSE option is actually for SSE2, bug #677274
+		$(use_enable cpu_flags_x86_sse2 sse)
+		$(use_enable cxx cpplibs)
+		$(use_enable debug)
+		$(use_enable ogg)
+		$(use_enable static-libs static)
+
+		# cross-compile fix (bug #521446)
+		# no effect if ogg support is disabled
+		--with-ogg
+	)
+	ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_test() {
+	if [[ ${UID} != 0 ]]; then
+		emake -j1 check
+	else
+		ewarn "Tests will fail if ran as root, skipping."
+	fi
+}
+
+multilib_src_install_all() {
+	einstalldocs
+	find "${ED}" -type f -name '*.la' -delete || die
+}


             reply	other threads:[~2022-09-25  3:51 UTC|newest]

Thread overview: 82+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-25  3:51 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-06-22  9:56 [gentoo-commits] repo/gentoo:master commit in: media-libs/flac/ Sam James
2025-06-22  9:56 Sam James
2025-04-28 20:42 Sam James
2025-04-26 15:30 Arthur Zamarin
2025-04-26 13:11 Sam James
2025-04-26  7:33 Arthur Zamarin
2025-04-26  5:28 Sam James
2025-04-26  5:28 Sam James
2025-02-13  1:03 Sam James
2025-02-13  0:46 Sam James
2025-02-13  0:18 Sam James
2025-02-12 17:42 Miroslav Šulc
2025-02-10  6:43 Sam James
2024-11-10  9:31 Andreas Sturmlechner
2024-07-08  3:19 Eli Schwartz
2024-07-04 14:44 Sam James
2024-06-17  5:22 Sam James
2023-08-04 22:40 Sam James
2023-08-02 15:11 Sam James
2023-07-24 18:43 Sam James
2023-07-24 15:05 Arthur Zamarin
2023-07-24 15:02 Arthur Zamarin
2023-07-24 14:57 Arthur Zamarin
2023-06-24  2:26 Sam James
2022-12-24  7:18 Sam James
2022-10-31  6:35 Miroslav Šulc
2022-10-28  3:37 Jakov Smolić
2022-10-28  3:37 Jakov Smolić
2022-10-25 12:12 Arthur Zamarin
2022-10-25 12:02 Arthur Zamarin
2022-10-25 11:54 Arthur Zamarin
2022-10-25 11:40 Arthur Zamarin
2022-10-25 11:40 Arthur Zamarin
2022-10-23  7:34 Miroslav Šulc
2022-10-21  4:05 Miroslav Šulc
2022-10-19  8:39 Agostino Sarubbo
2022-10-19  6:52 Agostino Sarubbo
2022-10-19  6:36 Agostino Sarubbo
2022-10-08 12:58 Sam James
2022-10-07 20:19 Sam James
2022-10-07  9:36 Agostino Sarubbo
2022-10-07  4:44 Arthur Zamarin
2022-09-10 10:40 Sam James
2022-09-10 10:23 Sam James
2022-09-10  8:41 Sam James
2022-09-10  6:21 Miroslav Šulc
2022-02-26  0:21 Sam James
2022-02-25 21:39 Sam James
2022-02-25  7:56 Agostino Sarubbo
2022-02-24 13:02 Sam James
2022-02-24  7:24 Agostino Sarubbo
2022-02-23  8:45 Jakov Smolić
2022-02-23  8:45 Jakov Smolić
2022-02-21 10:12 Miroslav Šulc
2021-10-03 13:47 James Le Cuirot
2021-07-13 11:21 Marek Szuba
2021-03-21 19:00 David Seifert
2021-01-23 21:13 Andreas Sturmlechner
2021-01-16 12:14 Miroslav Šulc
2020-07-21 23:15 Kent Fredric
2020-04-05 17:23 Andreas Sturmlechner
2020-04-05 17:22 Georgy Yakovlev
2020-04-05  0:12 Georgy Yakovlev
2019-11-27 20:15 Sergei Trofimovich
2019-11-27 13:22 Mikle Kolyada
2019-11-22 13:44 Matt Turner
2019-11-20 11:35 Agostino Sarubbo
2019-11-20 11:27 Agostino Sarubbo
2019-11-19 12:48 Agostino Sarubbo
2019-11-16 21:02 Aaron Bauman
2019-11-16 10:34 Sergei Trofimovich
2019-11-15  9:51 Agostino Sarubbo
2019-08-07 13:44 Lars Wendler
2017-08-31 12:58 Tim Harder
2017-01-20  5:06 Jeroen Roovers
2017-01-16 10:15 Agostino Sarubbo
2017-01-15 22:10 Tobias Klausmann
2017-01-13 16:49 Markus Meier
2017-01-10 22:27 Aaron Bauman
2017-01-08 21:03 Lars Wendler
2017-01-03 13:29 Lars Wendler

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=1664077896.ac8f78e4e709a03b3afa571bb9af445cd6473231.sam@gentoo \
    --to=sam@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