1 |
ssuominen 14/05/27 14:20:41 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mpg123-1.20.0.ebuild |
5 |
Log: |
6 |
Version bump; notice how upstream introduced new out123 executable, see NEWS file for more information. |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.308 media-sound/mpg123/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/mpg123/ChangeLog?rev=1.308&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/mpg123/ChangeLog?rev=1.308&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/mpg123/ChangeLog?r1=1.307&r2=1.308 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/mpg123/ChangeLog,v |
20 |
retrieving revision 1.307 |
21 |
retrieving revision 1.308 |
22 |
diff -u -r1.307 -r1.308 |
23 |
--- ChangeLog 25 May 2014 18:49:17 -0000 1.307 |
24 |
+++ ChangeLog 27 May 2014 14:20:41 -0000 1.308 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for media-sound/mpg123 |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/ChangeLog,v 1.307 2014/05/25 18:49:17 maekke Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/ChangeLog,v 1.308 2014/05/27 14:20:41 ssuominen Exp $ |
30 |
+ |
31 |
+*mpg123-1.20.0 (27 May 2014) |
32 |
+ |
33 |
+ 27 May 2014; Samuli Suominen <ssuominen@g.o> +mpg123-1.20.0.ebuild: |
34 |
+ Version bump; notice how upstream introduced new out123 executable, see NEWS |
35 |
+ file for more information. |
36 |
|
37 |
25 May 2014; Markus Meier <maekke@g.o> mpg123-1.18.1.ebuild: |
38 |
arm stable, bug #500262 |
39 |
|
40 |
|
41 |
|
42 |
1.1 media-sound/mpg123/mpg123-1.20.0.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/mpg123/mpg123-1.20.0.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/mpg123/mpg123-1.20.0.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: mpg123-1.20.0.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2014 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/mpg123-1.20.0.ebuild,v 1.1 2014/05/27 14:20:41 ssuominen Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
inherit eutils toolchain-funcs libtool multilib-minimal |
55 |
|
56 |
DESCRIPTION="a realtime MPEG 1.0/2.0/2.5 audio player for layers 1, 2 and 3" |
57 |
HOMEPAGE="http://www.mpg123.org/" |
58 |
SRC_URI="http://www.mpg123.org/download/${P}.tar.bz2" |
59 |
|
60 |
LICENSE="GPL-2 LGPL-2.1" |
61 |
SLOT="0" |
62 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
63 |
IUSE="3dnow 3dnowext alsa altivec coreaudio int-quality ipv6 jack mmx nas oss portaudio pulseaudio sdl sse" |
64 |
|
65 |
# No MULTILIB_USEDEP here since we only build libmpg123 for non native ABIs. |
66 |
RDEPEND="app-admin/eselect-mpg123 |
67 |
>=sys-devel/libtool-2.2.6b |
68 |
alsa? ( media-libs/alsa-lib ) |
69 |
jack? ( media-sound/jack-audio-connection-kit ) |
70 |
nas? ( media-libs/nas ) |
71 |
portaudio? ( media-libs/portaudio ) |
72 |
pulseaudio? ( media-sound/pulseaudio ) |
73 |
sdl? ( media-libs/libsdl ) |
74 |
abi_x86_32? ( !<=app-emulation/emul-linux-x86-soundlibs-20130224-r9 |
75 |
!app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] )" |
76 |
DEPEND="${RDEPEND} |
77 |
virtual/pkgconfig" |
78 |
|
79 |
DOCS=( AUTHORS ChangeLog NEWS NEWS.libmpg123 README ) |
80 |
|
81 |
src_prepare() { |
82 |
elibtoolize # for Darwin bundles |
83 |
} |
84 |
|
85 |
multilib_src_configure() { |
86 |
local _audio=dummy |
87 |
local _output=dummy |
88 |
local _cpu=generic_fpu |
89 |
|
90 |
if $(multilib_is_native_abi) ; then |
91 |
for flag in nas portaudio sdl oss jack alsa pulseaudio coreaudio; do |
92 |
if use ${flag}; then |
93 |
_audio="${_audio} ${flag/pulseaudio/pulse}" |
94 |
_output=${flag/pulseaudio/pulse} |
95 |
fi |
96 |
done |
97 |
fi |
98 |
|
99 |
use altivec && _cpu=altivec |
100 |
|
101 |
if [[ $(tc-arch) == amd64 || ${ARCH} == x64-* ]]; then |
102 |
use sse && _cpu=x86-64 |
103 |
elif use x86 && gcc-specs-pie ; then |
104 |
# Don't use any mmx, 3dnow, sse and 3dnowext #bug 164504 |
105 |
_cpu=generic_fpu |
106 |
elif use x86-macos ; then |
107 |
# ASM doesn't work quite as expected with the Darwin linker |
108 |
_cpu=generic_fpu |
109 |
else |
110 |
use mmx && _cpu=mmx |
111 |
use 3dnow && _cpu=3dnow |
112 |
use sse && _cpu=x86 |
113 |
use 3dnowext && _cpu=x86 |
114 |
fi |
115 |
|
116 |
local myconf="" |
117 |
multilib_is_native_abi || myconf="${myconf} --disable-modules" |
118 |
|
119 |
ECONF_SOURCE="${S}" econf \ |
120 |
--with-optimization=0 \ |
121 |
--with-audio="${_audio}" \ |
122 |
--with-default-audio=${_output} \ |
123 |
--with-cpu=${_cpu} \ |
124 |
--enable-network \ |
125 |
$(use_enable ipv6) \ |
126 |
--enable-int-quality=$(usex int-quality) \ |
127 |
${myconf} |
128 |
|
129 |
if ! $(multilib_is_native_abi) ; then |
130 |
sed -i -e 's:src doc:src/libmpg123:' Makefile || die |
131 |
fi |
132 |
} |
133 |
|
134 |
multilib_src_install_all() { |
135 |
einstalldocs |
136 |
mv "${ED}"/usr/bin/mpg123{,-mpg123} |
137 |
find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} + |
138 |
} |
139 |
|
140 |
pkg_postinst() { |
141 |
eselect mpg123 update ifunset |
142 |
} |
143 |
|
144 |
pkg_postrm() { |
145 |
eselect mpg123 update ifunset |
146 |
} |