1 |
commit: 3fa311c0f170427451e34e1c52a0455c0a4f2fdd |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 12 22:55:31 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 12 22:55:49 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fa311c0 |
7 |
|
8 |
media-sound/mpg123: Removed old |
9 |
|
10 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
11 |
|
12 |
media-sound/mpg123/mpg123-1.28.0.ebuild | 105 -------------------------------- |
13 |
1 file changed, 105 deletions(-) |
14 |
|
15 |
diff --git a/media-sound/mpg123/mpg123-1.28.0.ebuild b/media-sound/mpg123/mpg123-1.28.0.ebuild |
16 |
deleted file mode 100644 |
17 |
index b8286510b25..00000000000 |
18 |
--- a/media-sound/mpg123/mpg123-1.28.0.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,105 +0,0 @@ |
21 |
-# Copyright 1999-2021 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=7 |
25 |
- |
26 |
-inherit flag-o-matic toolchain-funcs libtool multilib-minimal |
27 |
- |
28 |
-DESCRIPTION="a realtime MPEG 1.0/2.0/2.5 audio player for layers 1, 2 and 3" |
29 |
-HOMEPAGE="https://www.mpg123.org/" |
30 |
-SRC_URI="https://www.mpg123.org/download/${P}.tar.bz2" |
31 |
- |
32 |
-LICENSE="GPL-2 LGPL-2.1" |
33 |
-SLOT="0" |
34 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris" |
35 |
-IUSE="cpu_flags_x86_3dnow cpu_flags_x86_3dnowext cpu_flags_ppc_altivec alsa coreaudio int-quality ipv6 jack cpu_flags_x86_mmx nas oss portaudio pulseaudio sdl cpu_flags_x86_sse" |
36 |
- |
37 |
-# No MULTILIB_USEDEP here since we only build libmpg123 for non native ABIs. |
38 |
-RDEPEND=" |
39 |
- app-eselect/eselect-mpg123 |
40 |
- dev-libs/libltdl:0 |
41 |
- alsa? ( media-libs/alsa-lib ) |
42 |
- jack? ( virtual/jack ) |
43 |
- nas? ( media-libs/nas ) |
44 |
- portaudio? ( media-libs/portaudio ) |
45 |
- pulseaudio? ( media-sound/pulseaudio ) |
46 |
- sdl? ( media-libs/libsdl )" |
47 |
-DEPEND="${RDEPEND}" |
48 |
-BDEPEND=" |
49 |
- sys-devel/libtool |
50 |
- virtual/pkgconfig |
51 |
-" |
52 |
- |
53 |
-DOCS=( AUTHORS ChangeLog NEWS NEWS.libmpg123 README ) |
54 |
- |
55 |
-src_prepare() { |
56 |
- default |
57 |
- elibtoolize # for Darwin bundles |
58 |
-} |
59 |
- |
60 |
-multilib_src_configure() { |
61 |
- local _audio=dummy |
62 |
- local _output=dummy |
63 |
- local _cpu=generic_fpu |
64 |
- |
65 |
- # Build fails without -D_GNU_SOURCE like this: |
66 |
- # error: ‘struct hostent’ has no member named ‘h_addr’ |
67 |
- append-cflags -D_GNU_SOURCE |
68 |
- |
69 |
- if $(multilib_is_native_abi) ; then |
70 |
- local flag |
71 |
- for flag in nas portaudio sdl oss jack alsa pulseaudio coreaudio; do |
72 |
- if use ${flag}; then |
73 |
- _audio+=" ${flag/pulseaudio/pulse}" |
74 |
- _output=${flag/pulseaudio/pulse} |
75 |
- fi |
76 |
- done |
77 |
- fi |
78 |
- |
79 |
- use cpu_flags_ppc_altivec && _cpu=altivec |
80 |
- |
81 |
- if [[ $(tc-arch) == amd64 || ${ARCH} == x64-* ]]; then |
82 |
- use cpu_flags_x86_sse && _cpu=x86-64 |
83 |
- elif use x86 && gcc-specs-pie ; then |
84 |
- # Don't use any mmx, 3dnow, sse and 3dnowext |
85 |
- # bug #164504 |
86 |
- _cpu=generic_fpu |
87 |
- else |
88 |
- use cpu_flags_x86_mmx && _cpu=mmx |
89 |
- use cpu_flags_x86_3dnow && _cpu=3dnow |
90 |
- use cpu_flags_x86_sse && _cpu=x86 |
91 |
- use cpu_flags_x86_3dnowext && _cpu=x86 |
92 |
- fi |
93 |
- |
94 |
- local myconf=( |
95 |
- --with-optimization=0 |
96 |
- --with-audio="${_audio}" |
97 |
- --with-default-audio=${_output} |
98 |
- --with-cpu=${_cpu} |
99 |
- --enable-network |
100 |
- $(use_enable ipv6) |
101 |
- --enable-int-quality=$(usex int-quality) |
102 |
- ) |
103 |
- |
104 |
- multilib_is_native_abi || myconf+=( --disable-modules ) |
105 |
- |
106 |
- ECONF_SOURCE="${S}" econf "${myconf[@]}" |
107 |
- |
108 |
- if ! $(multilib_is_native_abi) ; then |
109 |
- sed -i -e 's:src doc:src/libmpg123:' Makefile || die |
110 |
- fi |
111 |
-} |
112 |
- |
113 |
-multilib_src_install_all() { |
114 |
- einstalldocs |
115 |
- mv "${ED}"/usr/bin/mpg123{,-mpg123} |
116 |
- find "${ED}" -type f -name '*.la' -delete || die |
117 |
-} |
118 |
- |
119 |
-pkg_postinst() { |
120 |
- eselect mpg123 update ifunset |
121 |
-} |
122 |
- |
123 |
-pkg_postrm() { |
124 |
- eselect mpg123 update ifunset |
125 |
-} |