1 |
commit: 2a20d0eddf595a0962b895099ca2c6ad656e8575 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 7 13:44:02 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 7 13:44:16 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a20d0ed |
7 |
|
8 |
media-libs/flac: Bump to version 1.3.3 |
9 |
|
10 |
Package-Manager: Portage-2.3.71, Repoman-2.3.17 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
media-libs/flac/Manifest | 1 + |
14 |
media-libs/flac/flac-1.3.3.ebuild | 58 +++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 59 insertions(+) |
16 |
|
17 |
diff --git a/media-libs/flac/Manifest b/media-libs/flac/Manifest |
18 |
index 64ea4e8e9c8..21a5f90a300 100644 |
19 |
--- a/media-libs/flac/Manifest |
20 |
+++ b/media-libs/flac/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST flac-1.3.2.tar.xz 776192 BLAKE2B ff09df3fc4f985a00fcf6d497be675ceeda85cc57ea73b4f8ad6679cd40a33640f8502adc80c0a571d01fa0a17b8fcb6bfd8df7474620099d4f34bbc073bc7a3 SHA512 63910e8ebbe508316d446ffc9eb6d02efbd5f47d29d2ea7864da9371843c8e671854db6e89ba043fe08aef1845b8ece70db80f1cce853f591ca30d56ef7c3a15 |
23 |
+DIST flac-1.3.3.tar.xz 1044472 BLAKE2B 14acf10e5bce54767a8e3c9bfd0b80c388011e35c7e6a814672f8048d5350b4e6f54c6df4f704e611fa4a796fcfcb6aca1ed798f542cd6abe181210f9f6e33f6 SHA512 d6417e14fab0c41b2df369e5e39ce62a5f588e491af4d465b0162f74e171e5549b2f061867f344bfbf8aaccd246bf5f2acd697e532a2c7901c920c69429b1a28 |
24 |
|
25 |
diff --git a/media-libs/flac/flac-1.3.3.ebuild b/media-libs/flac/flac-1.3.3.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..77a1ef44f65 |
28 |
--- /dev/null |
29 |
+++ b/media-libs/flac/flac-1.3.3.ebuild |
30 |
@@ -0,0 +1,58 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit multilib-minimal |
37 |
+ |
38 |
+DESCRIPTION="free lossless audio encoder and decoder" |
39 |
+HOMEPAGE="https://xiph.org/flac/" |
40 |
+SRC_URI="https://downloads.xiph.org/releases/${PN}/${P}.tar.xz" |
41 |
+ |
42 |
+LICENSE="BSD FDL-1.2 GPL-2 LGPL-2.1" |
43 |
+SLOT="0" |
44 |
+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" |
45 |
+IUSE="altivec +cxx debug ogg cpu_flags_x86_sse static-libs" |
46 |
+ |
47 |
+RDEPEND="ogg? ( >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] )" |
48 |
+DEPEND="${RDEPEND} |
49 |
+ abi_x86_32? ( dev-lang/nasm ) |
50 |
+" |
51 |
+BDEPEND=" |
52 |
+ app-arch/xz-utils |
53 |
+ virtual/pkgconfig |
54 |
+ !elibc_uclibc? ( sys-devel/gettext ) |
55 |
+" |
56 |
+ |
57 |
+multilib_src_configure() { |
58 |
+ local myeconfargs=( |
59 |
+ --disable-doxygen-docs |
60 |
+ --disable-examples |
61 |
+ --disable-xmms-plugin |
62 |
+ $([[ ${CHOST} == *-darwin* ]] && echo "--disable-asm-optimizations") |
63 |
+ $(use_enable altivec) |
64 |
+ $(use_enable cpu_flags_x86_sse sse) |
65 |
+ $(use_enable cxx cpplibs) |
66 |
+ $(use_enable debug) |
67 |
+ $(use_enable ogg) |
68 |
+ $(use_enable static-libs static) |
69 |
+ |
70 |
+ # cross-compile fix (bug #521446) |
71 |
+ # no effect if ogg support is disabled |
72 |
+ --with-ogg |
73 |
+ ) |
74 |
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
75 |
+} |
76 |
+ |
77 |
+multilib_src_test() { |
78 |
+ if [[ ${UID} != 0 ]]; then |
79 |
+ emake -j1 check |
80 |
+ else |
81 |
+ ewarn "Tests will fail if ran as root, skipping." |
82 |
+ fi |
83 |
+} |
84 |
+ |
85 |
+multilib_src_install_all() { |
86 |
+ einstalldocs |
87 |
+ find "${ED}" -type f -name '*.la' -delete || die |
88 |
+} |