From 39370cde43db72de060940cc88a56342cc4a6d46 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Sat, 22 Feb 2020 23:30:46 +0000 Subject: media-libs/allegro: Fix automagic building of 4.4.3.1 texinfo docs Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: James Le Cuirot --- media-libs/allegro/allegro-4.4.3.1.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'media-libs/allegro') diff --git a/media-libs/allegro/allegro-4.4.3.1.ebuild b/media-libs/allegro/allegro-4.4.3.1.ebuild index 1f5e195f8026..c0f62180c012 100644 --- a/media-libs/allegro/allegro-4.4.3.1.ebuild +++ b/media-libs/allegro/allegro-4.4.3.1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/liballeg/allegro5/releases/download/${PV}/${P}.tar.g LICENSE="Allegro MIT GPL-2+ ZLIB" SLOT="0" KEYWORDS="~amd64 ~arm64 ~mips ~ppc ~ppc64 ~x86" -IUSE="alsa fbcon jack jpeg opengl oss png svga vga vorbis X" +IUSE="alsa doc fbcon jack jpeg opengl oss png svga vga vorbis X" RDEPEND=" alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] ) @@ -37,7 +37,10 @@ RDEPEND=" )" DEPEND="${RDEPEND} X? ( x11-base/xorg-proto )" -BDEPEND="virtual/pkgconfig" +BDEPEND=" + virtual/pkgconfig + doc? ( sys-apps/texinfo ) +" PATCHES=( "${FILESDIR}"/${PN}-4.4.2-shared.patch @@ -64,6 +67,7 @@ src_configure() { -DINFODIR=share/info -DMANDIR=share/man -DWANT_ALSA=$(usex alsa) + -DWANT_DOCS_INFO=$(usex doc) -DWANT_EXAMPLES=OFF -DWANT_JACK=$(usex jack) -DWANT_JPGALLEG=$(usex jpeg) -- cgit v1.2.3-65-gdbad