public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Orlitzky" <mjo@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/evolution-data-server/
Date: Wed, 13 Nov 2024 12:56:00 +0000 (UTC)	[thread overview]
Message-ID: <1731502479.bbda1b7b107d082f170241b19fbaaa7a3182d285.mjo@gentoo> (raw)

commit:     bbda1b7b107d082f170241b19fbaaa7a3182d285
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Tue Nov  5 14:51:47 2024 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Wed Nov 13 12:54:39 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbda1b7b

gnome-extra/evolution-data-server: add USE=sound

This makes sound notification support optional. The goal here is to
avoid pulling in GTK3/X11 libraries on a GTK4/Wayland system.

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 ...r1.ebuild => evolution-data-server-3.52.4-r2.ebuild} | 17 ++++++++++++-----
 gnome-extra/evolution-data-server/metadata.xml          |  1 +
 2 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/gnome-extra/evolution-data-server/evolution-data-server-3.52.4-r1.ebuild b/gnome-extra/evolution-data-server/evolution-data-server-3.52.4-r2.ebuild
similarity index 94%
rename from gnome-extra/evolution-data-server/evolution-data-server-3.52.4-r1.ebuild
rename to gnome-extra/evolution-data-server/evolution-data-server-3.52.4-r2.ebuild
index 56a0d678f6fd..9ddadc5e8348 100644
--- a/gnome-extra/evolution-data-server/evolution-data-server-3.52.4-r1.ebuild
+++ b/gnome-extra/evolution-data-server/evolution-data-server-3.52.4-r2.ebuild
@@ -14,7 +14,7 @@ SLOT="0/64-11-21-4-3-27-2-27-4-0" # subslot = libcamel-1.2/libebackend-1.2/libeb
 
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
 
-IUSE="berkdb +gnome-online-accounts +gtk gtk-doc +introspection ldap kerberos oauth-gtk3 oauth-gtk4 vala +weather"
+IUSE="berkdb +gnome-online-accounts +gtk gtk-doc +introspection ldap kerberos oauth-gtk3 oauth-gtk4 sound vala +weather"
 REQUIRED_USE="
 	oauth-gtk3? ( gtk )
 	oauth-gtk4? ( gtk )
@@ -42,9 +42,11 @@ RDEPEND="
 	gtk? (
 		>=x11-libs/gtk+-3.20:3
 		>=gui-libs/gtk-4.4:4
-		|| (
-			media-libs/libcanberra-gtk3
-			>=media-libs/libcanberra-0.25[gtk3(-)]
+		sound? (
+			|| (
+				media-libs/libcanberra-gtk3
+				>=media-libs/libcanberra-0.25[gtk3(-)]
+			)
 		)
 
 		oauth-gtk3? ( >=net-libs/webkit-gtk-2.34.0:4.1 )
@@ -127,7 +129,6 @@ src_configure() {
 		-DENABLE_SMIME=ON
 		-DENABLE_GTK=$(usex gtk)
 		-DENABLE_GTK4=$(usex gtk)
-		-DENABLE_CANBERRA=$(usex gtk)
 		-DENABLE_OAUTH2_WEBKITGTK=$(usex oauth-gtk3)
 		-DENABLE_OAUTH2_WEBKITGTK4=$(usex oauth-gtk4)
 		-DENABLE_EXAMPLES=OFF
@@ -140,6 +141,12 @@ src_configure() {
 		-DENABLE_VALA_BINDINGS=$(usex vala)
 		-DENABLE_TESTS=$(usex test)
 	)
+	if use gtk && use sound; then
+		mycmakeargs+=( -DENABLE_CANBERRA=ON )
+	else
+		mycmakeargs+=( -DENABLE_CANBERRA=OFF )
+	fi
+
 	cmake_src_configure
 }
 

diff --git a/gnome-extra/evolution-data-server/metadata.xml b/gnome-extra/evolution-data-server/metadata.xml
index d705ce69fe9e..06224757e5a5 100644
--- a/gnome-extra/evolution-data-server/metadata.xml
+++ b/gnome-extra/evolution-data-server/metadata.xml
@@ -10,6 +10,7 @@
     <flag name="gnome-online-accounts">Enable <pkg>net-libs/gnome-online-accounts</pkg> based Google authentication support</flag>
     <flag name="oauth-gtk3">Enable internal OAuth2 authentication for GTK+3 applications (libedataserverui-*.so) support for Google and Outlook.com. If gnome-online-accounts is enabled and used, this is not necessary, but both can be supported at the same time with different setup at runtime</flag>
     <flag name="oauth-gtk4">Enable internal OAuth2 authentication for GTK 4 applications (libedataserverui4-*.so) support for Google and Outlook.com. If gnome-online-accounts is enabled and used, this is not necessary, but both can be supported at the same time with different setup at runtime</flag>
+    <flag name="sound">Sound notification support through <pkg>media-libs/libcanberra-gtk3</pkg> (does nothing without USE=gtk)</flag>
     <flag name="weather">Enable optional weather calendar support</flag>
   </use>
   <upstream>


             reply	other threads:[~2024-11-13 12:56 UTC|newest]

Thread overview: 128+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-13 12:56 Michael Orlitzky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-24 22:24 [gentoo-commits] repo/gentoo:master commit in: gnome-extra/evolution-data-server/ Sam James
2024-11-04 18:39 Andreas Sturmlechner
2024-09-20 17:42 Andreas Sturmlechner
2024-09-17 23:30 Sam James
2024-08-06  9:31 Pacho Ramos
2024-08-06  9:31 Pacho Ramos
2024-05-25 21:14 Mart Raudsepp
2024-05-16 15:24 Arthur Zamarin
2024-04-28 20:44 Mart Raudsepp
2024-02-11 14:49 Mart Raudsepp
2024-02-11  8:09 Arthur Zamarin
2024-02-09 22:26 Mart Raudsepp
2024-01-05 18:29 Mart Raudsepp
2024-01-05 18:29 Mart Raudsepp
2023-12-16  9:55 Pacho Ramos
2023-10-21 21:21 Mart Raudsepp
2023-09-16 14:07 Matt Turner
2023-08-30  7:57 Arthur Zamarin
2023-08-12 18:16 Arthur Zamarin
2023-08-12 17:44 Arthur Zamarin
2023-08-02 17:00 Sam James
2023-07-07 22:11 Matt Turner
2023-06-19 15:30 Matt Turner
2023-06-04 17:58 Matt Turner
2023-05-26 19:42 Matt Turner
2023-05-05  9:04 Arthur Zamarin
2023-05-05  9:04 Arthur Zamarin
2023-05-05  8:17 Arthur Zamarin
2023-04-22  3:08 Matt Turner
2023-02-20 17:32 Matt Turner
2023-02-17  8:23 Arthur Zamarin
2023-02-10 19:18 Matt Turner
2023-01-07 17:42 Matt Turner
2022-12-04  9:23 WANG Xuerui
2022-12-03  4:47 WANG Xuerui
2022-12-02 14:35 Matt Turner
2022-11-14  1:53 Matt Turner
2022-10-25 15:25 Matt Turner
2022-10-14  1:21 Matt Turner
2022-10-01 17:16 Matt Turner
2022-10-01 17:16 Matt Turner
2022-09-30 18:29 Matt Turner
2022-09-30 16:52 Matt Turner
2022-09-12 16:01 Sam James
2022-09-12 16:00 Sam James
2022-08-05 20:49 Matt Turner
2022-07-29  2:59 Sam James
2022-07-18 23:41 Sam James
2022-07-02  3:48 Matt Turner
2022-05-27 10:20 Pacho Ramos
2022-04-23  5:00 Matt Turner
2022-03-23  8:19 Matt Turner
2022-03-23  6:44 Matt Turner
2022-02-11 20:56 Matt Turner
2022-01-09 19:42 Matt Turner
2021-12-09 17:11 Mart Raudsepp
2021-11-06  4:09 Sam James
2021-10-04  1:25 Sam James
2021-10-04  1:24 Sam James
2021-09-04 15:31 Andreas Sturmlechner
2021-08-27 15:19 Yixun Lan
2021-08-20 23:51 Sam James
2021-08-13 16:27 Mart Raudsepp
2021-07-23  1:11 Matt Turner
2021-07-11 20:48 Sam James
2021-06-06 21:49 Matt Turner
2021-04-30 16:33 Matt Turner
2021-04-17 22:23 Matt Turner
2021-04-17  1:20 Matt Turner
2021-04-12 23:11 Sam James
2021-02-14 22:21 Mart Raudsepp
2021-01-09 10:37 Mart Raudsepp
2020-12-13 18:49 Mart Raudsepp
2020-07-19 17:31 Mart Raudsepp
2020-07-04 21:18 Mart Raudsepp
2020-07-04 15:07 Mart Raudsepp
2020-06-29 15:42 Mikle Kolyada
2020-06-28 14:19 Thomas Deutschmann
2020-06-14 14:25 Mart Raudsepp
2020-05-08  7:22 Mart Raudsepp
2020-05-08  7:22 Mart Raudsepp
2020-04-22 16:17 Mart Raudsepp
2020-03-02 19:53 Mart Raudsepp
2020-03-01 16:18 Mart Raudsepp
2020-01-10 13:52 Mart Raudsepp
2020-01-09 12:47 Agostino Sarubbo
2019-12-15 16:48 Pacho Ramos
2019-03-30 22:21 Mart Raudsepp
2019-02-26 16:34 Mart Raudsepp
2019-02-22 18:03 Mart Raudsepp
2018-09-16  9:10 Mart Raudsepp
2018-09-09 17:52 Mart Raudsepp
2018-02-03 22:00 Mart Raudsepp
2018-01-18  3:15 Mikle Kolyada
2017-12-10 10:27 Pacho Ramos
2017-12-10 10:27 Pacho Ramos
2017-09-11  6:38 Gilles Dartiguelongue
2017-08-27 15:34 Michael Palimaka
2017-08-14 16:58 Gilles Dartiguelongue
2017-03-20 17:05 Mart Raudsepp
2017-03-15 23:16 Mart Raudsepp
2017-03-15 23:16 Mart Raudsepp
2017-03-15 11:44 Mart Raudsepp
2017-02-15 19:52 Mart Raudsepp
2017-01-09 21:36 Mart Raudsepp
2017-01-04 22:37 Gilles Dartiguelongue
2016-12-05  9:57 Pacho Ramos
2016-12-05  9:57 Pacho Ramos
2016-11-09  8:28 Gilles Dartiguelongue
2016-10-26  7:03 Gilles Dartiguelongue
2016-10-26  7:03 Gilles Dartiguelongue
2016-09-04 23:20 Gilles Dartiguelongue
2016-08-15  9:01 Pacho Ramos
2016-08-15  9:01 Pacho Ramos
2016-07-30 10:50 Pacho Ramos
2016-07-02 13:31 Pacho Ramos
2016-07-02 13:31 Pacho Ramos
2016-07-02 13:31 Pacho Ramos
2016-03-06 17:23 Mikle Kolyada
2016-01-30 12:23 Pacho Ramos
2016-01-30 12:23 Pacho Ramos
2015-12-21  8:14 Gilles Dartiguelongue
2015-11-09 11:25 Pacho Ramos
2015-11-09 11:25 Pacho Ramos
2015-09-07 16:24 Mikle Kolyada
2015-09-05 11:29 Pacho Ramos
2015-09-05 11:27 Pacho Ramos

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=1731502479.bbda1b7b107d082f170241b19fbaaa7a3182d285.mjo@gentoo \
    --to=mjo@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