summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/flac/Manifest1
-rw-r--r--media-libs/flac/files/flac-1.3.3-fix-zero-first-byte-md5sum-check.patch13
-rw-r--r--media-libs/flac/flac-1.3.3-r1.ebuild59
3 files changed, 0 insertions, 73 deletions
diff --git a/media-libs/flac/Manifest b/media-libs/flac/Manifest
index 7f50cb5c17e8..b8a23c4d2cbe 100644
--- a/media-libs/flac/Manifest
+++ b/media-libs/flac/Manifest
@@ -1,2 +1 @@
-DIST flac-1.3.3.tar.xz 1044472 BLAKE2B 14acf10e5bce54767a8e3c9bfd0b80c388011e35c7e6a814672f8048d5350b4e6f54c6df4f704e611fa4a796fcfcb6aca1ed798f542cd6abe181210f9f6e33f6 SHA512 d6417e14fab0c41b2df369e5e39ce62a5f588e491af4d465b0162f74e171e5549b2f061867f344bfbf8aaccd246bf5f2acd697e532a2c7901c920c69429b1a28
DIST flac-1.3.4.tar.xz 1038356 BLAKE2B 0553cd42705f31d6a98d10e8b73953265e97c6b1e46bb59c7d97d12ec1b4aae4c3d6f5e85b9e5d1513f7efac82a65ea9dc59d89d8df0254ff3ab1188039c55c5 SHA512 4a626e8a1bd126e234c0e5061e3b46f3a27c2065fdfa228fd8cf00d3c7fa2c05fafb5cec36acce7bfce4914bfd7db0b2a27ee15decf2d8c4caad630f62d44ec9
diff --git a/media-libs/flac/files/flac-1.3.3-fix-zero-first-byte-md5sum-check.patch b/media-libs/flac/files/flac-1.3.3-fix-zero-first-byte-md5sum-check.patch
deleted file mode 100644
index bcad809374e3..000000000000
--- a/media-libs/flac/files/flac-1.3.3-fix-zero-first-byte-md5sum-check.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/src/flac/decode.c b/src/flac/decode.c
-index c26d3f60..bd3f6524 100644
---- a/src/flac/decode.c
-+++ b/src/flac/decode.c
-@@ -1307,7 +1307,7 @@ void metadata_callback(const FLAC__StreamDecoder *decoder, const FLAC__StreamMet
- if(metadata->type == FLAC__METADATA_TYPE_STREAMINFO) {
- FLAC__uint64 skip, until;
- decoder_session->got_stream_info = true;
-- decoder_session->has_md5sum = memcmp(metadata->data.stream_info.md5sum, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 16);
-+ decoder_session->has_md5sum = memcmp(metadata->data.stream_info.md5sum, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 16) != 0;
- decoder_session->bps = metadata->data.stream_info.bits_per_sample;
- decoder_session->channels = metadata->data.stream_info.channels;
- decoder_session->sample_rate = metadata->data.stream_info.sample_rate;
diff --git a/media-libs/flac/flac-1.3.3-r1.ebuild b/media-libs/flac/flac-1.3.3-r1.ebuild
deleted file mode 100644
index 6dfe898f30c5..000000000000
--- a/media-libs/flac/flac-1.3.3-r1.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~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_sse static-libs"
-
-RDEPEND="ogg? ( >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] )"
-DEPEND="${RDEPEND}"
-BDEPEND="
- app-arch/xz-utils
- sys-devel/gettext
- virtual/pkgconfig
- abi_x86_32? ( dev-lang/nasm )"
-
-PATCHES=( "${FILESDIR}/${P}-fix-zero-first-byte-md5sum-check.patch" )
-
-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_sse 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
-}