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-sound/alsa-utils: ChangeLog alsa-utils-1.0.27.1-r1.ebuild
Date: Mon, 27 May 2013 14:55:26
Message-Id: 20130527145522.643FF2171D@flycatcher.gentoo.org
1 ssuominen 13/05/27 14:55:22
2
3 Modified: ChangeLog
4 Added: alsa-utils-1.0.27.1-r1.ebuild
5 Log:
6 Include upstreamized patch for "hctl element search" wrt #468690 by William Throwe and Jaroslav Kysela
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.351 media-sound/alsa-utils/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/alsa-utils/ChangeLog?rev=1.351&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/alsa-utils/ChangeLog?rev=1.351&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/alsa-utils/ChangeLog?r1=1.350&r2=1.351
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v
20 retrieving revision 1.350
21 retrieving revision 1.351
22 diff -u -r1.350 -r1.351
23 --- ChangeLog 27 May 2013 13:59:35 -0000 1.350
24 +++ ChangeLog 27 May 2013 14:55:22 -0000 1.351
25 @@ -1,6 +1,14 @@
26 # ChangeLog for media-sound/alsa-utils
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.350 2013/05/27 13:59:35 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.351 2013/05/27 14:55:22 ssuominen Exp $
30 +
31 +*alsa-utils-1.0.27.1-r1 (27 May 2013)
32 +
33 + 27 May 2013; Samuli Suominen <ssuominen@g.o>
34 + +alsa-utils-1.0.27.1-r1.ebuild,
35 + +files/alsa-utils-1.0.27.1-hctl_elem_search.patch:
36 + Include upstreamized patch for "hctl element search" wrt #468690 by William
37 + Throwe and Jaroslav Kysela
38
39 *alsa-utils-1.0.27.1 (27 May 2013)
40
41
42
43
44 1.1 media-sound/alsa-utils/alsa-utils-1.0.27.1-r1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.27.1-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.27.1-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: alsa-utils-1.0.27.1-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2013 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.27.1-r1.ebuild,v 1.1 2013/05/27 14:55:22 ssuominen Exp $
54
55 EAPI=5
56 inherit eutils systemd udev
57
58 DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)"
59 HOMEPAGE="http://www.alsa-project.org/"
60 SRC_URI="mirror://alsaproject/utils/${P}.tar.bz2
61 mirror://alsaproject/driver/alsa-driver-1.0.25.tar.bz2"
62
63 LICENSE="GPL-2"
64 SLOT="0.9"
65 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
66 IUSE="doc +libsamplerate +ncurses nls selinux"
67
68 RDEPEND=">=media-libs/alsa-lib-1.0.27-r2
69 libsamplerate? ( media-libs/libsamplerate )
70 ncurses? ( >=sys-libs/ncurses-5.7-r7 )
71 selinux? ( sec-policy/selinux-alsa )"
72 DEPEND="${RDEPEND}
73 virtual/pkgconfig
74 doc? ( app-text/xmlto )"
75
76 src_prepare() {
77 epatch "${FILESDIR}"/${P}-hctl_elem_search.patch
78 epatch_user
79 }
80
81 src_configure() {
82 local myconf
83 use doc || myconf='--disable-xmlto'
84
85 # --disable-alsaconf because it doesn't work with sys-apps/kmod wrt #456214
86 econf \
87 --disable-maintainer-mode \
88 $(use_enable libsamplerate alsaloop) \
89 $(use_enable nls) \
90 $(use_enable ncurses alsamixer) \
91 --disable-alsaconf \
92 "$(systemd_with_unitdir)" \
93 --with-udev-rules-dir="$(get_udevdir)"/rules.d \
94 ${myconf}
95 }
96
97 src_install() {
98 emake DESTDIR="${D}" install
99 dodoc ChangeLog README TODO seq/*/README.*
100
101 newbin "${WORKDIR}"/alsa-driver-*/utils/alsa-info.sh alsa-info
102
103 newinitd "${FILESDIR}"/alsasound.initd-r5 alsasound
104 newconfd "${FILESDIR}"/alsasound.confd-r4 alsasound
105
106 insinto /etc/modprobe.d
107 newins "${FILESDIR}"/alsa-modules.conf-rc alsa.conf
108
109 keepdir /var/lib/alsa
110
111 # ALSA lib parser.c:1266:(uc_mgr_scan_master_configs) error: could not
112 # scan directory /usr/share/alsa/ucm: No such file or directory
113 # alsaucm: unable to obtain card list: No such file or directory
114 keepdir /usr/share/alsa/ucm
115 }
116
117 pkg_postinst() {
118 if [[ -z ${REPLACING_VERSIONS} ]]; then
119 elog
120 elog "To take advantage of the init script, and automate the process of"
121 elog "saving and restoring sound-card mixer levels you should"
122 elog "add alsasound to the boot runlevel. You can do this as"
123 elog "root like so:"
124 elog "# rc-update add alsasound boot"
125 ewarn
126 ewarn "The ALSA core should be built into the kernel or loaded through other"
127 ewarn "means. There is no longer any modular auto(un)loading in alsa-utils."
128 fi
129 }