1 |
beandog 10/01/07 17:16:00 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: alsa-utils-1.0.22.ebuild |
5 |
Log: |
6 |
Version bump, bug 297304 |
7 |
(Portage version: 2.2_rc61/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.285 media-sound/alsa-utils/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/ChangeLog?rev=1.285&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/ChangeLog?rev=1.285&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/ChangeLog?r1=1.284&r2=1.285 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v |
19 |
retrieving revision 1.284 |
20 |
retrieving revision 1.285 |
21 |
diff -u -r1.284 -r1.285 |
22 |
--- ChangeLog 21 Nov 2009 12:49:21 -0000 1.284 |
23 |
+++ ChangeLog 7 Jan 2010 17:16:00 -0000 1.285 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for media-sound/alsa-utils |
26 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.284 2009/11/21 12:49:21 ayoy Exp $ |
28 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.285 2010/01/07 17:16:00 beandog Exp $ |
30 |
+ |
31 |
+*alsa-utils-1.0.22 (07 Jan 2010) |
32 |
+ |
33 |
+ 07 Jan 2010; Steve Dibb <beandog@g.o> +alsa-utils-1.0.22.ebuild, |
34 |
+ +files/alsa-utils-1.0.22-modprobe.d.patch: |
35 |
+ Version bump, bug 297304 |
36 |
|
37 |
*alsa-utils-1.0.21-r1 (21 Nov 2009) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 media-sound/alsa-utils/alsa-utils-1.0.22.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.22.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.22.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: alsa-utils-1.0.22.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2010 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.22.ebuild,v 1.1 2010/01/07 17:16:00 beandog Exp $ |
52 |
|
53 |
EAPI=2 |
54 |
inherit eutils |
55 |
|
56 |
MY_P=${P/_rc/rc} |
57 |
|
58 |
DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)" |
59 |
HOMEPAGE="http://www.alsa-project.org/" |
60 |
SRC_URI="mirror://alsaproject/utils/${MY_P}.tar.bz2" |
61 |
|
62 |
LICENSE="GPL-2" |
63 |
SLOT="0.9" |
64 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" |
65 |
IUSE="doc nls minimal" |
66 |
|
67 |
DEPEND=">=sys-libs/ncurses-5.1 |
68 |
dev-util/dialog |
69 |
>=media-libs/alsa-lib-${PV} |
70 |
doc? ( app-text/xmlto )" |
71 |
RDEPEND=">=sys-libs/ncurses-5.1 |
72 |
dev-util/dialog |
73 |
>=media-libs/alsa-lib-${PV} |
74 |
virtual/modutils |
75 |
!minimal? ( sys-apps/pciutils )" |
76 |
|
77 |
S=${WORKDIR}/${MY_P} |
78 |
|
79 |
pkg_setup() { |
80 |
if [[ -e "${ROOT}etc/modules.d/alsa" ]]; then |
81 |
eerror "Obsolete config /etc/modules.d/alsa found." |
82 |
die "Move /etc/modules.d/alsa to /etc/modprobe.d/alsa.conf." |
83 |
fi |
84 |
|
85 |
if [[ -e "${ROOT}etc/modprobe.d/alsa" ]]; then |
86 |
eerror "Obsolete config /etc/modprobe.d/alsa found." |
87 |
die "Move /etc/modprobe.d/alsa to /etc/modprobe.d/alsa.conf." |
88 |
fi |
89 |
} |
90 |
|
91 |
src_prepare() { |
92 |
epatch "${FILESDIR}"/${P}-modprobe.d.patch |
93 |
} |
94 |
|
95 |
src_configure() { |
96 |
local myconf="" |
97 |
use doc || myconf="--disable-xmlto" |
98 |
|
99 |
econf ${myconf} \ |
100 |
$(use_enable nls) |
101 |
} |
102 |
|
103 |
src_install() { |
104 |
local ALSA_UTILS_DOCS="ChangeLog README TODO |
105 |
seq/aconnect/README.aconnect |
106 |
seq/aseqnet/README.aseqnet" |
107 |
|
108 |
emake DESTDIR="${D}" install || die "emake install failed" |
109 |
|
110 |
dodoc ${ALSA_UTILS_DOCS} || die |
111 |
|
112 |
newinitd "${FILESDIR}/alsasound.initd-r4" alsasound |
113 |
newconfd "${FILESDIR}/alsasound.confd-r3" alsasound |
114 |
insinto /etc/modprobe.d |
115 |
newins "${FILESDIR}/alsa-modules.conf-rc" alsa.conf |
116 |
|
117 |
keepdir /var/lib/alsa |
118 |
} |
119 |
|
120 |
pkg_postinst() { |
121 |
echo |
122 |
elog "To take advantage of the init script, and automate the process of" |
123 |
elog "saving and restoring sound-card mixer levels you should" |
124 |
elog "add alsasound to the boot runlevel. You can do this as" |
125 |
elog "root like so:" |
126 |
elog " # rc-update add alsasound boot" |
127 |
echo |
128 |
elog "The script will load ALSA modules, if you choose to use a modular" |
129 |
elog "configuration. The Gentoo ALSA developers recommend you to build" |
130 |
elog "your audio drivers into the kernel unless the device is hotpluggable" |
131 |
elog "or you need to supply specific options (such as model= to HD Audio)." |
132 |
echo |
133 |
ewarn "Automated unloading of ALSA modules is deprecated and unsupported." |
134 |
ewarn "Should you choose to use it, bug reports will not be accepted." |
135 |
echo |
136 |
if use minimal; then |
137 |
ewarn "The minimal use flag disables the dependency on pciutils that" |
138 |
ewarn "is needed by alsaconf at runtime." |
139 |
fi |
140 |
} |