Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/
Date: Sat, 22 Feb 2020 23:32:03
Message-Id: 1582414303.39370cde43db72de060940cc88a56342cc4a6d46.chewi@gentoo
1 commit: 39370cde43db72de060940cc88a56342cc4a6d46
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 22 23:30:46 2020 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 22 23:31:43 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39370cde
7
8 media-libs/allegro: Fix automagic building of 4.4.3.1 texinfo docs
9
10 Package-Manager: Portage-2.3.89, Repoman-2.3.20
11 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
12
13 media-libs/allegro/allegro-4.4.3.1.ebuild | 8 ++++++--
14 1 file changed, 6 insertions(+), 2 deletions(-)
15
16 diff --git a/media-libs/allegro/allegro-4.4.3.1.ebuild b/media-libs/allegro/allegro-4.4.3.1.ebuild
17 index 1f5e195f802..c0f62180c01 100644
18 --- a/media-libs/allegro/allegro-4.4.3.1.ebuild
19 +++ b/media-libs/allegro/allegro-4.4.3.1.ebuild
20 @@ -13,7 +13,7 @@ SRC_URI="https://github.com/liballeg/allegro5/releases/download/${PV}/${P}.tar.g
21 LICENSE="Allegro MIT GPL-2+ ZLIB"
22 SLOT="0"
23 KEYWORDS="~amd64 ~arm64 ~mips ~ppc ~ppc64 ~x86"
24 -IUSE="alsa fbcon jack jpeg opengl oss png svga vga vorbis X"
25 +IUSE="alsa doc fbcon jack jpeg opengl oss png svga vga vorbis X"
26
27 RDEPEND="
28 alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
29 @@ -37,7 +37,10 @@ RDEPEND="
30 )"
31 DEPEND="${RDEPEND}
32 X? ( x11-base/xorg-proto )"
33 -BDEPEND="virtual/pkgconfig"
34 +BDEPEND="
35 + virtual/pkgconfig
36 + doc? ( sys-apps/texinfo )
37 +"
38
39 PATCHES=(
40 "${FILESDIR}"/${PN}-4.4.2-shared.patch
41 @@ -64,6 +67,7 @@ src_configure() {
42 -DINFODIR=share/info
43 -DMANDIR=share/man
44 -DWANT_ALSA=$(usex alsa)
45 + -DWANT_DOCS_INFO=$(usex doc)
46 -DWANT_EXAMPLES=OFF
47 -DWANT_JACK=$(usex jack)
48 -DWANT_JPGALLEG=$(usex jpeg)