gnome-extra/gnome-characters: dependency and license fixes
authorMart Raudsepp <leio@gentoo.org>
Wed, 27 Feb 2019 19:29:47 +0000 (21:29 +0200)
committerMart Raudsepp <leio@gentoo.org>
Wed, 27 Feb 2019 19:30:06 +0000 (21:30 +0200)
License is GPL-2 or later (not GPL2-only) + BSD 3-clause.

gjs-1.50 is needed for ES6 classes support - upstream had not correctly
raised the dependency, filed
https://gitlab.gnome.org/GNOME/gnome-characters/merge_requests/29

appstream-glib build dep is unnecessary - appdata doesn't contain any
tags that gettext version of appdata ITS doesn't have.

Remove now unnecessary double icon cache update, as xdg.eclass already
does it now.

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

index b51c8f472f0abb37fced376d74588b46e0ba53df..e00ec79c99fde18a38c9fa2cf6053c7417586c01 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
@@ -9,13 +9,13 @@ inherit gnome.org gnome2-utils meson xdg
 DESCRIPTION="Unicode character map viewer and library"
 HOMEPAGE="https://wiki.gnome.org/Design/Apps/CharacterMap"
 
-LICENSE="GPL-2 BSD"
+LICENSE="GPL-2+ BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 
 RDEPEND="
-       >=dev-libs/gjs-1.43.3
+       >=dev-libs/gjs-1.50
        >=dev-libs/glib-2.32:2
        >=dev-libs/gobject-introspection-1.35.9:=
        >=dev-libs/libunistring-0.9.5
@@ -24,7 +24,6 @@ RDEPEND="
        >=x11-libs/pango-1.36[introspection]
 "
 DEPEND="${RDEPEND}
-       dev-libs/appstream-glib
        dev-libs/libxml2:2
        dev-util/glib-utils
        >=sys-devel/gettext-0.19.8
@@ -33,12 +32,10 @@ DEPEND="${RDEPEND}
 
 pkg_postinst() {
        xdg_pkg_postinst
-       gnome2_icon_cache_update
        gnome2_schemas_update
 }
 
 pkg_postinst() {
        xdg_pkg_postrm
-       gnome2_icon_cache_update
        gnome2_schemas_update
 }