From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C18D4138334 for ; Wed, 7 Aug 2019 13:44:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B9E3EE087B; Wed, 7 Aug 2019 13:44:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8BF81E087B for ; Wed, 7 Aug 2019 13:44:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B435A34946A for ; Wed, 7 Aug 2019 13:44:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1E0AB758 for ; Wed, 7 Aug 2019 13:44:21 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1565185456.2a20d0eddf595a0962b895099ca2c6ad656e8575.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/flac/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/flac/Manifest media-libs/flac/flac-1.3.3.ebuild X-VCS-Directories: media-libs/flac/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 2a20d0eddf595a0962b895099ca2c6ad656e8575 X-VCS-Branch: master Date: Wed, 7 Aug 2019 13:44:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4f71e6e2-0543-49d6-baa8-8625f61aace5 X-Archives-Hash: 67ef75217e99f7202f43a0382a5c9266 commit: 2a20d0eddf595a0962b895099ca2c6ad656e8575 Author: Lars Wendler gentoo org> AuthorDate: Wed Aug 7 13:44:02 2019 +0000 Commit: Lars Wendler gentoo org> CommitDate: Wed Aug 7 13:44:16 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a20d0ed media-libs/flac: Bump to version 1.3.3 Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Lars Wendler gentoo.org> media-libs/flac/Manifest | 1 + media-libs/flac/flac-1.3.3.ebuild | 58 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/media-libs/flac/Manifest b/media-libs/flac/Manifest index 64ea4e8e9c8..21a5f90a300 100644 --- a/media-libs/flac/Manifest +++ b/media-libs/flac/Manifest @@ -1 +1,2 @@ DIST flac-1.3.2.tar.xz 776192 BLAKE2B ff09df3fc4f985a00fcf6d497be675ceeda85cc57ea73b4f8ad6679cd40a33640f8502adc80c0a571d01fa0a17b8fcb6bfd8df7474620099d4f34bbc073bc7a3 SHA512 63910e8ebbe508316d446ffc9eb6d02efbd5f47d29d2ea7864da9371843c8e671854db6e89ba043fe08aef1845b8ece70db80f1cce853f591ca30d56ef7c3a15 +DIST flac-1.3.3.tar.xz 1044472 BLAKE2B 14acf10e5bce54767a8e3c9bfd0b80c388011e35c7e6a814672f8048d5350b4e6f54c6df4f704e611fa4a796fcfcb6aca1ed798f542cd6abe181210f9f6e33f6 SHA512 d6417e14fab0c41b2df369e5e39ce62a5f588e491af4d465b0162f74e171e5549b2f061867f344bfbf8aaccd246bf5f2acd697e532a2c7901c920c69429b1a28 diff --git a/media-libs/flac/flac-1.3.3.ebuild b/media-libs/flac/flac-1.3.3.ebuild new file mode 100644 index 00000000000..77a1ef44f65 --- /dev/null +++ b/media-libs/flac/flac-1.3.3.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2019 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 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="altivec +cxx debug ogg cpu_flags_x86_sse static-libs" + +RDEPEND="ogg? ( >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + abi_x86_32? ( dev-lang/nasm ) +" +BDEPEND=" + app-arch/xz-utils + virtual/pkgconfig + !elibc_uclibc? ( sys-devel/gettext ) +" + +multilib_src_configure() { + local myeconfargs=( + --disable-doxygen-docs + --disable-examples + --disable-xmms-plugin + $([[ ${CHOST} == *-darwin* ]] && echo "--disable-asm-optimizations") + $(use_enable altivec) + $(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 +}