mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-03 13:27:28 -08:00
games-emulation/gambatte-jg: add USE doc
Signed-off-by: orbea <orbea@riseup.net> Part-of: https://github.com/gentoo/gentoo/pull/44060 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
11ab9efa7d
commit
a198714a54
@ -3,7 +3,10 @@
|
|||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
inherit toolchain-funcs
|
DOCS_BUILDER="doxygen"
|
||||||
|
DOCS_DIR="objs/doc"
|
||||||
|
|
||||||
|
inherit docs toolchain-funcs
|
||||||
|
|
||||||
MY_PN=${PN%-*}
|
MY_PN=${PN%-*}
|
||||||
MY_P=${MY_PN}-${PV}
|
MY_P=${MY_PN}-${PV}
|
||||||
@ -25,7 +28,10 @@ LICENSE="
|
|||||||
"
|
"
|
||||||
SLOT="1"
|
SLOT="1"
|
||||||
IUSE="examples +jgmodule shared"
|
IUSE="examples +jgmodule shared"
|
||||||
REQUIRED_USE="|| ( examples jgmodule shared )"
|
REQUIRED_USE="
|
||||||
|
|| ( examples jgmodule shared )
|
||||||
|
doc? ( shared )
|
||||||
|
"
|
||||||
|
|
||||||
DEPEND="
|
DEPEND="
|
||||||
examples? (
|
examples? (
|
||||||
@ -61,6 +67,8 @@ src_compile() {
|
|||||||
${MY_MAKEOPTS}
|
${MY_MAKEOPTS}
|
||||||
)
|
)
|
||||||
emake "${mymakeargs[@]}"
|
emake "${mymakeargs[@]}"
|
||||||
|
use doc && emake doxyfile
|
||||||
|
docs_compile
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
@ -72,4 +80,5 @@ src_install() {
|
|||||||
${MY_MAKEOPTS}
|
${MY_MAKEOPTS}
|
||||||
)
|
)
|
||||||
emake install "${mymakeargs[@]}"
|
emake install "${mymakeargs[@]}"
|
||||||
|
use doc && einstalldocs
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user