diff options
author | Joonas Niilola <juippis@gentoo.org> | 2024-10-20 19:13:39 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2024-10-20 19:13:39 +0300 |
commit | 48d5e1e609c8f5b8d396134da2e2a2886f42b9c4 (patch) | |
tree | b4391d18a700c94c03b6d2442e31b516893671dc /net-misc | |
parent | net-misc/gerbera: build and install documentation via 'doc' use flag (diff) | |
download | gentoo-48d5e1e609c8f5b8d396134da2e2a2886f42b9c4.tar.gz gentoo-48d5e1e609c8f5b8d396134da2e2a2886f42b9c4.tar.bz2 gentoo-48d5e1e609c8f5b8d396134da2e2a2886f42b9c4.zip |
net-misc/gerbera: sync live ebuild
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/gerbera/gerbera-9999.ebuild | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/net-misc/gerbera/gerbera-9999.ebuild b/net-misc/gerbera/gerbera-9999.ebuild index 62e14a6f02f9..3b860ae72c7a 100644 --- a/net-misc/gerbera/gerbera-9999.ebuild +++ b/net-misc/gerbera/gerbera-9999.ebuild @@ -3,7 +3,14 @@ EAPI=8 -inherit cmake linux-info +DOCS_BUILDER="sphinx" +#DOCS_DEPEND="dev-python/sphinx-rtd-theme" +DOCS_DIR="doc" +DOCS_AUTODOC=0 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit python-any-r1 cmake docs linux-info DESCRIPTION="UPnP Media Server" HOMEPAGE="https://gerbera.io" @@ -34,10 +41,6 @@ RDEPEND=" sys-libs/zlib virtual/libiconv curl? ( net-misc/curl ) - doc? ( - app-text/doxygen - media-gfx/graphviz - ) exif? ( media-libs/libexif ) exiv2? ( media-gfx/exiv2:= ) ffmpeg? ( media-video/ffmpeg:= ) @@ -51,6 +54,12 @@ RDEPEND=" DEPEND="${RDEPEND}" +BDEPEND="${PYTHON_DEPS} + $(python_gen_any_dep ' + dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] + ') + media-gfx/graphviz" + CONFIG_CHECK="~INOTIFY_USER" src_configure() { @@ -75,6 +84,11 @@ src_configure() { cmake_src_configure } +src_compile() { + cmake_src_compile + docs_compile +} + src_install() { cmake_src_install |