gnome-extra/gnome-characters: dependency and license fixes

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>
This commit is contained in:
Mart Raudsepp
2019-02-27 21:29:47 +02:00
parent 34b9b8e33b
commit e24d82aacb

View 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
}