[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/files/, media-libs/flac/

2023-08-05 Thread Miroslav Šulc
commit: 84b2534a31ae88191dca37b6c7dde001d0f3be14
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Sat Aug  5 07:16:59 2023 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Sat Aug  5 07:17:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84b2534a

media-libs/flac: dropped obsolete 1.4.2-r1

Bug: https://bugs.gentoo.org/95
Signed-off-by: Miroslav Šulc  gentoo.org>

 media-libs/flac/Manifest   |  1 -
 .../flac-1.4.2-macro-wstrict-prototypes.patch  | 31 ---
 media-libs/flac/flac-1.4.2-r1.ebuild   | 65 --
 3 files changed, 97 deletions(-)

diff --git a/media-libs/flac/Manifest b/media-libs/flac/Manifest
index de9a9a448e9e..ec1914cb1563 100644
--- a/media-libs/flac/Manifest
+++ b/media-libs/flac/Manifest
@@ -1,3 +1,2 @@
 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

diff --git a/media-libs/flac/files/flac-1.4.2-macro-wstrict-prototypes.patch 
b/media-libs/flac/files/flac-1.4.2-macro-wstrict-prototypes.patch
deleted file mode 100644
index d836f6aa2206..
--- a/media-libs/flac/files/flac-1.4.2-macro-wstrict-prototypes.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-https://github.com/xiph/flac/pull/521
-
-From afd9e9006d2c18d184db098bec0a0618cb4f0283 Mon Sep 17 00:00:00 2001
-From: Sam James 
-Date: Wed, 23 Nov 2022 03:31:30 +
-Subject: [PATCH] libFLAC.m4, libFLAC++.m4: fix -Wstrict-prototypes
-
-Signed-off-by: Sam James 
 a/src/libFLAC++/libFLAC++.m4
-+++ b/src/libFLAC++/libFLAC++.m4
-@@ -57,7 +57,7 @@ dnl
- #include 
- #include 
- 
--int main ()
-+int main (void)
- {
-   system("touch conf.libFLAC++test");
-   return 0;
 a/src/libFLAC/libFLAC.m4
-+++ b/src/libFLAC/libFLAC.m4
-@@ -58,7 +58,7 @@ dnl
- #include 
- #include 
- 
--int main ()
-+int main (void)
- {
-   system("touch conf.libFLACtest");
-   return 0;
-

diff --git a/media-libs/flac/flac-1.4.2-r1.ebuild 
b/media-libs/flac/flac-1.4.2-r1.ebuild
deleted file mode 100644
index 33b6ff19fad6..
--- a/media-libs/flac/flac-1.4.2-r1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# 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"
-# -
-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_ppc_altivec cpu_flags_ppc_vsx 
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"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.4.2-macro-wstrict-prototypes.patch
-)
-
-multilib_src_configure() {
-   local myeconfargs=(
-   --disable-doxygen-docs
-   --disable-examples
-   $([[ ${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)
-   $(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
-}


[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2023-08-04 Thread Sam James
commit: 9bcd5f4843f15877aca4fa618d9fe2f5a6c0e564
Author: Sam James  gentoo  org>
AuthorDate: Fri Aug  4 22:40:31 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Aug  4 22:40:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bcd5f48

media-libs/flac: Stabilize 1.4.3 ppc, #95

Signed-off-by: Sam James  gentoo.org>

 media-libs/flac/flac-1.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.4.3.ebuild 
b/media-libs/flac/flac-1.4.3.ebuild
index 600254fa4bc6..f1c2416376c5 100644
--- a/media-libs/flac/flac-1.4.3.ebuild
+++ b/media-libs/flac/flac-1.4.3.ebuild
@@ -12,7 +12,7 @@ 
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"
+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="



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2023-08-02 Thread Sam James
commit: 255b0aaa57489435174c61181e05824181b12170
Author: Sam James  gentoo  org>
AuthorDate: Wed Aug  2 15:10:23 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Aug  2 15:10:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=255b0aaa

media-libs/flac: Stabilize 1.4.3 sparc, #95

Signed-off-by: Sam James  gentoo.org>

 media-libs/flac/flac-1.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.4.3.ebuild 
b/media-libs/flac/flac-1.4.3.ebuild
index 7f78875b9ec7..600254fa4bc6 100644
--- a/media-libs/flac/flac-1.4.3.ebuild
+++ b/media-libs/flac/flac-1.4.3.ebuild
@@ -12,7 +12,7 @@ 
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"
+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="



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2023-07-24 Thread Sam James
commit: 7dd08e090e6361d0ffaae8f2079bd5c94fe900d0
Author: Sam James  gentoo  org>
AuthorDate: Mon Jul 24 18:43:15 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul 24 18:43:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dd08e09

media-libs/flac: Stabilize 1.4.3 x86, #95

Signed-off-by: Sam James  gentoo.org>

 media-libs/flac/flac-1.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.4.3.ebuild 
b/media-libs/flac/flac-1.4.3.ebuild
index 06ed6486c8c8..7f78875b9ec7 100644
--- a/media-libs/flac/flac-1.4.3.ebuild
+++ b/media-libs/flac/flac-1.4.3.ebuild
@@ -12,7 +12,7 @@ 
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"
+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="



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2023-07-24 Thread Arthur Zamarin
commit: 0c1c1e329469eec1ef9ba3466688d97b46446eee
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Jul 24 15:05:11 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Jul 24 15:05:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c1c1e32

media-libs/flac: Stabilize 1.4.3 arm64, #95

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/flac/flac-1.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.4.3.ebuild 
b/media-libs/flac/flac-1.4.3.ebuild
index 8fb123f3a469..06ed6486c8c8 100644
--- a/media-libs/flac/flac-1.4.3.ebuild
+++ b/media-libs/flac/flac-1.4.3.ebuild
@@ -12,7 +12,7 @@ 
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"
+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="



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2023-07-24 Thread Arthur Zamarin
commit: e3a3e197348c257556c6261f5f36601f0e4a7ce6
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Jul 24 15:01:51 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Jul 24 15:01:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3a3e197

media-libs/flac: Stabilize 1.4.3 amd64, #95

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/flac/flac-1.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.4.3.ebuild 
b/media-libs/flac/flac-1.4.3.ebuild
index d7e106befbea..8fb123f3a469 100644
--- a/media-libs/flac/flac-1.4.3.ebuild
+++ b/media-libs/flac/flac-1.4.3.ebuild
@@ -12,7 +12,7 @@ 
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"
+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="



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2023-07-24 Thread Arthur Zamarin
commit: dc82114195d0a2b675052d7fad6b0c26e8318c1c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Jul 24 14:57:42 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Jul 24 14:57:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc821141

media-libs/flac: Stabilize 1.4.3 arm, #95

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/flac/flac-1.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.4.3.ebuild 
b/media-libs/flac/flac-1.4.3.ebuild
index a46481244a21..d7e106befbea 100644
--- a/media-libs/flac/flac-1.4.3.ebuild
+++ b/media-libs/flac/flac-1.4.3.ebuild
@@ -12,7 +12,7 @@ 
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"
+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="



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2023-06-23 Thread Sam James
commit: d8bc1f1342a921b4f1255b3b76fa422b5036cc75
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun 24 02:12:21 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 24 02:12:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8bc1f13

media-libs/flac: add 1.4.3

Signed-off-by: Sam James  gentoo.org>

 media-libs/flac/Manifest  |  1 +
 media-libs/flac/flac-1.4.3.ebuild | 62 +++
 2 files changed, 63 insertions(+)

diff --git a/media-libs/flac/Manifest b/media-libs/flac/Manifest
index 01802aebd86f..de9a9a448e9e 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.2.tar.xz 1013700 BLAKE2B 
60a40806c6c54fe836235cea2c476051c6f82e6a50ac6d160b4ab783b8b0c33f1763ba2816e5e490acd6320de0764ea3c4b35708820a17f40ccada3f72bac687
 SHA512 
20bdf0990a7432ac765037764bc8733a0d5646866fe6cc6f4868152d2a051c89676e501012ae489c7f87b3aacb45a5b30265afaca164cf0cf53ac058644a74c5
+DIST flac-1.4.3.tar.xz 1006728 BLAKE2B 
c4f441aeaa0493433347b8a110ca01865fd40d5b21150174372af2fee4fa5c3397a67add31138e92999eab9d9abe6c46a5ac29e13cbac60093fbff6d7a672ad3
 SHA512 
3cf095720bd590a588be8ccbe187d22e7a1c60ab85b1d510ce5e8a22ab0a51827b9acfeaad59bbd645a17d1f200f559255a640101b0330709a164306c0e9709e

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 ..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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2022-12-23 Thread Sam James
commit: 5214ce62e34131c69aed844045b586afb09d0ab5
Author: Francisco Javier Félix  inode64  com>
AuthorDate: Fri Oct 28 11:48:50 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Dec 24 07:17:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5214ce62

media-libs/flac: remove bdepend of nasm

In the last version flac remove all pure assembler, removing build dependency 
on nasm
See changelog in: https://xiph.org/flac/changelog.html

Signed-off-by: Francisco Javier Félix  inode64.com>
Closes: https://github.com/gentoo/gentoo/pull/28001
Signed-off-by: Sam James  gentoo.org>

 media-libs/flac/flac-1.4.2-r1.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/media-libs/flac/flac-1.4.2-r1.ebuild 
b/media-libs/flac/flac-1.4.2-r1.ebuild
index df75f0e6829f..4723fe2613ba 100644
--- a/media-libs/flac/flac-1.4.2-r1.ebuild
+++ b/media-libs/flac/flac-1.4.2-r1.ebuild
@@ -25,8 +25,7 @@ DEPEND="${RDEPEND}"
 BDEPEND="
app-arch/xz-utils
sys-devel/gettext
-   virtual/pkgconfig
-   abi_x86_32? ( dev-lang/nasm )"
+   virtual/pkgconfig"
 
 PATCHES=(
"${FILESDIR}"/${PN}-1.4.2-macro-wstrict-prototypes.patch



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/, media-libs/flac/files/

2022-11-22 Thread Sam James
commit: 29d5b7044e17aaa0a3a3691f4d86c64458d27869
Author: Sam James  gentoo  org>
AuthorDate: Wed Nov 23 03:33:59 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Nov 23 03:34:09 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29d5b704

media-libs/flac: fix -Wstrict-prototypes in configure

We may well have people proactively trying to use it and it's cheap to fix & 
build.

Signed-off-by: Sam James  gentoo.org>

 .../flac-1.4.2-macro-wstrict-prototypes.patch  | 31 ++
 .../{flac-1.4.2.ebuild => flac-1.4.2-r1.ebuild}|  4 +++
 2 files changed, 35 insertions(+)

diff --git a/media-libs/flac/files/flac-1.4.2-macro-wstrict-prototypes.patch 
b/media-libs/flac/files/flac-1.4.2-macro-wstrict-prototypes.patch
new file mode 100644
index ..d836f6aa2206
--- /dev/null
+++ b/media-libs/flac/files/flac-1.4.2-macro-wstrict-prototypes.patch
@@ -0,0 +1,31 @@
+https://github.com/xiph/flac/pull/521
+
+From afd9e9006d2c18d184db098bec0a0618cb4f0283 Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Wed, 23 Nov 2022 03:31:30 +
+Subject: [PATCH] libFLAC.m4, libFLAC++.m4: fix -Wstrict-prototypes
+
+Signed-off-by: Sam James 
+--- a/src/libFLAC++/libFLAC++.m4
 b/src/libFLAC++/libFLAC++.m4
+@@ -57,7 +57,7 @@ dnl
+ #include 
+ #include 
+ 
+-int main ()
++int main (void)
+ {
+   system("touch conf.libFLAC++test");
+   return 0;
+--- a/src/libFLAC/libFLAC.m4
 b/src/libFLAC/libFLAC.m4
+@@ -58,7 +58,7 @@ dnl
+ #include 
+ #include 
+ 
+-int main ()
++int main (void)
+ {
+   system("touch conf.libFLACtest");
+   return 0;
+

diff --git a/media-libs/flac/flac-1.4.2.ebuild 
b/media-libs/flac/flac-1.4.2-r1.ebuild
similarity index 96%
rename from media-libs/flac/flac-1.4.2.ebuild
rename to media-libs/flac/flac-1.4.2-r1.ebuild
index 7f778649fd96..df75f0e6829f 100644
--- a/media-libs/flac/flac-1.4.2.ebuild
+++ b/media-libs/flac/flac-1.4.2-r1.ebuild
@@ -28,6 +28,10 @@ BDEPEND="
virtual/pkgconfig
abi_x86_32? ( dev-lang/nasm )"
 
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.4.2-macro-wstrict-prototypes.patch
+)
+
 multilib_src_configure() {
local myeconfargs=(
--disable-doxygen-docs



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2022-10-31 Thread Miroslav Šulc
commit: d16a8c46124569af6f3a8a64eeb1b2b0f120921f
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Mon Oct 31 06:35:44 2022 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Mon Oct 31 06:35:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d16a8c46

media-libs/flac: dropped obsolete 1.4.1

Bug: https://bugs.gentoo.org/878251
Signed-off-by: Miroslav Šulc  gentoo.org>

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

diff --git a/media-libs/flac/Manifest b/media-libs/flac/Manifest
index c573d1e39b73..01802aebd86f 100644
--- a/media-libs/flac/Manifest
+++ b/media-libs/flac/Manifest
@@ -1,3 +1,2 @@
 DIST flac-1.3.4.tar.xz 1038356 BLAKE2B 
0553cd42705f31d6a98d10e8b73953265e97c6b1e46bb59c7d97d12ec1b4aae4c3d6f5e85b9e5d1513f7efac82a65ea9dc59d89d8df0254ff3ab1188039c55c5
 SHA512 
4a626e8a1bd126e234c0e5061e3b46f3a27c2065fdfa228fd8cf00d3c7fa2c05fafb5cec36acce7bfce4914bfd7db0b2a27ee15decf2d8c4caad630f62d44ec9
-DIST flac-1.4.1.tar.xz 1024160 BLAKE2B 
9ed283a0e56e96667bb0c7d66ad9f9d932dc001bfe4c5a71b0302d393a829fdeae6cfa1b0fed5a1d243f32b73933cbbf29c7f7684314b60c2a05758925acde4d
 SHA512 
72a5ced62e06407ddea3ed6dcd28bf8f56f3d45e0649ea38e1b778f7856041c68bf85c3cec0a55170c2fbc144626829fed132d386f7439f1d6e3d0b45f13dba7
 DIST flac-1.4.2.tar.xz 1013700 BLAKE2B 
60a40806c6c54fe836235cea2c476051c6f82e6a50ac6d160b4ab783b8b0c33f1763ba2816e5e490acd6320de0764ea3c4b35708820a17f40ccada3f72bac687
 SHA512 
20bdf0990a7432ac765037764bc8733a0d5646866fe6cc6f4868152d2a051c89676e501012ae489c7f87b3aacb45a5b30265afaca164cf0cf53ac058644a74c5

diff --git a/media-libs/flac/flac-1.4.1.ebuild 
b/media-libs/flac/flac-1.4.1.ebuild
deleted file mode 100644
index 54e117c06f45..
--- a/media-libs/flac/flac-1.4.1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# 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"
-# -
-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
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2022-10-27 Thread Jakov Smolić
commit: f9142193aac7c9722c836811998993bcef97f373
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri Oct 28 03:36:12 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri Oct 28 03:36:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9142193

media-libs/flac: Stabilize 1.4.2 amd64, #878251

Signed-off-by: Jakov Smolić  gentoo.org>

 media-libs/flac/flac-1.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.4.2.ebuild 
b/media-libs/flac/flac-1.4.2.ebuild
index 8298c7e76ed9..b141ab930199 100644
--- a/media-libs/flac/flac-1.4.2.ebuild
+++ b/media-libs/flac/flac-1.4.2.ebuild
@@ -12,7 +12,7 @@ 
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 ~sparc-solaris 
~x64-solaris ~x86-solaris"
+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 static-libs"
 
 # AVX configure switch is for both AVX & AVX2



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2022-10-27 Thread Jakov Smolić
commit: 6b0f052a12cc3dcf7e71418d8d25df42a453b0d0
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri Oct 28 03:37:20 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri Oct 28 03:37:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b0f052a

media-libs/flac: Stabilize 1.4.2 x86, #878251

Signed-off-by: Jakov Smolić  gentoo.org>

 media-libs/flac/flac-1.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.4.2.ebuild 
b/media-libs/flac/flac-1.4.2.ebuild
index b141ab930199..7f778649fd96 100644
--- a/media-libs/flac/flac-1.4.2.ebuild
+++ b/media-libs/flac/flac-1.4.2.ebuild
@@ -12,7 +12,7 @@ 
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 ~sparc-solaris 
~x64-solaris ~x86-solaris"
+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 static-libs"
 
 # AVX configure switch is for both AVX & AVX2



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2022-10-25 Thread Arthur Zamarin
commit: dfaa420986731fb747e727b45bed31b46b2567d5
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Oct 25 12:12:33 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Oct 25 12:12:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfaa4209

media-libs/flac: Stabilize 1.4.2 ppc64, #878251

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/flac/flac-1.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.4.2.ebuild 
b/media-libs/flac/flac-1.4.2.ebuild
index edebc9b65c3c..8298c7e76ed9 100644
--- a/media-libs/flac/flac-1.4.2.ebuild
+++ b/media-libs/flac/flac-1.4.2.ebuild
@@ -12,7 +12,7 @@ 
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 ~sparc-solaris 
~x64-solaris ~x86-solaris"
+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 static-libs"
 
 # AVX configure switch is for both AVX & AVX2



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2022-10-25 Thread Arthur Zamarin
commit: bfe644e4c1ce4f768498da8e794839fac9254e9e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Oct 25 12:01:55 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Oct 25 12:01:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfe644e4

media-libs/flac: Stabilize 1.4.2 ppc, #878251

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/flac/flac-1.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.4.2.ebuild 
b/media-libs/flac/flac-1.4.2.ebuild
index 76328a84143e..edebc9b65c3c 100644
--- a/media-libs/flac/flac-1.4.2.ebuild
+++ b/media-libs/flac/flac-1.4.2.ebuild
@@ -12,7 +12,7 @@ 
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 ~sparc-solaris 
~x64-solaris ~x86-solaris"
+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 static-libs"
 
 # AVX configure switch is for both AVX & AVX2



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2022-10-25 Thread Arthur Zamarin
commit: fa118271bd81a3cccfb117f78df8b67f9d8a20b8
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Oct 25 11:54:30 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Oct 25 11:54:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa118271

media-libs/flac: Stabilize 1.4.2 sparc, #878251

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/flac/flac-1.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.4.2.ebuild 
b/media-libs/flac/flac-1.4.2.ebuild
index a3e12d0ecd40..76328a84143e 100644
--- a/media-libs/flac/flac-1.4.2.ebuild
+++ b/media-libs/flac/flac-1.4.2.ebuild
@@ -12,7 +12,7 @@ 
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 ~sparc-solaris 
~x64-solaris ~x86-solaris"
+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 static-libs"
 
 # AVX configure switch is for both AVX & AVX2



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2022-10-25 Thread Arthur Zamarin
commit: 995f0d9ae84e9b5efc9ce817636992c9f6940229
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Oct 25 11:40:20 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Oct 25 11:40:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=995f0d9a

media-libs/flac: Stabilize 1.4.2 arm, #878251

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/flac/flac-1.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.4.2.ebuild 
b/media-libs/flac/flac-1.4.2.ebuild
index 3f82504e9a45..548f079fedc0 100644
--- a/media-libs/flac/flac-1.4.2.ebuild
+++ b/media-libs/flac/flac-1.4.2.ebuild
@@ -12,7 +12,7 @@ 
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 ~sparc-solaris 
~x64-solaris ~x86-solaris"
+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 static-libs"
 
 # AVX configure switch is for both AVX & AVX2



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2022-10-25 Thread Arthur Zamarin
commit: e1f0101d7a151708b56b5f06887de9776b21a9ed
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Oct 25 11:40:21 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Oct 25 11:40:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1f0101d

media-libs/flac: Stabilize 1.4.2 arm64, #878251

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/flac/flac-1.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.4.2.ebuild 
b/media-libs/flac/flac-1.4.2.ebuild
index 548f079fedc0..a3e12d0ecd40 100644
--- a/media-libs/flac/flac-1.4.2.ebuild
+++ b/media-libs/flac/flac-1.4.2.ebuild
@@ -12,7 +12,7 @@ 
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 ~sparc-solaris 
~x64-solaris ~x86-solaris"
+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 static-libs"
 
 # AVX configure switch is for both AVX & AVX2



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2022-10-23 Thread Miroslav Šulc
commit: 3dcc2e7785e04ffd9767609f6df4565428860a24
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Sun Oct 23 07:34:23 2022 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Sun Oct 23 07:34:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3dcc2e77

media-libs/flac: bump to 1.4.2, dropped removed configure switches

Signed-off-by: Miroslav Šulc  gentoo.org>

 media-libs/flac/Manifest  |  1 +
 media-libs/flac/flac-1.4.2.ebuild | 62 +++
 2 files changed, 63 insertions(+)

diff --git a/media-libs/flac/Manifest b/media-libs/flac/Manifest
index cfe06adbe8ba..c573d1e39b73 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.1.tar.xz 1024160 BLAKE2B 
9ed283a0e56e96667bb0c7d66ad9f9d932dc001bfe4c5a71b0302d393a829fdeae6cfa1b0fed5a1d243f32b73933cbbf29c7f7684314b60c2a05758925acde4d
 SHA512 
72a5ced62e06407ddea3ed6dcd28bf8f56f3d45e0649ea38e1b778f7856041c68bf85c3cec0a55170c2fbc144626829fed132d386f7439f1d6e3d0b45f13dba7
+DIST flac-1.4.2.tar.xz 1013700 BLAKE2B 
60a40806c6c54fe836235cea2c476051c6f82e6a50ac6d160b4ab783b8b0c33f1763ba2816e5e490acd6320de0764ea3c4b35708820a17f40ccada3f72bac687
 SHA512 
20bdf0990a7432ac765037764bc8733a0d5646866fe6cc6f4868152d2a051c89676e501012ae489c7f87b3aacb45a5b30265afaca164cf0cf53ac058644a74c5

diff --git a/media-libs/flac/flac-1.4.2.ebuild 
b/media-libs/flac/flac-1.4.2.ebuild
new file mode 100644
index ..3f82504e9a45
--- /dev/null
+++ b/media-libs/flac/flac-1.4.2.ebuild
@@ -0,0 +1,62 @@
+# 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"
+# -
+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 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
+   $([[ ${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)
+   $(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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2022-10-20 Thread Miroslav Šulc
commit: 36c5a6253b9ae6173146653204896e437f5f99ff
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Fri Oct 21 04:05:13 2022 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Fri Oct 21 04:05:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36c5a625

media-libs/flac: dropped obsolete 1.4.0-r1

Signed-off-by: Miroslav Šulc  gentoo.org>

 media-libs/flac/Manifest |  1 -
 media-libs/flac/flac-1.4.0-r1.ebuild | 64 
 2 files changed, 65 deletions(-)

diff --git a/media-libs/flac/Manifest b/media-libs/flac/Manifest
index b3bfc7884786..cfe06adbe8ba 100644
--- a/media-libs/flac/Manifest
+++ b/media-libs/flac/Manifest
@@ -1,3 +1,2 @@
 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.0-r1.ebuild 
b/media-libs/flac/flac-1.4.0-r1.ebuild
deleted file mode 100644
index 04c10bfb50cb..
--- a/media-libs/flac/flac-1.4.0-r1.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# 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"
-# -
-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_sse 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)
-   $(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
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2022-10-19 Thread Agostino Sarubbo
commit: c9864ae34e5e1077d7b213cfa02ef98068a40c32
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Oct 19 08:38:50 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Oct 19 08:38:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9864ae3

media-libs/flac: Stabilize 1.4.1 ppc64, #875647

Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/flac/flac-1.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.4.1.ebuild 
b/media-libs/flac/flac-1.4.1.ebuild
index 5365fbedcc15..54e117c06f45 100644
--- a/media-libs/flac/flac-1.4.1.ebuild
+++ b/media-libs/flac/flac-1.4.1.ebuild
@@ -12,7 +12,7 @@ 
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 ~sparc-solaris ~x64-solaris 
~x86-solaris"
+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



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2022-10-19 Thread Agostino Sarubbo
commit: f4ca3d9782fe32516991ec65f487a2214cd00023
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Oct 19 06:52:33 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Oct 19 06:52:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4ca3d97

media-libs/flac: Stabilize 1.4.1 ppc, #875647

Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/flac/flac-1.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.4.1.ebuild 
b/media-libs/flac/flac-1.4.1.ebuild
index 14f7d0f4a10b..5365fbedcc15 100644
--- a/media-libs/flac/flac-1.4.1.ebuild
+++ b/media-libs/flac/flac-1.4.1.ebuild
@@ -12,7 +12,7 @@ 
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 ~sparc-solaris ~x64-solaris 
~x86-solaris"
+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



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2022-10-19 Thread Agostino Sarubbo
commit: ced7b35a8eadbe93ce9067d2dd7f962fc7f5c9fa
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Oct 19 06:36:27 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Oct 19 06:36:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ced7b35a

media-libs/flac: Stabilize 1.4.1 sparc, #875647

Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/flac/flac-1.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.4.1.ebuild 
b/media-libs/flac/flac-1.4.1.ebuild
index c86ddab9ddf5..14f7d0f4a10b 100644
--- a/media-libs/flac/flac-1.4.1.ebuild
+++ b/media-libs/flac/flac-1.4.1.ebuild
@@ -12,7 +12,7 @@ 
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 ~sparc-solaris 
~x64-solaris ~x86-solaris"
+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



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac-compat/

2022-10-08 Thread Sam James
commit: a370b4e4392e6e69e9a165b348fb9c26de4b78a6
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct  8 12:58:11 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct  8 12:58:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a370b4e4

media-libs/flac-compat: Stabilize 1.3.4 arm64, #875647

Signed-off-by: Sam James  gentoo.org>

 media-libs/flac-compat/flac-compat-1.3.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac-compat/flac-compat-1.3.4.ebuild 
b/media-libs/flac-compat/flac-compat-1.3.4.ebuild
index 56e4ca2ad396..074cf92d1346 100644
--- a/media-libs/flac-compat/flac-compat-1.3.4.ebuild
+++ b/media-libs/flac-compat/flac-compat-1.3.4.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}/${P/-compat}"
 
 LICENSE="BSD FDL-1.2 GPL-2 LGPL-2.1"
 SLOT="8.3.0"
-KEYWORDS="amd64 arm x86"
+KEYWORDS="amd64 arm arm64 x86"
 IUSE="+cxx ogg cpu_flags_x86_sse"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2022-10-08 Thread Sam James
commit: 9e5961987d7814e0ef777faa7bc670fd975087c7
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct  8 12:58:10 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct  8 12:58:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e596198

media-libs/flac: Stabilize 1.4.1 arm64, #875647

Signed-off-by: Sam James  gentoo.org>

 media-libs/flac/flac-1.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.4.1.ebuild 
b/media-libs/flac/flac-1.4.1.ebuild
index 79f65cbea66c..c86ddab9ddf5 100644
--- a/media-libs/flac/flac-1.4.1.ebuild
+++ b/media-libs/flac/flac-1.4.1.ebuild
@@ -12,7 +12,7 @@ 
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 ~sparc-solaris 
~x64-solaris ~x86-solaris"
+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



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2022-10-07 Thread Sam James
commit: 2259a530ba332be04d6e5f4df2d25fc0dbd63350
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct  7 20:18:05 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct  7 20:18:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2259a530

media-libs/flac: Stabilize 1.4.1 amd64, #875647

Signed-off-by: Sam James  gentoo.org>

 media-libs/flac/flac-1.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.4.1.ebuild 
b/media-libs/flac/flac-1.4.1.ebuild
index 03e6d0c23570..79f65cbea66c 100644
--- a/media-libs/flac/flac-1.4.1.ebuild
+++ b/media-libs/flac/flac-1.4.1.ebuild
@@ -12,7 +12,7 @@ 
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 ~sparc-solaris 
~x64-solaris ~x86-solaris"
+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



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac-compat/

2022-10-07 Thread Sam James
commit: 932c71e9ed3df76d8ee2e5465fd74e3f76cc6ca6
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct  7 20:18:06 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct  7 20:18:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=932c71e9

media-libs/flac-compat: Stabilize 1.3.4 amd64, #875647

Signed-off-by: Sam James  gentoo.org>

 media-libs/flac-compat/flac-compat-1.3.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac-compat/flac-compat-1.3.4.ebuild 
b/media-libs/flac-compat/flac-compat-1.3.4.ebuild
index f1494f4ae425..56e4ca2ad396 100644
--- a/media-libs/flac-compat/flac-compat-1.3.4.ebuild
+++ b/media-libs/flac-compat/flac-compat-1.3.4.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}/${P/-compat}"
 
 LICENSE="BSD FDL-1.2 GPL-2 LGPL-2.1"
 SLOT="8.3.0"
-KEYWORDS="~amd64 arm x86"
+KEYWORDS="amd64 arm x86"
 IUSE="+cxx ogg cpu_flags_x86_sse"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2022-10-07 Thread Agostino Sarubbo
commit: 8d63cdc4844cea6f9cc06f299843d9829fa08f31
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Oct  7 09:36:41 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Oct  7 09:36:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d63cdc4

media-libs/flac: Stabilize 1.4.1 x86, #875647

Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/flac/flac-1.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.4.1.ebuild 
b/media-libs/flac/flac-1.4.1.ebuild
index 9f688638cb12..03e6d0c23570 100644
--- a/media-libs/flac/flac-1.4.1.ebuild
+++ b/media-libs/flac/flac-1.4.1.ebuild
@@ -12,7 +12,7 @@ 
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 ~sparc-solaris 
~x64-solaris ~x86-solaris"
+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



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac-compat/

2022-10-07 Thread Agostino Sarubbo
commit: 047680564324d7821f7479fe0b1fef881294b7ea
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Oct  7 09:36:41 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Oct  7 09:36:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04768056

media-libs/flac-compat: Stabilize 1.3.4 x86, #875647

Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/flac-compat/flac-compat-1.3.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac-compat/flac-compat-1.3.4.ebuild 
b/media-libs/flac-compat/flac-compat-1.3.4.ebuild
index 3a7d5eb3c1e5..f1494f4ae425 100644
--- a/media-libs/flac-compat/flac-compat-1.3.4.ebuild
+++ b/media-libs/flac-compat/flac-compat-1.3.4.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}/${P/-compat}"
 
 LICENSE="BSD FDL-1.2 GPL-2 LGPL-2.1"
 SLOT="8.3.0"
-KEYWORDS="~amd64 arm ~x86"
+KEYWORDS="~amd64 arm x86"
 IUSE="+cxx ogg cpu_flags_x86_sse"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2022-10-06 Thread Arthur Zamarin
commit: 006cbd7104c5317050395fb4eeb4d4e814253180
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Oct  7 04:44:29 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Oct  7 04:44:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=006cbd71

media-libs/flac: Stabilize 1.4.1 arm, #875647

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/flac/flac-1.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.4.1.ebuild 
b/media-libs/flac/flac-1.4.1.ebuild
index 8fd8883406b0..9f688638cb12 100644
--- a/media-libs/flac/flac-1.4.1.ebuild
+++ b/media-libs/flac/flac-1.4.1.ebuild
@@ -12,7 +12,7 @@ 
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 ~sparc-solaris 
~x64-solaris ~x86-solaris"
+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



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac-compat/

2022-10-06 Thread Arthur Zamarin
commit: 94b134bd66fab85dfd691817be345825b75b3837
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Oct  7 04:44:30 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Oct  7 04:44:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94b134bd

media-libs/flac-compat: Stabilize 1.3.4 arm, #875647

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/flac-compat/flac-compat-1.3.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac-compat/flac-compat-1.3.4.ebuild 
b/media-libs/flac-compat/flac-compat-1.3.4.ebuild
index 90107a61cc6d..3a7d5eb3c1e5 100644
--- a/media-libs/flac-compat/flac-compat-1.3.4.ebuild
+++ b/media-libs/flac-compat/flac-compat-1.3.4.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}/${P/-compat}"
 
 LICENSE="BSD FDL-1.2 GPL-2 LGPL-2.1"
 SLOT="8.3.0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 arm ~x86"
 IUSE="+cxx ogg cpu_flags_x86_sse"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2022-09-24 Thread Sam James
commit: ac8f78e4e709a03b3afa571bb9af445cd6473231
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep 25 03:51:36 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 25 03:51:36 2022 +
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  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 ..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"
+# -
+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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac-compat/

2022-09-11 Thread Sam James
commit: a8e3d79c8d43c919bf78b3b459b4ae13e2e02e23
Author: Sam James  gentoo  org>
AuthorDate: Sat Sep 10 09:00:35 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 11 20:12:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8e3d79c

media-libs/flac-compat: new package, add 1.3.4

Closes: https://github.com/gentoo/gentoo/pull/27197
Co-authored-by: David Seifert  gentoo.org>
Signed-off-by: Sam James  gentoo.org>

 media-libs/flac-compat/Manifest |  1 +
 media-libs/flac-compat/flac-compat-1.3.4.ebuild | 63 +
 media-libs/flac-compat/metadata.xml | 11 +
 3 files changed, 75 insertions(+)

diff --git a/media-libs/flac-compat/Manifest b/media-libs/flac-compat/Manifest
new file mode 100644
index ..b8a23c4d2cbe
--- /dev/null
+++ b/media-libs/flac-compat/Manifest
@@ -0,0 +1 @@
+DIST flac-1.3.4.tar.xz 1038356 BLAKE2B 
0553cd42705f31d6a98d10e8b73953265e97c6b1e46bb59c7d97d12ec1b4aae4c3d6f5e85b9e5d1513f7efac82a65ea9dc59d89d8df0254ff3ab1188039c55c5
 SHA512 
4a626e8a1bd126e234c0e5061e3b46f3a27c2065fdfa228fd8cf00d3c7fa2c05fafb5cec36acce7bfce4914bfd7db0b2a27ee15decf2d8c4caad630f62d44ec9

diff --git a/media-libs/flac-compat/flac-compat-1.3.4.ebuild 
b/media-libs/flac-compat/flac-compat-1.3.4.ebuild
new file mode 100644
index ..90107a61cc6d
--- /dev/null
+++ b/media-libs/flac-compat/flac-compat-1.3.4.ebuild
@@ -0,0 +1,63 @@
+# 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/-compat}/${P/-compat}.tar.xz;
+S="${WORKDIR}/${P/-compat}"
+
+LICENSE="BSD FDL-1.2 GPL-2 LGPL-2.1"
+SLOT="8.3.0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+cxx ogg cpu_flags_x86_sse"
+
+RDEPEND="
+   !media-libs/flac:0/0
+   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-debug
+   --disable-altivec
+   --disable-vsx
+   --disable-doxygen-docs
+   --disable-examples
+   --disable-xmms-plugin
+   $(use_enable cpu_flags_x86_sse sse)
+   $(use_enable cxx cpplibs)
+   $(use_enable ogg)
+
+   # 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() {
+   rm -r "${ED}"/usr/bin || die
+   rm -r "${ED}"/usr/include || die
+   rm -r "${ED}"/usr/share || die
+   rm -r "${ED}"/usr/lib*/pkgconfig || die
+   rm -r "${ED}"/usr/lib*/*.so || die
+
+   find "${ED}" -type f -name '*.la' -delete || die
+}

diff --git a/media-libs/flac-compat/metadata.xml 
b/media-libs/flac-compat/metadata.xml
new file mode 100644
index ..e2a8eda2922f
--- /dev/null
+++ b/media-libs/flac-compat/metadata.xml
@@ -0,0 +1,11 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   so...@gentoo.org
+   Gentoo Sound project
+   
+   
+   flac
+   
+



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2022-09-10 Thread Sam James
commit: 3cadf2abe2f49586d1cc3515e0da45fa0ca77275
Author: Sam James  gentoo  org>
AuthorDate: Sat Sep 10 10:40:03 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Sep 10 10:40:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cadf2ab

media-libs/flac: add github upstream metadata

Signed-off-by: Sam James  gentoo.org>

 media-libs/flac/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-libs/flac/metadata.xml b/media-libs/flac/metadata.xml
index e2a8eda2922f..50801c93c5ea 100644
--- a/media-libs/flac/metadata.xml
+++ b/media-libs/flac/metadata.xml
@@ -7,5 +7,6 @@


flac
+   xiph/flac

 



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2022-09-10 Thread Sam James
commit: e6d4bc7223a478abc208d85c6d88ec7a07388f6d
Author: Sam James  gentoo  org>
AuthorDate: Sat Sep 10 10:23:35 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Sep 10 10:23:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6d4bc72

media-libs/flac: fix REQUIRED_USE for avx2

Thanks ionen!

Signed-off-by: Sam James  gentoo.org>

 media-libs/flac/flac-1.4.0-r1.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/media-libs/flac/flac-1.4.0-r1.ebuild 
b/media-libs/flac/flac-1.4.0-r1.ebuild
index c986b3faabfc..04c10bfb50cb 100644
--- a/media-libs/flac/flac-1.4.0-r1.ebuild
+++ b/media-libs/flac/flac-1.4.0-r1.ebuild
@@ -18,7 +18,6 @@ IUSE="+cxx debug ogg cpu_flags_ppc_altivec cpu_flags_ppc_vsx 
cpu_flags_x86_avx2
 # AVX configure switch is for both AVX & AVX2
 REQUIRED_USE="
cpu_flags_x86_avx2? ( cpu_flags_x86_avx )
-   cpu_flags_x86_avx? ( cpu_flags_x86_avx2 )
 "
 
 RDEPEND="ogg? ( media-libs/libogg[${MULTILIB_USEDEP}] )"



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2022-09-10 Thread Sam James
commit: 867b93036a4a7886fbe0bdc6c92ea5192b9e602a
Author: Sam James  gentoo  org>
AuthorDate: Sat Sep 10 08:37:05 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Sep 10 08:40:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=867b9303

media-libs/flac: fix subslot (ABI broken), wire up AVX

Signed-off-by: Sam James  gentoo.org>

 .../flac/{flac-1.4.0.ebuild => flac-1.4.0-r1.ebuild}   | 14 +++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/media-libs/flac/flac-1.4.0.ebuild 
b/media-libs/flac/flac-1.4.0-r1.ebuild
similarity index 80%
rename from media-libs/flac/flac-1.4.0.ebuild
rename to media-libs/flac/flac-1.4.0-r1.ebuild
index 2a50c9496016..c986b3faabfc 100644
--- a/media-libs/flac/flac-1.4.0.ebuild
+++ b/media-libs/flac/flac-1.4.0-r1.ebuild
@@ -5,14 +5,21 @@ EAPI=8
 
 inherit multilib-minimal
 
-DESCRIPTION="free lossless audio encoder and decoder"
+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"
+# -
+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_sse 
static-libs"
+IUSE="+cxx debug ogg cpu_flags_ppc_altivec cpu_flags_ppc_vsx 
cpu_flags_x86_avx2 cpu_flags_x86_avx cpu_flags_x86_sse static-libs"
+
+# AVX configure switch is for both AVX & AVX2
+REQUIRED_USE="
+   cpu_flags_x86_avx2? ( cpu_flags_x86_avx )
+   cpu_flags_x86_avx? ( cpu_flags_x86_avx2 )
+"
 
 RDEPEND="ogg? ( media-libs/libogg[${MULTILIB_USEDEP}] )"
 DEPEND="${RDEPEND}"
@@ -30,6 +37,7 @@ multilib_src_configure() {
$([[ ${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)
$(use_enable cpu_flags_x86_sse sse)
$(use_enable cxx cpplibs)
$(use_enable debug)



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2022-09-10 Thread Miroslav Šulc
commit: 75bb6f218e590aac43fe13bf9941ce630c55b5bb
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Sat Sep 10 06:21:18 2022 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Sat Sep 10 06:21:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75bb6f21

media-libs/flac: bump to 1.4.0

Signed-off-by: Miroslav Šulc  gentoo.org>

 media-libs/flac/Manifest  |  1 +
 media-libs/flac/flac-1.4.0.ebuild | 57 +++
 2 files changed, 58 insertions(+)

diff --git a/media-libs/flac/Manifest b/media-libs/flac/Manifest
index b8a23c4d2cbe..e94ef33b1852 100644
--- a/media-libs/flac/Manifest
+++ b/media-libs/flac/Manifest
@@ -1 +1,2 @@
 DIST flac-1.3.4.tar.xz 1038356 BLAKE2B 
0553cd42705f31d6a98d10e8b73953265e97c6b1e46bb59c7d97d12ec1b4aae4c3d6f5e85b9e5d1513f7efac82a65ea9dc59d89d8df0254ff3ab1188039c55c5
 SHA512 
4a626e8a1bd126e234c0e5061e3b46f3a27c2065fdfa228fd8cf00d3c7fa2c05fafb5cec36acce7bfce4914bfd7db0b2a27ee15decf2d8c4caad630f62d44ec9
+DIST flac-1.4.0.tar.xz 783372 BLAKE2B 
69fd756ae6a41bdf84a1237cb24949ae24126a66432a0ecf1d9943a9ddd082629aa9ff480bf77ff60fcfc2401a4942bdc4549e22378841997e0d1a83f8f18f25
 SHA512 
b7310de7bcf49584c0a1fdc6d5ee7216a8ab3e2b1af85366fa0905752da13e1cbb9638e0d92f3b756568a69848abf4d5c2fe0d21a86c6fdb4840f2678daf0f8d

diff --git a/media-libs/flac/flac-1.4.0.ebuild 
b/media-libs/flac/flac-1.4.0.ebuild
new file mode 100644
index ..2a50c9496016
--- /dev/null
+++ b/media-libs/flac/flac-1.4.0.ebuild
@@ -0,0 +1,57 @@
+# 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"
+SLOT="0"
+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_sse 
static-libs"
+
+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_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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/files/, media-libs/flac/

2022-02-25 Thread Miroslav Šulc
commit: fa2fb6beb221aa455c16fba7306555e9b79d4853
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Sat Feb 26 07:43:27 2022 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Sat Feb 26 07:43:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa2fb6be

media-libs/flac: removed vulnerable 1.3.3-r1

Bug: https://bugs.gentoo.org/833929
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Miroslav Šulc  gentoo.org>

 media-libs/flac/Manifest   |  1 -
 ...ac-1.3.3-fix-zero-first-byte-md5sum-check.patch | 13 -
 media-libs/flac/flac-1.3.3-r1.ebuild   | 59 --
 3 files changed, 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..
--- 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..
--- 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
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2022-02-25 Thread Sam James
commit: 68acb0b23b024771e62c61a4aa027a92ad3b8949
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb 26 00:20:57 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb 26 00:21:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68acb0b2

media-libs/flac: Stabilize 1.3.4 arm, #833938

Signed-off-by: Sam James  gentoo.org>

 media-libs/flac/flac-1.3.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.3.4.ebuild 
b/media-libs/flac/flac-1.3.4.ebuild
index 4de9b50e10d5..14e1d3cdc10a 100644
--- a/media-libs/flac/flac-1.3.4.ebuild
+++ b/media-libs/flac/flac-1.3.4.ebuild
@@ -11,7 +11,7 @@ 
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"
+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[${MULTILIB_USEDEP}] )"



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2022-02-25 Thread Sam James
commit: 05b8b9922239fb2325d4b70a6edaddbcb55d37d1
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb 25 21:38:53 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 25 21:38:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05b8b992

media-libs/flac: Stabilize 1.3.4 arm64, #833938

Signed-off-by: Sam James  gentoo.org>

 media-libs/flac/flac-1.3.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.3.4.ebuild 
b/media-libs/flac/flac-1.3.4.ebuild
index a979b6aa1dfa..4de9b50e10d5 100644
--- a/media-libs/flac/flac-1.3.4.ebuild
+++ b/media-libs/flac/flac-1.3.4.ebuild
@@ -11,7 +11,7 @@ 
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"
+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[${MULTILIB_USEDEP}] )"



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2022-02-24 Thread Agostino Sarubbo
commit: e27c21e72ab695d394b3dae1a78c81c01c129292
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Feb 25 07:56:26 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Feb 25 07:56:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e27c21e7

media-libs/flac: ppc64 stable wrt bug #833938

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/flac/flac-1.3.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.3.4.ebuild 
b/media-libs/flac/flac-1.3.4.ebuild
index cb21b6f2226f..a979b6aa1dfa 100644
--- a/media-libs/flac/flac-1.3.4.ebuild
+++ b/media-libs/flac/flac-1.3.4.ebuild
@@ -11,7 +11,7 @@ 
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"
+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[${MULTILIB_USEDEP}] )"



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2022-02-24 Thread Sam James
commit: 525387b5992ea8f5965f10fe3e73755493369d4b
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 24 13:00:39 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 24 13:00:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=525387b5

media-libs/flac: Stabilize 1.3.4 ppc, #833938

Signed-off-by: Sam James  gentoo.org>

 media-libs/flac/flac-1.3.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.3.4.ebuild 
b/media-libs/flac/flac-1.3.4.ebuild
index b2d5fa870538..cb21b6f2226f 100644
--- a/media-libs/flac/flac-1.3.4.ebuild
+++ b/media-libs/flac/flac-1.3.4.ebuild
@@ -11,7 +11,7 @@ 
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"
+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[${MULTILIB_USEDEP}] )"



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2022-02-23 Thread Agostino Sarubbo
commit: f730fc8e938943c3b2335291ffab199960215e64
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Feb 24 07:24:50 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Feb 24 07:24:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f730fc8e

media-libs/flac: sparc stable wrt bug #833938

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/flac/flac-1.3.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.3.4.ebuild 
b/media-libs/flac/flac-1.3.4.ebuild
index 826fc5c2c8ee..b2d5fa870538 100644
--- a/media-libs/flac/flac-1.3.4.ebuild
+++ b/media-libs/flac/flac-1.3.4.ebuild
@@ -11,7 +11,7 @@ 
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"
+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[${MULTILIB_USEDEP}] )"



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2022-02-23 Thread Jakov Smolić
commit: 60e3706ccdda069bf761b1f3787c04976a8b76da
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed Feb 23 08:45:19 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed Feb 23 08:45:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60e3706c

media-libs/flac: Stabilize 1.3.4 x86, #833938

Signed-off-by: Jakov Smolić  gentoo.org>

 media-libs/flac/flac-1.3.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.3.4.ebuild 
b/media-libs/flac/flac-1.3.4.ebuild
index 1efbb0a796ef..826fc5c2c8ee 100644
--- a/media-libs/flac/flac-1.3.4.ebuild
+++ b/media-libs/flac/flac-1.3.4.ebuild
@@ -11,7 +11,7 @@ 
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"
+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[${MULTILIB_USEDEP}] )"



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2022-02-23 Thread Jakov Smolić
commit: 439c9b136cfe5284136a447fd227f05a26aa5654
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed Feb 23 08:45:05 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed Feb 23 08:45:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=439c9b13

media-libs/flac: Stabilize 1.3.4 amd64, #833938

Signed-off-by: Jakov Smolić  gentoo.org>

 media-libs/flac/flac-1.3.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.3.4.ebuild 
b/media-libs/flac/flac-1.3.4.ebuild
index 9ff56224f24f..1efbb0a796ef 100644
--- a/media-libs/flac/flac-1.3.4.ebuild
+++ b/media-libs/flac/flac-1.3.4.ebuild
@@ -11,7 +11,7 @@ 
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"
+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[${MULTILIB_USEDEP}] )"



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2022-02-21 Thread Miroslav Šulc
commit: e321b3c63b3091cbf61d43cebe0d1fe737071197
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Mon Feb 21 10:12:51 2022 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Mon Feb 21 10:12:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e321b3c6

media-libs/flac: bump to 1.3.4

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Miroslav Šulc  gentoo.org>

 media-libs/flac/Manifest  |  1 +
 media-libs/flac/flac-1.3.4.ebuild | 57 +++
 2 files changed, 58 insertions(+)

diff --git a/media-libs/flac/Manifest b/media-libs/flac/Manifest
index c1191ab04643..7f50cb5c17e8 100644
--- a/media-libs/flac/Manifest
+++ b/media-libs/flac/Manifest
@@ -1 +1,2 @@
 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/flac-1.3.4.ebuild 
b/media-libs/flac/flac-1.3.4.ebuild
new file mode 100644
index ..9ff56224f24f
--- /dev/null
+++ b/media-libs/flac/flac-1.3.4.ebuild
@@ -0,0 +1,57 @@
+# 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"
+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[${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_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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2021-10-03 Thread James Le Cuirot
commit: 5eae424c5d4124b1fcc2357233e547e900243ca9
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sun Oct  3 13:46:33 2021 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sun Oct  3 13:46:33 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5eae424c

media-libs/flac: Keyword 1.3.3-r1 for ~m68k

The tests pass.

Signed-off-by: James Le Cuirot  gentoo.org>

 media-libs/flac/flac-1.3.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.3.3-r1.ebuild 
b/media-libs/flac/flac-1.3.3-r1.ebuild
index 86c9e3eda8e..5f99d9e1104 100644
--- a/media-libs/flac/flac-1.3.3-r1.ebuild
+++ b/media-libs/flac/flac-1.3.3-r1.ebuild
@@ -11,7 +11,7 @@ 
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 ~riscv sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+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}] )"



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2021-07-13 Thread Marek Szuba
commit: 35c2fc77a1ee4b2cb0832e3042e09738f904b5b3
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue Jul 13 07:23:37 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue Jul 13 11:20:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35c2fc77

media-libs/flac: keyword 1.3.3-r1 for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 media-libs/flac/flac-1.3.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.3.3-r1.ebuild 
b/media-libs/flac/flac-1.3.3-r1.ebuild
index 1dd5109adf9..86c9e3eda8e 100644
--- a/media-libs/flac/flac-1.3.3-r1.ebuild
+++ b/media-libs/flac/flac-1.3.3-r1.ebuild
@@ -11,7 +11,7 @@ 
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 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~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}] )"



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2021-03-21 Thread David Seifert
commit: d62c6a8dd743c3d83399ad771bbb896ed34d8ffd
Author: David Michael  gmail  com>
AuthorDate: Sun Mar 21 19:00:17 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Mar 21 19:00:17 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d62c6a8d

media-libs/flac: move nasm to BDEPEND

Closes: https://bugs.gentoo.org/769755
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: David Michael  gmail.com>
Signed-off-by: David Seifert  gentoo.org>

 media-libs/flac/flac-1.3.3-r1.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/media-libs/flac/flac-1.3.3-r1.ebuild 
b/media-libs/flac/flac-1.3.3-r1.ebuild
index fc6ee1ef776..1dd5109adf9 100644
--- a/media-libs/flac/flac-1.3.3-r1.ebuild
+++ b/media-libs/flac/flac-1.3.3-r1.ebuild
@@ -15,12 +15,11 @@ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc 
ppc64 sparc x86 ~amd64-li
 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}
-   abi_x86_32? ( dev-lang/nasm )
-"
+DEPEND="${RDEPEND}"
 BDEPEND="
app-arch/xz-utils
virtual/pkgconfig
+   abi_x86_32? ( dev-lang/nasm )
!elibc_uclibc? ( sys-devel/gettext )
 "
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2021-01-23 Thread Andreas Sturmlechner
commit: 98d64ff3d0eadf61004847144435aef0777c060a
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Jan 23 17:36:38 2021 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Jan 23 21:11:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98d64ff3

media-libs/flac: Drop 1.3.3 (r0)

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-libs/flac/flac-1.3.3.ebuild | 59 ---
 1 file changed, 59 deletions(-)

diff --git a/media-libs/flac/flac-1.3.3.ebuild 
b/media-libs/flac/flac-1.3.3.ebuild
deleted file mode 100644
index d72e7be67f3..000
--- a/media-libs/flac/flac-1.3.3.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2021 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 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}
-   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 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
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2021-01-16 Thread Miroslav Šulc
commit: af0cbb0fe77ace54cb725a7202114dcc49fde239
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Sat Jan 16 12:13:24 2021 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Sat Jan 16 12:14:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af0cbb0f

media-libs/flac: copied stable keywords + minor improvement

as this is a bugfix, i copied the stable keywords to the bump

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Closes: https://bugs.gentoo.org/719792
Signed-off-by: Miroslav Šulc  gentoo.org>

 media-libs/flac/flac-1.3.3-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/flac/flac-1.3.3-r1.ebuild 
b/media-libs/flac/flac-1.3.3-r1.ebuild
index de296da512f..fc6ee1ef776 100644
--- a/media-libs/flac/flac-1.3.3-r1.ebuild
+++ b/media-libs/flac/flac-1.3.3-r1.ebuild
@@ -11,7 +11,7 @@ 
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 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 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}] )"
@@ -24,7 +24,7 @@ BDEPEND="
!elibc_uclibc? ( sys-devel/gettext )
 "
 
-PATCHES=( "${FILESDIR}/flac-1.3.3-fix-zero-first-byte-md5sum-check.patch" )
+PATCHES=( "${FILESDIR}/${P}-fix-zero-first-byte-md5sum-check.patch" )
 
 multilib_src_configure() {
local myeconfargs=(



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/, media-libs/flac/files/

2021-01-16 Thread Miroslav Šulc
commit: 843116182c8038fb70225fa0b3b50c6008b5fef3
Author: Till Schäfer  uni-dortmund  de>
AuthorDate: Fri Jan 15 09:25:53 2021 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Sat Jan 16 12:08:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84311618

media-libs/flac: fix zero prefix md5sum check

Bug: https://bugs.gentoo.org/719792
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Till Schäfer  uni-dortmund.de>
Closes: https://github.com/gentoo/gentoo/pull/19064
Signed-off-by: Miroslav Šulc  gentoo.org>

 ...ac-1.3.3-fix-zero-first-byte-md5sum-check.patch | 13 +
 media-libs/flac/flac-1.3.3-r1.ebuild   | 61 ++
 2 files changed, 74 insertions(+)

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
new file mode 100644
index 000..bcad809374e
--- /dev/null
+++ b/media-libs/flac/files/flac-1.3.3-fix-zero-first-byte-md5sum-check.patch
@@ -0,0 +1,13 @@
+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
new file mode 100644
index 000..de296da512f
--- /dev/null
+++ b/media-libs/flac/flac-1.3.3-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2021 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 ~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}
+   abi_x86_32? ( dev-lang/nasm )
+"
+BDEPEND="
+   app-arch/xz-utils
+   virtual/pkgconfig
+   !elibc_uclibc? ( sys-devel/gettext )
+"
+
+PATCHES=( "${FILESDIR}/flac-1.3.3-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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2020-07-21 Thread Kent Fredric
commit: 4bea879037ef50d1832a432a9b09e8b489b2d81e
Author: Kent Fredric  gentoo  org>
AuthorDate: Tue Jul 21 20:37:11 2020 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Tue Jul 21 23:13:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bea8790

media-libs/flac: Drop ~x64-macos re bug #690140

Depends:
- dev-lang/nasm
 - dev-perl/Font-TTF

Bug: https://bugs.gentoo.org/690140
Package-Manager: Portage-2.3.103, Repoman-2.3.22
Signed-off-by: Kent Fredric  gentoo.org>

 media-libs/flac/flac-1.3.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.3.3.ebuild 
b/media-libs/flac/flac-1.3.3.ebuild
index a258efad801..35bc0961f2f 100644
--- a/media-libs/flac/flac-1.3.3.ebuild
+++ b/media-libs/flac/flac-1.3.3.ebuild
@@ -11,7 +11,7 @@ 
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 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-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}] )"



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2020-04-05 Thread Andreas Sturmlechner
commit: c4241f2184baa4e7b16ffbb108299c95737b482c
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Apr  5 17:23:15 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Apr  5 17:23:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4241f21

media-libs/flac: Drop 1.3.2-r1

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-libs/flac/Manifest |  1 -
 media-libs/flac/flac-1.3.2-r1.ebuild | 69 
 2 files changed, 70 deletions(-)

diff --git a/media-libs/flac/Manifest b/media-libs/flac/Manifest
index 21a5f90a300..c1191ab0464 100644
--- a/media-libs/flac/Manifest
+++ b/media-libs/flac/Manifest
@@ -1,2 +1 @@
-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.2-r1.ebuild 
b/media-libs/flac/flac-1.3.2-r1.ebuild
deleted file mode 100644
index 37ec8f9fc41..000
--- a/media-libs/flac/flac-1.3.2-r1.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools 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 sparc x86 
~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}
-   app-arch/xz-utils
-   abi_x86_32? ( dev-lang/nasm )
-   !elibc_uclibc? ( sys-devel/gettext )
-   virtual/pkgconfig"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.3.2-cflags.patch
-   "${FILESDIR}"/${PN}-1.3.2-asneeded.patch
-   "${FILESDIR}"/${PN}-1.3.0-dontbuild-tests.patch
-   "${FILESDIR}"/${PN}-1.3.2-dontbuild-examples.patch
-   "${FILESDIR}"/${PN}-1.3.2-honor-htmldir.patch
-   "${FILESDIR}"/${PN}-1.3.2-fortify-sources.patch
-)
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-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 "${D}" -name '*.la' -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/files/

2020-04-05 Thread Andreas Sturmlechner
commit: 96feab60edac2deeae5b463f5e8ae1ea8a5bc118
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Apr  5 17:24:05 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Apr  5 17:24:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96feab60

media-libs/flac: Drop unused patches

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../flac/files/flac-1.3.0-dontbuild-tests.patch|  66 
 media-libs/flac/files/flac-1.3.2-asneeded.patch|  39 --
 media-libs/flac/files/flac-1.3.2-cflags.patch  | 398 -
 .../flac/files/flac-1.3.2-dontbuild-examples.patch |  46 ---
 .../flac/files/flac-1.3.2-fortify-sources.patch|  15 -
 .../flac/files/flac-1.3.2-honor-htmldir.patch  |  75 
 6 files changed, 639 deletions(-)

diff --git a/media-libs/flac/files/flac-1.3.0-dontbuild-tests.patch 
b/media-libs/flac/files/flac-1.3.0-dontbuild-tests.patch
deleted file mode 100644
index 0915a597660..000
--- a/media-libs/flac/files/flac-1.3.0-dontbuild-tests.patch
+++ /dev/null
@@ -1,66 +0,0 @@
 flac-1.3.0/src/test_grabbag/cuesheet/Makefile.am
-+++ flac-1.3.0/src/test_grabbag/cuesheet/Makefile.am
-@@ -21,7 +21,7 @@
-   test_cuesheet.vcproj
- 
- AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include
--noinst_PROGRAMS = test_cuesheet
-+check_PROGRAMS = test_cuesheet
- test_cuesheet_SOURCES = \
-   main.c
- test_cuesheet_LDADD = \
 flac-1.3.0/src/test_grabbag/picture/Makefile.am
-+++ flac-1.3.0/src/test_grabbag/picture/Makefile.am
-@@ -21,7 +21,7 @@
-   test_picture.vcproj
- 
- AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include
--noinst_PROGRAMS = test_picture
-+check_PROGRAMS = test_picture
- test_picture_SOURCES = \
-   main.c
- 
 flac-1.3.0/src/test_libFLAC/Makefile.am
-+++ flac-1.3.0/src/test_libFLAC/Makefile.am
-@@ -22,7 +22,7 @@
- 
- AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include 
-I$(top_srcdir)/src/libFLAC/include
- 
--noinst_PROGRAMS = test_libFLAC
-+check_PROGRAMS = test_libFLAC
- 
- if OS_IS_WINDOWS
- win_utf8_lib = $(top_builddir)/src/share/win_utf8_io/libwin_utf8_io.la
 flac-1.3.0/src/test_libFLAC++/Makefile.am
-+++ flac-1.3.0/src/test_libFLAC++/Makefile.am
-@@ -21,7 +21,7 @@
-   test_libFLAC++.vcproj
- 
- AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include
--noinst_PROGRAMS = test_libFLAC++
-+check_PROGRAMS = test_libFLAC++
- test_libFLAC___LDADD = \
-   $(top_builddir)/src/share/grabbag/libgrabbag.la \
-   $(top_builddir)/src/share/replaygain_analysis/libreplaygain_analysis.la 
\
 flac-1.3.0/src/test_seeking/Makefile.am
-+++ flac-1.3.0/src/test_seeking/Makefile.am
-@@ -24,7 +24,7 @@
- 
- AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include
- 
--noinst_PROGRAMS = test_seeking
-+check_PROGRAMS = test_seeking
- test_seeking_LDADD = \
-   $(top_builddir)/src/libFLAC/libFLAC.la
- 
 flac-1.3.0/src/test_streams/Makefile.am
-+++ flac-1.3.0/src/test_streams/Makefile.am
-@@ -21,7 +21,7 @@
-   test_streams.vcproj
- 
- AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include
--noinst_PROGRAMS = test_streams
-+check_PROGRAMS = test_streams
- test_streams_SOURCES = \
-   main.c
- 

diff --git a/media-libs/flac/files/flac-1.3.2-asneeded.patch 
b/media-libs/flac/files/flac-1.3.2-asneeded.patch
deleted file mode 100644
index f506f243c44..000
--- a/media-libs/flac/files/flac-1.3.2-asneeded.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From 8606b0f418c08aaba7f2565b005f9c00f8681ca1 Mon Sep 17 00:00:00 2001
-From: David Seifert 
-Date: Fri, 13 Jan 2017 16:14:01 +0100
-Subject: [PATCH 4/4] When using libtool, use LTLIBICONV instead.
-
-* This is required, as otherwise -Wl,--as-needed could fail.

- src/flac/Makefile.am | 2 +-
- src/metaflac/Makefile.am | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/flac/Makefile.am b/src/flac/Makefile.am
-index bf3bf468..fe6fa489 100644
 a/src/flac/Makefile.am
-+++ b/src/flac/Makefile.am
-@@ -60,7 +60,7 @@ flac_LDADD = \
-   
$(top_builddir)/src/share/replaygain_synthesis/libreplaygain_synthesis.la \
-   $(top_builddir)/src/libFLAC/libFLAC.la \
-   $(win_utf8_lib) \
--  @LIBICONV@ \
-+  @LTLIBICONV@ \
-   -lm
- 
- CLEANFILES = flac.exe
-diff --git a/src/metaflac/Makefile.am b/src/metaflac/Makefile.am
-index 7a4ec6b6..ec201ddf 100644
 a/src/metaflac/Makefile.am
-+++ b/src/metaflac/Makefile.am
-@@ -55,6 +55,6 @@ metaflac_LDADD = \
-   $(top_builddir)/src/share/utf8/libutf8.la \
-   $(top_builddir)/src/libFLAC/libFLAC.la \
-   $(win_utf8_lib) \
--  @LIBICONV@
-+  @LTLIBICONV@
- 
- CLEANFILES = metaflac.exe
--- 
-2.11.0
-

diff --git a/media-libs/flac/files/flac-1.3.2-cflags.patch 
b/media-libs/flac/files/flac-1.3.2-cflags.patch
deleted file mode 100644
index 

[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2020-04-05 Thread Georgy Yakovlev
commit: 65bf8fe3d2137207fa91e451385d0b3793fc7904
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sun Apr  5 17:20:10 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sun Apr  5 17:22:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65bf8fe3

media-libs/flac: 1.3.3 ppc64 stable, bug #700132

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Georgy Yakovlev  gentoo.org>

 media-libs/flac/flac-1.3.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.3.3.ebuild 
b/media-libs/flac/flac-1.3.3.ebuild
index 0a616c50a7d..a258efad801 100644
--- a/media-libs/flac/flac-1.3.3.ebuild
+++ b/media-libs/flac/flac-1.3.3.ebuild
@@ -11,7 +11,7 @@ 
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 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-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}] )"



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2020-04-04 Thread Georgy Yakovlev
commit: b3686ff7aee4ece15744169e0feda1ca0578e019
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Apr  4 23:57:34 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sun Apr  5 00:12:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3686ff7

media-libs/flac: switch to CPU_FLAGS_PPC

--enable-altivec prevented flac from compiling on G4/G5
due to misdetection of vsx
Adding proper flag allows to compile with altivec but without vsx.

Closes: https://bugs.gentoo.org/701308
Signed-off-by: Georgy Yakovlev  gentoo.org>

 media-libs/flac/flac-1.3.3.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/media-libs/flac/flac-1.3.3.ebuild 
b/media-libs/flac/flac-1.3.3.ebuild
index b3aea9e2746..0a616c50a7d 100644
--- a/media-libs/flac/flac-1.3.3.ebuild
+++ b/media-libs/flac/flac-1.3.3.ebuild
@@ -12,7 +12,7 @@ 
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 sparc x86 
~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"
+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}
@@ -30,7 +30,8 @@ multilib_src_configure() {
--disable-examples
--disable-xmms-plugin
$([[ ${CHOST} == *-darwin* ]] && echo 
"--disable-asm-optimizations")
-   $(use_enable altivec)
+   $(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)



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2019-11-27 Thread Sergei Trofimovich
commit: 44cf030efddfa766f67a761c3a8fe90996bd1c0d
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Wed Nov 27 18:21:52 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Nov 27 20:01:45 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44cf030e

media-libs/flac: stable 1.3.3 for hppa, bug #700132

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 media-libs/flac/flac-1.3.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.3.3.ebuild 
b/media-libs/flac/flac-1.3.3.ebuild
index e46d5ad8099..cb7d541ecd0 100644
--- a/media-libs/flac/flac-1.3.3.ebuild
+++ b/media-libs/flac/flac-1.3.3.ebuild
@@ -11,7 +11,7 @@ 
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-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ~ppc64 ~sh sparc x86 
~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}] )"



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2019-11-27 Thread Mikle Kolyada
commit: 70f01e710c73287b5d867884ef686fdd709836e6
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Wed Nov 27 13:21:46 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Wed Nov 27 13:21:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70f01e71

media-libs/flac: arm stable wrt bug #700132

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="arm"
Signed-off-by: Mikle Kolyada  gentoo.org>

 media-libs/flac/flac-1.3.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.3.3.ebuild 
b/media-libs/flac/flac-1.3.3.ebuild
index 81841f183aa..e46d5ad8099 100644
--- a/media-libs/flac/flac-1.3.3.ebuild
+++ b/media-libs/flac/flac-1.3.3.ebuild
@@ -11,7 +11,7 @@ 
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-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ~ppc64 ~sh sparc x86 
~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}] )"



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2019-11-22 Thread Matt Turner
commit: 0684c5b767835d61ac24521b847d6fb995ebb915
Author: Matt Turner  gentoo  org>
AuthorDate: Fri Nov 22 13:44:14 2019 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Nov 22 13:44:14 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0684c5b7

media-libs/flac-1.3.3: alpha stable, bug 700132

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/flac/flac-1.3.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.3.3.ebuild 
b/media-libs/flac/flac-1.3.3.ebuild
index c2c6354dd69..81841f183aa 100644
--- a/media-libs/flac/flac-1.3.3.ebuild
+++ b/media-libs/flac/flac-1.3.3.ebuild
@@ -11,7 +11,7 @@ 
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-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="alpha amd64 ~arm arm64 ~hppa ia64 ~mips ppc ~ppc64 ~sh sparc x86 
~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}] )"



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2019-11-20 Thread Agostino Sarubbo
commit: 16a28f46312fc459ac81c4ad5e38e21fecda0677
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Nov 20 11:34:37 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Nov 20 11:34:37 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16a28f46

media-libs/flac: ia64 stable wrt bug #700132

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/flac/flac-1.3.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.3.3.ebuild 
b/media-libs/flac/flac-1.3.3.ebuild
index 742cc6927cd..c2c6354dd69 100644
--- a/media-libs/flac/flac-1.3.3.ebuild
+++ b/media-libs/flac/flac-1.3.3.ebuild
@@ -11,7 +11,7 @@ 
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-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ia64 ~mips ppc ~ppc64 ~sh sparc x86 
~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}] )"



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2019-11-20 Thread Agostino Sarubbo
commit: a3ab9508d288ad27f804b627506f6187a15cc37f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Nov 20 11:27:32 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Nov 20 11:27:32 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3ab9508

media-libs/flac: ppc stable wrt bug #700132

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/flac/flac-1.3.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.3.3.ebuild 
b/media-libs/flac/flac-1.3.3.ebuild
index a919a63a04f..742cc6927cd 100644
--- a/media-libs/flac/flac-1.3.3.ebuild
+++ b/media-libs/flac/flac-1.3.3.ebuild
@@ -11,7 +11,7 @@ 
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-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~sh sparc x86 
~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}] )"



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2019-11-19 Thread Agostino Sarubbo
commit: 192f486e19c283b38ebf1f444e5887a155e19018
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Nov 19 12:48:25 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Nov 19 12:48:25 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=192f486e

media-libs/flac: x86 stable wrt bug #700132

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/flac/flac-1.3.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.3.3.ebuild 
b/media-libs/flac/flac-1.3.3.ebuild
index 39de528194b..a919a63a04f 100644
--- a/media-libs/flac/flac-1.3.3.ebuild
+++ b/media-libs/flac/flac-1.3.3.ebuild
@@ -11,7 +11,7 @@ 
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-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh sparc x86 
~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}] )"



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2019-11-16 Thread Aaron Bauman
commit: 05a313088ebb4df79cbf57e95ea376f33ed6da49
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sat Nov 16 12:14:59 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sat Nov 16 21:00:28 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05a31308

media-libs/flac: arm64 stable (bug #700132)

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.79, Repoman-2.3.18

 media-libs/flac/flac-1.3.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.3.3.ebuild 
b/media-libs/flac/flac-1.3.3.ebuild
index d5ab78ba84a..39de528194b 100644
--- a/media-libs/flac/flac-1.3.3.ebuild
+++ b/media-libs/flac/flac-1.3.3.ebuild
@@ -11,7 +11,7 @@ 
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-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh sparc ~x86 
~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}] )"



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2019-11-16 Thread Sergei Trofimovich
commit: ec79977eb88b559bae194b4ec2186fc79c8b709d
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sat Nov 16 07:25:04 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Nov 16 10:34:28 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec79977e

media-libs/flac: stable 1.3.3 for sparc, bug #700132

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 media-libs/flac/flac-1.3.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.3.3.ebuild 
b/media-libs/flac/flac-1.3.3.ebuild
index 7d7431da5e4..d5ab78ba84a 100644
--- a/media-libs/flac/flac-1.3.3.ebuild
+++ b/media-libs/flac/flac-1.3.3.ebuild
@@ -11,7 +11,7 @@ 
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-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh sparc 
~x86 ~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}] )"



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2019-11-15 Thread Agostino Sarubbo
commit: 4405f1cc1b1f39d63bcbc7628c777ce48a542dab
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Nov 15 09:50:55 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Nov 15 09:50:55 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4405f1cc

media-libs/flac: amd64 stable wrt bug #700132

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/flac/flac-1.3.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.3.3.ebuild 
b/media-libs/flac/flac-1.3.3.ebuild
index 17a63399cd1..7d7431da5e4 100644
--- a/media-libs/flac/flac-1.3.3.ebuild
+++ b/media-libs/flac/flac-1.3.3.ebuild
@@ -11,7 +11,7 @@ 
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-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc 
~x86 ~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}] )"



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2019-08-07 Thread Lars Wendler
commit: 2a20d0eddf595a0962b895099ca2c6ad656e8575
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Aug  7 13:44:02 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Aug  7 13:44:16 2019 +
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 000..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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2017-08-31 Thread Tim Harder
commit: 74b3ab579a9ae3ca61589809c9ac0f41b029ad60
Author: Tim Harder  gentoo  org>
AuthorDate: Thu Aug 31 12:40:27 2017 +
Commit: Tim Harder  gentoo  org>
CommitDate: Thu Aug 31 12:40:27 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74b3ab57

media-libs/flac: update HOMEPAGE and use https for it and SRC_URI

 media-libs/flac/flac-1.3.2-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/flac/flac-1.3.2-r1.ebuild 
b/media-libs/flac/flac-1.3.2-r1.ebuild
index aeff46738a4..5c43c541d2c 100644
--- a/media-libs/flac/flac-1.3.2-r1.ebuild
+++ b/media-libs/flac/flac-1.3.2-r1.ebuild
@@ -6,8 +6,8 @@ EAPI=6
 inherit autotools multilib-minimal
 
 DESCRIPTION="free lossless audio encoder and decoder"
-HOMEPAGE="http://flac.sourceforge.net;
-SRC_URI="http://downloads.xiph.org/releases/${PN}/${P}.tar.xz;
+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"



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/, media-libs/flac/files/

2017-04-12 Thread Tim Harder
commit: abe3db8a5db4cc1a9c0a5d3a3f6355e84500ae76
Author: Tim Harder  gentoo  org>
AuthorDate: Wed Apr 12 10:52:34 2017 +
Commit: Tim Harder  gentoo  org>
CommitDate: Wed Apr 12 10:52:34 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abe3db8a

media-libs/flac: remove old

 media-libs/flac/Manifest   |  1 -
 media-libs/flac/files/flac-1.3.0-asneeded.patch| 21 ---
 .../flac/files/flac-1.3.0-dontbuild-examples.patch | 30 -
 media-libs/flac/files/flac-1.3.1-cflags.patch  | 23 ---
 media-libs/flac/files/flac-1.3.1-x32.patch | 69 -
 media-libs/flac/flac-1.3.1-r1.ebuild   | 72 --
 6 files changed, 216 deletions(-)

diff --git a/media-libs/flac/Manifest b/media-libs/flac/Manifest
index defc4e68875..5ba1fd2ccd1 100644
--- a/media-libs/flac/Manifest
+++ b/media-libs/flac/Manifest
@@ -1,2 +1 @@
-DIST flac-1.3.1.tar.xz 941848 SHA256 
4773c0099dba767d963fd92143263be338c48702172e8754b9bc5103efe1c56c SHA512 
923cd0ffe2155636febf2b4633791bc83370d57080461b97ebb69ea21a4b1be7c0ff376c7fc8ca3979af4714e761112114a24b49ff6c80228b58b929db6e96d5
 WHIRLPOOL 
abda096c0c1392499a613cc99c917cd519a20936bb98390a466c971ee981385a0e249e80f0bdac27b1eb6566a3392c1a4cb6ff9a6695952f16127a0b290fa5d4
 DIST flac-1.3.2.tar.xz 776192 SHA256 
91cfc3ed61dc40f47f050a109b08610667d73477af6ef36dcad31c31a4a8d53f SHA512 
63910e8ebbe508316d446ffc9eb6d02efbd5f47d29d2ea7864da9371843c8e671854db6e89ba043fe08aef1845b8ece70db80f1cce853f591ca30d56ef7c3a15
 WHIRLPOOL 
158a3dbb621aab556388a7e46f0b760934011ae9f20d4921927d1c62fee9be0434294b3afcf93db355704c24822cfcfc24dc2d4b2b32ef13447633671e20fe7c

diff --git a/media-libs/flac/files/flac-1.3.0-asneeded.patch 
b/media-libs/flac/files/flac-1.3.0-asneeded.patch
deleted file mode 100644
index a38b3202500..000
--- a/media-libs/flac/files/flac-1.3.0-asneeded.patch
+++ /dev/null
@@ -1,21 +0,0 @@
 flac-1.3.0/src/flac/Makefile.am
-+++ flac-1.3.0/src/flac/Makefile.am
-@@ -51,7 +51,7 @@
-   $(top_builddir)/src/share/replaygain_analysis/libreplaygain_analysis.la 
\
-   
$(top_builddir)/src/share/replaygain_synthesis/libreplaygain_synthesis.la \
-   $(top_builddir)/src/libFLAC/libFLAC.la \
--  @LIBICONV@ \
-+  @LTLIBICONV@ \
-   -lm
- 
- CLEANFILES = flac.exe
 flac-1.3.0/src/metaflac/Makefile.am
-+++ flac-1.3.0/src/metaflac/Makefile.am
-@@ -48,6 +48,6 @@
-   $(top_builddir)/src/share/getopt/libgetopt.la \
-   $(top_builddir)/src/share/utf8/libutf8.la \
-   $(top_builddir)/src/libFLAC/libFLAC.la \
--  @LIBICONV@
-+  @LTLIBICONV@
- 
- CLEANFILES = metaflac.exe

diff --git a/media-libs/flac/files/flac-1.3.0-dontbuild-examples.patch 
b/media-libs/flac/files/flac-1.3.0-dontbuild-examples.patch
deleted file mode 100644
index 5c25dd588f2..000
--- a/media-libs/flac/files/flac-1.3.0-dontbuild-examples.patch
+++ /dev/null
@@ -1,30 +0,0 @@
 flac-1.3.0/configure.ac
-+++ flac-1.3.0/configure.ac
-@@ -319,6 +319,12 @@
- fi
- AC_SUBST(OGG_PACKAGE)
- 
-+dnl Build examples?
-+AC_ARG_ENABLE(examples,
-+   AS_HELP_STRING([--disable-examples], [Don't build examples during 
make]),,
-+   enable_examples="yes")
-+AM_CONDITIONAL(EXAMPLES, [test "$enable_examples" = "yes"])
-+
- dnl check for i18n(internationalization); these are from libiconv/gettext
- AM_ICONV
- AM_LANGINFO_CODESET
 flac-1.3.0/Makefile.am
-+++ flac-1.3.0/Makefile.am
-@@ -31,7 +31,11 @@
- 
- ACLOCAL_AMFLAGS = -I m4
- 
--SUBDIRS = doc include m4 man src examples test build objs
-+SUBDIRS = doc include m4 man src test build objs
-+
-+if EXAMPLES
-+SUBDIRS += examples
-+endif
- 
- EXTRA_DIST = \
-   COPYING.FDL \

diff --git a/media-libs/flac/files/flac-1.3.1-cflags.patch 
b/media-libs/flac/files/flac-1.3.1-cflags.patch
deleted file mode 100644
index 758e7b31c13..000
--- a/media-libs/flac/files/flac-1.3.1-cflags.patch
+++ /dev/null
@@ -1,23 +0,0 @@
 flac-1.3.1/configure.ac
-+++ flac-1.3.1/configure.ac
-@@ -348,12 +348,8 @@
- 
- if test "x$debug" = xtrue; then
-   CPPFLAGS="-DDEBUG $CPPFLAGS"
--  CFLAGS=$(echo "$CFLAGS" | sed 's/-g//')
--  CFLAGS="-g $CFLAGS"
- else
-   CPPFLAGS="-DNDEBUG $CPPFLAGS"
--  CFLAGS=$(echo "$CFLAGS" | sed 's/-O2//;s/-g//')
--  CFLAGS="-O3 -funroll-loops $CFLAGS"
- fi
- 
- XIPH_GCC_VERSION
-@@ -363,7 +359,6 @@
-   CXXFLAGS="$CXXFLAGS -Wall -Wextra -Wcast-align -Wshadow -Wwrite-strings 
-Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Wsign-promo -Wundef 
-Wunreachable-code " # -Wcast-qual -Wbad-function-cast -Wwrite-strings 
-Woverloaded-virtual -Wmissing-declarations
- 
-   XIPH_ADD_CFLAGS([-Wdeclaration-after-statement])
--  XIPH_ADD_CFLAGS([-D_FORTIFY_SOURCE=2])
- 
-   AC_LANG_PUSH([C++])
-   XIPH_ADD_CXXFLAGS([-Weffc++])

diff --git a/media-libs/flac/files/flac-1.3.1-x32.patch 
b/media-libs/flac/files/flac-1.3.1-x32.patch
deleted file mode 100644
index 

[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2017-01-19 Thread Jeroen Roovers
commit: 73d91effae9e6c371a5c8bae12561a150c0c3c49
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Jan 20 05:06:31 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Jan 20 05:06:31 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73d91eff

media-libs/flac: Stable for HPPA (bug #540072).

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --ignore-arches

 media-libs/flac/flac-1.3.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.3.2-r1.ebuild 
b/media-libs/flac/flac-1.3.2-r1.ebuild
index f891c11..2459a0b 100644
--- a/media-libs/flac/flac-1.3.2-r1.ebuild
+++ b/media-libs/flac/flac-1.3.2-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="http://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"
+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}] )"



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2017-01-16 Thread Agostino Sarubbo
commit: 52a7966d36eca0f8d467e4f4b76b5c65916c3cda
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Jan 16 10:13:04 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Jan 16 10:13:04 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52a7966d

media-libs/flac: x86 stable wrt bug #540072

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/flac/flac-1.3.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.3.2-r1.ebuild 
b/media-libs/flac/flac-1.3.2-r1.ebuild
index c978f47..bc98c22 100644
--- a/media-libs/flac/flac-1.3.2-r1.ebuild
+++ b/media-libs/flac/flac-1.3.2-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="http://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"
+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}] )"



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2017-01-15 Thread Tobias Klausmann
commit: 4eab9a733b337653bb6ef213e072bf64ea5c2688
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Sun Jan 15 22:10:02 2017 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Sun Jan 15 22:10:02 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4eab9a73

media-libs/flac-1.3.2-r1: stable on alpha

Gentoo-Bug: 540072

 media-libs/flac/flac-1.3.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.3.2-r1.ebuild 
b/media-libs/flac/flac-1.3.2-r1.ebuild
index 0f1ce1a..c978f47 100644
--- a/media-libs/flac/flac-1.3.2-r1.ebuild
+++ b/media-libs/flac/flac-1.3.2-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="http://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"
+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}] )"



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/files/, media-libs/flac/

2017-01-13 Thread David Seifert
commit: 29397cdf2756c3fc6db869cd0e7e3db59536e9c5
Author: David Seifert  gentoo  org>
AuthorDate: Fri Jan 13 18:35:16 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri Jan 13 18:35:52 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29397cdf

media-libs/flac: Make debugging info dependent on USE="debug"

Gentoo-bug: 604718

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 media-libs/flac/files/flac-1.3.2-asneeded.patch|  30 +-
 media-libs/flac/files/flac-1.3.2-cflags.patch  | 394 -
 .../flac/files/flac-1.3.2-dontbuild-examples.patch |  50 ++-
 .../flac/files/flac-1.3.2-fortify-sources.patch|  15 +
 .../flac/files/flac-1.3.2-honor-htmldir.patch  |  68 ++--
 .../{flac-1.3.2.ebuild => flac-1.3.2-r1.ebuild}|  17 +-
 6 files changed, 508 insertions(+), 66 deletions(-)

diff --git a/media-libs/flac/files/flac-1.3.2-asneeded.patch 
b/media-libs/flac/files/flac-1.3.2-asneeded.patch
index e4a4af7..f506f24 100644
--- a/media-libs/flac/files/flac-1.3.2-asneeded.patch
+++ b/media-libs/flac/files/flac-1.3.2-asneeded.patch
@@ -1,6 +1,19 @@
 flac-1.3.2/src/flac/Makefile.am
-+++ flac-1.3.2/src/flac/Makefile.am
-@@ -60,7 +60,7 @@
+From 8606b0f418c08aaba7f2565b005f9c00f8681ca1 Mon Sep 17 00:00:00 2001
+From: David Seifert 
+Date: Fri, 13 Jan 2017 16:14:01 +0100
+Subject: [PATCH 4/4] When using libtool, use LTLIBICONV instead.
+
+* This is required, as otherwise -Wl,--as-needed could fail.
+---
+ src/flac/Makefile.am | 2 +-
+ src/metaflac/Makefile.am | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/flac/Makefile.am b/src/flac/Makefile.am
+index bf3bf468..fe6fa489 100644
+--- a/src/flac/Makefile.am
 b/src/flac/Makefile.am
+@@ -60,7 +60,7 @@ flac_LDADD = \

$(top_builddir)/src/share/replaygain_synthesis/libreplaygain_synthesis.la \
$(top_builddir)/src/libFLAC/libFLAC.la \
$(win_utf8_lib) \
@@ -9,9 +22,11 @@
-lm
  
  CLEANFILES = flac.exe
 flac-1.3.2/src/metaflac/Makefile.am
-+++ flac-1.3.2/src/metaflac/Makefile.am
-@@ -55,6 +55,6 @@
+diff --git a/src/metaflac/Makefile.am b/src/metaflac/Makefile.am
+index 7a4ec6b6..ec201ddf 100644
+--- a/src/metaflac/Makefile.am
 b/src/metaflac/Makefile.am
+@@ -55,6 +55,6 @@ metaflac_LDADD = \
$(top_builddir)/src/share/utf8/libutf8.la \
$(top_builddir)/src/libFLAC/libFLAC.la \
$(win_utf8_lib) \
@@ -19,3 +34,6 @@
 +  @LTLIBICONV@
  
  CLEANFILES = metaflac.exe
+-- 
+2.11.0
+

diff --git a/media-libs/flac/files/flac-1.3.2-cflags.patch 
b/media-libs/flac/files/flac-1.3.2-cflags.patch
index fd1334d..e4159a4 100644
--- a/media-libs/flac/files/flac-1.3.2-cflags.patch
+++ b/media-libs/flac/files/flac-1.3.2-cflags.patch
@@ -1,6 +1,48 @@
 flac-1.3.2/configure.ac
-+++ flac-1.3.2/configure.ac
-@@ -384,14 +384,7 @@
+From eab60f424ae4810a8b3b07cf2d429be2905c9655 Mon Sep 17 00:00:00 2001
+From: David Seifert 
+Date: Fri, 13 Jan 2017 16:03:47 +0100
+Subject: [PATCH 1/4] Do not override CFLAGS, as CFLAGS is a user flag.
+
+* Furthermore, use NDEBUG globally to detect the presence
+  of building with more debug output information.
+  AX_CHECK_ENABLE_DEBUG is easier to use, and nowadays
+  Gnome has also switched to it from its own custom solution.
+---
+ configure.ac  |  19 +--
+ include/FLAC/assert.h |   2 +-
+ m4/ax_check_enable_debug.m4   | 124 ++
+ src/libFLAC/cpu.c |   2 +-
+ src/libFLAC/lpc.c |   4 +-
+ src/libFLAC/stream_encoder.c  |  10 ++--
+ src/plugin_common/Makefile.am |   6 --
+ src/plugin_common/charset.c   |   4 +-
+ src/plugin_xmms/http.c|  12 ++--
+ src/share/Makefile.am |   6 --
+ 10 files changed, 142 insertions(+), 47 deletions(-)
+ create mode 100644 m4/ax_check_enable_debug.m4
+
+diff --git a/configure.ac b/configure.ac
+index 235d2717..ba97bac0 100644
+--- a/configure.ac
 b/configure.ac
+@@ -205,14 +205,8 @@ AC_DEFINE(FLAC__ALIGN_MALLOC_DATA)
+ AH_TEMPLATE(FLAC__ALIGN_MALLOC_DATA, [define to align allocated memory on 
32-byte boundaries])
+ fi
+ 
+-AC_ARG_ENABLE(debug,
+-AC_HELP_STRING([--enable-debug], [Turn on debugging]),
+-[case "${enableval}" in
+-  yes) debug=true ;;
+-  no)  debug=false ;;
+-  *) AC_MSG_ERROR(bad value ${enableval} for --enable-debug) ;;
+-esac],[debug=false])
+-AM_CONDITIONAL(DEBUG, test "x$debug" = xtrue)
++AX_CHECK_ENABLE_DEBUG
++AM_CONDITIONAL([DEBUG], [test "x$ax_enable_debug" = "xyes" -o 
"x$ax_enable_debug" = "xinfo"])
+ 
+ AC_ARG_ENABLE(sse,
+ AC_HELP_STRING([--disable-sse], [Disable passing of -msse2 to the compiler]),
+@@ -384,15 +378,6 @@ AC_DEFINE(FLAC__HAS_NASM)
  AH_TEMPLATE(FLAC__HAS_NASM, [define if you are compiling for x86 and have the 
NASM assembler])
  fi
  
@@ -12,15 +54,345 @@
 -  CFLAGS=$(echo "$CFLAGS" | sed 's/-O2//')
 -  CFLAGS="-O3 -funroll-loops $CFLAGS"
 -fi

[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2017-01-13 Thread Markus Meier
commit: 8904871b91f15c54481c4d23acf4c48aee424ab4
Author: Markus Meier  gentoo  org>
AuthorDate: Fri Jan 13 16:48:57 2017 +
Commit: Markus Meier  gentoo  org>
CommitDate: Fri Jan 13 16:49:33 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8904871b

media-libs/flac: arm stable, bug #540072

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="arm"

 media-libs/flac/flac-1.3.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.3.2.ebuild 
b/media-libs/flac/flac-1.3.2.ebuild
index 7cba6fd..12105c7 100644
--- a/media-libs/flac/flac-1.3.2.ebuild
+++ b/media-libs/flac/flac-1.3.2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="http://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"
+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}] )"



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2017-01-10 Thread Aaron Bauman
commit: 0b3d77cdc0637c2409074cf606e5b7a6b1667dcc
Author: Aaron Bauman  gentoo  org>
AuthorDate: Tue Jan 10 22:26:56 2017 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Tue Jan 10 22:26:56 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b3d77cd

media-libs/flac: amd64 stable

Package-Manager: portage-2.3.0

 media-libs/flac/flac-1.3.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/flac-1.3.2.ebuild 
b/media-libs/flac/flac-1.3.2.ebuild
index 5786d31..7cba6fd 100644
--- a/media-libs/flac/flac-1.3.2.ebuild
+++ b/media-libs/flac/flac-1.3.2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="http://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"
+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}] )"



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/files/, media-libs/flac/

2017-01-08 Thread David Seifert
commit: f0fca6b743c48593fc7fe4a4a8b2bba21739fe69
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jan  8 21:27:19 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jan  8 21:27:42 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0fca6b7

media-libs/flac: Call einstalldocs and minor fixups

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 .../flac/files/flac-1.3.2-honor-htmldir.patch  | 55 ++
 media-libs/flac/flac-1.3.2.ebuild  |  9 ++--
 2 files changed, 59 insertions(+), 5 deletions(-)

diff --git a/media-libs/flac/files/flac-1.3.2-honor-htmldir.patch 
b/media-libs/flac/files/flac-1.3.2-honor-htmldir.patch
new file mode 100644
index ..2f93a67
--- /dev/null
+++ b/media-libs/flac/files/flac-1.3.2-honor-htmldir.patch
@@ -0,0 +1,55 @@
+HTML files should be installed to $(htmldir), and $(docdir) should
+not be changed, as this is a user flag in the GNU conventions.
+
+--- a/doc/html/images/Makefile.am
 b/doc/html/images/Makefile.am
+@@ -16,9 +16,9 @@
+ #  restrictive of those mentioned above.  See the file COPYING.Xiph in this
+ #  distribution.
+ 
+-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)/html/images
++logosdir = $(htmldir)/images
+ 
+-doc_DATA = \
++logos_DATA = \
+   logo.svg \
+   logo130.gif
+ 
+--- a/doc/html/Makefile.am
 b/doc/html/Makefile.am
+@@ -18,9 +18,7 @@
+ 
+ SUBDIRS = images
+ 
+-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)/html
+-
+-doc_DATA = \
++html_DATA = \
+   changelog.html \
+   developers.html \
+   documentation.html \
+@@ -46,10 +44,10 @@
+ # The install targets don't copy whole directories so we have to
+ # handle 'api/' specially:
+ install-data-local:
+-  $(mkinstalldirs) $(DESTDIR)$(docdir)/api
+-  (cd $(builddir)/api && $(INSTALL_DATA) * $(DESTDIR)$(docdir)/api)
++  $(mkinstalldirs) $(DESTDIR)$(htmldir)/api
++  (cd $(builddir)/api && $(INSTALL_DATA) * $(DESTDIR)$(htmldir)/api)
+ uninstall-local:
+-  rm -rf $(DESTDIR)$(docdir)/api
++  rm -rf $(DESTDIR)$(htmldir)/api
+ distclean-local:
+   -rm -rf api
+ endif
+--- a/doc/Makefile.am
 b/doc/Makefile.am
+@@ -31,8 +31,6 @@
+   mkdir -p html/api
+ endif
+ 
+-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
+-
+ doc_DATA = \
+   FLAC.tag
+ 

diff --git a/media-libs/flac/flac-1.3.2.ebuild 
b/media-libs/flac/flac-1.3.2.ebuild
index 5b5d6bf..5786d31 100644
--- a/media-libs/flac/flac-1.3.2.ebuild
+++ b/media-libs/flac/flac-1.3.2.ebuild
@@ -28,16 +28,15 @@ src_prepare() {
"${FILESDIR}"/${PN}-1.3.2-asneeded.patch
"${FILESDIR}"/${PN}-1.3.0-dontbuild-tests.patch
"${FILESDIR}"/${PN}-1.3.2-dontbuild-examples.patch
+   "${FILESDIR}"/${PN}-1.3.2-honor-htmldir.patch
)
 
default
-
eautoreconf
 }
 
 multilib_src_configure() {
local myeconfargs=(
-   --docdir="${EPREFIX}"/usr/share/doc/${PF}/html
--disable-doxygen-docs
--disable-examples
--disable-xmms-plugin
@@ -47,6 +46,7 @@ multilib_src_configure() {
$(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
@@ -64,7 +64,6 @@ multilib_src_test() {
 }
 
 multilib_src_install_all() {
-   if ! use static-libs ; then
-   find "${ED}" \( -name "*.la" -o -name "*.a" \) -delete || die
-   fi
+   einstalldocs
+   find "${D}" -name '*.la' -delete || die
 }



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2017-01-08 Thread Lars Wendler
commit: 2098e83e9637d157be3eb6d97b710b2393ad9579
Author: Lars Wendler  gentoo  org>
AuthorDate: Sun Jan  8 21:02:31 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sun Jan  8 21:03:06 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2098e83e

media-libs/flac: Removed deps on long gone emul-linux* packages.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 media-libs/flac/flac-1.3.2.ebuild | 6 +-
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/media-libs/flac/flac-1.3.2.ebuild 
b/media-libs/flac/flac-1.3.2.ebuild
index 0e8a510..5b5d6bf 100644
--- a/media-libs/flac/flac-1.3.2.ebuild
+++ b/media-libs/flac/flac-1.3.2.ebuild
@@ -15,11 +15,7 @@ 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}] )
-   abi_x86_32? (
-   !<=app-emulation/emul-linux-x86-soundlibs-20130224-r1
-   !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)]
-   )"
+RDEPEND="ogg? ( >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] )"
 DEPEND="${RDEPEND}
app-arch/xz-utils
abi_x86_32? ( dev-lang/nasm )



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/

2017-01-03 Thread Lars Wendler
commit: bce11f2f8f99f6028a386d35c7bf9d5b45cbf1ee
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Jan  3 13:25:05 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Jan  3 13:28:58 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bce11f2f

media-libs/flac: source tarball changed size (bug #604508).

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 media-libs/flac/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/flac/Manifest b/media-libs/flac/Manifest
index 3487a9e..defc4e6 100644
--- a/media-libs/flac/Manifest
+++ b/media-libs/flac/Manifest
@@ -1,2 +1,2 @@
 DIST flac-1.3.1.tar.xz 941848 SHA256 
4773c0099dba767d963fd92143263be338c48702172e8754b9bc5103efe1c56c SHA512 
923cd0ffe2155636febf2b4633791bc83370d57080461b97ebb69ea21a4b1be7c0ff376c7fc8ca3979af4714e761112114a24b49ff6c80228b58b929db6e96d5
 WHIRLPOOL 
abda096c0c1392499a613cc99c917cd519a20936bb98390a466c971ee981385a0e249e80f0bdac27b1eb6566a3392c1a4cb6ff9a6695952f16127a0b290fa5d4
-DIST flac-1.3.2.tar.xz 776016 SHA256 
e48764f0761beb791a69590f12826fe8cf302c42db2879849c5d10bc7c85db66 SHA512 
b6dfc7e31dc1fad434ff751a9f4748354de242af94d56c93254245ddb740ffa19e56f32100c3723b601ba345156e927d61a80722126cc75ebe55092179427cac
 WHIRLPOOL 
3ba4be7f7dc91691f48e3d09ff92f79af8c7915e2f472f41802cc6f1686ab12bb91364c8119c10d85b6e5c5d706989dfcb4c95cb19f75fe4196c206502c76605
+DIST flac-1.3.2.tar.xz 776192 SHA256 
91cfc3ed61dc40f47f050a109b08610667d73477af6ef36dcad31c31a4a8d53f SHA512 
63910e8ebbe508316d446ffc9eb6d02efbd5f47d29d2ea7864da9371843c8e671854db6e89ba043fe08aef1845b8ece70db80f1cce853f591ca30d56ef7c3a15
 WHIRLPOOL 
158a3dbb621aab556388a7e46f0b760934011ae9f20d4921927d1c62fee9be0434294b3afcf93db355704c24822cfcfc24dc2d4b2b32ef13447633671e20fe7c



[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/, media-libs/flac/files/

2017-01-02 Thread Lars Wendler
commit: 32d9af62ee97eb977b752b5f507a6cda897de5a2
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Jan  2 10:08:20 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Jan  2 10:27:50 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32d9af62

media-libs/flac: Bump to version 1.3.2

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 media-libs/flac/Manifest   |  1 +
 media-libs/flac/files/flac-1.3.2-asneeded.patch| 21 ++
 media-libs/flac/files/flac-1.3.2-cflags.patch  | 26 
 .../flac/files/flac-1.3.2-dontbuild-examples.patch | 30 +
 media-libs/flac/flac-1.3.2.ebuild  | 74 ++
 5 files changed, 152 insertions(+)

diff --git a/media-libs/flac/Manifest b/media-libs/flac/Manifest
index 50c1c0a..3487a9e 100644
--- a/media-libs/flac/Manifest
+++ b/media-libs/flac/Manifest
@@ -1 +1,2 @@
 DIST flac-1.3.1.tar.xz 941848 SHA256 
4773c0099dba767d963fd92143263be338c48702172e8754b9bc5103efe1c56c SHA512 
923cd0ffe2155636febf2b4633791bc83370d57080461b97ebb69ea21a4b1be7c0ff376c7fc8ca3979af4714e761112114a24b49ff6c80228b58b929db6e96d5
 WHIRLPOOL 
abda096c0c1392499a613cc99c917cd519a20936bb98390a466c971ee981385a0e249e80f0bdac27b1eb6566a3392c1a4cb6ff9a6695952f16127a0b290fa5d4
+DIST flac-1.3.2.tar.xz 776016 SHA256 
e48764f0761beb791a69590f12826fe8cf302c42db2879849c5d10bc7c85db66 SHA512 
b6dfc7e31dc1fad434ff751a9f4748354de242af94d56c93254245ddb740ffa19e56f32100c3723b601ba345156e927d61a80722126cc75ebe55092179427cac
 WHIRLPOOL 
3ba4be7f7dc91691f48e3d09ff92f79af8c7915e2f472f41802cc6f1686ab12bb91364c8119c10d85b6e5c5d706989dfcb4c95cb19f75fe4196c206502c76605

diff --git a/media-libs/flac/files/flac-1.3.2-asneeded.patch 
b/media-libs/flac/files/flac-1.3.2-asneeded.patch
new file mode 100644
index ..e4a4af7
--- /dev/null
+++ b/media-libs/flac/files/flac-1.3.2-asneeded.patch
@@ -0,0 +1,21 @@
+--- flac-1.3.2/src/flac/Makefile.am
 flac-1.3.2/src/flac/Makefile.am
+@@ -60,7 +60,7 @@
+   
$(top_builddir)/src/share/replaygain_synthesis/libreplaygain_synthesis.la \
+   $(top_builddir)/src/libFLAC/libFLAC.la \
+   $(win_utf8_lib) \
+-  @LIBICONV@ \
++  @LTLIBICONV@ \
+   -lm
+ 
+ CLEANFILES = flac.exe
+--- flac-1.3.2/src/metaflac/Makefile.am
 flac-1.3.2/src/metaflac/Makefile.am
+@@ -55,6 +55,6 @@
+   $(top_builddir)/src/share/utf8/libutf8.la \
+   $(top_builddir)/src/libFLAC/libFLAC.la \
+   $(win_utf8_lib) \
+-  @LIBICONV@
++  @LTLIBICONV@
+ 
+ CLEANFILES = metaflac.exe

diff --git a/media-libs/flac/files/flac-1.3.2-cflags.patch 
b/media-libs/flac/files/flac-1.3.2-cflags.patch
new file mode 100644
index ..fd1334d
--- /dev/null
+++ b/media-libs/flac/files/flac-1.3.2-cflags.patch
@@ -0,0 +1,26 @@
+--- flac-1.3.2/configure.ac
 flac-1.3.2/configure.ac
+@@ -384,14 +384,7 @@
+ AH_TEMPLATE(FLAC__HAS_NASM, [define if you are compiling for x86 and have the 
NASM assembler])
+ fi
+ 
+-if test "x$debug" = xtrue; then
+-  CPPFLAGS="-DDEBUG $CPPFLAGS"
+-  CFLAGS="-g $CFLAGS"
+-else
+-  CPPFLAGS="-DNDEBUG $CPPFLAGS"
+-  CFLAGS=$(echo "$CFLAGS" | sed 's/-O2//')
+-  CFLAGS="-O3 -funroll-loops $CFLAGS"
+-fi
++CPPFLAGS="-DDEBUG $CPPFLAGS"
+ 
+ XIPH_GCC_VERSION
+ 
+@@ -400,7 +393,6 @@
+   CXXFLAGS="$CXXFLAGS -Wall -Wextra -Wcast-align -Wshadow -Wwrite-strings 
-Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Wsign-promo -Wundef " # 
-Wcast-qual -Wbad-function-cast -Wwrite-strings -Woverloaded-virtual 
-Wmissing-declarations
+ 
+   XIPH_ADD_CFLAGS([-Wdeclaration-after-statement])
+-  XIPH_ADD_CFLAGS([-D_FORTIFY_SOURCE=2])
+ 
+   AC_LANG_PUSH([C++])
+   XIPH_ADD_CXXFLAGS([-Weffc++])

diff --git a/media-libs/flac/files/flac-1.3.2-dontbuild-examples.patch 
b/media-libs/flac/files/flac-1.3.2-dontbuild-examples.patch
new file mode 100644
index ..c710993
--- /dev/null
+++ b/media-libs/flac/files/flac-1.3.2-dontbuild-examples.patch
@@ -0,0 +1,30 @@
+--- flac-1.3.2/configure.ac
 flac-1.3.2/configure.ac
+@@ -359,6 +359,12 @@
+ AC_SUBST(FLAC__HAS_OGG)
+ AC_SUBST(OGG_PACKAGE)
+ 
++dnl Build examples?
++AC_ARG_ENABLE(examples,
++  AS_HELP_STRING([--disable-examples], [Don't build examples during 
make]),,
++  enable_examples="yes")
++AM_CONDITIONAL(EXAMPLES, [test "$enable_examples" = "yes"])
++
+ dnl check for i18n(internationalization); these are from libiconv/gettext
+ AM_ICONV
+ AM_LANGINFO_CODESET
+--- flac-1.3.2/Makefile.am
 flac-1.3.2/Makefile.am
+@@ -31,7 +31,11 @@
+ 
+ ACLOCAL_AMFLAGS = -I m4
+ 
+-SUBDIRS = doc include m4 man src examples test build objs microbench
++SUBDIRS = doc include m4 man src test build objs microbench
++
++if EXAMPLES
++SUBDIRS += examples
++endif
+ 
+ EXTRA_DIST = \
+   COPYING.FDL \

diff --git a/media-libs/flac/flac-1.3.2.ebuild 
b/media-libs/flac/flac-1.3.2.ebuild
new file mode 100644
index ..0e8a510
--- /dev/null
+++ b/media-libs/flac/flac-1.3.2.ebuild
@@ -0,0 

[gentoo-commits] repo/gentoo:master commit in: media-libs/flac/files/, media-libs/flac/

2016-08-10 Thread Mike Frysinger
commit: c67d1548f656171b8586d2a54559508a360aee89
Author: Mike Frysinger  gentoo  org>
AuthorDate: Wed Aug 10 06:19:32 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Wed Aug 10 06:19:38 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c67d1548

media-libs/flac: add upstream fix for x32 builds #574984

 media-libs/flac/files/flac-1.3.1-x32.patch | 69 ++
 media-libs/flac/flac-1.3.1-r1.ebuild   |  1 +
 2 files changed, 70 insertions(+)

diff --git a/media-libs/flac/files/flac-1.3.1-x32.patch 
b/media-libs/flac/files/flac-1.3.1-x32.patch
new file mode 100644
index 000..2dc2d3b
--- /dev/null
+++ b/media-libs/flac/files/flac-1.3.1-x32.patch
@@ -0,0 +1,69 @@
+https://bugs.gentoo.org/574984
+
+fix from upstream
+
+From 7566d3d4c11c16801e1c98093c4db33589451c17 Mon Sep 17 00:00:00 2001
+From: Erik de Castro Lopo 
+Date: Wed, 11 Mar 2015 20:51:42 +1100
+Subject: [PATCH] configure.ac : Tweak for x32 architecture.
+
+The x32 architecture uses and ILP32 (32 bit ints, longs and pointers)
+on an x86_64 CPU. Since the CPU is x86_64 we need to set FLAC__CPU_X86_64
+even though the pointer size is 32 bits.
+
+Patch-from: Stuart Shelton
+Closes: https://sourceforge.net/p/flac/bugs/427/
+---
+ configure.ac | 37 -
+ 1 file changed, 24 insertions(+), 13 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 3b1c037e80f5..2dcc6987a03d 100644
+--- a/configure.ac
 b/configure.ac
+@@ -105,19 +105,30 @@ AC_CHECK_SIZEOF(void*,1)
+ asm_optimisation=no
+ case "$host_cpu" in
+   x86_64)
+-  if test $ac_cv_sizeof_voidp = 4 ; then
+-  # This must be a 32 bit user space running on 64 bit 
kernel so treat
+-  # this as ia32.
+-  cpu_ia32=true
+-  AC_DEFINE(FLAC__CPU_IA32)
+-  AH_TEMPLATE(FLAC__CPU_IA32, [define if building for 
ia32/i386])
+-  else
+-  # x86_64 user space and kernel.
+-  cpu_x86_64=true
+-  AC_DEFINE(FLAC__CPU_X86_64)
+-  AH_TEMPLATE(FLAC__CPU_X86_64, [define if building for 
x86_64])
+-  fi
+-  asm_optimisation=$asm_opt
++  case "$host" in
++  *gnux32)
++  # x32 user space and 64 bit kernel.
++  cpu_x86_64=true
++  AC_DEFINE(FLAC__CPU_X86_64)
++  AH_TEMPLATE(FLAC__CPU_X86_64, [define if 
building for x86_64])
++  asm_optimisation=$asm_opt
++  ;;
++  *)
++  if test $ac_cv_sizeof_voidp = 4 ; then
++  # This must be a 32 bit user space 
running on 64 bit kernel so treat
++  # this as ia32.
++  cpu_ia32=true
++  AC_DEFINE(FLAC__CPU_IA32)
++  AH_TEMPLATE(FLAC__CPU_IA32, [define if 
building for ia32/i386])
++  else
++  # x86_64 user space and kernel.
++  cpu_x86_64=true
++  AC_DEFINE(FLAC__CPU_X86_64)
++  AH_TEMPLATE(FLAC__CPU_X86_64, [define 
if building for x86_64])
++  fi
++  asm_optimisation=$asm_opt
++  ;;
++  esac
+   ;;
+   i*86)
+   cpu_ia32=true
+-- 
+2.9.0

diff --git a/media-libs/flac/flac-1.3.1-r1.ebuild 
b/media-libs/flac/flac-1.3.1-r1.ebuild
index 79112a3..5d2f372 100644
--- a/media-libs/flac/flac-1.3.1-r1.ebuild
+++ b/media-libs/flac/flac-1.3.1-r1.ebuild
@@ -34,6 +34,7 @@ src_prepare() {
"${FILESDIR}"/${PN}-1.3.0-asneeded.patch
"${FILESDIR}"/${PN}-1.3.0-dontbuild-tests.patch
"${FILESDIR}"/${PN}-1.3.0-dontbuild-examples.patch
+   "${FILESDIR}"/${PN}-1.3.1-x32.patch #574984
)
 
AT_M4DIR="m4" autotools-multilib_src_prepare