public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Haelwenn Monnier" <contact@hacktivis.me>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: media-video/syncplay/
Date: Thu,  1 Dec 2022 03:59:17 +0000 (UTC)	[thread overview]
Message-ID: <1669730804.19534635c198644ab0d4956d0fc2f63e9607c77d.lanodan@gentoo> (raw)

commit:     19534635c198644ab0d4956d0fc2f63e9607c77d
Author:     Anna <anna <AT> navirc <DOT> com>
AuthorDate: Tue Nov 29 14:00:42 2022 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Tue Nov 29 14:06:44 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=19534635

media-video/syncplay: allow the removal of qt5 gui

Author: Anna <anna <AT> navirc.com>
Closes: https://bugs.gentoo.org/882565
Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>

 media-video/syncplay/syncplay-1.6.9.ebuild | 25 +++++++++++++++++--------
 1 file changed, 17 insertions(+), 8 deletions(-)

diff --git a/media-video/syncplay/syncplay-1.6.9.ebuild b/media-video/syncplay/syncplay-1.6.9.ebuild
index 889f7ce1b..f6b74ab52 100644
--- a/media-video/syncplay/syncplay-1.6.9.ebuild
+++ b/media-video/syncplay/syncplay-1.6.9.ebuild
@@ -17,7 +17,7 @@ LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64"
 
-IUSE="+client server"
+IUSE="+client server +gui"
 REQUIRED_USE="|| ( client server )"
 
 RDEPEND="
@@ -26,8 +26,10 @@ RDEPEND="
 		>=dev-python/twisted-16.4.0[${PYTHON_USEDEP},ssl]'
 	)
 	client? (
-		$( python_gen_cond_dep \
-			'dev-python/QtPy[${PYTHON_USEDEP},gui,pyside2]'
+		gui? (
+			$( python_gen_cond_dep \
+				'dev-python/QtPy[${PYTHON_USEDEP},gui,pyside2]'
+			)
 		)
 		|| (
 			media-video/vlc[lua]
@@ -39,16 +41,23 @@ RDEPEND="
 
 python_install() {
 	python_domodule syncplay
-	for size in 256 128 96 64 48 32 24 16; do
-		doicon -s ${size} "${PN}/resources/hicolor/${size}x${size}/apps/syncplay.png"
-	done
+
+	if use gui; then
+		for size in 256 128 96 64 48 32 24 16; do
+			doicon -s ${size} "${PN}/resources/hicolor/${size}x${size}/apps/syncplay.png"
+		done
+	fi
 	if use client; then
 		python_newscript syncplayClient.py syncplay
-		domenu syncplay/resources/syncplay.desktop
+		if use gui; then
+			domenu syncplay/resources/syncplay.desktop
+		fi
 	fi
 	if use server; then
+		if use gui; then
+			domenu syncplay/resources/syncplay-server.desktop
+		fi
 		python_newscript syncplayServer.py syncplay-server
-		domenu syncplay/resources/syncplay-server.desktop
 		newinitd "${FILESDIR}/${PN}-server-init" "${PN}"
 		newconfd "${FILESDIR}/${PN}-server-init-conf" "${PN}"
 	fi


             reply	other threads:[~2022-12-01  3:59 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-01  3:59 Haelwenn Monnier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-08 13:47 [gentoo-commits] repo/proj/guru:master commit in: media-video/syncplay/ David Roman
2024-11-26  0:39 Julien Roy
2024-11-26  0:39 Julien Roy
2024-05-13 17:48 Julien Roy
2023-12-17 23:08 David Roman
2023-04-17  9:22 Florian Schmaus
2022-12-01  3:59 Haelwenn Monnier
2021-05-24 11:06 Andrew Ammerlaan
2021-01-15  8:25 Andrew Ammerlaan
2020-12-18 14:31 Andrew Ammerlaan
2020-10-14 16:37 Andrew Ammerlaan
2020-09-24 12:50 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-09-24 13:01 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-06-24 15:05 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-06-25  7:29 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-06-07 13:25 Andrew Ammerlaan
2020-05-07  9:28 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-05-07 11:13 ` [gentoo-commits] repo/proj/guru:master " 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=1669730804.19534635c198644ab0d4956d0fc2f63e9607c77d.lanodan@gentoo \
    --to=contact@hacktivis.me \
    --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