public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: net-im/nheko/
Date: Thu, 30 Nov 2023 10:44:46 +0000 (UTC)	[thread overview]
Message-ID: <1701248021.ae7a0f9adb19a0690efa7525cf2714aa94dd14e6.andrewammerlaan@gentoo> (raw)

commit:     ae7a0f9adb19a0690efa7525cf2714aa94dd14e6
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Nov 28 15:23:22 2023 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Nov 29 08:53:41 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ae7a0f9a

net-im/nheko: fix what was broken

Fixes:
* Add "+jpeg +webp" to default IUSE
* Add "v4l" USE-flag for camera support
* Add 'virtual/notification-daemon' dependency back
* Set '-DCMAKE_POSITION_INDEPENDENT_CODE=OFF'

New things:
* "man" and "doc" USE-flags
* Handle transitive deps

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 net-im/nheko/nheko-0.11.3-r1.ebuild | 33 +++++++++++++++++++++++++++------
 1 file changed, 27 insertions(+), 6 deletions(-)

diff --git a/net-im/nheko/nheko-0.11.3-r1.ebuild b/net-im/nheko/nheko-0.11.3-r1.ebuild
index d6a349281b..818024f5ef 100644
--- a/net-im/nheko/nheko-0.11.3-r1.ebuild
+++ b/net-im/nheko/nheko-0.11.3-r1.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${MY_P}"
 LICENSE="GPL-3 MIT"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="X tiff video voip webp"
+IUSE="X doc +jpeg man tiff v4l video voip +webp"
 REQUIRED_USE="video? ( voip )"
 
 MY_GST_V="1.18"
@@ -31,7 +31,7 @@ COMMON_DEPEND="
 	dev-qt/qtcore:5
 	dev-qt/qtdbus:5
 	dev-qt/qtdeclarative:5[widgets]
-	dev-qt/qtgui:5[png]
+	dev-qt/qtgui:5[jpeg?,png]
 	dev-qt/qtmultimedia:5[qml]
 	dev-qt/qtnetwork:5
 	dev-qt/qtsvg:5
@@ -55,9 +55,12 @@ DEPEND="${COMMON_DEPEND}
 	>=dev-db/lmdb++-1.0.0
 	dev-qt/qtconcurrent:5
 "
+# 'virtual/notification-daemon' is required because of upstream bug:
+# https://github.com/Nheko-Reborn/nheko/issues/693
 RDEPEND="${COMMON_DEPEND}
 	dev-qt/qtgraphicaleffects:5
 	dev-qt/qtquickcontrols2:5
+	virtual/notification-daemon
 	tiff? ( dev-qt/qtimageformats:5 )
 	voip? (
 		>=media-plugins/gst-plugins-dtls-${MY_GST_V}:1.0
@@ -67,7 +70,7 @@ RDEPEND="${COMMON_DEPEND}
 		>=media-plugins/gst-plugins-webrtc-${MY_GST_V}:1.0
 		video? (
 			>=media-libs/gst-plugins-base-${MY_GST_V}:1.0[opengl]
-			>=media-plugins/gst-plugins-meta-${MY_GST_V}:1.0[vpx]
+			>=media-plugins/gst-plugins-meta-${MY_GST_V}:1.0[v4l?,vpx]
 			>=media-plugins/gst-plugins-qt5-${MY_GST_V}:1.0
 			X? (
 				>=media-plugins/gst-plugins-ximagesrc-${MY_GST_V}:1.0
@@ -78,9 +81,12 @@ RDEPEND="${COMMON_DEPEND}
 "
 BDEPEND="
 	dev-qt/linguist-tools:5
-	|| (
-		app-text/asciidoc
-		dev-ruby/asciidoctor
+	doc? ( app-doc/doxygen[dot] )
+	man? (
+		|| (
+			app-text/asciidoc
+			dev-ruby/asciidoctor
+		)
 	)
 "
 
@@ -89,14 +95,29 @@ PATCHES=(
 	"${FILESDIR}"/${P}-fix-build-against-fmt10.patch
 )
 
+DOCS=( {CHANGELOG,README}.md )
+
 src_configure() {
 	local -a mycmakeargs=(
 		-DSCREENSHARE_X11=$(if use video && use X; then echo ON; else echo OFF; fi)
 		-DVOIP=$(usex voip)
+		-DBUILD_DOCS=$(usex doc)
+		-DMAN=$(usex man)
 		-DUSE_BUNDLED_CPPHTTPLIB=OFF
 		-DUSE_BUNDLED_BLURHASH=OFF
+
+		# See #890903 and #911111
+		-DCMAKE_POSITION_INDEPENDENT_CODE=OFF
+
+		# Handle transitive dependencies
+		-DOPENSSL_FOUND:BOOL=TRUE
+		-Dlibevent_core_FOUND:BOOL=TRUE
+		-Dlibevent_pthreads_FOUND:BOOL=TRUE
+		-Dlibcurl_FOUND:BOOL=TRUE
+		-Dre2_FOUND:BOOL=TRUE
 	)
 
+	use doc && HTML_DOCS=( "${BUILD_DIR}"/docs/html/. )
 	cmake_src_configure
 }
 


             reply	other threads:[~2023-11-30 10:44 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-30 10:44 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-13 10:19 [gentoo-commits] repo/proj/guru:dev commit in: net-im/nheko/ David Roman
2024-09-13 10:22 ` [gentoo-commits] repo/proj/guru:master " David Roman
2024-09-13  9:24 David Roman
2024-09-12 17:35 [gentoo-commits] repo/proj/guru:dev " David Roman
2024-09-12 17:54 ` [gentoo-commits] repo/proj/guru:master " David Roman
2024-07-31  9:16 David Roman
2024-07-26 20:29 David Roman
2024-07-26 20:29 David Roman
2024-07-08 16:36 David Roman
2024-06-17 21:40 Julien Roy
2024-03-24 19:31 Julien Roy
2024-03-12 14:48 Haelwenn Monnier
2024-02-07 10:10 David Roman
2024-02-07 10:10 David Roman
2023-11-30 10:44 Andrew Ammerlaan
2023-07-01 18:15 Haelwenn Monnier
2023-06-15  9:33 Florian Schmaus
2023-06-11 11:47 Viorel Munteanu
2023-02-24  7:41 Viorel Munteanu
2023-02-24  7:41 Viorel Munteanu
2023-02-23  9:24 Viorel Munteanu
2023-02-23  9:24 Viorel Munteanu
2023-02-23  9:24 Viorel Munteanu
2023-02-03 21:15 Andrew Ammerlaan
2023-01-24  9:10 Florian Schmaus
2023-01-14 18:43 Andrew Ammerlaan
2022-12-07 19:50 Ronny Gutbrod
2022-12-05  9:20 Viorel Munteanu
2022-10-04  2:54 Haelwenn Monnier
2022-09-28 16:04 [gentoo-commits] repo/proj/guru:dev " Ronny Gutbrod
2022-09-28 16:05 ` [gentoo-commits] repo/proj/guru:master " Ronny Gutbrod
2022-09-28 16:04 [gentoo-commits] repo/proj/guru:dev " Ronny Gutbrod
2022-09-28 16:05 ` [gentoo-commits] repo/proj/guru:master " Ronny Gutbrod
2022-09-08  1:46 Ronny Gutbrod
2022-09-08  0:09 [gentoo-commits] repo/proj/guru:dev " Ronny Gutbrod
2022-09-08  1:46 ` [gentoo-commits] repo/proj/guru:master " Ronny Gutbrod
2022-07-23 17:37 Haelwenn Monnier
2022-07-23 17:37 Haelwenn Monnier
2022-03-29  0:23 Ronny Gutbrod
2022-03-25 15:17 Ronny Gutbrod
2022-03-25  9:42 [gentoo-commits] repo/proj/guru:dev " Ronny Gutbrod
2022-03-25 15:17 ` [gentoo-commits] repo/proj/guru:master " Ronny Gutbrod
2022-03-10 13:53 [gentoo-commits] repo/proj/guru:dev " Ronny Gutbrod
2022-03-10 14:03 ` [gentoo-commits] repo/proj/guru:master " Ronny Gutbrod
2022-03-07 16:22 [gentoo-commits] repo/proj/guru:dev " Ronny Gutbrod
2022-03-07 21:21 ` [gentoo-commits] repo/proj/guru:master " Ronny Gutbrod
2022-01-20 19:21 Andrew Ammerlaan
2021-11-20 13:05 Haelwenn Monnier
2021-11-20 13:05 Haelwenn Monnier
2021-11-20 13:05 Haelwenn Monnier
2021-11-20 13:05 Haelwenn Monnier
2021-06-24 12:22 Jian Lin
2021-04-23 12:25 Andrew Ammerlaan
2021-04-23 12:25 Andrew Ammerlaan
2021-04-21  7:32 Andrew Ammerlaan
2021-04-10 10:07 Andrew Ammerlaan
2021-01-28 11:45 Andrew Ammerlaan
2021-01-28 11:45 Andrew Ammerlaan
2021-01-23 11:49 Michał Górny
2021-01-23 11:49 Michał Górny
2020-08-15 18:15 Andrew Ammerlaan
2020-08-15 18:15 Andrew Ammerlaan
2020-07-20 11:40 Andrew Ammerlaan
2020-06-13 13:13 Andrew Ammerlaan
2020-05-26 10:49 Andrew Ammerlaan

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=1701248021.ae7a0f9adb19a0690efa7525cf2714aa94dd14e6.andrewammerlaan@gentoo \
    --to=andrewammerlaan@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