public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/gerbera/
Date: Sun, 20 Oct 2024 16:16:18 +0000 (UTC)	[thread overview]
Message-ID: <1729440792.e1be9d8bd97b2df3a46756d4dd213fc1f8eabb1b.juippis@gentoo> (raw)

commit:     e1be9d8bd97b2df3a46756d4dd213fc1f8eabb1b
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 20 16:13:12 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> 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 <juippis <AT> 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
 


             reply	other threads:[~2024-10-20 16:16 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-20 16:16 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-10  2:18 [gentoo-commits] repo/gentoo:master commit in: net-misc/gerbera/ Sam James
2025-03-10  2:18 Sam James
2025-02-02 15:03 Andreas Sturmlechner
2025-01-31  7:57 Joonas Niilola
2024-12-28  0:05 Andreas Sturmlechner
2024-10-21 10:47 Joonas Niilola
2024-10-21  5:31 Joonas Niilola
2024-10-20 16:16 Joonas Niilola
2024-10-20 16:16 Joonas Niilola
2024-10-20 16:16 Joonas Niilola
2024-10-20 16:16 Joonas Niilola
2024-08-25 20:27 Eli Schwartz
2024-08-14 15:55 Sam James
2024-07-13 10:48 Yixun Lan
2024-07-13 10:48 Yixun Lan
2024-06-07 11:28 Viorel Munteanu
2024-06-07 11:28 Viorel Munteanu
2024-06-07 11:28 Viorel Munteanu
2023-10-20 16:54 Sam James
2023-10-19 14:06 Florian Schmaus
2023-01-20  1:34 Sam James
2023-01-20  1:34 Sam James
2023-01-20  1:34 Sam James
2022-11-22 13:26 Joonas Niilola
2022-11-22 13:26 Joonas Niilola
2022-11-22 13:26 Joonas Niilola
2022-10-06 21:43 Conrad Kostecki
2022-07-06 19:33 Sam James
2022-05-07  5:28 Sam James
2022-05-07  5:28 Sam James
2022-03-18 14:00 Joonas Niilola
2022-03-18 14:00 Joonas Niilola
2022-03-16 22:58 Sam James
2022-03-16 22:58 Sam James
2022-03-16 22:58 Sam James
2021-10-06  1:08 Sam James
2021-06-05 12:07 Ian Whyman
2021-04-16 10:25 David Seifert
2021-02-27 15:19 Ian Whyman
2021-02-07 14:48 Ian Whyman
2020-11-13 16:57 Sam James
2020-09-19  9:28 Ian Whyman
2020-08-20  1:11 Matt Turner
2020-06-03 21:44 David Seifert
2020-05-09  9:49 Ian Whyman
2020-04-26  8:59 Mikle Kolyada
2020-01-29 21:22 Ian Whyman
2019-11-22 21:04 Ian Whyman
2019-11-17 17:44 Ian Whyman
2019-10-28 16:48 Ian Whyman
2019-07-07  9:21 Ian Whyman
2019-04-04 19:13 Ian Whyman
2019-01-31 21:10 Ian Whyman
2019-01-01 14:27 Ian Whyman
2019-01-01 14:27 Ian Whyman
2018-05-05 17:29 Ian Whyman
2018-05-05 10:19 Ian Whyman
2018-04-05 21:21 Ian Whyman
2017-12-04 20:21 Ian Whyman
2017-09-30 15:34 Ian Whyman
2017-06-26 18:59 Ian Whyman
2017-06-17 12:36 Ian Whyman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1729440792.e1be9d8bd97b2df3a46756d4dd213fc1f8eabb1b.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox