Diff alsa-utils-1.1.2 with a alsa-utils-1.1.6

/usr/portage/media-sound/alsa-utils/alsa-utils-1.1.6.ebuild 2019-02-17 13:39:00.000000000 +0000
1
# Copyright 1999-2018 Gentoo Foundation
1
# Copyright 1999-2019 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=6
5
inherit eutils systemd udev
5
inherit systemd udev
6 6

  
7 7
DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)"
8 8
HOMEPAGE="https://alsa-project.org/"
......
10 10

  
11 11
LICENSE="GPL-2"
12 12
SLOT="0.9"
13
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86"
13
KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~sh sparc x86"
14 14
IUSE="bat doc +libsamplerate +ncurses nls selinux"
15 15

  
16 16
CDEPEND=">=media-libs/alsa-lib-${PV}
......
24 24
	selinux? ( sec-policy/selinux-alsa )"
25 25

  
26 26
src_configure() {
27
	local myconf
28
	use doc || myconf='--disable-xmlto'
29

  
30
	# --disable-alsaconf because it doesn't work with sys-apps/kmod wrt #456214
31
	econf \
32
		--disable-maintainer-mode \
33
		$(use_enable bat) \
34
		$(use_enable libsamplerate alsaloop) \
35
		$(use_enable nls) \
36
		$(use_enable ncurses alsamixer) \
37
		--disable-alsaconf \
38
		--with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \
39
		--with-udev-rules-dir="$(get_udevdir)"/rules.d \
40
		${myconf}
27
	local myeconfargs=(
28
		# --disable-alsaconf because it doesn't work with sys-apps/kmod wrt #456214
29
		--disable-alsaconf
30
		--disable-maintainer-mode
31
		--with-asound-state-dir="${EPREFIX}"/var/lib/alsa
32
		--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
33
		--with-udev-rules-dir="${EPREFIX}/$(get_udevdir)"/rules.d
34
		$(use_enable bat)
35
		$(use_enable libsamplerate alsaloop)
36
		$(use_enable ncurses alsamixer)
37
		$(use_enable nls)
38
		$(usex doc '' --disable-xmlto)
39
	)
40
	econf "${myeconfargs[@]}"
41 41
}
42 42

  
43 43
src_install() {
44 44
	default
45 45
	dodoc seq/*/README.*
46 46

  
47
	newinitd "${FILESDIR}"/alsasound.initd-r6 alsasound
47
	newinitd "${FILESDIR}"/alsasound.initd-r7 alsasound
48 48
	newconfd "${FILESDIR}"/alsasound.confd-r4 alsasound
49 49

  
50 50
	insinto /etc/modprobe.d
Thank you!