Diff gr-0.72.0 with a gr-0.72.4

/usr/portage/sci-visualization/gr/gr-0.72.4.ebuild 2023-10-09 14:52:35.264368496 +0300
12 12
LICENSE="MIT"
13 13
SLOT="0"
14 14
KEYWORDS="~amd64 ~x86"
15
IUSE="cairo ffmpeg postscript tiff truetype"
15
IUSE="agg cairo ffmpeg postscript tiff truetype"
16 16

  
17 17
DEPEND="
18 18
	dev-qt/qtgui:5
......
24 24
	net-libs/zeromq
25 25
	sys-libs/zlib
26 26
	virtual/opengl
27
	x11-libs/agg
28 27
	x11-libs/libX11
29 28
	x11-libs/libXt
29
	agg? ( x11-libs/agg )
30 30
	cairo? ( x11-libs/cairo )
31 31
	ffmpeg? ( media-video/ffmpeg:= )
32 32
	postscript? ( app-text/ghostscript-gpl )
......
43 43
REQUIRED_USE="cairo? ( truetype )"
44 44

  
45 45
src_configure() {
46
	if use agg ; then
47
		mycmakeargs+=( -DAGG_LIBRARY=libagg.so -DAGG_INCLUDE_DIR=/usr/include/agg2 )
48
	else
49
		mycmakeargs+=( -DAGG_LIBRARY= )
50
	fi
51

  
46 52
	use cairo || mycmakeargs+=( -DCAIRO_LIBRARY= )
47 53
	use postscript || mycmakeargs+=( -DGS_LIBRARY= )
48 54
	use ffmpeg || mycmakeargs+=( -DFFMPEG_INCLUDE_DIR= )
Thank you!