Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 691830
Collapse All | Expand All

(-)a/emacs-vcs-27.0.9999.ebuild (-5 / +17 lines)
Lines 28-35 HOMEPAGE="https://www.gnu.org/software/emacs/" Link Here
28
28
29
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
29
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
30
SLOT="27"
30
SLOT="27"
31
IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gconf gfile gif +gmp gpm gsettings gtk gtk2 gzip-el imagemagick +inotify jpeg json kerberos lcms libxml2 livecd m17n-lib mailutils motif png selinux sound source ssl svg systemd +threads tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm xwidgets zlib"
31
IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gconf gfile gif +gmp gpm gsettings gtk gtk2 gzip-el harfbuzz imagemagick +inotify jpeg json kerberos lcms libotf libxml2 livecd m17n-lib mailutils motif +pdumper png selinux sound source ssl svg systemd +threads tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm xwidgets zlib"
32
REQUIRED_USE="?? ( aqua X )"
32
REQUIRED_USE="?? ( aqua X ) harfbuzz? ( !m17n-lib ) m17n-lib? ( !harfbuzz libotf )"
33
RESTRICT="test"
33
RESTRICT="test"
34
34
35
RDEPEND="sys-libs/ncurses:0=
35
RDEPEND="sys-libs/ncurses:0=
Lines 74-84 RDEPEND="sys-libs/ncurses:0= Link Here
74
		xft? (
74
		xft? (
75
			media-libs/fontconfig
75
			media-libs/fontconfig
76
			media-libs/freetype
76
			media-libs/freetype
77
			harfbuzz? ( media-libs/harfbuzz )
78
			libotf? ( >=dev-libs/libotf-0.9.4 )
77
			x11-libs/libXft
79
			x11-libs/libXft
78
			x11-libs/libXrender
80
			x11-libs/libXrender
79
			cairo? ( >=x11-libs/cairo-1.12.18 )
81
			cairo? ( >=x11-libs/cairo-1.12.18 )
80
			m17n-lib? (
82
			m17n-lib? (
81
				>=dev-libs/libotf-0.9.4
82
				>=dev-libs/m17n-lib-1.5.1
83
				>=dev-libs/m17n-lib-1.5.1
83
			)
84
			)
84
		)
85
		)
Lines 171-176 src_configure() { Link Here
171
		myconf+=" --with-sound=$(usex sound oss)"
172
		myconf+=" --with-sound=$(usex sound oss)"
172
	fi
173
	fi
173
174
175
	if use pdumper; then
176
		myconf+=" --with-pdumper=yes"
177
	else
178
		myconf+=" --with-pdumper=no"
179
	fi
180
174
	if use X; then
181
	if use X; then
175
		myconf+=" --with-x --without-ns"
182
		myconf+=" --with-x --without-ns"
176
		myconf+=" $(use_with gconf)"
183
		myconf+=" $(use_with gconf)"
Lines 188-203 src_configure() { Link Here
188
		if use xft; then
195
		if use xft; then
189
			myconf+=" --with-xft"
196
			myconf+=" --with-xft"
190
			myconf+=" $(use_with cairo)"
197
			myconf+=" $(use_with cairo)"
191
			myconf+=" $(use_with m17n-lib libotf)"
198
			myconf+=" $(use_with harfbuzz)"
199
			myconf+=" $(use_with libotf)"
192
			myconf+=" $(use_with m17n-lib m17n-flt)"
200
			myconf+=" $(use_with m17n-lib m17n-flt)"
193
		else
201
		else
194
			myconf+=" --without-xft"
202
			myconf+=" --without-xft"
195
			myconf+=" --without-cairo"
203
			myconf+=" --without-cairo"
204
			myconf+=" --without-harfbuzz"
196
			myconf+=" --without-libotf --without-m17n-flt"
205
			myconf+=" --without-libotf --without-m17n-flt"
197
			use cairo && ewarn \
206
			use cairo && ewarn \
198
				"USE flag \"cairo\" has no effect if \"xft\" is not set."
207
				"USE flag \"cairo\" has no effect if \"xft\" is not set."
208
			use harfbuzz && ewarn \
209
				"USE flag \"harfbuzz\" has no effect if \"xft\" is not set."
199
			use m17n-lib && ewarn \
210
			use m17n-lib && ewarn \
200
				"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
211
				"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
212
			use libotf  && ewarn \
213
				"USE flag \"libotf\" has no effect if \"xft\" is not set."
201
		fi
214
		fi
202
215
203
		local f line
216
		local f line
204
- 

Return to bug 691830