Diff e16-1.0.21 with a e16-1.0.22

/usr/portage/x11-wm/e16/e16-1.0.22.ebuild 2021-01-17 18:09:00.000000000 +0300
1
# Copyright 1999-2020 Gentoo Authors
1
# Copyright 1999-2021 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=7
......
10 10
LICENSE="BSD"
11 11
SLOT="0"
12 12
KEYWORDS="amd64 x86"
13
IUSE="audiofile container dbus debug +dialogs doc examples gnome
14
libhack modules nls opengl +pango sndfile sound +themes xcomposite
15
+xft xi2 xinerama xpresent +xrandr +xrender +xsm +xsync zoom"
13
IUSE="+alsa audiofile container dbus debug +dialogs doc examples
14
gnome libhack modules nls opengl +pango player pulseaudio +sndfile
15
sound +themes xcomposite +xft xi2 xinerama xpresent +xrandr
16
+xrender +xsm +xsync zoom"
16 17

  
17 18
REQUIRED_USE="
18
	audiofile? ( sound )
19 19
	opengl? ( xcomposite )
20 20
	pango? ( xft )
21
	sndfile? ( sound )
22
	sound? ( ^^ ( sndfile audiofile ) )
21
	sound? (
22
		^^ ( alsa player pulseaudio )
23
		alsa?       ( ^^ ( sndfile audiofile ) )
24
		pulseaudio? ( ^^ ( sndfile audiofile ) )
25
	)
23 26
"
24 27

  
25 28
BDEPEND="
......
43 46
		x11-libs/pango[X]
44 47
	)
45 48
	sound? (
46
		|| (
49
		alsa? ( media-libs/alsa-lib )
50
		player? ( media-sound/alsa-utils )
51
		pulseaudio? ( || (
47 52
			media-sound/apulse[sdk]
48 53
			media-sound/pulseaudio
49
		)
50
		sndfile? ( media-libs/libsndfile )
54
		) )
51 55
		audiofile? ( media-libs/audiofile:= )
56
		sndfile? ( media-libs/libsndfile )
52 57
	)
53 58
	xcomposite? (
54 59
		x11-libs/libXcomposite
......
90 95
		$(use_enable nls)
91 96
		$(use_enable opengl glx)
92 97
		$(use_enable pango)
93
		$(use_enable sound sound pulseaudio)
94 98
		$(use_enable xcomposite composite)
95 99
		$(use_enable xft)
96 100
		$(use_enable xi2)
......
101 105
		$(use_enable xsm sm)
102 106
		$(use_enable xsync)
103 107
		$(use_enable zoom)
104
		$(use_with audiofile sndldr audiofile)
105 108
		$(use_with gnome gnome gnome3)
106
		$(use_with sndfile sndldr sndfile)
107 109
		--enable-mans
108 110
		--disable-docs
109 111
		--disable-esdtest
......
112 114
		--disable-werror
113 115
		--disable-xscrnsaver
114 116
	)
117
	if use sound; then
118
		use alsa       && myconf+=( --enable-sound=alsa )
119
		use pulseaudio && myconf+=( --enable-sound=pulseaudio )
120
		use player     && myconf+=( --enable-sound=player )
121

  
122
		if use alsa || use pulseaudio; then
123
			use sndfile   && myconf+=( --with-sndldr=sndfile )
124
			use audiofile && myconf+=( --with-sndldr=audiofile )
125
		else
126
			myconf+=( --without-sndldr )
127
		fi
128
	else
129
		myconf+=( --disable-sound --without-sndldr )
130
	fi
115 131

  
116 132
	econf "${myconf[@]}"
117 133
}
Thank you!