1 |
radhermit 15/02/26 03:35:58 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mpg123-1.22.0.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3) |
9 |
|
10 |
Revision Changes Path |
11 |
1.318 media-sound/mpg123/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/mpg123/ChangeLog?rev=1.318&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/mpg123/ChangeLog?rev=1.318&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/mpg123/ChangeLog?r1=1.317&r2=1.318 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/mpg123/ChangeLog,v |
20 |
retrieving revision 1.317 |
21 |
retrieving revision 1.318 |
22 |
diff -u -r1.317 -r1.318 |
23 |
--- ChangeLog 30 Jan 2015 02:55:49 -0000 1.317 |
24 |
+++ ChangeLog 26 Feb 2015 03:35:58 -0000 1.318 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for media-sound/mpg123 |
27 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/ChangeLog,v 1.317 2015/01/30 02:55:49 patrick Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/ChangeLog,v 1.318 2015/02/26 03:35:58 radhermit Exp $ |
30 |
+ |
31 |
+*mpg123-1.22.0 (26 Feb 2015) |
32 |
+ |
33 |
+ 26 Feb 2015; Tim Harder <radhermit@g.o> +mpg123-1.22.0.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
30 Jan 2015; Patrick Lauer <patrick@g.o> metadata.xml: |
37 |
Remove unneeded useflag description from metadata.xml |
38 |
|
39 |
|
40 |
|
41 |
1.1 media-sound/mpg123/mpg123-1.22.0.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/mpg123/mpg123-1.22.0.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/mpg123/mpg123-1.22.0.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: mpg123-1.22.0.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2015 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.22.0.ebuild,v 1.1 2015/02/26 03:35:58 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="cpu_flags_x86_3dnow cpu_flags_x86_3dnowext alsa altivec coreaudio int-quality ipv6 jack cpu_flags_x86_mmx nas oss portaudio pulseaudio sdl cpu_flags_x86_sse" |
63 |
|
64 |
# No MULTILIB_USEDEP here since we only build libmpg123 for non native ABIs. |
65 |
RDEPEND="app-admin/eselect-mpg123 |
66 |
|| ( dev-libs/libltdl:0 <sys-devel/libtool-2.4.3-r2:2 ) |
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? ( |
74 |
!<=app-emulation/emul-linux-x86-soundlibs-20130224-r9 |
75 |
!app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] |
76 |
)" |
77 |
DEPEND="${RDEPEND} |
78 |
sys-devel/libtool |
79 |
virtual/pkgconfig" |
80 |
|
81 |
DOCS=( AUTHORS ChangeLog NEWS NEWS.libmpg123 README ) |
82 |
|
83 |
src_prepare() { |
84 |
elibtoolize # for Darwin bundles |
85 |
} |
86 |
|
87 |
multilib_src_configure() { |
88 |
local _audio=dummy |
89 |
local _output=dummy |
90 |
local _cpu=generic_fpu |
91 |
|
92 |
if $(multilib_is_native_abi) ; then |
93 |
for flag in nas portaudio sdl oss jack alsa pulseaudio coreaudio; do |
94 |
if use ${flag}; then |
95 |
_audio="${_audio} ${flag/pulseaudio/pulse}" |
96 |
_output=${flag/pulseaudio/pulse} |
97 |
fi |
98 |
done |
99 |
fi |
100 |
|
101 |
use altivec && _cpu=altivec |
102 |
|
103 |
if [[ $(tc-arch) == amd64 || ${ARCH} == x64-* ]]; then |
104 |
use cpu_flags_x86_sse && _cpu=x86-64 |
105 |
elif use x86 && gcc-specs-pie ; then |
106 |
# Don't use any mmx, 3dnow, sse and 3dnowext #bug 164504 |
107 |
_cpu=generic_fpu |
108 |
elif use x86-macos ; then |
109 |
# ASM doesn't work quite as expected with the Darwin linker |
110 |
_cpu=generic_fpu |
111 |
else |
112 |
use cpu_flags_x86_mmx && _cpu=mmx |
113 |
use cpu_flags_x86_3dnow && _cpu=3dnow |
114 |
use cpu_flags_x86_sse && _cpu=x86 |
115 |
use cpu_flags_x86_3dnowext && _cpu=x86 |
116 |
fi |
117 |
|
118 |
local myconf="" |
119 |
multilib_is_native_abi || myconf="${myconf} --disable-modules" |
120 |
|
121 |
ECONF_SOURCE="${S}" econf \ |
122 |
--with-optimization=0 \ |
123 |
--with-audio="${_audio}" \ |
124 |
--with-default-audio=${_output} \ |
125 |
--with-cpu=${_cpu} \ |
126 |
--enable-network \ |
127 |
$(use_enable ipv6) \ |
128 |
--enable-int-quality=$(usex int-quality) \ |
129 |
${myconf} |
130 |
|
131 |
if ! $(multilib_is_native_abi) ; then |
132 |
sed -i -e 's:src doc:src/libmpg123:' Makefile || die |
133 |
fi |
134 |
} |
135 |
|
136 |
multilib_src_install_all() { |
137 |
einstalldocs |
138 |
mv "${ED}"/usr/bin/mpg123{,-mpg123} |
139 |
find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} + |
140 |
} |
141 |
|
142 |
pkg_postinst() { |
143 |
eselect mpg123 update ifunset |
144 |
} |
145 |
|
146 |
pkg_postrm() { |
147 |
eselect mpg123 update ifunset |
148 |
} |