1 |
commit: abe3db8a5db4cc1a9c0a5d3a3f6355e84500ae76 |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 12 10:52:34 2017 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 12 10:52:34 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abe3db8a |
7 |
|
8 |
media-libs/flac: remove old |
9 |
|
10 |
media-libs/flac/Manifest | 1 - |
11 |
media-libs/flac/files/flac-1.3.0-asneeded.patch | 21 ------- |
12 |
.../flac/files/flac-1.3.0-dontbuild-examples.patch | 30 --------- |
13 |
media-libs/flac/files/flac-1.3.1-cflags.patch | 23 ------- |
14 |
media-libs/flac/files/flac-1.3.1-x32.patch | 69 --------------------- |
15 |
media-libs/flac/flac-1.3.1-r1.ebuild | 72 ---------------------- |
16 |
6 files changed, 216 deletions(-) |
17 |
|
18 |
diff --git a/media-libs/flac/Manifest b/media-libs/flac/Manifest |
19 |
index defc4e68875..5ba1fd2ccd1 100644 |
20 |
--- a/media-libs/flac/Manifest |
21 |
+++ b/media-libs/flac/Manifest |
22 |
@@ -1,2 +1 @@ |
23 |
-DIST flac-1.3.1.tar.xz 941848 SHA256 4773c0099dba767d963fd92143263be338c48702172e8754b9bc5103efe1c56c SHA512 923cd0ffe2155636febf2b4633791bc83370d57080461b97ebb69ea21a4b1be7c0ff376c7fc8ca3979af4714e761112114a24b49ff6c80228b58b929db6e96d5 WHIRLPOOL abda096c0c1392499a613cc99c917cd519a20936bb98390a466c971ee981385a0e249e80f0bdac27b1eb6566a3392c1a4cb6ff9a6695952f16127a0b290fa5d4 |
24 |
DIST flac-1.3.2.tar.xz 776192 SHA256 91cfc3ed61dc40f47f050a109b08610667d73477af6ef36dcad31c31a4a8d53f SHA512 63910e8ebbe508316d446ffc9eb6d02efbd5f47d29d2ea7864da9371843c8e671854db6e89ba043fe08aef1845b8ece70db80f1cce853f591ca30d56ef7c3a15 WHIRLPOOL 158a3dbb621aab556388a7e46f0b760934011ae9f20d4921927d1c62fee9be0434294b3afcf93db355704c24822cfcfc24dc2d4b2b32ef13447633671e20fe7c |
25 |
|
26 |
diff --git a/media-libs/flac/files/flac-1.3.0-asneeded.patch b/media-libs/flac/files/flac-1.3.0-asneeded.patch |
27 |
deleted file mode 100644 |
28 |
index a38b3202500..00000000000 |
29 |
--- a/media-libs/flac/files/flac-1.3.0-asneeded.patch |
30 |
+++ /dev/null |
31 |
@@ -1,21 +0,0 @@ |
32 |
---- flac-1.3.0/src/flac/Makefile.am |
33 |
-+++ flac-1.3.0/src/flac/Makefile.am |
34 |
-@@ -51,7 +51,7 @@ |
35 |
- $(top_builddir)/src/share/replaygain_analysis/libreplaygain_analysis.la \ |
36 |
- $(top_builddir)/src/share/replaygain_synthesis/libreplaygain_synthesis.la \ |
37 |
- $(top_builddir)/src/libFLAC/libFLAC.la \ |
38 |
-- @LIBICONV@ \ |
39 |
-+ @LTLIBICONV@ \ |
40 |
- -lm |
41 |
- |
42 |
- CLEANFILES = flac.exe |
43 |
---- flac-1.3.0/src/metaflac/Makefile.am |
44 |
-+++ flac-1.3.0/src/metaflac/Makefile.am |
45 |
-@@ -48,6 +48,6 @@ |
46 |
- $(top_builddir)/src/share/getopt/libgetopt.la \ |
47 |
- $(top_builddir)/src/share/utf8/libutf8.la \ |
48 |
- $(top_builddir)/src/libFLAC/libFLAC.la \ |
49 |
-- @LIBICONV@ |
50 |
-+ @LTLIBICONV@ |
51 |
- |
52 |
- CLEANFILES = metaflac.exe |
53 |
|
54 |
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 |
55 |
deleted file mode 100644 |
56 |
index 5c25dd588f2..00000000000 |
57 |
--- a/media-libs/flac/files/flac-1.3.0-dontbuild-examples.patch |
58 |
+++ /dev/null |
59 |
@@ -1,30 +0,0 @@ |
60 |
---- flac-1.3.0/configure.ac |
61 |
-+++ flac-1.3.0/configure.ac |
62 |
-@@ -319,6 +319,12 @@ |
63 |
- fi |
64 |
- AC_SUBST(OGG_PACKAGE) |
65 |
- |
66 |
-+dnl Build examples? |
67 |
-+AC_ARG_ENABLE(examples, |
68 |
-+ AS_HELP_STRING([--disable-examples], [Don't build examples during make]),, |
69 |
-+ enable_examples="yes") |
70 |
-+AM_CONDITIONAL(EXAMPLES, [test "$enable_examples" = "yes"]) |
71 |
-+ |
72 |
- dnl check for i18n(internationalization); these are from libiconv/gettext |
73 |
- AM_ICONV |
74 |
- AM_LANGINFO_CODESET |
75 |
---- flac-1.3.0/Makefile.am |
76 |
-+++ flac-1.3.0/Makefile.am |
77 |
-@@ -31,7 +31,11 @@ |
78 |
- |
79 |
- ACLOCAL_AMFLAGS = -I m4 |
80 |
- |
81 |
--SUBDIRS = doc include m4 man src examples test build objs |
82 |
-+SUBDIRS = doc include m4 man src test build objs |
83 |
-+ |
84 |
-+if EXAMPLES |
85 |
-+SUBDIRS += examples |
86 |
-+endif |
87 |
- |
88 |
- EXTRA_DIST = \ |
89 |
- COPYING.FDL \ |
90 |
|
91 |
diff --git a/media-libs/flac/files/flac-1.3.1-cflags.patch b/media-libs/flac/files/flac-1.3.1-cflags.patch |
92 |
deleted file mode 100644 |
93 |
index 758e7b31c13..00000000000 |
94 |
--- a/media-libs/flac/files/flac-1.3.1-cflags.patch |
95 |
+++ /dev/null |
96 |
@@ -1,23 +0,0 @@ |
97 |
---- flac-1.3.1/configure.ac |
98 |
-+++ flac-1.3.1/configure.ac |
99 |
-@@ -348,12 +348,8 @@ |
100 |
- |
101 |
- if test "x$debug" = xtrue; then |
102 |
- CPPFLAGS="-DDEBUG $CPPFLAGS" |
103 |
-- CFLAGS=$(echo "$CFLAGS" | sed 's/-g//') |
104 |
-- CFLAGS="-g $CFLAGS" |
105 |
- else |
106 |
- CPPFLAGS="-DNDEBUG $CPPFLAGS" |
107 |
-- CFLAGS=$(echo "$CFLAGS" | sed 's/-O2//;s/-g//') |
108 |
-- CFLAGS="-O3 -funroll-loops $CFLAGS" |
109 |
- fi |
110 |
- |
111 |
- XIPH_GCC_VERSION |
112 |
-@@ -363,7 +359,6 @@ |
113 |
- 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 |
114 |
- |
115 |
- XIPH_ADD_CFLAGS([-Wdeclaration-after-statement]) |
116 |
-- XIPH_ADD_CFLAGS([-D_FORTIFY_SOURCE=2]) |
117 |
- |
118 |
- AC_LANG_PUSH([C++]) |
119 |
- XIPH_ADD_CXXFLAGS([-Weffc++]) |
120 |
|
121 |
diff --git a/media-libs/flac/files/flac-1.3.1-x32.patch b/media-libs/flac/files/flac-1.3.1-x32.patch |
122 |
deleted file mode 100644 |
123 |
index 2dc2d3b6cc2..00000000000 |
124 |
--- a/media-libs/flac/files/flac-1.3.1-x32.patch |
125 |
+++ /dev/null |
126 |
@@ -1,69 +0,0 @@ |
127 |
-https://bugs.gentoo.org/574984 |
128 |
- |
129 |
-fix from upstream |
130 |
- |
131 |
-From 7566d3d4c11c16801e1c98093c4db33589451c17 Mon Sep 17 00:00:00 2001 |
132 |
-From: Erik de Castro Lopo <erikd@×××××××××.com> |
133 |
-Date: Wed, 11 Mar 2015 20:51:42 +1100 |
134 |
-Subject: [PATCH] configure.ac : Tweak for x32 architecture. |
135 |
- |
136 |
-The x32 architecture uses and ILP32 (32 bit ints, longs and pointers) |
137 |
-on an x86_64 CPU. Since the CPU is x86_64 we need to set FLAC__CPU_X86_64 |
138 |
-even though the pointer size is 32 bits. |
139 |
- |
140 |
-Patch-from: Stuart Shelton |
141 |
-Closes: https://sourceforge.net/p/flac/bugs/427/ |
142 |
---- |
143 |
- configure.ac | 37 ++++++++++++++++++++++++------------- |
144 |
- 1 file changed, 24 insertions(+), 13 deletions(-) |
145 |
- |
146 |
-diff --git a/configure.ac b/configure.ac |
147 |
-index 3b1c037e80f5..2dcc6987a03d 100644 |
148 |
---- a/configure.ac |
149 |
-+++ b/configure.ac |
150 |
-@@ -105,19 +105,30 @@ AC_CHECK_SIZEOF(void*,1) |
151 |
- asm_optimisation=no |
152 |
- case "$host_cpu" in |
153 |
- x86_64) |
154 |
-- if test $ac_cv_sizeof_voidp = 4 ; then |
155 |
-- # This must be a 32 bit user space running on 64 bit kernel so treat |
156 |
-- # this as ia32. |
157 |
-- cpu_ia32=true |
158 |
-- AC_DEFINE(FLAC__CPU_IA32) |
159 |
-- AH_TEMPLATE(FLAC__CPU_IA32, [define if building for ia32/i386]) |
160 |
-- else |
161 |
-- # x86_64 user space and kernel. |
162 |
-- cpu_x86_64=true |
163 |
-- AC_DEFINE(FLAC__CPU_X86_64) |
164 |
-- AH_TEMPLATE(FLAC__CPU_X86_64, [define if building for x86_64]) |
165 |
-- fi |
166 |
-- asm_optimisation=$asm_opt |
167 |
-+ case "$host" in |
168 |
-+ *gnux32) |
169 |
-+ # x32 user space and 64 bit kernel. |
170 |
-+ cpu_x86_64=true |
171 |
-+ AC_DEFINE(FLAC__CPU_X86_64) |
172 |
-+ AH_TEMPLATE(FLAC__CPU_X86_64, [define if building for x86_64]) |
173 |
-+ asm_optimisation=$asm_opt |
174 |
-+ ;; |
175 |
-+ *) |
176 |
-+ if test $ac_cv_sizeof_voidp = 4 ; then |
177 |
-+ # This must be a 32 bit user space running on 64 bit kernel so treat |
178 |
-+ # this as ia32. |
179 |
-+ cpu_ia32=true |
180 |
-+ AC_DEFINE(FLAC__CPU_IA32) |
181 |
-+ AH_TEMPLATE(FLAC__CPU_IA32, [define if building for ia32/i386]) |
182 |
-+ else |
183 |
-+ # x86_64 user space and kernel. |
184 |
-+ cpu_x86_64=true |
185 |
-+ AC_DEFINE(FLAC__CPU_X86_64) |
186 |
-+ AH_TEMPLATE(FLAC__CPU_X86_64, [define if building for x86_64]) |
187 |
-+ fi |
188 |
-+ asm_optimisation=$asm_opt |
189 |
-+ ;; |
190 |
-+ esac |
191 |
- ;; |
192 |
- i*86) |
193 |
- cpu_ia32=true |
194 |
--- |
195 |
-2.9.0 |
196 |
|
197 |
diff --git a/media-libs/flac/flac-1.3.1-r1.ebuild b/media-libs/flac/flac-1.3.1-r1.ebuild |
198 |
deleted file mode 100644 |
199 |
index bfe28b5564d..00000000000 |
200 |
--- a/media-libs/flac/flac-1.3.1-r1.ebuild |
201 |
+++ /dev/null |
202 |
@@ -1,72 +0,0 @@ |
203 |
-# Copyright 1999-2015 Gentoo Foundation |
204 |
-# Distributed under the terms of the GNU General Public License v2 |
205 |
- |
206 |
-EAPI=5 |
207 |
-AUTOTOOLS_AUTORECONF=1 |
208 |
-AUTOTOOLS_PRUNE_LIBTOOL_FILES=all |
209 |
- |
210 |
-inherit autotools-multilib |
211 |
- |
212 |
-DESCRIPTION="free lossless audio encoder and decoder" |
213 |
-HOMEPAGE="http://flac.sourceforge.net" |
214 |
-SRC_URI="http://downloads.xiph.org/releases/${PN}/${P}.tar.xz" |
215 |
- |
216 |
-LICENSE="BSD FDL-1.2 GPL-2 LGPL-2.1" |
217 |
-SLOT="0" |
218 |
-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" |
219 |
-IUSE="altivec +cxx debug ogg cpu_flags_x86_sse static-libs" |
220 |
- |
221 |
-RDEPEND="ogg? ( >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] ) |
222 |
- abi_x86_32? ( |
223 |
- !<=app-emulation/emul-linux-x86-soundlibs-20130224-r1 |
224 |
- !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] |
225 |
- )" |
226 |
-DEPEND="${RDEPEND} |
227 |
- app-arch/xz-utils |
228 |
- abi_x86_32? ( dev-lang/nasm ) |
229 |
- !elibc_uclibc? ( sys-devel/gettext ) |
230 |
- virtual/pkgconfig" |
231 |
- |
232 |
-src_prepare() { |
233 |
- local PATCHES=( |
234 |
- "${FILESDIR}"/${P}-cflags.patch |
235 |
- "${FILESDIR}"/${PN}-1.3.0-asneeded.patch |
236 |
- "${FILESDIR}"/${PN}-1.3.0-dontbuild-tests.patch |
237 |
- "${FILESDIR}"/${PN}-1.3.0-dontbuild-examples.patch |
238 |
- "${FILESDIR}"/${PN}-1.3.1-x32.patch #574984 |
239 |
- ) |
240 |
- |
241 |
- AT_M4DIR="m4" autotools-multilib_src_prepare |
242 |
-} |
243 |
- |
244 |
-src_configure() { |
245 |
- local myeconfargs=( |
246 |
- $(use_enable debug) |
247 |
- $(use_enable cpu_flags_x86_sse sse) |
248 |
- $(use_enable altivec) |
249 |
- --disable-doxygen-docs |
250 |
- --disable-xmms-plugin |
251 |
- $(use_enable cxx cpplibs) |
252 |
- $(use_enable ogg) |
253 |
- --disable-examples |
254 |
- $([[ ${CHOST} == *-darwin* ]] && echo "--disable-asm-optimizations") |
255 |
- |
256 |
- # cross-compile fix (bug #521446) |
257 |
- # no effect if ogg support is disabled |
258 |
- --with-ogg |
259 |
- ) |
260 |
- autotools-multilib_src_configure |
261 |
-} |
262 |
- |
263 |
-src_test() { |
264 |
- if [[ ${UID} != 0 ]]; then |
265 |
- autotools-multilib_src_test -j1 |
266 |
- else |
267 |
- ewarn "Tests will fail if ran as root, skipping." |
268 |
- fi |
269 |
-} |
270 |
- |
271 |
-src_install() { |
272 |
- autotools-multilib_src_install \ |
273 |
- docdir="${EPREFIX}"/usr/share/doc/${PF}/html |
274 |
-} |