mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-19 07:49:00 -04:00
dev-games/surgescript: fix colliding files found by ecompress
when USE="doc" (fixed by using eclass which removes the problematic files) Package-Manager: Portage-2.3.98, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
parent
18b54e5670
commit
80b491a914
@ -3,7 +3,13 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
DOCBUILDER="mkdocs"
|
||||
DOCDEPEND="
|
||||
dev-python/mkdocs
|
||||
dev-python/mkdocs-material
|
||||
"
|
||||
|
||||
inherit cmake docs
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
inherit git-r3
|
||||
@ -19,19 +25,10 @@ DESCRIPTION="scripting language made for opensurge"
|
||||
HOMEPAGE="https://alemart.github.io/surgescript"
|
||||
LICENSE="Apache-2.0"
|
||||
|
||||
IUSE="doc"
|
||||
|
||||
BDEPEND="doc? (
|
||||
dev-python/mkdocs
|
||||
dev-python/mkdocs-material )"
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
|
||||
if use doc; then
|
||||
mkdocs build || die "failed to make docs"
|
||||
HTML_DOCS="site"
|
||||
fi
|
||||
docs_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
@ -3,7 +3,13 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
DOCBUILDER="mkdocs"
|
||||
DOCDEPEND="
|
||||
dev-python/mkdocs
|
||||
dev-python/mkdocs-material
|
||||
"
|
||||
|
||||
inherit cmake docs
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
inherit git-r3
|
||||
@ -19,19 +25,10 @@ DESCRIPTION="scripting language made for opensurge"
|
||||
HOMEPAGE="https://alemart.github.io/surgescript"
|
||||
LICENSE="Apache-2.0"
|
||||
|
||||
IUSE="doc"
|
||||
|
||||
BDEPEND="doc? (
|
||||
dev-python/mkdocs
|
||||
dev-python/mkdocs-material )"
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
|
||||
if use doc; then
|
||||
mkdocs build || die "failed to make docs"
|
||||
HTML_DOCS="site"
|
||||
fi
|
||||
docs_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user