From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1073817-garchives=archives.gentoo.org@lists.gentoo.org>
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 8C92B138334
	for <garchives@archives.gentoo.org>; Fri, 22 Feb 2019 18:03:57 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 632AAE07D9;
	Fri, 22 Feb 2019 18:03:56 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(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 375D9E07D9
	for <gentoo-commits@lists.gentoo.org>; Fri, 22 Feb 2019 18:03:56 +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 34FAC33BEB8
	for <gentoo-commits@lists.gentoo.org>; Fri, 22 Feb 2019 18:03:54 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 87C5754E
	for <gentoo-commits@lists.gentoo.org>; Fri, 22 Feb 2019 18:03:52 +0000 (UTC)
From: "Mart Raudsepp" <leio@gentoo.org>
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" <leio@gentoo.org>
Message-ID: <1550858557.e3ab2021e54c9731d42fa604c84a31575a6bd093.leio@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-calendar/
X-VCS-Repository: repo/gentoo
X-VCS-Files: gnome-extra/gnome-calendar/gnome-calendar-3.26.4.ebuild
X-VCS-Directories: gnome-extra/gnome-calendar/
X-VCS-Committer: leio
X-VCS-Committer-Name: Mart Raudsepp
X-VCS-Revision: e3ab2021e54c9731d42fa604c84a31575a6bd093
X-VCS-Branch: master
Date: Fri, 22 Feb 2019 18:03:52 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: d8004147-a1ee-4bda-9bfd-7b7a9840a315
X-Archives-Hash: bd7e46f0fa4e91f283ac5dad4ee53d81

commit:     e3ab2021e54c9731d42fa604c84a31575a6bd093
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 22 14:58:10 2019 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Fri Feb 22 18:02:37 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3ab2021

gnome-extra/gnome-calendar-3.26: dep fixes, USE=gtk-doc support

Hook up IUSE=gtk-doc for developer documentation.
Add explicit glib-utils build dep (lost in bump).
Remove by now redundant meson minimum dep, eclass ensures newer.
Add missing explicit libxml2:2 build dep as strip-blanks is used
in gresource files.
Icon cache update is handled in xdg.eclass now, so we don't need
the explicit gnome2_icon_cache_update calls anymore.
Restrict tests if USE=test is explicitly disabled.

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>

 .../gnome-calendar/gnome-calendar-3.26.4.ebuild        | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/gnome-extra/gnome-calendar/gnome-calendar-3.26.4.ebuild b/gnome-extra/gnome-calendar/gnome-calendar-3.26.4.ebuild
index 0ed62e53bf9..d95be954657 100644
--- a/gnome-extra/gnome-calendar/gnome-calendar-3.26.4.ebuild
+++ b/gnome-extra/gnome-calendar/gnome-calendar-3.26.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -10,7 +10,7 @@ HOMEPAGE="https://wiki.gnome.org/Apps/Calendar"
 LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="gtk-doc"
 
 # >=libical-1.0.1 for https://bugzilla.gnome.org/show_bug.cgi?id=751244
 # FIXME add docs
@@ -25,24 +25,32 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}
 	dev-libs/appstream-glib
+	dev-libs/libxml2:2
 	dev-util/gdbus-codegen
-	>=dev-util/meson-0.42.0
+	dev-util/glib-utils
+	gtk-doc? ( dev-util/gtk-doc
+		app-text/docbook-xml-dtd:4.3 )
 	>=sys-devel/gettext-0.19.8
 	virtual/pkgconfig
 "
 
+RESTRICT="!test? ( test )"
+
+src_configure() {
+	meson_src_configure \
+		$(meson_use gtk-doc enable-gtk-doc)
+}
+
 src_test() {
 	virtx meson_src_test
 }
 
 pkg_postinst() {
 	xdg_pkg_postinst
-	gnome2_icon_cache_update
 	gnome2_schemas_update
 }
 
 pkg_postrm() {
 	xdg_pkg_postrm
-	gnome2_icon_cache_update
 	gnome2_schemas_update
 }