Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/alsa-lib: ChangeLog alsa-lib-1.0.27.1.ebuild
Date: Mon, 27 May 2013 13:43:03
Message-Id: 20130527134300.08B1E2171D@flycatcher.gentoo.org
1 ssuominen 13/05/27 13:42:59
2
3 Modified: ChangeLog
4 Added: alsa-lib-1.0.27.1.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha174/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
9
10 Revision Changes Path
11 1.359 media-libs/alsa-lib/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/alsa-lib/ChangeLog?rev=1.359&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/alsa-lib/ChangeLog?rev=1.359&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/alsa-lib/ChangeLog?r1=1.358&r2=1.359
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v
20 retrieving revision 1.358
21 retrieving revision 1.359
22 diff -u -r1.358 -r1.359
23 --- ChangeLog 6 May 2013 13:54:41 -0000 1.358
24 +++ ChangeLog 27 May 2013 13:42:59 -0000 1.359
25 @@ -1,6 +1,12 @@
26 # ChangeLog for media-libs/alsa-lib
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v 1.358 2013/05/06 13:54:41 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v 1.359 2013/05/27 13:42:59 ssuominen Exp $
30 +
31 +*alsa-lib-1.0.27.1 (27 May 2013)
32 +
33 + 27 May 2013; Samuli Suominen <ssuominen@g.o>
34 + +alsa-lib-1.0.27.1.ebuild:
35 + Version bump.
36
37 06 May 2013; Samuli Suominen <ssuominen@g.o>
38 -alsa-lib-1.0.27-r1.ebuild:
39
40
41
42 1.1 media-libs/alsa-lib/alsa-lib-1.0.27.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.27.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.27.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: alsa-lib-1.0.27.1.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.27.1.ebuild,v 1.1 2013/05/27 13:42:59 ssuominen Exp $
52
53 EAPI=5
54
55 # no support for python3_2 or above yet wrt #471326
56 PYTHON_COMPAT=( python2_7 )
57
58 inherit autotools eutils multilib multilib-minimal python-single-r1
59
60 DESCRIPTION="Advanced Linux Sound Architecture Library"
61 HOMEPAGE="http://www.alsa-project.org/"
62 SRC_URI="mirror://alsaproject/lib/${P}.tar.bz2"
63
64 LICENSE="LGPL-2.1"
65 SLOT="0"
66 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
67 IUSE="doc debug alisp python"
68
69 RDEPEND="python? ( ${PYTHON_DEPS} )
70 abi_x86_32? ( !<=app-emulation/emul-linux-x86-soundlibs-20130224 )"
71 DEPEND="${RDEPEND}
72 doc? ( >=app-doc/doxygen-1.2.6 )"
73
74 pkg_setup() {
75 use python && python-single-r1_pkg_setup
76 }
77
78 src_prepare() {
79 find . -name Makefile.am -exec sed -i -e '/CFLAGS/s:-g -O2::' {} + || die
80 epatch_user
81 eautoreconf
82 }
83
84 multilib_src_configure() {
85 local myconf
86 # enable Python only on final ABI
87 if [[ ${ABI} == ${DEFAULT_ABI} ]]; then
88 myconf="$(use_enable python)"
89 else
90 myconf="--disable-python"
91 fi
92 use elibc_uclibc && myconf+=" --without-versioned"
93
94 ECONF_SOURCE=${S} \
95 econf \
96 --disable-maintainer-mode \
97 --enable-shared \
98 --disable-resmgr \
99 --enable-rawmidi \
100 --enable-seq \
101 --enable-aload \
102 $(use_with debug) \
103 $(use_enable alisp) \
104 ${myconf}
105 }
106
107 multilib_src_compile() {
108 emake
109
110 if [[ ${ABI} == ${DEFAULT_ABI} ]] && use doc; then
111 emake doc
112 fgrep -Zrl "${S}" doc/doxygen/html | \
113 xargs -0 sed -i -e "s:${S}::"
114 fi
115 }
116
117 multilib_src_install() {
118 emake DESTDIR="${D}" install
119 if [[ ${ABI} == ${DEFAULT_ABI} ]] && use doc; then
120 dohtml -r doc/doxygen/html/.
121 fi
122 }
123
124 multilib_src_install_all() {
125 prune_libtool_files --all
126 find "${ED}"/usr/$(get_libdir)/alsa-lib -name '*.a' -exec rm -f {} +
127 dodoc ChangeLog doc/asoundrc.txt NOTES TODO
128 }