summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2020-02-22 23:30:46 +0000
committerJames Le Cuirot <chewi@gentoo.org>2020-02-22 23:31:43 +0000
commit39370cde43db72de060940cc88a56342cc4a6d46 (patch)
tree4643b87b30eafe355718f8e93b1d3d94e4aaa629 /media-libs/allegro/allegro-4.4.3.1.ebuild
parentmedia-libs/allegro: Patch around 4.4.3.1 texinfo encoding issue (diff)
downloadgentoo-39370cde43db72de060940cc88a56342cc4a6d46.tar.gz
gentoo-39370cde43db72de060940cc88a56342cc4a6d46.tar.bz2
gentoo-39370cde43db72de060940cc88a56342cc4a6d46.zip
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 <chewi@gentoo.org>
Diffstat (limited to 'media-libs/allegro/allegro-4.4.3.1.ebuild')
-rw-r--r--media-libs/allegro/allegro-4.4.3.1.ebuild8
1 files changed, 6 insertions, 2 deletions
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)