From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DB975138350 for ; Sat, 22 Feb 2020 14:25:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 16221E08F1; Sat, 22 Feb 2020 14:25:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D633DE08F1 for ; Sat, 22 Feb 2020 14:25:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7DEE934EF4F for ; Sat, 22 Feb 2020 14:25:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DE52310B for ; Sat, 22 Feb 2020 14:25:30 +0000 (UTC) From: "Mart Raudsepp" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mart Raudsepp" Message-ID: <1582381519.86884ded0f034538260d1951563deb0f88953306.leio@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.12.1-r1.ebuild X-VCS-Directories: dev-libs/folks/ X-VCS-Committer: leio X-VCS-Committer-Name: Mart Raudsepp X-VCS-Revision: 86884ded0f034538260d1951563deb0f88953306 X-VCS-Branch: master Date: Sat, 22 Feb 2020 14:25:30 +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: 153a4817-39a7-40dc-889a-9c1d8c1f3da2 X-Archives-Hash: b3031b2515e1f49fd516845ec78c1515 commit: 86884ded0f034538260d1951563deb0f88953306 Author: Mart Raudsepp gentoo org> AuthorDate: Sat Feb 22 14:20:36 2020 +0000 Commit: Mart Raudsepp gentoo org> CommitDate: Sat Feb 22 14:25:19 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86884ded dev-libs/folks: fix BDEPEND Move vala USE deps to BDEPEND while at it too Thanks-to: dantrell Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mart Raudsepp gentoo.org> dev-libs/folks/folks-0.12.1-r1.ebuild | 85 +++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) diff --git a/dev-libs/folks/folks-0.12.1-r1.ebuild b/dev-libs/folks/folks-0.12.1-r1.ebuild new file mode 100644 index 00000000000..65b227ad231 --- /dev/null +++ b/dev-libs/folks/folks-0.12.1-r1.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +VALA_USE_DEPEND="vapigen" +VALA_MAX_API_VERSION="0.44" # tests-utils fails to build with newer with v0.12.1 + +inherit gnome.org gnome2-utils meson vala xdg + +DESCRIPTION="Library for aggregating people from multiple sources" +HOMEPAGE="https://wiki.gnome.org/Projects/Folks" + +LICENSE="LGPL-2.1+" +SLOT="0/25" # subslot = libfolks soname version +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-linux" + +IUSE="bluetooth eds +telepathy test tracker utils" +REQUIRED_USE="bluetooth? ( eds )" +RESTRICT="!test? ( test )" + +DEPEND=" + >=dev-libs/glib-2.44:2 + dev-libs/dbus-glib + >=dev-libs/libgee-0.10:0.8[introspection] + >=dev-libs/gobject-introspection-1.54:= + telepathy? ( >=net-libs/telepathy-glib-0.19.9 ) + tracker? ( app-misc/tracker:0/2.0 ) + eds? ( >=gnome-extra/evolution-data-server-3.13.90:= ) + dev-libs/libxml2:2 + utils? ( sys-libs/readline:0= ) +" +# telepathy-mission-control needed at runtime; it is used by the telepathy +# backend via telepathy-glib's AccountManager binding. +RDEPEND="${DEPEND} + bluetooth? ( >=net-wireless/bluez-5[obex] ) + telepathy? ( net-im/telepathy-mission-control ) +" +BDEPEND=" + >=dev-util/meson-0.49 + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + test? ( sys-apps/dbus + bluetooth? ( dev-python/dbusmock ) ) + $(vala_depend) + telepathy? ( net-libs/telepathy-glib[vala] ) + eds? ( gnome-extra/evolution-data-server[vala] ) +" + +PATCHES=( + "${FILESDIR}"/${PV}-conditional-tests.patch # Allow not building lots of test executables when tests are disabled + "${FILESDIR}"/${PV}-no-tracker-tests.patch # TODO: Tracker tests fail; this removed them for now +) + +src_prepare() { + vala_src_prepare + xdg_src_prepare +} + +src_configure() { + local emesonargs=( + $(meson_use bluetooth bluez_backend) + $(meson_use eds eds_backend) + -Dlibsocialweb_backend=false # not packaged + $(meson_use eds ofono_backend) + $(meson_use telepathy telepathy_backend) + $(meson_use tracker tracker_backend) + -Dzeitgeist=false # last rited package + -Dimport_tool=true + $(meson_use utils inspect_tool) + $(meson_use test) + -Dinstalled_tests=false + -Ddocs=false # Needs find_program sedding to specific version; only dev docs, don't bother + ) + meson_src_configure +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +}