Gentoo Archives: gentoo-commits

From: "Tony Vroon (chainsaw)" <chainsaw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/alsa-lib: alsa-lib-1.0.25-r1.ebuild ChangeLog alsa-lib-1.0.25.ebuild
Date: Mon, 30 Jan 2012 08:56:36
Message-Id: 20120130085624.BE8292004B@flycatcher.gentoo.org
1 chainsaw 12/01/30 08:56:24
2
3 Modified: ChangeLog
4 Added: alsa-lib-1.0.25-r1.ebuild
5 Removed: alsa-lib-1.0.25.ebuild
6 Log:
7 Remove ability to build static libs as upstream has made it unworkable. Closes bug #401071 by Sebastian "sping" Pipping. Removed initial 1.0.25 ebuild due to build failures.
8
9 (Portage version: 2.1.10.44/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.326 media-libs/alsa-lib/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/alsa-lib/ChangeLog?rev=1.326&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/alsa-lib/ChangeLog?rev=1.326&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/alsa-lib/ChangeLog?r1=1.325&r2=1.326
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v
21 retrieving revision 1.325
22 retrieving revision 1.326
23 diff -u -r1.325 -r1.326
24 --- ChangeLog 26 Jan 2012 11:49:30 -0000 1.325
25 +++ ChangeLog 30 Jan 2012 08:56:24 -0000 1.326
26 @@ -1,6 +1,14 @@
27 # ChangeLog for media-libs/alsa-lib
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v 1.325 2012/01/26 11:49:30 chainsaw Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v 1.326 2012/01/30 08:56:24 chainsaw Exp $
31 +
32 +*alsa-lib-1.0.25-r1 (30 Jan 2012)
33 +
34 + 30 Jan 2012; Tony Vroon <chainsaw@g.o> -alsa-lib-1.0.25.ebuild,
35 + +alsa-lib-1.0.25-r1.ebuild:
36 + Remove ability to build static libs as upstream has made it unworkable.
37 + Closes bug #401071 by Sebastian "sping" Pipping. Removed initial 1.0.25
38 + ebuild due to build failures.
39
40 *alsa-lib-1.0.25 (26 Jan 2012)
41
42
43
44
45 1.1 media-libs/alsa-lib/alsa-lib-1.0.25-r1.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.25-r1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.25-r1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: alsa-lib-1.0.25-r1.ebuild
51 ===================================================================
52 # Copyright 1999-2012 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.25-r1.ebuild,v 1.1 2012/01/30 08:56:24 chainsaw Exp $
55
56 EAPI=4
57
58 PYTHON_DEPEND="python? 2"
59
60 inherit autotools base python multilib
61
62 MY_P=${P/_rc/rc}
63 S=${WORKDIR}/${MY_P}
64
65 DESCRIPTION="Advanced Linux Sound Architecture Library"
66 HOMEPAGE="http://www.alsa-project.org/"
67 SRC_URI="mirror://alsaproject/lib/${MY_P}.tar.bz2"
68
69 LICENSE="LGPL-2.1"
70 SLOT="0"
71 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
72 IUSE="doc debug alisp python"
73
74 DEPEND=">=media-sound/alsa-headers-1.0.25
75 doc? ( >=app-doc/doxygen-1.2.6 )"
76 RDEPEND=""
77 PATCHES=( "${FILESDIR}/${PV}-extraneous-cflags.diff" )
78
79 pkg_setup() {
80 if use python; then
81 python_set_active_version 2
82 fi
83 }
84
85 src_prepare() {
86 eautoreconf
87 epunt_cxx
88 }
89
90 src_configure() {
91 local myconf
92 use elibc_uclibc && myconf="--without-versioned"
93
94 econf \
95 --enable-shared \
96 --disable-resmgr \
97 --enable-rawmidi \
98 --enable-seq \
99 --enable-aload \
100 $(use_with debug) \
101 $(use_enable alisp) \
102 $(use_enable python) \
103 --disable-dependency-tracking \
104 ${myconf}
105 }
106
107 src_compile() {
108 emake || die
109
110 if use doc; then
111 emake doc || die "failed to generate docs"
112 fgrep -Zrl "${S}" "${S}/doc/doxygen/html" | \
113 xargs -0 sed -i -e "s:${S}::"
114 fi
115 }
116
117 src_install() {
118 emake DESTDIR="${D}" install || die
119
120 find "${ED}" -name '*.la' -exec rm -f {} +
121 find "${ED}"/usr/$(get_libdir)/alsa-lib -name '*.a' -exec rm -f {} +
122
123 dodoc ChangeLog TODO || die
124 use doc && dohtml -r doc/doxygen/html/*
125 }
126
127 pkg_postinst() {
128 elog "Please try in-kernel ALSA drivers instead of the alsa-driver ebuild."
129 elog "If alsa-driver works for you where a *recent* kernel does not, we want "
130 elog "to know about this. Our e-mail address is alsa-bugs@g.o"
131 elog "However, if you notice no sound output or instability, please try to "
132 elog "upgrade your kernel to a newer version first."
133 }