From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A082C158042 for ; Sun, 20 Oct 2024 16:16:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 62E7EE07EA; Sun, 20 Oct 2024 16:16:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 466F6E07EA for ; Sun, 20 Oct 2024 16:16:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4529A341256 for ; Sun, 20 Oct 2024 16:16:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A4B611BCF for ; Sun, 20 Oct 2024 16:16:18 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1729440792.e1be9d8bd97b2df3a46756d4dd213fc1f8eabb1b.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/gerbera/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/gerbera/gerbera-2.3.0.ebuild X-VCS-Directories: net-misc/gerbera/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: e1be9d8bd97b2df3a46756d4dd213fc1f8eabb1b X-VCS-Branch: master Date: Sun, 20 Oct 2024 16:16:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f40d8514-1944-4fb3-964a-a423cddcb2b6 X-Archives-Hash: e7de62a9902b49156915b98eaf7b0abf commit: e1be9d8bd97b2df3a46756d4dd213fc1f8eabb1b Author: Joonas Niilola gentoo org> AuthorDate: Sun Oct 20 16:13:12 2024 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sun Oct 20 16:13:12 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1be9d8b net-misc/gerbera: build and install documentation via 'doc' use flag Signed-off-by: Joonas Niilola gentoo.org> net-misc/gerbera/gerbera-2.3.0.ebuild | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/net-misc/gerbera/gerbera-2.3.0.ebuild b/net-misc/gerbera/gerbera-2.3.0.ebuild index 62e14a6f02f9..3b860ae72c7a 100644 --- a/net-misc/gerbera/gerbera-2.3.0.ebuild +++ b/net-misc/gerbera/gerbera-2.3.0.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