gnome-extra/gnome-logs: ebuild touchups
authorMart Raudsepp <leio@gentoo.org>
Thu, 14 Mar 2019 18:37:51 +0000 (20:37 +0200)
committerMart Raudsepp <leio@gentoo.org>
Thu, 14 Mar 2019 18:38:19 +0000 (20:38 +0200)
Drop unnecessary appstream-glib dep (gettext appdata.its seems
to be sufficient).
Drop extra icon cache update calls, now that xdg.eclass calls them.

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
gnome-extra/gnome-logs/gnome-logs-3.30.0.ebuild

index c7c2b41671e0197d1724d75c3f3c634ffad7c858..f5d1b4ebab6cb80c63f2148e3b1f3a52d3f46f0f 100644 (file)
@@ -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
@@ -23,13 +23,14 @@ DEPEND="${RDEPEND}
        dev-util/glib-utils
        >=sys-devel/gettext-0.19.8
        ~app-text/docbook-xml-dtd-4.3
-       dev-libs/appstream-glib
        dev-libs/libxml2:2
        dev-libs/libxslt
        dev-util/itstool
        virtual/pkgconfig
 "
 
+RESTRICT="!test? ( test )"
+
 src_configure() {
        local emesonargs=(
                $(meson_use test tests)
@@ -44,12 +45,10 @@ 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
 }