diff options
author | Mart Raudsepp <leio@gentoo.org> | 2019-02-22 16:58:10 +0200 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2019-02-22 20:02:37 +0200 |
commit | e3ab2021e54c9731d42fa604c84a31575a6bd093 (patch) | |
tree | 01f6c29c8477c2166faeae48ef02a482f38c3efb /gnome-extra | |
parent | gnome-extra/gnome-calendar: add longdescription to metadata (diff) | |
download | gentoo-e3ab2021e54c9731d42fa604c84a31575a6bd093.tar.gz gentoo-e3ab2021e54c9731d42fa604c84a31575a6bd093.tar.bz2 gentoo-e3ab2021e54c9731d42fa604c84a31575a6bd093.zip |
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@gentoo.org>
Diffstat (limited to 'gnome-extra')
-rw-r--r-- | gnome-extra/gnome-calendar/gnome-calendar-3.26.4.ebuild | 18 |
1 files 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 0ed62e53bf97..d95be9546576 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 } |