Gentoo Archives: gentoo-commits

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