Fix HOMEPAGE to current project page (old one points there too).
Raise gettext dep for meson implicit requirements.
Fix LICENSE to GPL3 _or later_.
Remove double icon cache updates, now that xdg.eclass does it too.
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
inherit gnome.org gnome2-utils meson vala xdg
DESCRIPTION="Simple document scanning utility"
-HOMEPAGE="https://launchpad.net/simple-scan"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/simple-scan"
-LICENSE="GPL-3"
+LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
IUSE="colord webp" # packagekit
$(vala_depend)
dev-libs/libxml2:2
dev-util/itstool
- >=sys-devel/gettext-0.19.7
+ >=sys-devel/gettext-0.19.8
virtual/pkgconfig
>=dev-libs/libgusb-0.2.7[vala]
colord? ( >=x11-misc/colord-0.1.24:=[vala] )
src_configure() {
local emesonargs=(
- -Dpackagekit=false
$(meson_use colord)
+ -Dpackagekit=false
$(meson_use webp)
)
meson_src_configure
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
- gnome2_icon_cache_update
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
- gnome2_icon_cache_update
}