1 |
flameeyes 12/04/08 19:43:31 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: alsa-utils-1.0.25-r2.ebuild |
5 |
Log: |
6 |
Make sure that the minimal USE flag also does not install the alsaconf script, not just ignore the dependency. |
7 |
|
8 |
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.323 media-sound/alsa-utils/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/alsa-utils/ChangeLog?rev=1.323&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/alsa-utils/ChangeLog?rev=1.323&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/alsa-utils/ChangeLog?r1=1.322&r2=1.323 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v |
20 |
retrieving revision 1.322 |
21 |
retrieving revision 1.323 |
22 |
diff -u -r1.322 -r1.323 |
23 |
--- ChangeLog 1 Apr 2012 15:13:17 -0000 1.322 |
24 |
+++ ChangeLog 8 Apr 2012 19:43:31 -0000 1.323 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for media-sound/alsa-utils |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.322 2012/04/01 15:13:17 armin76 Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.323 2012/04/08 19:43:31 flameeyes Exp $ |
30 |
+ |
31 |
+*alsa-utils-1.0.25-r2 (08 Apr 2012) |
32 |
+ |
33 |
+ 08 Apr 2012; Diego E. Pettenò <flameeyes@g.o> |
34 |
+ +alsa-utils-1.0.25-r2.ebuild: |
35 |
+ Make sure that the minimal USE flag also does not install the alsaconf script, |
36 |
+ not just ignore the dependency. |
37 |
|
38 |
01 Apr 2012; Raúl Porcel <armin76@g.o> alsa-utils-1.0.25-r1.ebuild: |
39 |
alpha/ia64/sh/sparc stable wrt #406101 |
40 |
|
41 |
|
42 |
|
43 |
1.1 media-sound/alsa-utils/alsa-utils-1.0.25-r2.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.25-r2.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.25-r2.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: alsa-utils-1.0.25-r2.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2012 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.25-r2.ebuild,v 1.1 2012/04/08 19:43:31 flameeyes Exp $ |
53 |
|
54 |
EAPI=4 |
55 |
inherit base systemd |
56 |
|
57 |
MY_P=${P/_rc/rc} |
58 |
|
59 |
DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)" |
60 |
HOMEPAGE="http://www.alsa-project.org/" |
61 |
SRC_URI="mirror://alsaproject/utils/${MY_P}.tar.bz2 |
62 |
mirror://alsaproject/driver/alsa-driver-${PV}.tar.bz2" |
63 |
|
64 |
LICENSE="GPL-2" |
65 |
SLOT="0.9" |
66 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" |
67 |
IUSE="doc nls minimal" |
68 |
|
69 |
COMMON_DEPEND=">=sys-libs/ncurses-5.1 |
70 |
dev-util/dialog |
71 |
>=media-libs/alsa-lib-1.0.25 |
72 |
media-libs/libsamplerate" |
73 |
DEPEND="${COMMON_DEPEND} |
74 |
doc? ( app-text/xmlto )" |
75 |
RDEPEND="${COMMON_DEPEND} |
76 |
!minimal? ( sys-apps/pciutils )" |
77 |
|
78 |
S="${WORKDIR}/${MY_P}" |
79 |
PATCHES=( |
80 |
"${FILESDIR}/${PN}-1.0.23-modprobe.d.patch" |
81 |
"${FILESDIR}/${P}-separate-usr-var-fs.patch" |
82 |
) |
83 |
|
84 |
src_configure() { |
85 |
local myconf="" |
86 |
use doc || myconf="--disable-xmlto" |
87 |
|
88 |
econf ${myconf} \ |
89 |
$(use_enable nls) \ |
90 |
$(use_enable !minimal alsaconf) \ |
91 |
"$(systemd_with_unitdir)" |
92 |
} |
93 |
|
94 |
src_install() { |
95 |
local ALSA_UTILS_DOCS="ChangeLog README TODO |
96 |
seq/aconnect/README.aconnect |
97 |
seq/aseqnet/README.aseqnet" |
98 |
|
99 |
emake DESTDIR="${D}" install || die "emake install failed" |
100 |
|
101 |
dodoc ${ALSA_UTILS_DOCS} || die |
102 |
|
103 |
newbin "${WORKDIR}/alsa-driver-${PV}/utils/alsa-info.sh" \ |
104 |
alsa-info |
105 |
|
106 |
newinitd "${FILESDIR}/alsasound.initd-r5" alsasound |
107 |
newconfd "${FILESDIR}/alsasound.confd-r4" alsasound |
108 |
insinto /etc/modprobe.d |
109 |
newins "${FILESDIR}/alsa-modules.conf-rc" alsa.conf |
110 |
|
111 |
keepdir /var/lib/alsa |
112 |
} |
113 |
|
114 |
pkg_postinst() { |
115 |
echo |
116 |
elog "To take advantage of the init script, and automate the process of" |
117 |
elog "saving and restoring sound-card mixer levels you should" |
118 |
elog "add alsasound to the boot runlevel. You can do this as" |
119 |
elog "root like so:" |
120 |
elog " # rc-update add alsasound boot" |
121 |
echo |
122 |
ewarn "The ALSA core should be built into the kernel or loaded through other" |
123 |
ewarn "means. There is no longer any modular auto(un)loading in alsa-utils." |
124 |
echo |
125 |
if use minimal; then |
126 |
ewarn "The minimal use flag disables the dependency on pciutils that" |
127 |
ewarn "is needed by alsaconf at runtime." |
128 |
fi |
129 |
} |