Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/flac/
Date: Mon, 31 Oct 2022 06:35:55
Message-Id: 1667198144.d16a8c46124569af6f3a8a64eeb1b2b0f120921f.fordfrog@gentoo
1 commit: d16a8c46124569af6f3a8a64eeb1b2b0f120921f
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 31 06:35:44 2022 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 31 06:35:44 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d16a8c46
7
8 media-libs/flac: dropped obsolete 1.4.1
9
10 Bug: https://bugs.gentoo.org/878251
11 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
12
13 media-libs/flac/Manifest | 1 -
14 media-libs/flac/flac-1.4.1.ebuild | 65 ---------------------------------------
15 2 files changed, 66 deletions(-)
16
17 diff --git a/media-libs/flac/Manifest b/media-libs/flac/Manifest
18 index c573d1e39b73..01802aebd86f 100644
19 --- a/media-libs/flac/Manifest
20 +++ b/media-libs/flac/Manifest
21 @@ -1,3 +1,2 @@
22 DIST flac-1.3.4.tar.xz 1038356 BLAKE2B 0553cd42705f31d6a98d10e8b73953265e97c6b1e46bb59c7d97d12ec1b4aae4c3d6f5e85b9e5d1513f7efac82a65ea9dc59d89d8df0254ff3ab1188039c55c5 SHA512 4a626e8a1bd126e234c0e5061e3b46f3a27c2065fdfa228fd8cf00d3c7fa2c05fafb5cec36acce7bfce4914bfd7db0b2a27ee15decf2d8c4caad630f62d44ec9
23 -DIST flac-1.4.1.tar.xz 1024160 BLAKE2B 9ed283a0e56e96667bb0c7d66ad9f9d932dc001bfe4c5a71b0302d393a829fdeae6cfa1b0fed5a1d243f32b73933cbbf29c7f7684314b60c2a05758925acde4d SHA512 72a5ced62e06407ddea3ed6dcd28bf8f56f3d45e0649ea38e1b778f7856041c68bf85c3cec0a55170c2fbc144626829fed132d386f7439f1d6e3d0b45f13dba7
24 DIST flac-1.4.2.tar.xz 1013700 BLAKE2B 60a40806c6c54fe836235cea2c476051c6f82e6a50ac6d160b4ab783b8b0c33f1763ba2816e5e490acd6320de0764ea3c4b35708820a17f40ccada3f72bac687 SHA512 20bdf0990a7432ac765037764bc8733a0d5646866fe6cc6f4868152d2a051c89676e501012ae489c7f87b3aacb45a5b30265afaca164cf0cf53ac058644a74c5
25
26 diff --git a/media-libs/flac/flac-1.4.1.ebuild b/media-libs/flac/flac-1.4.1.ebuild
27 deleted file mode 100644
28 index 54e117c06f45..000000000000
29 --- a/media-libs/flac/flac-1.4.1.ebuild
30 +++ /dev/null
31 @@ -1,65 +0,0 @@
32 -# Copyright 1999-2022 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=8
36 -
37 -inherit multilib-minimal
38 -
39 -DESCRIPTION="Free lossless audio encoder and decoder"
40 -HOMEPAGE="https://xiph.org/flac/"
41 -SRC_URI="https://downloads.xiph.org/releases/${PN}/${P}.tar.xz"
42 -
43 -LICENSE="BSD FDL-1.2 GPL-2 LGPL-2.1"
44 -# <libFLAC SONAME>-<libFLAC++ SONAME>
45 -SLOT="0/10-12"
46 -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"
47 -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"
48 -
49 -# AVX configure switch is for both AVX & AVX2
50 -REQUIRED_USE="
51 - cpu_flags_x86_avx2? ( cpu_flags_x86_avx )
52 -"
53 -
54 -RDEPEND="ogg? ( media-libs/libogg[${MULTILIB_USEDEP}] )"
55 -DEPEND="${RDEPEND}"
56 -BDEPEND="
57 - app-arch/xz-utils
58 - sys-devel/gettext
59 - virtual/pkgconfig
60 - abi_x86_32? ( dev-lang/nasm )"
61 -
62 -multilib_src_configure() {
63 - local myeconfargs=(
64 - --disable-doxygen-docs
65 - --disable-examples
66 - --disable-xmms-plugin
67 - $([[ ${CHOST} == *-darwin* ]] && echo "--disable-asm-optimizations")
68 - $(use_enable cpu_flags_ppc_altivec altivec)
69 - $(use_enable cpu_flags_ppc_vsx vsx)
70 - $(use_enable cpu_flags_x86_avx avx)
71 - # SSE option is actually for SSE2, bug #677274
72 - $(use_enable cpu_flags_x86_sse2 sse)
73 - $(use_enable cxx cpplibs)
74 - $(use_enable debug)
75 - $(use_enable ogg)
76 - $(use_enable static-libs static)
77 -
78 - # cross-compile fix (bug #521446)
79 - # no effect if ogg support is disabled
80 - --with-ogg
81 - )
82 - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
83 -}
84 -
85 -multilib_src_test() {
86 - if [[ ${UID} != 0 ]]; then
87 - emake -j1 check
88 - else
89 - ewarn "Tests will fail if ran as root, skipping."
90 - fi
91 -}
92 -
93 -multilib_src_install_all() {
94 - einstalldocs
95 - find "${ED}" -type f -name '*.la' -delete || die
96 -}