summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2017-04-12 06:52:34 -0400
committerTim Harder <radhermit@gentoo.org>2017-04-12 06:52:34 -0400
commitabe3db8a5db4cc1a9c0a5d3a3f6355e84500ae76 (patch)
tree029f7a9220ace6660eeb89e6162789942c1fcc27
parentmedia-libs/libvorbis: remove old (diff)
downloadgentoo-abe3db8a5db4cc1a9c0a5d3a3f6355e84500ae76.tar.gz
gentoo-abe3db8a5db4cc1a9c0a5d3a3f6355e84500ae76.tar.bz2
gentoo-abe3db8a5db4cc1a9c0a5d3a3f6355e84500ae76.zip
media-libs/flac: remove old
-rw-r--r--media-libs/flac/Manifest1
-rw-r--r--media-libs/flac/files/flac-1.3.0-asneeded.patch21
-rw-r--r--media-libs/flac/files/flac-1.3.0-dontbuild-examples.patch30
-rw-r--r--media-libs/flac/files/flac-1.3.1-cflags.patch23
-rw-r--r--media-libs/flac/files/flac-1.3.1-x32.patch69
-rw-r--r--media-libs/flac/flac-1.3.1-r1.ebuild72
6 files changed, 0 insertions, 216 deletions
diff --git a/media-libs/flac/Manifest b/media-libs/flac/Manifest
index defc4e688754..5ba1fd2ccd12 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 a38b3202500a..000000000000
--- 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 5c25dd588f2b..000000000000
--- 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 758e7b31c13a..000000000000
--- 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 2dc2d3b6cc26..000000000000
--- a/media-libs/flac/files/flac-1.3.1-x32.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-https://bugs.gentoo.org/574984
-
-fix from upstream
-
-From 7566d3d4c11c16801e1c98093c4db33589451c17 Mon Sep 17 00:00:00 2001
-From: Erik de Castro Lopo <erikd@mega-nerd.com>
-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
deleted file mode 100644
index bfe28b5564dc..000000000000
--- a/media-libs/flac/flac-1.3.1-r1.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-AUTOTOOLS_AUTORECONF=1
-AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
-
-inherit autotools-multilib
-
-DESCRIPTION="free lossless audio encoder and decoder"
-HOMEPAGE="http://flac.sourceforge.net"
-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"
-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(-)]
- )"
-DEPEND="${RDEPEND}
- app-arch/xz-utils
- abi_x86_32? ( dev-lang/nasm )
- !elibc_uclibc? ( sys-devel/gettext )
- virtual/pkgconfig"
-
-src_prepare() {
- local PATCHES=(
- "${FILESDIR}"/${P}-cflags.patch
- "${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
-}
-
-src_configure() {
- local myeconfargs=(
- $(use_enable debug)
- $(use_enable cpu_flags_x86_sse sse)
- $(use_enable altivec)
- --disable-doxygen-docs
- --disable-xmms-plugin
- $(use_enable cxx cpplibs)
- $(use_enable ogg)
- --disable-examples
- $([[ ${CHOST} == *-darwin* ]] && echo "--disable-asm-optimizations")
-
- # cross-compile fix (bug #521446)
- # no effect if ogg support is disabled
- --with-ogg
- )
- autotools-multilib_src_configure
-}
-
-src_test() {
- if [[ ${UID} != 0 ]]; then
- autotools-multilib_src_test -j1
- else
- ewarn "Tests will fail if ran as root, skipping."
- fi
-}
-
-src_install() {
- autotools-multilib_src_install \
- docdir="${EPREFIX}"/usr/share/doc/${PF}/html
-}