From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 E449A15827B for ; Fri, 29 Aug 2025 12:16:29 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id C9322340CBB for ; Fri, 29 Aug 2025 12:16:29 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id BE568110562; Fri, 29 Aug 2025 12:16:28 +0000 (UTC) Received: from smtp.gentoo.org (mail.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) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id B2B72110562 for ; Fri, 29 Aug 2025 12:16:28 +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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 48625340C9C for ; Fri, 29 Aug 2025 12:16:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DDA5E2AD1 for ; Fri, 29 Aug 2025 12:16:26 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1756469097.b3f97e1bbcaca0ef703a13a3385b622698f1ce6f.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/folks/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/folks/folks-0.15.9-r2.ebuild X-VCS-Directories: dev-libs/folks/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: b3f97e1bbcaca0ef703a13a3385b622698f1ce6f X-VCS-Branch: master Date: Fri, 29 Aug 2025 12:16:26 +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: 6770a631-3c75-418e-af2e-6af23aff217d X-Archives-Hash: c876da7aba0a88183e767d7462538289 commit: b3f97e1bbcaca0ef703a13a3385b622698f1ce6f Author: Cristian Othón Martínez Vera cfuga mx> AuthorDate: Wed Aug 27 19:01:24 2025 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Fri Aug 29 12:04:57 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3f97e1b dev-libs/folks: remove telepathy USE flag Deprecated for years and not needed by anything in the tree: https://wiki.gnome.org/Projects(2f)Folks(2f)FutureMaintainership.html Signed-off-by: Cristian Othón Martínez Vera cfuga.mx> Part-of: https://github.com/gentoo/gentoo/pull/43584 Closes: https://github.com/gentoo/gentoo/pull/43584 Signed-off-by: Pacho Ramos gentoo.org> dev-libs/folks/folks-0.15.9-r2.ebuild | 89 +++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) diff --git a/dev-libs/folks/folks-0.15.9-r2.ebuild b/dev-libs/folks/folks-0.15.9-r2.ebuild new file mode 100644 index 000000000000..b4c5a6d7753d --- /dev/null +++ b/dev-libs/folks/folks-0.15.9-r2.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{10..13} ) + +inherit gnome.org gnome2-utils meson python-any-r1 vala xdg + +DESCRIPTION="Library for aggregating people from multiple sources" +HOMEPAGE="https://gitlab.gnome.org/GNOME/folks" + +LICENSE="LGPL-2.1+" +SLOT="0/26" # subslot = libfolks soname version +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x86-linux" + +IUSE="bluetooth eds test utils" +REQUIRED_USE="bluetooth? ( eds )" +RESTRICT="!test? ( test )" + +DEPEND=" + >=dev-libs/glib-2.58:2 + >=dev-libs/gobject-introspection-1.54:= + >=dev-libs/libgee-0.10:0.8[introspection] + dev-libs/libxml2:2= + eds? ( >=gnome-extra/evolution-data-server-3.38:= ) + utils? ( sys-libs/readline:0= ) +" +RDEPEND="${DEPEND} + bluetooth? ( >=net-wireless/bluez-5[obex] ) +" +BDEPEND=" + ${PYTHON_DEPS} + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + $(vala_depend) + eds? ( gnome-extra/evolution-data-server[vala] ) + test? ( + sys-apps/dbus + bluetooth? ( + $(python_gen_any_dep ' + >=dev-python/python-dbusmock-0.30.1[${PYTHON_USEDEP}] + ') + ) + ) +" + +python_check_deps() { + if use test && use bluetooth; then + python_has_version ">=dev-python/python-dbusmock-0.30.1[${PYTHON_USEDEP}]" + fi +} + +src_prepare() { + default + vala_setup + xdg_environment_reset +} + +src_configure() { + local emesonargs=( + $(meson_use bluetooth bluez_backend) + $(meson_use eds eds_backend) + $(meson_use eds ofono_backend) + -Dtelepathy_backend=false # obsolete dependency + -Dzeitgeist=false # last rited package + -Dimport_tool=true + $(meson_use utils inspect_tool) + $(meson_use test tests) + -Dinstalled_tests=false + -Ddocs=false # Needs find_program sedding to specific version; only dev docs, don't bother + ) + meson_src_configure +} + +src_test() { + # Avoid warnings when /etc/profile.d/flatpak.sh from flatpak modified XDG_DATA_DIRS + export XDG_DATA_DIRS="${EPREFIX}"/usr/share + dbus-run-session meson test -C "${BUILD_DIR}" -t 5 || die "tests failed" +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +}