From e28a6e6eb5373071be3a09aa457f0488d753c80c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 24 Jun 2023 07:26:21 +0100 Subject: gentoo auto-resync : 24:06:2023 - 07:26:21 --- media-libs/flac/Manifest | 2 ++ media-libs/flac/flac-1.4.3.ebuild | 62 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 media-libs/flac/flac-1.4.3.ebuild (limited to 'media-libs/flac') diff --git a/media-libs/flac/Manifest b/media-libs/flac/Manifest index 76fa14113d7a..ab633939a28c 100644 --- a/media-libs/flac/Manifest +++ b/media-libs/flac/Manifest @@ -1,6 +1,8 @@ AUX flac-1.4.2-macro-wstrict-prototypes.patch 729 BLAKE2B 45e52b52283cde5e0a294d962cb9ca34edd166002cf3705b0858878a8d112bb84955e15ae98a6daabaaaf965e1d08f5a6f342badfe9fd3201faf1deb68349f33 SHA512 cc3d73a2868e595bbaa887e7b9105fb397e0fd02bad515f90cfb1a9519ae76ca014c2bf589e8fe68cf5e1798cba762d9efc538bb144d932bc87bd4649bbd798a DIST flac-1.3.4.tar.xz 1038356 BLAKE2B 0553cd42705f31d6a98d10e8b73953265e97c6b1e46bb59c7d97d12ec1b4aae4c3d6f5e85b9e5d1513f7efac82a65ea9dc59d89d8df0254ff3ab1188039c55c5 SHA512 4a626e8a1bd126e234c0e5061e3b46f3a27c2065fdfa228fd8cf00d3c7fa2c05fafb5cec36acce7bfce4914bfd7db0b2a27ee15decf2d8c4caad630f62d44ec9 DIST flac-1.4.2.tar.xz 1013700 BLAKE2B 60a40806c6c54fe836235cea2c476051c6f82e6a50ac6d160b4ab783b8b0c33f1763ba2816e5e490acd6320de0764ea3c4b35708820a17f40ccada3f72bac687 SHA512 20bdf0990a7432ac765037764bc8733a0d5646866fe6cc6f4868152d2a051c89676e501012ae489c7f87b3aacb45a5b30265afaca164cf0cf53ac058644a74c5 +DIST flac-1.4.3.tar.xz 1006728 BLAKE2B c4f441aeaa0493433347b8a110ca01865fd40d5b21150174372af2fee4fa5c3397a67add31138e92999eab9d9abe6c46a5ac29e13cbac60093fbff6d7a672ad3 SHA512 3cf095720bd590a588be8ccbe187d22e7a1c60ab85b1d510ce5e8a22ab0a51827b9acfeaad59bbd645a17d1f200f559255a640101b0330709a164306c0e9709e EBUILD flac-1.3.4.ebuild 1536 BLAKE2B b0493d09dfb9c9688cc08b6c6091c4595477e841873a1c985596979ecd8211268f18a1ff30fbbf919bc07f11b639eef4b6b2389728f61a342e4035a24ecc36fe SHA512 3074eab6fd983ab2b7157a5bdac30071f4bb87e1f43bfc4258234c38abdde24d2b25ecff1f8f86429b54a71a7eaf624d068251991b79821e6a4e1d72095c2cef EBUILD flac-1.4.2-r1.ebuild 1722 BLAKE2B 4f0bac85ea7e40b6cf90554e25edd492516d69d430e9990f70b9da3b1e15c38e370cc9fd45a931f6aa119c1ce2606876295254f4107e5c38bbd8aa3d25d7c2db SHA512 adf4a9367bb9b1edeff5e71820bd90e77c614b03c7c01de86ff0550ae3b20ecd6e2559911648e49adbcabb15d5d26faa68cfbcdcca9a5805f09bd3e14ef2c31b +EBUILD flac-1.4.3.ebuild 1686 BLAKE2B 5f40b1098b0f3ed16bb9e5a8425c4862408b99b2cc9c3209da02e333fb1e0e700eaae37b6cb742ca961d771fc1c55efaed7ef206dbfade5977bc8695df15cb91 SHA512 0ab8b514c3766faa89b1a9a6a4e477ca8deb1e51bdf397430ca0c0f98cdefd9abea62ac2f7817e6ab7c57fec710d784f4b9c8e8ad4d93c25abf12a426ef1db01 MISC metadata.xml 377 BLAKE2B 9fa4c0dc0300b2d2deb791a29d7a2ce6b00e05399ccc29581bc4ab83b1bdff3fecd2edbe6cef3cf8b4111cae5064edf4ccec9205e6791fb57f41d363c6352e95 SHA512 9d9d3c80a5a7c0255476ddc86ebf2fc76e42fc278185e9d5c4c814ff395f6d7d74e9a3e680be2966e89113a76dd482e1fe53f761a59474cf46e8b2469849fc2e diff --git a/media-libs/flac/flac-1.4.3.ebuild b/media-libs/flac/flac-1.4.3.ebuild new file mode 100644 index 000000000000..bc205fec0dc6 --- /dev/null +++ b/media-libs/flac/flac-1.4.3.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2023 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" +# - +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 ~x64-solaris" +IUSE="+cxx debug ogg cpu_flags_x86_avx2 cpu_flags_x86_avx 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 +" + +multilib_src_configure() { + local myeconfargs=( + --disable-doxygen-docs + --disable-examples + $([[ ${CHOST} == *-darwin* ]] && echo "--disable-asm-optimizations") + $(use_enable cpu_flags_x86_avx avx) + $(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 + # Parallel tests work for CMake but don't for autotools as of 1.4.3 + # https://github.com/xiph/flac/commit/aaffdcaa969c19aee9dc89be420eae470b55e405 + 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 +} -- cgit v1.2.3